| Crates.io | kbparse-lib |
| lib.rs | kbparse-lib |
| version | 0.3.1 |
| created_at | 2023-09-30 00:28:30.319766+00 |
| updated_at | 2023-10-11 18:42:44.439216+00 |
| description | Apple Keybag parsing libray |
| homepage | https://github.com/HBchevelle68/kbparse |
| repository | https://github.com/HBchevelle68/kbparse |
| max_upload_size | |
| id | 988284 |
| size | 15,184 |
This crate provides a lightweight ability to parse Apple user keybags (version 5). This crate has no dependencies other than std.
// Simplified example
use kbparse_lib::keybag;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let args: Vec<String> = std::env::args().collect();
let bytes = std::fs::read(&args[1])?;
let kb = keybag::Keybagv5::parse(&bytes)?;
println!("{:#?}", kb);
Ok(())
}