Skip to main content

A CLI for keepassxc-proxy

Project description

keepassxc_proxy_client

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

You can use it like this:

import keepassxc_proxy_client
import keepassxc_proxy_client.protocol

connection = keepassxc_proxy_client.protocol.Connection()
connection.connect()
print(connection.get_databasehash())
# This will open a keepassxc dialogue
print(connection.associate())
print(connection.test_associate())
print(connection.dump_associate())
print(connection.get_logins("https://github.com"))

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()
connection.connect()
name, public_key = connection.dump_associate()
# save it and read it in again for later

connection.load_associate(name, public_key)
print(connection.test_associate())

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.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

keepassxc_proxy_client-0.1.0-py3.8.egg (8.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page