Crates.io | kdbx4 |
lib.rs | kdbx4 |
version | 0.5.1 |
source | src |
created_at | 2018-12-21 23:27:51.002604 |
updated_at | 2021-11-10 12:52:15.936799 |
description | KeePass KDBX4 file reader |
homepage | https://github.com/makovich/kdbx4 |
repository | https://github.com/makovich/kdbx4 |
max_upload_size | |
id | 103218 |
size | 71,854 |
This is an implementation of KeePass database file reader in Rust. This crate aims to work with KDBX version 4 format.
use kdbx4::{Kdbx4,CompositeKey};
let key = CompositeKey::new(Some("P@ssW0rd"), Some("~/.secret")).unwrap();
let db = Kdbx4::open("~/passwords.kdbx", key).unwrap();
match db.find("example.com").as_slice() {
[entry] => println!("{}", entry),
_ => panic!("Expecting single entry with provided title"),
}
At the time of writing, these were not supporting version 4 databases.
MIT/Unlicensed