Skip to main content

parse

Function parse 

Source
pub fn parse(text: &str) -> Vec<TrustEntry>
Expand description

Parse every [[trust_root]] block in text. Blocks with missing keyid/pubkey_hex, unparsable hex, or a keyid/pubkey mismatch (#223) are dropped with a stderr note rather than surfaced as a hard error — matches verify-attest’s tolerant-parser policy.