Support Attestation Generation and Verification
Breaking Changes
- #97 - Rename
tpm2tools
package toclient
, to better contrast with the existingserver
package - #90 - Rename methods containing
AIK
(a TPM 1.2 term) toAK
(the corresponding TPM 2.0 term) - #104 - Update minimum Go version to 1.16
- #117 #133 - Changed sealing/unsealing options:
SealOpt
interface is now aclient.SealOpts
structureCertifyOpt
interface is now aclient.UnsealOpts
structure
New features
- #53 - Add
client.Quote
andinternal.VerifyQuote
- #100 - Add
client.GetEventLog
andserver.ParseMachineState
- #105 - Add
client.ReadAllPCRs
and use it ingotpm read pcr
- #106 - Add
client.Attest
- #108 - Add GCE-specific methods:
client.GceAttestationKeyECC
andclient.GceAttestationKeyRSA
- #103 - Add
server.VerifyAttestation
,server.EvaluatePolicy
, andserver.ParseMachineState
Bug fixes
- #123 - Use
/dev/tpmrm0
by default - #106 - Have
simulator.Get
block instead of failing