package
0.0.0-20241111114107-0fe65b19fb78
Repository: https://github.com/transparency-dev/armored-witness.git
Documentation: pkg.go.dev

# Functions

ActivateHAB issues the HAB command to the armored witness via HID.
BootIntoRecovery attempts to boot an armored witness device in SDP (Serial Boot) mode with the recovery firmware image, and then watches for a matching new block device to be presented to the host.
DetectHID returns a list of compatible devices in SDP mode.
DetectU2F returns the first U2F device found which matches the armored witness vendor and product IDs.
WitnessStatus issues the Status command to the armored witness via HID and returns the result.

# Constants

Response - Device to Host.
Response - Device to Host.
USB vendor ID for all supported devices.
Command - Host to Device.
Data - Host to Device.

# Variables

No description provided by the author

# Structs

Target represents a valid device to be SDP booted.