Skip to main content

parse_ykman_list

Function parse_ykman_list 

Source
pub fn parse_ykman_list(
    stdout: &str,
) -> Result<Vec<DetectedToken>, DetectionError>
Expand description

Parse ykman list output.

A line that names a token but whose firmware cannot be read is an error, not a token silently dropped from the ring: dropping it could turn “hardware is present” into “nothing attached”, which selects a software root.