package
0.0.0-20241108120853-5a7130a92488
Repository: https://github.com/transparency-dev/armored-witness-common.git
Documentation: pkg.go.dev

# Functions

BinaryPath returns the relative path within a bucket for the binary referenced by the manifest.
HABSignaturePath returns the relative path within a bucket for the HAB signature referenced by the manifest.
NewFetcher returns an implementation of a Remote that uses the given log client to fetch release data from the log.
NewUpdater returns an Updater that uses local to query/update the device, remote to query/fetch new updates, and verifier to ensure that downloaded content passes installation policy.

# Structs

No description provided by the author
FetcherOpts holds configuration options for creating a new Fetcher.
No description provided by the author
Updater should be periodically invoked via Update to check for and install firmware udpates for the OS and applet.

# Interfaces

A FirmwareVerifier checks that the given Bundle passes installation policy.
Local allows access to query the firmware installed on this device and operations to install new versions of the firmware.
A Remote represents the connection to the Internet and allows access to query and fetch new versions of firmware.

# Type aliases

BinaryFetcher returns the firmware image and HAB signature (if applicable) corresponding to the given release.