Skip to main content

Crate keychain_forensic

Crate keychain_forensic 

Source
Expand description

kc4n6 — the forensic analyzer over keychain_core.

Audits an acquired macOS login.keychain-db offline: given the account login password it recovers every generic-password secret and flags the high-value Chromium Safe Storage key (which in turn unlocks Chrome / Edge cookie and login stores). A wrong or absent password yields a loud present-but-locked report with a non-zero exit, never a guessed secret.

Decision logic lives in this library (the testable audit / classify functions + Cli::run); main.rs is a thin shell (Humble Object).

Re-exports§

pub use keychain_core;

Structs§

AuditReport
The audit result: recovered findings plus recovery context.
Cli
kc4n6 — recover secrets from an acquired macOS login.keychain-db.
Finding
One recovered secret, classified.

Enums§

CliError
A typed CLI failure surfaced to the user (never a guessed secret).
FindingKind
The class of a recovered item.

Functions§

audit
Audit a keychain image with the login password.
classify
Classify a record by its service attribute.
render_text
Render an AuditReport as a human-readable table.