/go-tpm-tools

Go packages built on go-tpm providing a high-level API for using TPMs

Primary LanguageCApache License 2.0Apache-2.0

Go-TPM tools

This repository contains various libraries and a command line tool designed for use with Go-TPM:

  • simulator: Go bindings to the Microsoft's TPM2 simulator.
  • tpm2tools: a Go library providing useful abstractions and utility functions for using a TPM2. The goal of this library is to handle complex TPM functionality (sessions, authorization, activating credentials, etc...), providing users with a simplified API.
  • gotpm: a command line tool for using the TPM from the command line. Run gotpm --help and gotpm [command] --help for more documentation.

Minimum Required Go Version

This project currently requires Go 1.13 or newer. In general, we try to support building with all currently supportted Go versions. Any update to the minimum required Go version will be released as a minor version update.

Legal

Copyright 2018 Google Inc. under the Apache 2.0 License. IBM simulator code is licensed under a 3-clause BSD license and the TCG software license. See the LICENSE file for more information.

This is not an official Google product.