| 1 |
Go-TPM |
| 2 |
====== |
| 3 |
|
| 4 |
Go-TPM is a Go library that communicates directly with a TPM device on Linux or |
| 5 |
Windows machines. |
| 6 |
|
| 7 |
The libraries don't implement the entire spec for neither 1.2 nor 2.0. **If you |
| 8 |
need a command that's missing, contributions are welcome!** |
| 9 |
|
| 10 |
Please note that this is not an official Google product. |
| 11 |
|
| 12 |
## Structure |
| 13 |
|
| 14 |
The `tpm` directory contains TPM 1.2 client library. This library is in |
| 15 |
["maintenance mode"](#tpm-1.2). |
| 16 |
|
| 17 |
The `legacy/tpm2` directory contains the legacy TPM 2.0 client library. |
| 18 |
|
| 19 |
The `tpm2` directory contains the prototype "TPMDirect" TPM 2.0 API, which is |
| 20 |
intended to (eventually) be 1:1 with the TPM 2.0 spec. Please report issues, |
| 21 |
complaints, or suggestions using the label |
| 22 |
https://github.com/google/go-tpm/labels/tpmdirect. |
| 23 |
|
| 24 |
The `examples` directory contains some simple examples for both legacy versions |
| 25 |
of the spec. |
| 26 |
|
| 27 |
## TPM 1.2 |
| 28 |
|
| 29 |
TPM 1.2 support currently has no maintainer. None of the TPM 2.0 maintainers |
| 30 |
have expertise on 1.2 either. |
| 31 |
|
| 32 |
As such, TPM 1.2 library is in "maintenance" mode - all PRs with new |
| 33 |
functionality or non-critical fixes will be rejected. |
| 34 |
|
| 35 |
**If you'd like to volunteer to maintain the TPM 1.2 library, you can do so via |
| 36 |
an [issue](https://github.com/google/go-tpm/issues).** You don't have to be a |
| 37 |
Googler to volunteer. |