معرفی شرکت ها


agentcrypt-0.5


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Symmetric encryption using the ssh-agent
ویژگی مقدار
سیستم عامل -
نام فایل agentcrypt-0.5
نام agentcrypt
نسخه کتابخانه 0.5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Dirk Heuvels
ایمیل نویسنده coding@heuvels.de
آدرس صفحه اصلی https://github.com/dheuvels/agentcrypt
آدرس اینترنتی https://pypi.org/project/agentcrypt/
مجوز GNU General Public License v3
========== Readme ========== Abstract ======== Yet another implementation of the idea, to use the SSH agent for symmetric encryption. This time for Python (2+3). Load a key and make an SSH connection with agent-forwarding: .. code-block:: bash local-machine ~ % ssh-add local-machine ~ % ssh -A remote-machine Create some `agentcrypt` enabled scripts on the remote host: .. code-block:: python remote-machine ~ % cat << '_EOF_' > encryptor.py import sys from agentcrypt.io import Container with Container.create(sys.stdout) as cntr: for line in sys.stdin: cntr.write(line) _EOF_ remote-machine ~ % cat << '_EOF_' > decryptor.py import sys from agentcrypt.io import Container with Container.load(sys.stdin) as cntr: print(cntr.getvalue().decode()) _EOF_ Use the newly created scripts with keys from the local `ssh-agent`: .. code-block:: bash remote-machine ~ % echo "secret data" |python encryptor.py > hushhush.dat remote-machine ~ % python decryptor.py < hushhush.dat secret data Or via the ``main`` guard of the package: .. code-block:: bash remote-machine ~ % echo "secret data" |python -magentcrypt.io enc > hushhush.dat remote-machine ~ % python -magentcrypt.io dec < hushhush.dat secret data Motivation ========== - Provide a convenient (passwordless) way of encrypting sensitive data for Python. - Profit from the fact that agent-forwarding makes SSH keys available on remote servers. Alternatives ============ - https://github.com/edwardspeyer/sshovel - Python - https://github.com/is/sshcrypt - Go - https://github.com/jwhitham/safeu - C (not sure if it uses the signature as keys too) Why another implementation? The ones I found on GitHub are either not Python or they rely on calls to external programs. I wanted a pure Python library, that runs with Versions 2.7 and 3.x. Documentation ============= `API Documentation`_ .. _`API Documentation`: https://code.heuvels.de/agentcrypt


نیازمندی

مقدار نام
- PyYAML
- cryptography
- future
- future
- paramiko


نحوه نصب


نصب پکیج whl agentcrypt-0.5:

    pip install agentcrypt-0.5.whl


نصب پکیج tar.gz agentcrypt-0.5:

    pip install agentcrypt-0.5.tar.gz