go-tpm

module
v0.0.0-...-f29c5df Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2019 License: Apache-2.0

README

Go-TPM

Go-TPM is a Go library that communicates directly with a TPM on Linux. It marshals and unmarshals buffers directly into and from formats specified in the TPM spec. The current version supports Seal/Unseal, Quote, creating attestation identity keys, and taking ownership of the TPM.

The examples directory contains some simple examples: creating an AIK, clearing the TPM (using owner auth), and taking ownership of the TPM.

Please note that this is not an official Google product.

g-tpm

go-tpm

go-tpm

go-tpm

go-tpm

Directories

Path Synopsis
examples
tpm-clear command
tpm-genaik command
tpm-keys command
Package main implements a program to clear key handles from a TPM.
Package main implements a program to clear key handles from a TPM.
tpm-sign command
tpm2-ekcert command
Binary tpm2-ekcert reads an x509 certificate from a specific NVRAM index.
Binary tpm2-ekcert reads an x509 certificate from a specific NVRAM index.
tpm2-nvread command
Binary tpm2-nvread reads data from NVRAM at a specified index.
Binary tpm2-nvread reads data from NVRAM at a specified index.
tpm2-seal-unseal command
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.
Package tpm supports direct communication with a tpm device under Linux.
Package tpm supports direct communication with a tpm device under Linux.
Package tpm2 supports direct communication with a TPM 2.0 device under Linux.
Package tpm2 supports direct communication with a TPM 2.0 device under Linux.
Package tpmutil provides common utility functions for both TPM 1.2 and TPM 2.0 devices.
Package tpmutil provides common utility functions for both TPM 1.2 and TPM 2.0 devices.
mssim
Package mssim implements the Microsoft simulator TPM2 Transmission Interface
Package mssim implements the Microsoft simulator TPM2 Transmission Interface
tbs
Package tbs provides an low-level interface directly mapping to Windows Tbs.dll system library commands: https://docs.microsoft.com/en-us/windows/desktop/TBS/tpm-base-services-portal Public field descriptions contain links to the high-level Windows documentation.
Package tbs provides an low-level interface directly mapping to Windows Tbs.dll system library commands: https://docs.microsoft.com/en-us/windows/desktop/TBS/tpm-base-services-portal Public field descriptions contain links to the high-level Windows documentation.

Jump to

Keyboard shortcuts

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