{ "info": { "author": "John Wheeler", "author_email": "john@johnwheeler.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development", "Topic :: Terminals", "Topic :: Text Processing", "Topic :: Utilities" ], "description": "lockbox: User-friendly CLI over cryptography.io's Fernet symmetric cipher\n=====================================================\n\n.. image:: https://img.shields.io/badge/python-2.6%202.7%203.3%203.4%203.5%203.6-blue.svg\n :target: https://pypi.python.org/pypi/lockbox\n\n.. image:: https://img.shields.io/badge/license-MIT-blue.svg\n :target: https://pypi.python.org/pypi/lockbox\n\n---------------\n\n.. image:: https://s3.amazonaws.com/johnwheeler/lockbox.gif\n\n**lockbox** provides a command line interface over cryptography.io's `Fernet symmetric cipher `_.\nFernet guarantees that a message encrypted using it cannot be manipulated or read without the key. lockbox was inspired by the Ruby-based\n`sekrets `_ project, but they use different ciphers.\n\nInstallation\n------------\n``pip install lockbox``\n\nCommand line interface\n----------------------\n\nThe ``lock`` command\n/////////////////////\n\n.. code::\n\n Usage: lockbox lock [OPTIONS] INPUT OUTPUT\n\n Symmetric encryption of plaintext input file to ciphertext output file\n\n Options:\n --key TEXT An encryption key\n --help Show this message and exit.\n\n\nThe ``unlock`` command\n////////////////////\n\n.. code::\n\n Usage: lockbox unlock [OPTIONS] INPUT OUTPUT\n\n Symmetric decryption of ciphertext input file to plaintext output file\n\n Options:\n --key TEXT An encryption key\n --help Show this message and exit.\n\n\nThe ``edit`` command\n////////////////////\n\n.. code::\n\n Usage: lockbox edit [OPTIONS] PATH\n\n Decrypts the given file and opens its contents in a temporary file for\n editing. Once saved, the updated contents are reencrypted back to the\n orignal file.\n\n Options:\n --key TEXT An encryption key\n --help Show this message and exit.\n\n\nThe ``genkey`` command\n//////////////////////\n\n.. code::\n\n Usage: lockbox genkey [OPTIONS] OUTPUT\n\n Generates a cryptographically strong key and writes it to the given output\n path\n\n Options:\n --help Show this message and exit.\n\n\nKey resolution\n--------------\n\nWith **lockbox**, you can pass an encryption key as a command line option ``--key`` or store the key in a ``.lockbox.key`` file.\nThe key should be `cryptographically strong `_. The command\nline interface also has a command to generate such a key.\n\nFor all operations, lockbox uses the following algorithm to search for a key:\n\n- A key passed via the ``--key`` option is always preferred.\n- Otherwise the code looks for a companion key file named ``.lockbox.key`` in the the current working directory.\n- If that is not found lockbox looks for the key in the environment under the environment variable ``LOCKBOX_KEY``\n- Next the global key file is searched for. The path of this file is ``~/.lockbox.key``\n- Finally, if no keys have been specified or found, the user is prompted to input the key. Prompt only occurs if the user is attached to a tty.\n- You should **never** commit keyfiles. Add them to to your ``.gitignore`` or similar.\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/johnwheeler/lockbox", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "lockbox", "package_url": "https://pypi.org/project/lockbox/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/lockbox/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/johnwheeler/lockbox" }, "release_url": "https://pypi.org/project/lockbox/0.1/", "requires_dist": null, "requires_python": null, "summary": "User-friendly symmetric-key cryptography", "version": "0.1" }, "last_serial": 2911524, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f43b260069508d6ed556e20fa0adbb20", "sha256": "1866afa7c26567cab5c4b9309ba893ce51d3c1cc29ebbee151ef5731c5e42f0b" }, "downloads": -1, "filename": "lockbox-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f43b260069508d6ed556e20fa0adbb20", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4513, "upload_time": "2017-05-31T03:13:21", "url": "https://files.pythonhosted.org/packages/fc/12/93eff1b528a22fda9273e9ef2964833b36c2173d73e24c928c47a9e0c5b7/lockbox-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8d0300d85355d4ec53efd688007c6f2", "sha256": "d0798fb8662f0fd4e1d0ca3bcec9031d7bed3d634b85ed998b9568c4df8a9991" }, "downloads": -1, "filename": "lockbox-0.1.tar.gz", "has_sig": false, "md5_digest": "b8d0300d85355d4ec53efd688007c6f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3827, "upload_time": "2017-05-31T03:13:19", "url": "https://files.pythonhosted.org/packages/22/c1/80c8292d1c04337f4ada51e90a7edecb063d9ed2e8edc44b85e77ca241b1/lockbox-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f43b260069508d6ed556e20fa0adbb20", "sha256": "1866afa7c26567cab5c4b9309ba893ce51d3c1cc29ebbee151ef5731c5e42f0b" }, "downloads": -1, "filename": "lockbox-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f43b260069508d6ed556e20fa0adbb20", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4513, "upload_time": "2017-05-31T03:13:21", "url": "https://files.pythonhosted.org/packages/fc/12/93eff1b528a22fda9273e9ef2964833b36c2173d73e24c928c47a9e0c5b7/lockbox-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8d0300d85355d4ec53efd688007c6f2", "sha256": "d0798fb8662f0fd4e1d0ca3bcec9031d7bed3d634b85ed998b9568c4df8a9991" }, "downloads": -1, "filename": "lockbox-0.1.tar.gz", "has_sig": false, "md5_digest": "b8d0300d85355d4ec53efd688007c6f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3827, "upload_time": "2017-05-31T03:13:19", "url": "https://files.pythonhosted.org/packages/22/c1/80c8292d1c04337f4ada51e90a7edecb063d9ed2e8edc44b85e77ca241b1/lockbox-0.1.tar.gz" } ] }