{ "info": { "author": "Baptiste Jonglez", "author_email": "python@bitsofnetworks.org", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "===================\ndjango-simplesshkey\n===================\n\ndjango-simplesshkey allows you to associate multiple SSH public keys with Django\nuser accounts. It provides views to list, add, edit, and delete keys, each of\nwhich is intended for end-user consumption. Of course, you can also manage SSH keys\nfrom the administration interface.\n\nSSH keys are simply stored in the Django database, and what you do with them is\nup to you: you can have a cron job that regularly dumps SSH keys to files, or\nconnect a signal to take an action each time a SSH key is saved...\nFor instance, the author uses ansible to deploy the SSH keys to several machines.\n\n\nAbout django-sshkey and django-simplesshkey\n===========================================\n\n`django-simplesshkey` is a fork of django-sshkey_, based on version 2.5.0.\n\nThe goal of this fork is twofolds:\n\n* Keep only basic functionalities needed to manage SSH keys linked to Django\n users. In particular, the optional integration with OpenSSH has been\n completely removed, which simplifies configuration and avoids leaking\n information by default (public lookup view). Also, sending emails when\n keys are added or modified is no longer done, because it can easily be\n implemented outside of this application.\n\n* Be more flexible: impose less constraints on the model (no unicity),\n allow to override some fields of the model or form. Also, sending emails\n outside of this application obviously allows more flexibility.\n\nOf course, if you need all the extra features of django-sshkey, you should\ncontinue using it!\n\nMigrating from django-sshkey\n============================\n\nIf you are using django-sshkey but don't need the extra functionalities, it is\npossible to start using django-simplesshkey and import your data.\n\nThe migration process is a bit convoluted, see `README.upgrading.rst` for details.\n\n\nThe Django app\n==============\n\nTo use django-sshkey in your Django project, simply add ``django_sshkey`` to\n``INSTALLED_APPS`` in ``settings.py``, map the URLs into your project, and\nprovide templates for the views (example templates are provided in the source).\n\n\nURL Configuration\n-----------------\n\nThis text assumes that your project's ``urls.py`` maps ``simplesshkey.urls``\ninto the URL namespace as follows::\n\n urlpatterns = [\n ...\n url('^sshkey/', include('simplesshkey.urls')),\n ...\n ]\n\nYou will need to adjust your URLs in the examples below if you use a different\nmapping.\n\n\nSettings\n--------\n\n``SSHKEY_AUTHORIZED_KEYS_OPTIONS``\n String, optional. Defines the SSH options that will be prepended to each\n public key. ``{username}`` will be replaced by the username; ``{key_id}``\n will be replaced by the key's id. New in version 2.3.\n\n``SSHKEY_ALLOW_EDIT``\n Boolean, defaults to ``False``. Whether or not editing keys is allowed.\n New in version 2.3.\n\n``SSHKEY_DEFAULT_HASH``\n String, either ``sha256``, ``md5``, or ``legacy`` (the default). The default\n hash algorithm to use for calculating the finger print of keys. Legacy\n behavior enforces OpenSSH's pre-6.8 behavior of MD5 without the ``MD5:``\n prefix. New in version 2.5.\n\n\nTemplates\n---------\n\nExample templates are available in the ``templates.example`` directory.\n\n``sshkey/userkey_list.html``\n Used when listing a user's keys.\n\n``sshkey/userkey_detail.html``\n Used when adding or editing a user's keys.\n\n\nManagement commands\n-------------------\n\n``import_sshkey [--auto-resolve] [--prefix PREFIX] [--name NAME] USERNAME KEY_PATH ...``\n Imports SSH public keys to tie to a user. If ``--auto-resolve/-a`` are given,\n attempt to generate unique key names using a UUID. The prefix used during\n this process is the key name, but can be changed using ``--prefix/-p``.\n\n``normalize_sshkeys [USERNAME KEY_NAME]``\n Recalculates key data to reflect a changed setting, for instance, if you have\n changed ``SSHKEY_DEFAULT_HASH`` and some keys have incorrect fingerprints in\n your database. Given no arguments, all keys will be normalized. The username\n asnd key name are optional, and if specified, will limit affected keys to\n those owned by a user, or a particular key of a user. This can also be done\n via the administration panel, but if you have a large key database the\n request could end up timing out.\n\n\n.. _django-sshkey: https://github.com/ClemsonSoCUnix/django-sshkey\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/zorun/django-simplesshkey", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-simplesshkey", "package_url": "https://pypi.org/project/django-simplesshkey/", "platform": "", "project_url": "https://pypi.org/project/django-simplesshkey/", "project_urls": { "Homepage": "https://github.com/zorun/django-simplesshkey" }, "release_url": "https://pypi.org/project/django-simplesshkey/1.1.0/", "requires_dist": [ "pyasn1" ], "requires_python": "", "summary": "Associates multiple SSH public keys with Django user accounts (fork of django-sshkey without SSHD integration)", "version": "1.1.0" }, "last_serial": 3703729, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "a1f4e04cdcc038576f199d5bd3a79de7", "sha256": "3b59a61d20694e53888ec07ea2b3de753a2c8da1747f4fadae607090e328dfff" }, "downloads": -1, "filename": "django_simplesshkey-0.0.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "a1f4e04cdcc038576f199d5bd3a79de7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 31744, "upload_time": "2017-06-11T21:39:34", "url": "https://files.pythonhosted.org/packages/5a/15/b725fb193af48e654275e783f18da7e8e200fb66f184d6fa0dac43920a08/django_simplesshkey-0.0.0-py2.py3-none-any.whl" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "adcbe83871a3c4678d558ba3b73770a6", "sha256": "b1abe7890f7bd8d5c2a725fa4bfe939ab36389a1e5e60b77359cadb5dfe6ef8f" }, "downloads": -1, "filename": "django_simplesshkey-1.0.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "adcbe83871a3c4678d558ba3b73770a6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 25682, "upload_time": "2017-06-11T22:20:10", "url": "https://files.pythonhosted.org/packages/fb/3b/5e3715788bf9770a5e6f4be99b7f51e53bbf9fb092496484178fe91d9e1d/django_simplesshkey-1.0.0-py2.py3-none-any.whl" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "cad702a2323befc9ad8f62b22d5e1560", "sha256": "8d76eca92d4b9242a72e1cc23bb08fed07c2a9f88da3c995298c8d8c49b77add" }, "downloads": -1, "filename": "django_simplesshkey-1.0.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "cad702a2323befc9ad8f62b22d5e1560", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 24765, "upload_time": "2017-06-15T08:19:50", "url": "https://files.pythonhosted.org/packages/9c/e7/912d468a27e4b14d9b9ef1cbf91582b9e4a6068c602e3576684efaa47ca0/django_simplesshkey-1.0.1-py2.py3-none-any.whl" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "66ceda7a7cdbd38991caa9673d40029c", "sha256": "320372c49fcd34b56e6f81279ce1205048f94f7df98893fbb7160e1244b18eb3" }, "downloads": -1, "filename": "django_simplesshkey-1.0.2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "66ceda7a7cdbd38991caa9673d40029c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 26045, "upload_time": "2017-06-30T16:39:34", "url": "https://files.pythonhosted.org/packages/3c/4f/bd2c95e2e17aa73171dec9d238c9a899c3cb83df3b7ee03cf2e057914179/django_simplesshkey-1.0.2-py2.py3-none-any.whl" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "74db40c79f38e3ef4ad192d6ea455069", "sha256": "00fc930d97c952b0cb17f8591ebb5d4f7f03f71a25cbada71d5e7bf5347ffe9c" }, "downloads": -1, "filename": "django_simplesshkey-1.0.3-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "74db40c79f38e3ef4ad192d6ea455069", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 25066, "upload_time": "2018-01-08T22:33:18", "url": "https://files.pythonhosted.org/packages/ba/27/f0f94de8eddc141e44a6f7915ae359372bfcbeb6da394fe1fa7f7215bf4d/django_simplesshkey-1.0.3-py2.py3-none-any.whl" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "fbc8a6a11ba786f124ffb5c3dc7e9cf8", "sha256": "889f13a105f099f28b2aa38003c5fdf2792fbab308b9276ef9b37201bbd0f68a" }, "downloads": -1, "filename": "django_simplesshkey-1.1.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "fbc8a6a11ba786f124ffb5c3dc7e9cf8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 27443, "upload_time": "2018-03-25T15:34:27", "url": "https://files.pythonhosted.org/packages/d5/f1/a9a336b10205ac9e718e6b96858ff0e56f6afde17565640c734d6250d25f/django_simplesshkey-1.1.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fbc8a6a11ba786f124ffb5c3dc7e9cf8", "sha256": "889f13a105f099f28b2aa38003c5fdf2792fbab308b9276ef9b37201bbd0f68a" }, "downloads": -1, "filename": "django_simplesshkey-1.1.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "fbc8a6a11ba786f124ffb5c3dc7e9cf8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 27443, "upload_time": "2018-03-25T15:34:27", "url": "https://files.pythonhosted.org/packages/d5/f1/a9a336b10205ac9e718e6b96858ff0e56f6afde17565640c734d6250d25f/django_simplesshkey-1.1.0-py2.py3-none-any.whl" } ] }