./createprimary -hi o -st -rsa
Handle 80000000
while executing following command getting error:
./createprimary -hi p -st -rsa
createprimary: failed, rc 000009a2
TPM_RC_BAD_AUTH - authorization failure without DA implications Session number 1
./create -hp 80000000 -ecc nistp256 -si -kt f -kt p -opr signeccpriv.bin -opu signeccpub.bin -opem signeccpub.pem -pwdp sto -pwdk sig
create: failed, rc 000009a2
TPM_RC_BAD_AUTH - authorization failure without DA implications Session number 1
How to resolve above error to use createprimary and create command in order to generate ECC private and public keys in TPM.
I tried belowed steps:
/clear -hi p
clear: failed, rc 000009a2
TPM_RC_BAD_AUTH - authorization failure without DA implications Session number 1
./clear -hi l
succeed
Also in BIOS setting under TPM section I enabled clear keys in TPM.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am performing following command:
How to resolve above error to use createprimary and create command in order to generate ECC private and public keys in TPM.
I tried belowed steps:
/clear -hi p
clear: failed, rc 000009a2
TPM_RC_BAD_AUTH - authorization failure without DA implications Session number 1
./clear -hi l
succeed
Also in BIOS setting under TPM section I enabled clear keys in TPM.
could you give an example to perform it?
Looks at regests/initkeys.sh for basic examples. There are many more throughout the regression tests. Just don't use the platform hierarchy.