{ "info": { "author": "Dana Spiegel", "author_email": "nasief304@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Django Cryptographic Fields\n===========================\n\n.. image:: https://circleci.com/gh/foundertherapy/django-cryptographic-fields.png\n :target: https://circleci.com/gh/foundertherapy/django-cryptographic-fields\n\nAbout\n-----\n\n``django-cryptographic-fields`` is set of fields that wrap standard Django\nfields with encryption provided by the python cryptography library. These\nfields are much more compatible with a 12-factor design since they take their\nencryption key from the settings file instead of a file on disk used by\n``keyczar``.\n\nWhile keyczar is an excellent tool to use for encryption, it's not compatible\nwith Python 3, and it requires, for hosts like Heroku, that you either check\nyour key file into your git repository for deployment, or implement manual\npost-deployment processing to write the key stored in an environment variable\ninto a file that keyczar can read.\n\nGetting Started\n---------------\n\n $ pip install django-cryptographic-fields\n\nAdd \"cryptographic_fields\" to your INSTALLED_APPS setting like this:\n\n INSTALLED_APPS = (\n ...\n 'cryptographic_fields',\n )\n\n``django-cryptographic-fields`` expects the encryption key to be specified\nusing ``FIELD_ENCRYPTION_KEY`` in your project's ``settings.py`` file. For\nexample, to load it from the local environment:\n\n import os\n\n FIELD_ENCRYPTION_KEY = os.environ.get('FIELD_ENCRYPTION_KEY', '')\n\nTo use an encrypted field in a Django model, use one of the fields from the\n``cryptographic_fields`` module:\n\n from cryptographic_fields.fields import EncryptedCharField\n\n class EncryptedFieldModel(models.Model):\n encrypted_char_field = EncryptedCharField(max_length=100)\n\nFor fields that require ``max_length`` to be specified, the ``Encrypted``\nvariants of those fields will automatically increase the size of the database\nfield to hold the encrypted form of the content. For example, a 3 character\nCharField will automatically specify a database field size of 100 characters\nwhen ``EncryptedCharField(max_length=3)`` is specified.\n\nDue to the nature of the encrypted data, filtering by values contained in\nencrypted fields won't work properly. Sorting is also not supported.\n\nGenerating an Encryption Key\n----------------------------\n\nThere is a Django management command ``generate_encryption_key`` provided\nwith the ``cryptographic_fields`` library. Use this command to generate a new\nencryption key to set as ``settings.FIELD_ENCRYPTION_KEY``.\n\n ./manage.py generate_encryption_key\n\nRunning this command will print an encryption key to the terminal, which can\nbe configured in your environment or settings file.\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/foundertherapy/django-cryptographic-fields/archive/0.5.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/foundertherapy/django-cryptographic-fields/", "keywords": "encryption,django,fields", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-cryptographic-fields", "package_url": "https://pypi.org/project/django-cryptographic-fields/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-cryptographic-fields/", "project_urls": { "Download": "https://github.com/foundertherapy/django-cryptographic-fields/archive/0.5.1.tar.gz", "Homepage": "http://github.com/foundertherapy/django-cryptographic-fields/" }, "release_url": "https://pypi.org/project/django-cryptographic-fields/0.5.1/", "requires_dist": null, "requires_python": null, "summary": "A set of django fields that internally are encrypted using the cryptography.io native python encryption library.", "version": "0.5.1" }, "last_serial": 2367565, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "01008d144bdf1e45a60fbe85f271d2df", "sha256": "8737e359ecab89c7906265ac507a2f113c93bbed1e2fce3139fe2ffbe2ba5477" }, "downloads": -1, "filename": "django-cryptographic-fields-0.1.0.tar.gz", "has_sig": false, "md5_digest": "01008d144bdf1e45a60fbe85f271d2df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4198, "upload_time": "2015-05-08T05:19:24", "url": "https://files.pythonhosted.org/packages/f4/78/588667128c381ba74026cbd9f9eb820844f2b4bfa93def3e8ada56d3ff9e/django-cryptographic-fields-0.1.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "9679b66966fa7dcc7cc60fa45986eac5", "sha256": "bd31e4b1306c58c75e6e2fb84d2cc3867f22409f0ab9e8bb443621e7880338b4" }, "downloads": -1, "filename": "django-cryptographic-fields-0.3.0.tar.gz", "has_sig": false, "md5_digest": "9679b66966fa7dcc7cc60fa45986eac5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4600, "upload_time": "2016-03-06T15:58:36", "url": "https://files.pythonhosted.org/packages/c8/a4/713d2c69b0ef82cadd07da021ea98667c306dc472bbe63b3f24323db0e7e/django-cryptographic-fields-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "c7b82cebf458bd4754a7172d85afdf50", "sha256": "ec6cda3796129c525a7a13983af29fa5c063d48d75ad913989edf0c5a63baa8c" }, "downloads": -1, "filename": "django-cryptographic-fields-0.4.0.tar.gz", "has_sig": false, "md5_digest": "c7b82cebf458bd4754a7172d85afdf50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4598, "upload_time": "2016-08-30T11:03:45", "url": "https://files.pythonhosted.org/packages/2f/a6/b8568ddc34ee23a8acd35f2cf17af1120ee53e67d824295ffa7606350ca7/django-cryptographic-fields-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "built for Darwin-16.0.0", "digests": { "md5": "b9ad4fb4175ebd2bbe14d233d6fffea3", "sha256": "424e5e08b2dbe7c1a9af10e696ad4d2534300c5cc2b645f1412e3612dc164f29" }, "downloads": -1, "filename": "django-cryptographic-fields-0.5.0.macosx-10.11-x86_64.tar.gz", "has_sig": false, "md5_digest": "b9ad4fb4175ebd2bbe14d233d6fffea3", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 12139, "upload_time": "2016-09-23T16:30:51", "url": "https://files.pythonhosted.org/packages/5d/dd/c4e773f6516c931bebac9a0b3718c87fa96b2f6f6ce17eaa4e128b6c9c87/django-cryptographic-fields-0.5.0.macosx-10.11-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "c42099b18d3366b398a4f8767b2989a0", "sha256": "c28395dbff9741096cbd03a110be4760522a1e3d253379d7e52eb891511e95a0" }, "downloads": -1, "filename": "django-cryptographic-fields-0.5.0.tar.gz", "has_sig": false, "md5_digest": "c42099b18d3366b398a4f8767b2989a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7116, "upload_time": "2016-09-23T16:31:13", "url": "https://files.pythonhosted.org/packages/bf/00/5d16ab46456f157a40cbf52f9300de81809fd8e5f172b0746ea0aa21f3f3/django-cryptographic-fields-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "built for Darwin-16.0.0", "digests": { "md5": "7af1ac63fcda7ff9315061e6a49d2344", "sha256": "e8a01abf88f31029d11568a55996c1389f6864e01d81a2b0ab089f226585626e" }, "downloads": -1, "filename": "django-cryptographic-fields-0.5.1.macosx-10.11-x86_64.tar.gz", "has_sig": false, "md5_digest": "7af1ac63fcda7ff9315061e6a49d2344", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 14208, "upload_time": "2016-09-27T23:53:35", "url": "https://files.pythonhosted.org/packages/81/64/31ec65ee76815649d1fbe5e63344d56fdf6034b515ccb31a33b1d351e5d3/django-cryptographic-fields-0.5.1.macosx-10.11-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "1e124c5b086a8a3169dcb029ac0e9a39", "sha256": "0acc82a74feddac626d1aacf32e8ce020df5e26fa2c07ec9ac52232e79237a73" }, "downloads": -1, "filename": "django-cryptographic-fields-0.5.1.tar.gz", "has_sig": false, "md5_digest": "1e124c5b086a8a3169dcb029ac0e9a39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7587, "upload_time": "2016-09-27T23:53:43", "url": "https://files.pythonhosted.org/packages/f9/69/f42b56f3493a672c0b39ef04585eb8f6686a9388965b6b1546bb8424e5a2/django-cryptographic-fields-0.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "built for Darwin-16.0.0", "digests": { "md5": "7af1ac63fcda7ff9315061e6a49d2344", "sha256": "e8a01abf88f31029d11568a55996c1389f6864e01d81a2b0ab089f226585626e" }, "downloads": -1, "filename": "django-cryptographic-fields-0.5.1.macosx-10.11-x86_64.tar.gz", "has_sig": false, "md5_digest": "7af1ac63fcda7ff9315061e6a49d2344", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 14208, "upload_time": "2016-09-27T23:53:35", "url": "https://files.pythonhosted.org/packages/81/64/31ec65ee76815649d1fbe5e63344d56fdf6034b515ccb31a33b1d351e5d3/django-cryptographic-fields-0.5.1.macosx-10.11-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "1e124c5b086a8a3169dcb029ac0e9a39", "sha256": "0acc82a74feddac626d1aacf32e8ce020df5e26fa2c07ec9ac52232e79237a73" }, "downloads": -1, "filename": "django-cryptographic-fields-0.5.1.tar.gz", "has_sig": false, "md5_digest": "1e124c5b086a8a3169dcb029ac0e9a39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7587, "upload_time": "2016-09-27T23:53:43", "url": "https://files.pythonhosted.org/packages/f9/69/f42b56f3493a672c0b39ef04585eb8f6686a9388965b6b1546bb8424e5a2/django-cryptographic-fields-0.5.1.tar.gz" } ] }