Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.69 KB

README.md

File metadata and controls

59 lines (41 loc) · 1.69 KB

Build Status Coverage Status

python-keepasshttp

Access passwords stored in keepass using the http plugin

Usage

import keepasshttp

session = keepasshttp.start('my_app_name')
logins = session.getLogins('http://www.amazon.com')
print logins

Which will output something like:

[{u'Login': '[email protected]',
  u'Name': 'Amazon',
  u'Password': Password(*****),
  u'Uuid': '0da19f691e4ab51c11433f809695c84e'}]

The password field is protected with a thin wrapper so that it isn't accidently printed. The actual value of the password can be accessed like

logins[0]['Password'].value

Installation

pip install git+https://github.com/jobevers/python-keepasshttp.git

Notes

This library is based based off of the keepasshttp author's Protocol Summary and the Javascript Client Implementation

I kept a copy of the notebook I used while playing around with the protocol Keepass Protocol for reference.

Installing http server for keepassx

Versions of keepassx have been written that port the functionality of the keepasshttp plugin. Check out keepassx/keepassx#111 for the latest info.

Related projects

https://github.com/ccryx/python-keephasshttpc