Crate kpx

Crate kpx 

Source
Expand description

High-level Rust client for the KeePassXC browser integration protocol.

This crate implements the native messaging protocol that the official KeePassXC browser extensions use to communicate with the KeePassXC GUI. It manages the NaCl based key exchange, message encryption and exposes a strongly typed, synchronous API for common actions such as associate, get-logins and generate-password.

Structs§

Association
Association credentials persisted by the client for future sessions.
AssociationRecord
Association metadata returned by KeePassXC.
DatabaseGroups
Response for get-database-groups.
DatabaseHash
Response for get-databasehash.
GetLoginsResponse
Response for get-logins.
KeePassXcClient
Synchronous KeePassXC protocol client.
LoginEntry
Login entry returned by KeePassXC.
LoginQuery
Request payload for retrieving logins.
NativeTransport
Native KeePassXC transport (Unix domain socket on Unix, named pipe on Windows).
PasswordResponse
Response payload for generate-password.
TestAssociationResult
Response payload for test-associate.
TotpResponse
Response payload for get-totp.

Enums§

Action
Supported KeePassXC browser actions.
KpxError
Errors returned by the KeePassXC client library.

Traits§

Transport
Basic transport abstraction over the KeePassXC IPC channel.

Type Aliases§

KpxClient
Convenience alias for the default KeePassXC client leveraging the native transport.