Crate keepass

Crate keepass 

Source
Expand description

§keepass-rs

Crates.io Documentation Build Status codecov dependency status License file

Rust KeePass database file parser for KDB, KDBX3 and KDBX4, with experimental support for KDBX4 writing.

§Usage

Examples are available in the examples directory of this repository.

§Use developer tools

This crate contains several command line tools that can be enabled with the utilities feature flag. See the [[bin]] sections in Cargo.toml for a complete list.

An example command line for running the kp-dump-xml command would be:

cargo run --release --features "utilities" --bin kp-dump-xml -- path/to/database.kdbx

§Installation

Add the following to the dependencies section of your Cargo.toml:

[dependencies]
keepass = "*" # TODO replace with current version

§Performance Notes

For the best performance, this crate requires specific cargo configuration to enable CPU-specific optimizations, especially for AES key derivation.

Please see the recommended settings in the .cargo/config.toml file in this repository.

§License

MIT

Re-exports§

pub use self::db::Database;

Modules§

config
Configuration options for how to compress and encrypt databases
db
Types for representing data contained in a KeePass database
error
Error types that this crate can return

Structs§

DatabaseKey
A KeePass key, which might consist of a password and/or a keyfile