examples/

directory
v0.0.0-...-ff38c97 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: Apache-2.0

README

go-tpm usage examples

This directory contains binaries that show how to use go-tpm.

Versions

Directories that start with tpm- are for TPM 1.x devices.

Directories that start with tpm2- are for TPM 2.x devices.

They are not compatible. For example, running tpm-sign against a TPM 2.x device will fail.

Directories

Path Synopsis
Package main implements a program to clear key handles from a TPM.
Package main implements a program to clear key handles from a TPM.
Binary tpm2-ekcert reads an x509 certificate from a specific NVRAM index.
Binary tpm2-ekcert reads an x509 certificate from a specific NVRAM index.
Binary tpm2-nvread reads data from NVRAM at a specified index.
Binary tpm2-nvread reads data from NVRAM at a specified index.
Command tpm2-seal-unseal illustrates utilizing the TPM2 API to seal and unseal data.
Command tpm2-seal-unseal illustrates utilizing the TPM2 API to seal and unseal data.

Jump to

Keyboard shortcuts

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