{ "info": { "author": "Scott Sharkey", "author_email": "ssharkey@lanshark.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Framework :: Django :: 1.9", "Framework :: Django :: 2.0", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Security", "Topic :: System :: Systems Administration :: Authentication/Directory" ], "description": "Django Encrypted Model Fields\n=============================\n\n.. image:: https://travis-ci.org/lanshark/django-encrypted-model-fields.png\n :target: https://travis-ci.org/lanshark/django-encrypted-model-fields\n\nAbout\n-----\n\nThis is a fork of https://github.com/foundertherapy/django-cryptographic-fields.\nIt has been renamed, and updated to properly support Python3 and latest versions\nof Django.\n\n``django-encrypted-model-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-encrypted-model-fields\n\nAdd \"encrypted_model_fields\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = (\n ...\n 'encrypted_model_fields',\n )\n\n``django-encrypted-model-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``encrypted_model_fields`` module:\n\n from encrypted_model_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 ``encrypted_model_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\nDevelopment Environment\n-----------------------\n\nAdded Tox for testing with different versions of Django and Python. To get started:\n pip install -r dev-requirements.txt\n\nusing ``pyenv`` add the requisite python interpreters:\n pyenv install 3.6.5\n pyenv install 3.5.5\n pyenv install 2.7.15\n\nAdd the requisite versions to the local version:\n pyenv local 2.7.15 3.5.5 3.6.5\n\nRun ``tox``\n tox\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://gitlab.com/lansharkconsulting/django/django-encrypted-model-fields/repository/archive.tar.gz?ref=v0.5.8", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://gitlab.com/lansharkconsulting/django/django-encrypted-model-fields/", "keywords": "encryption,django,fields", "license": "MIT", "maintainer": "Scott Sharkey", "maintainer_email": "ssharkey@lanshark.com", "name": "django-encrypted-model-fields", "package_url": "https://pypi.org/project/django-encrypted-model-fields/", "platform": "", "project_url": "https://pypi.org/project/django-encrypted-model-fields/", "project_urls": { "Download": "https://gitlab.com/lansharkconsulting/django/django-encrypted-model-fields/repository/archive.tar.gz?ref=v0.5.8", "Homepage": "http://gitlab.com/lansharkconsulting/django/django-encrypted-model-fields/" }, "release_url": "https://pypi.org/project/django-encrypted-model-fields/0.5.8/", "requires_dist": [ "Django (>=1.9)", "cryptography (>=2.3)", "six" ], "requires_python": "", "summary": "A set of django fields that internally are encrypted using the cryptography.io native python encryption library.", "version": "0.5.8" }, "last_serial": 4114814, "releases": { "0.5.3": [ { "comment_text": "", "digests": { "md5": "750c613153965003ffaf18bc2c49de2c", "sha256": "7a383c6ebfbac1fce3ce051eb1141b67abde4acbe96241a04a8f2ae954e0e49d" }, "downloads": -1, "filename": "django_encrypted_model_fields-0.5.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "750c613153965003ffaf18bc2c49de2c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12770, "upload_time": "2017-03-15T23:56:09", "url": "https://files.pythonhosted.org/packages/2c/59/4565f105e9548c6f923676ff19d5561fd497348c675b52f9f17a63511aca/django_encrypted_model_fields-0.5.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4e2849a1bd9c15636806c4ae47a86d76", "sha256": "a385453fa67825259ff0cf50259eac6ef6cd799511f6e6d0e70d17153088458f" }, "downloads": -1, "filename": "django-encrypted-model-fields-0.5.3.tar.gz", "has_sig": false, "md5_digest": "4e2849a1bd9c15636806c4ae47a86d76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9875, "upload_time": "2017-03-15T23:56:10", "url": "https://files.pythonhosted.org/packages/49/01/3ab5b8265714aa5eb4e83eeda182edc5772cbe6b43bd7de6802fc39c42f5/django-encrypted-model-fields-0.5.3.tar.gz" } ], "0.5.5": [ { "comment_text": "", "digests": { "md5": "292d841dd4fe5ab75e3297289bb0f67c", "sha256": "e06d2bcaa607ee39da857ffcb2708b071db63f766c3af1f3bb5dea62ee127cbd" }, "downloads": -1, "filename": "django_encrypted_model_fields-0.5.5-py3-none-any.whl", "has_sig": false, "md5_digest": "292d841dd4fe5ab75e3297289bb0f67c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10528, "upload_time": "2018-05-29T05:06:59", "url": "https://files.pythonhosted.org/packages/5e/5d/953ebcd15c909087360aaaf1b7c87f58f1914d1c33f9be2cd8129517e6cb/django_encrypted_model_fields-0.5.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6137db3d4c8592d7815df67dc4ff7b42", "sha256": "0739994dc86c6998e2cb74bd65aae6c8a3bd6a6cc4a73ca1e9a288c791101aa5" }, "downloads": -1, "filename": "django-encrypted-model-fields-0.5.5.tar.gz", "has_sig": false, "md5_digest": "6137db3d4c8592d7815df67dc4ff7b42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10218, "upload_time": "2018-05-29T05:07:00", "url": "https://files.pythonhosted.org/packages/ad/1a/4b17ea81068d8bcd5eaa2ee8de55a4be205cbd3164317d38f43906e16311/django-encrypted-model-fields-0.5.5.tar.gz" } ], "0.5.6": [ { "comment_text": "", "digests": { "md5": "3fed5a1cbfbd8a7328207da69b70972e", "sha256": "616dbb4a7cd645be714f9fb2b9b67d66ced542e46852cec74fb4eb943cc2cd38" }, "downloads": -1, "filename": "django_encrypted_model_fields-0.5.6-py3-none-any.whl", "has_sig": false, "md5_digest": "3fed5a1cbfbd8a7328207da69b70972e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10524, "upload_time": "2018-07-30T00:59:33", "url": "https://files.pythonhosted.org/packages/6d/2b/63fd102a0756b628857c9b184398cca883b4a0e72d0691cc2716d20dac73/django_encrypted_model_fields-0.5.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ba7c699f606f17f33c42e24fd7517765", "sha256": "8a61dd9165e17a49493e2da57ed0a82b6963baff0d164d709c602285641a6675" }, "downloads": -1, "filename": "django-encrypted-model-fields-0.5.6.tar.gz", "has_sig": false, "md5_digest": "ba7c699f606f17f33c42e24fd7517765", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10207, "upload_time": "2018-07-30T00:59:36", "url": "https://files.pythonhosted.org/packages/f3/6f/c6961c636445f0a43ed3c211be2a209a4f1005f1d5275fc984dedab57b00/django-encrypted-model-fields-0.5.6.tar.gz" } ], "0.5.7": [ { "comment_text": "", "digests": { "md5": "66948a4d6990e0c3a26e0e7b69479801", "sha256": "164ae7dd3aae53cbbdb70f183f730b7d46c5a55c42e72a31143fbc8761921634" }, "downloads": -1, "filename": "django_encrypted_model_fields-0.5.7-py3-none-any.whl", "has_sig": false, "md5_digest": "66948a4d6990e0c3a26e0e7b69479801", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10544, "upload_time": "2018-07-30T00:59:34", "url": "https://files.pythonhosted.org/packages/06/c5/18e97268f354a54d4ece2ddd40263aa4c5e4af58578420499c6deb32a4ba/django_encrypted_model_fields-0.5.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8dd8673bcfa166ff2830957db9e7928", "sha256": "c2c6bac89c6980bda6d38c3ae5a4e9b2a0e028b44efed904eba74b17b0dfaff6" }, "downloads": -1, "filename": "django-encrypted-model-fields-0.5.7.tar.gz", "has_sig": false, "md5_digest": "b8dd8673bcfa166ff2830957db9e7928", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8903, "upload_time": "2018-07-30T00:59:37", "url": "https://files.pythonhosted.org/packages/bb/9e/1425aa762282d03a25da9a96de57cdf3df74c6d03f3733b6a6d435ee8af4/django-encrypted-model-fields-0.5.7.tar.gz" } ], "0.5.8": [ { "comment_text": "", "digests": { "md5": "430a08f2a6fdefff048fe889c61ec07c", "sha256": "4426b48c6a1da949a3d2c58d1f368cb69185790ce0c60c6f8364310b857616e0" }, "downloads": -1, "filename": "django_encrypted_model_fields-0.5.8-py3-none-any.whl", "has_sig": false, "md5_digest": "430a08f2a6fdefff048fe889c61ec07c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10570, "upload_time": "2018-07-30T01:51:34", "url": "https://files.pythonhosted.org/packages/9a/b2/1fb6123b86fc0143c9e37a3aff1399abfc5ca07275f521bc10d48687cbd6/django_encrypted_model_fields-0.5.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0a9413da424f35c10cf32210272bc1a8", "sha256": "f9ce7e3e20a28b31944359e45d4e09fb9db2b040f66c80d75ecdf121b4183951" }, "downloads": -1, "filename": "django-encrypted-model-fields-0.5.8.tar.gz", "has_sig": false, "md5_digest": "0a9413da424f35c10cf32210272bc1a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8940, "upload_time": "2018-07-30T01:51:36", "url": "https://files.pythonhosted.org/packages/4f/02/b82747ed3ebdbcfa0e2619982f63aa6a3e892e1a1983f029376d8e7aa1c1/django-encrypted-model-fields-0.5.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "430a08f2a6fdefff048fe889c61ec07c", "sha256": "4426b48c6a1da949a3d2c58d1f368cb69185790ce0c60c6f8364310b857616e0" }, "downloads": -1, "filename": "django_encrypted_model_fields-0.5.8-py3-none-any.whl", "has_sig": false, "md5_digest": "430a08f2a6fdefff048fe889c61ec07c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10570, "upload_time": "2018-07-30T01:51:34", "url": "https://files.pythonhosted.org/packages/9a/b2/1fb6123b86fc0143c9e37a3aff1399abfc5ca07275f521bc10d48687cbd6/django_encrypted_model_fields-0.5.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0a9413da424f35c10cf32210272bc1a8", "sha256": "f9ce7e3e20a28b31944359e45d4e09fb9db2b040f66c80d75ecdf121b4183951" }, "downloads": -1, "filename": "django-encrypted-model-fields-0.5.8.tar.gz", "has_sig": false, "md5_digest": "0a9413da424f35c10cf32210272bc1a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8940, "upload_time": "2018-07-30T01:51:36", "url": "https://files.pythonhosted.org/packages/4f/02/b82747ed3ebdbcfa0e2619982f63aa6a3e892e1a1983f029376d8e7aa1c1/django-encrypted-model-fields-0.5.8.tar.gz" } ] }