kee-org / keepassrpc

The KeePassRPC plugin that needs to be installed inside KeePass in order for Kee to be able to connect your browser to your passwords
GNU General Public License v2.0
635 stars 35 forks source link

Access with python? #12

Closed navxio closed 6 years ago

navxio commented 6 years ago

Hi,

Is the keepass rpc api exposed such that it can be accessed by other apps/scripts?

dlech commented 6 years ago

Yes, it uses https via a TCP socket so just about anything (including python) can talk to it. There is some information on the KeeFox wiki: https://github.com/kee-org/KeeFox/wiki/en-%7C-Technical-%7C-KeePassRPC-detail

You can also look at the KeeFox extension as a reference implementation: https://github.com/kee-org/KeeFox/blob/master/Firefox%20addon/KeeFox/modules/kprpcClient.js

ThomFri commented 8 months ago

Hi navxio, I know some time has passed since your original post, but I'd be interested to know if you've programmed (or found) a Python library to interact with keepassrpc? I currently use keepasshttp (the name is identical for the KeePass plugin and the Python library), but I'd like to switch since keepasshttp hasn't been updated in years. However, I would like to keep my current processes unchanged, i.e. Python should read from my unlocked database and not the file directly etc. so I don't have to store my database key anywhere near my programming projects. Many thanks in advance!

navxio commented 7 months ago

@ThomFri sorry I haven't.. I've moved on to other pw managers.