Skip to main content

keepassxc_proxy_client

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

CLI

See keepassxc_proxy_client --help for usage.

Library

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"))

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

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()
connection.connect()
connection.associate()
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.connect()
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.

Version 0.1.4

  • Added support for Windows

Metadata

Release files for keepassxc-proxy-client 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keepassxc-proxy-client 0.1.7
File Size Uploaded Provenance Actions
keepassxc-proxy-client-0.1.7.tar.gz 6.2 kB Without provenance Details for keepassxc-proxy-client-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for keepassxc-proxy-client 0.1.7
File Interpreter ABI Platform Actions
keepassxc_proxy_client-0.1.7-py3-none-any.whl Python 3 none any Details for keepassxc_proxy_client-0.1.7-py3-none-any.whl

Total release size: 13.1 kB

Release files / keepassxc-proxy-client-0.1.7.tar.gz

Download URL keepassxc-proxy-client-0.1.7.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
652f0c00f38fd947d3efe502ac44b8a59cc8d4ca6b62561110fad835a81107a0
BLAKE2b-256 checksum
How to use checksums
3691df71c65fc069ca654aee719464662c1de93a4132e145fd2dd9d51e270201
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / keepassxc_proxy_client-0.1.7-py3-none-any.whl

Download URL keepassxc_proxy_client-0.1.7-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31b1563384f4d461488d32d6fa8ace7e395c003fb6f60e9b7194bd64d174e4d2
BLAKE2b-256 checksum
How to use checksums
406dcb8f4a9584fb26eb84c2703bea1133daa506183def04724812232465169b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for keepassxc-proxy-client 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page