go-tpm

module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 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.

Directories

Path Synopsis
examples
tpm-keys
Package main implements a program to clear key handles from a TPM.
Package main implements a program to clear key handles from a TPM.
tpm2-ekcert
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
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 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.
credactivation
Package credactivation implements generation of data blobs to be used when invoking the ActivateCredential command, on a TPM.
Package credactivation implements generation of data blobs to be used when invoking the ActivateCredential command, on a TPM.
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 The Microsoft simulator TPM Command Transmission Interface (TCTI) is a remote procedure interface donated to the TPM2 Specification by Microsoft.
Package mssim implements the Microsoft simulator TPM2 Transmission Interface The Microsoft simulator TPM Command Transmission Interface (TCTI) is a remote procedure interface donated to the TPM2 Specification by Microsoft.
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