impl

package
v0.0.0-...-36d823c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: Apache-2.0, Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package impl is the implementation of a hacker tool for modifying proof bundles.

It can update the expected measurement and firmware image hashes of the specified proof bundle file, optionally sign the firmware statement, and finally write the bundle to the specified output file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(opts ModifyBundleOpts) error

Main is the modify bundle entrypoint.

Types

type ModifyBundleOpts

type ModifyBundleOpts struct {
	BinaryPath string
	DeviceID   string
	Input      string
	Output     string
	Sign       bool
}

ModifyBundleOpts encapsulates parameters for the modify bundle Main below.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL