{ "info": { "author": "Brett Viren,Jeremy Ehrhardt,Filipp Frizzy", "author_email": "filipp.s.frizzy@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "# keepassc and python-keepass\n\nThis provides command line and Python (both 2 and 3) interfaces for operating on\nfiles in KeePass format v3 (used by [KeePass](http://keepass.info/)\n1.x, and [KeePassX](http://www.keepassx.org/)). Note, this is not the\nformat used by the KeePass application version 2.x.\n\n## Notes of caution\n\nBefore using this code, understand the its (known) security\nand correctness limitations:\n\n * Unlike the KeePass/KeePassX GUI applications this code makes no\n attempt to secure its memory. Input files read in are stored in\n memory fully decrypted.\n\n * It is quite easy to display the stored passwords in plain text,\n although the defaults try to avoid this.\n\n * Specifying the master key on the command line will leave traces in\n your shells history and in the process list.\n\n * While input files are treated as read-only, keep backups of any\n files written by KeePass/KeePassX until you are assured that files\n written by this code are usable.\n\n * Key files are not currently supported.\n\n## Prerequisites and Installation\n\nYou will need to install the python-crypto package (providing the\n\"Crypto\" module). On a well behaved system do:\n\n```shell\nsudo apt-get install python-crypto\n```\n\nIf installing into a [virtualenv](http://www.virtualenv.org) this prerequisite will be installed for you:\n\n```shell\nvirtualenv /path/to/venv\nsource /path/to/venv/bin/activate\ncd python-keepass\npython setup.py install\n```\n\n\n## Command line\n\nThe command line interface is run like:\n\n```shell\nkeepassc [general_options] [command command_options] ...\n```\n\nMultiple commands can be specified and will be executed in order.\nThey operate on an in-memory instance of the database file. An\nexample, \n\n```shell\nkeepass open -m secret file.kdb \\\n dump -p -f '%(username)s password is: %(password)s' \\\n save -m newsecret backup.kdb\n```\n\nOnline help:\n\n```shell\nkeepass -h # short usage\nkeepass help # full usage\n```\n\n## Python Modules\n\n### Low level file access\n\n```python\nfrom keepass import kpdb\ndb = kpdb.Database(filename,masterkey)\nprint db # warning: displayed passwords in plaintext!\n```\n\n# References and Credits\n\n## PyCrypto help\n\n * Main page is found through . The documentation there is a start, but not enough.\n * This blog post is useful for the basics: \n\n## The giants on whose shoulders this works stands\n\nFirst, thanks to the original authors, contributors and community\nbehind KeePass and KeePassX. I am merely a user of KeePassX.\n\nA big credit is due to rudi & shirou (same hacker?) for the following:\n\n * \n * \n\nLooking through KeePass/KeePassX source made my head swim. Only after\nreviewing their work could I get started.\n\n## License\n\nThis package is Free Software licensed to you under the GPL v2 or\nlater at your discretion. See the [LICENSE.txt](LICENSE.txt) file for details.", "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/Friz-zy/python-keepass", "keywords": "python keepass kdb", "license": "GPLv2+", "maintainer": null, "maintainer_email": null, "name": "keepass", "package_url": "https://pypi.org/project/keepass/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/keepass/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Friz-zy/python-keepass" }, "release_url": "https://pypi.org/project/keepass/1.2/", "requires_dist": null, "requires_python": null, "summary": "Python (both 2 and 3) interface and cli to KeePass file format v3 (used in KeePass V1.x and KeePassX)", "version": "1.2" }, "last_serial": 1039684, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "8cf267758ed09d07c44b89a082850e4c", "sha256": "691ad5ecde991609195d5bca839344e9c41f631870ac258110e3e39af91f857d" }, "downloads": -1, "filename": "keepass-1.0.tar.gz", "has_sig": false, "md5_digest": "8cf267758ed09d07c44b89a082850e4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14843, "upload_time": "2014-01-03T16:55:40", "url": "https://files.pythonhosted.org/packages/36/07/f2cc180f994b7d8c53c74a5c6f14d849573b00b496efb5e1dc3da560adad/keepass-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "3ef67af9d008c5daee236041e881274c", "sha256": "74e3575293cd88f870dbf1acfa611805f95ca8403bec54dadf7c3e18d55001cb" }, "downloads": -1, "filename": "keepass-1.1.tar.gz", "has_sig": false, "md5_digest": "3ef67af9d008c5daee236041e881274c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14986, "upload_time": "2014-01-08T19:50:25", "url": "https://files.pythonhosted.org/packages/01/3d/4978b203f003cdca8e65f0a75d4242143ad6d056ccea9a724686bfe7de3c/keepass-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "52ca8e41a660f69d3caf707fccf302bf", "sha256": "7fc4dfd7d0c535de8e71642b8fec312327314d9df4ae9b6649136dabfe9df27f" }, "downloads": -1, "filename": "keepass-1.2.tar.gz", "has_sig": false, "md5_digest": "52ca8e41a660f69d3caf707fccf302bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15006, "upload_time": "2014-03-24T19:16:19", "url": "https://files.pythonhosted.org/packages/90/cb/a0427dcd2ea2d619807f8a6dc36f0ae4e09054fc77e6e6c5fbc13fe9f53a/keepass-1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "52ca8e41a660f69d3caf707fccf302bf", "sha256": "7fc4dfd7d0c535de8e71642b8fec312327314d9df4ae9b6649136dabfe9df27f" }, "downloads": -1, "filename": "keepass-1.2.tar.gz", "has_sig": false, "md5_digest": "52ca8e41a660f69d3caf707fccf302bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15006, "upload_time": "2014-03-24T19:16:19", "url": "https://files.pythonhosted.org/packages/90/cb/a0427dcd2ea2d619807f8a6dc36f0ae4e09054fc77e6e6c5fbc13fe9f53a/keepass-1.2.tar.gz" } ] }