All of lore.kernel.org
 help / color / mirror / Atom feed
* [tpm2] Re: tpm2_createak fails. Error code: 0x184. Reboot doesn't help!
@ 2020-07-06 18:03 Imran Desai
  0 siblings, 0 replies; 5+ messages in thread
From: Imran Desai @ 2020-07-06 18:03 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 89 bytes --]

What do you have at 0x81010001? Can you show the output of tpm2_readpublic -c 0x81010001?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [tpm2] Re: tpm2_createak fails. Error code: 0x184. Reboot doesn't help!
@ 2020-07-08 20:44 Imran Desai
  0 siblings, 0 replies; 5+ messages in thread
From: Imran Desai @ 2020-07-08 20:44 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 118 bytes --]

Simply R\unning ```tpm2_clear``` should suffice and it should both clear the TPM and also flush the persistent handles

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [tpm2] Re: tpm2_createak fails. Error code: 0x184. Reboot doesn't help!
@ 2020-07-08  6:39 Chenxi Z
  0 siblings, 0 replies; 5+ messages in thread
From: Chenxi Z @ 2020-07-08  6:39 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 505 bytes --]

Thanks Imran for the suggestions.
1. I am facing the problem on a TPM chip.
2. could you guide me what the exact commands are that I can run to clear the tpm and flush persistent handle?
    Should I use the command below? is it enough to clear it and flush persistent handle?
   tpm2_clear <TPM2_PWD>
3. I believe it works on simulator. We have multiple hosts (tpm chips), not all have the issue. only a few have the issue. I am not sure if it is hardware issue or software issue.

Thanks,
Chenxi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [tpm2] Re: tpm2_createak fails. Error code: 0x184. Reboot doesn't help!
@ 2020-07-07 17:27 Imran Desai
  0 siblings, 0 replies; 5+ messages in thread
From: Imran Desai @ 2020-07-07 17:27 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 373 bytes --]

@Chenxi,

I am unable to replicate this issue.

1. Are you facing this problem on a simulator or a TPM chip?
2. If it is on a TPM chip and you cannot afford to clear the TPM, can you flush the persistent handle and start all over?
3. Can you try the same set of commands on an instance of the simulator and reproduce the problem?

Thanks and Regards,

Imran Desai

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [tpm2] Re: tpm2_createak fails. Error code: 0x184. Reboot doesn't help!
@ 2020-07-07  6:07 Chenxi Z
  0 siblings, 0 replies; 5+ messages in thread
From: Chenxi Z @ 2020-07-07  6:07 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 825 bytes --]

thanks Imran for looking into it. Below is the output. Does the information help?


[root(a)myhost ~]# tpm2_readpublic -c 0x81010001
name: 000bc11d18cdceffa5af9080820ae0d2998fda7041a1378edf72aa9236efef63f4e8
qualified name: 000b75134daa3d3ce6ab75530a78735376f72277dc0babe7f2d3fc89be03e2e5ca18
name-alg:
  value: sha256
  raw: 0xb
attributes:
  value: fixedtpm|fixedparent|sensitivedataorigin|adminwithpolicy|restricted|decrypt
  raw: 0x300b2
type:
  value: rsa
  raw: 0x1
exponent: 0x0
bits: 2048
scheme:
  value: null
  raw: 0x10
scheme-halg:
  value: (null)
  raw: 0x0
sym-alg:
  value: aes
  raw: 0x6
sym-mode:
  value: cfb
  raw: 0x43
sym-keybits: 128
rsa: 803d <I omit some contents here ... ... > 69aa
authorization policy: 837197674484b3f81a90cc8d46a5d724fd52d76e06520b64f2a1da1b331469aa

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-07-08 20:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06 18:03 [tpm2] Re: tpm2_createak fails. Error code: 0x184. Reboot doesn't help! Imran Desai
2020-07-07  6:07 Chenxi Z
2020-07-07 17:27 Imran Desai
2020-07-08  6:39 Chenxi Z
2020-07-08 20:44 Imran Desai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.