Commit Graph

8 Commits

Author SHA1 Message Date
a9b6eb1eb8 use legacy tpm2 at its new path (#331) 2023-06-13 07:43:38 -07:00
258084d04e Add support for generating TPM2.0 challenges using AttestedCertifyInfo
Fixes: issues/320.

Adds support for generating an activation challenge using
CertificationParameters.
Achieves symmetry with challenge-generation in
AttestationParameters, in order to provide a challenge to a
TPM to activate a TPM-certified key.

`attest.Activation` currently supports verifying and
generating a challenge given attestationData, an EK, an AK,
and a signature. In the attestationData, the CreationInfo
field is used to further validate and create the resulting
challenge.
In this change, `attest.Certification` will now support
generating a challenge given attestationData, an EK, a
TPM-certified public key, and a signature, in addition to
an AK used to verify the certification of the provided
public key we are generating an activation challenge for.
2023-06-06 10:46:12 -07:00
50e72a4743 attest: fix OSS-Fuzz build (#278) 2022-05-31 21:50:58 -07:00
2f8dbfc94e Restore changes accidentally reverted during reconciliation (#256) 2021-12-08 16:43:38 -08:00
0b7298fb18 Support RSA application keys (#218) 2021-05-20 11:15:09 -07:00
6848928436 Add AK.Certify() and use CertifyEx() for certification (#210)
* replace CertifyCreation() by CertifyEx() to handle certification of objects for which we cannot extract CreationData
* add AK.Certify(handle) allowing to certify externally-created keys
2021-04-23 14:41:30 -07:00
1379a4f766 Verify(): ensure that the hash function is available (#204) 2021-03-09 09:30:11 -08:00
440d34a877 Support for application signing keys (#201) 2021-03-08 12:27:00 -08:00