mirror of
https://github.com/google/go-attestation.git
synced 2025-04-15 06:56:40 +00:00
Set NoDa flag on the AK template (#280)
Resolves an issue where a TPM in DA lockout mode cannot generate an AK.
This commit is contained in:
parent
cb976082a3
commit
f5d560164e
@ -48,7 +48,7 @@ var (
|
||||
akTemplate = tpm2.Public{
|
||||
Type: tpm2.AlgRSA,
|
||||
NameAlg: tpm2.AlgSHA256,
|
||||
Attributes: tpm2.FlagSignerDefault,
|
||||
Attributes: tpm2.FlagSignerDefault | tpm2.FlagNoDA,
|
||||
RSAParameters: &tpm2.RSAParams{
|
||||
Sign: &tpm2.SigScheme{
|
||||
Alg: tpm2.AlgRSASSA,
|
||||
|
Loading…
x
Reference in New Issue
Block a user