kbparse-lib 0.3.1

Apple Keybag parsing libray
Documentation
  • Coverage
  • 31.43%
    11 out of 35 items documented1 out of 9 items with examples
  • Size
  • Source code size: 14.83 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.19 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • HBchevelle68/kbparse
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • HBchevelle68

kbparse-lib

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(())
}

Platform Support

  • macOS-14-aarch64 (arm64e)
  • macOS-13-aarch64 (arm64e)
  • macOS-13-x86_64
  • macOS-12-x86_64
  • macOS-12-aarch64 (arm64e)
  • macOS-11-x86_64

Toolchain Support

  • aarch64-apple-darwin
  • x86_64-apple-darwin