All of lore.kernel.org
 help / color / mirror / Atom feed
* [tpm2] Re: Persisted primary key not usable, tpm2-tools 4.0.0
@ 2019-10-18 17:52 Tadeusz Struk
  0 siblings, 0 replies; 4+ messages in thread
From: Tadeusz Struk @ 2019-10-18 17:52 UTC (permalink / raw)
  To: tpm2

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

On 10/15/19 3:06 PM, Steven Clark wrote:
> root(a)localhost:~# tpm2_evictcontrol -C o -c prim.ctx 0x81000001
> persistent-handle: 0x81000001
> action: persisted
> 
> root(a)localhost:~# tpm2_readpublic -c 0x81000001
> WARNING:esys:../tpm2-tss/src/tss2-esys/api/Esys_ReadPublic.c:320:Esys_ReadPublic_Finish()
> Received TPM Error
> ERROR:esys:../tpm2-tss/src/tss2-esys/api/Esys_ReadPublic.c:104:Esys_ReadPublic()
> Esys Finish ErrorCode (0x0000018b)
> ERROR: Esys_ReadPublic(0x18B) - tpm:handle(1):the handle is not correct
> for the use
> ERROR: Unable to run tpm2_readpublic

That looks quite strange. Could you try to list the handles with
tpm2_getcap handles-persistent and tpm2_getcap handles-transient
after evictcontrol command to see if it really worked.

--
Tadeusz

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

* [tpm2] Re: Persisted primary key not usable, tpm2-tools 4.0.0
@ 2019-10-29 14:16 Roberts, William C
  0 siblings, 0 replies; 4+ messages in thread
From: Roberts, William C @ 2019-10-29 14:16 UTC (permalink / raw)
  To: tpm2

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

Interesting thanks for the update. Sorry we weren't of much help, but I am glad you think
you figured it out.

> -----Original Message-----
> From: Steven Clark [mailto:davolfman(a)gmail.com]
> Sent: Monday, October 28, 2019 5:57 PM
> To: Struk, Tadeusz <tadeusz.struk(a)intel.com>
> Cc: tpm2(a)lists.01.org
> Subject: [tpm2] Re: Persisted primary key not usable, tpm2-tools 4.0.0
> 
> I installed the 32-bit versions of my packages on a relevant system and I'm able to
> read the public portion of a persisted primary object with the ABRMD running.  I
> remember having to force install my packages on the first test system due to a
> dependency/version snarl I inflicted upon myself.  For the time being my
> problem is probably not a problem and if it re-appears stands a good chance of
> being a build system recipe problem instead of a code problem.
> _______________________________________________
> tpm2 mailing list -- tpm2(a)lists.01.org
> To unsubscribe send an email to tpm2-leave(a)lists.01.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

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

* [tpm2] Re: Persisted primary key not usable, tpm2-tools 4.0.0
@ 2019-10-28 22:57 Steven Clark
  0 siblings, 0 replies; 4+ messages in thread
From: Steven Clark @ 2019-10-28 22:57 UTC (permalink / raw)
  To: tpm2

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

I installed the 32-bit versions of my packages on a relevant system
and I'm able to read the public portion of a persisted primary object
with the ABRMD running.  I remember having to force install my
packages on the first test system due to a dependency/version snarl I
inflicted upon myself.  For the time being my problem is probably not
a problem and if it re-appears stands a good chance of being a build
system recipe problem instead of a code problem.

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

* [tpm2] Re: Persisted primary key not usable, tpm2-tools 4.0.0
@ 2019-10-18 22:43 Steven Clark
  0 siblings, 0 replies; 4+ messages in thread
From: Steven Clark @ 2019-10-18 22:43 UTC (permalink / raw)
  To: tpm2

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

I checked the handles and it showed up as persistent and not as transient.
Then I deactivated the TABRMD and attempted access through the device TCTI
and it worked.  I won't be able to do much more for until the end of the
month but it looks like the problem is in the resource manager.

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 316 bytes --]

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

end of thread, other threads:[~2019-10-29 14:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-18 17:52 [tpm2] Re: Persisted primary key not usable, tpm2-tools 4.0.0 Tadeusz Struk
2019-10-18 22:43 Steven Clark
2019-10-28 22:57 Steven Clark
2019-10-29 14:16 Roberts, William C

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.