Skip to main content

A CLI for keepassxc-proxy

Project description


A small library as well as CLI tool to fetch information from a running keepassxc instance.


See keepassxc_proxy_client --help for usage.


You can use it like this:

import keepassxc_proxy_client
import keepassxc_proxy_client.protocol

connection = keepassxc_proxy_client.protocol.Connection()
# This will open a keepassxc dialogue

Please always use a URL with http or https for retreiving logins, otherwise no logins will be found. You can use connection.get_logins("") when you actually stored URL just as "" within KeepassXC. This will work. However it won't work using get_logins("") even if you have stored URL as "".

To connect and retreive logins from KeepassXC Browser integration has to be enabled in settings. Checkboxes for different Browser don't need to be checked. Enabled browser integration is enough for keepassxc_proxy_client to work.

If you want to dump and later read in the associate information you can do this as follows:

import keepassxc_proxy_client
import keepassxc_proxy_client.protocol

connection = keepassxc_proxy_client.protocol.Connection()
name, public_key = connection.dump_associate()
print("Got connection named '", name, "' with key", public_key)
# save it and read it in again for later

#Later usage

connection = keepassxc_proxy_client.protocol.Connection()
connection.load_associate(name, public_key)

It is recommended to store the private key in a secure location since it basically acts as a key file to all your passwords that are associated with a URL, since get_logins() can only fetch passwords that are associated with one.

Version 0.1.4

  • Added support for Windows

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keepassxc-proxy-client-0.1.4.tar.gz (5.8 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page