All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [tpm2] tpm2-tools tpm2_takeownership w/ Intel NUC
@ 2018-07-24 20:30 Scheie, Peter M
  0 siblings, 0 replies; 3+ messages in thread
From: Scheie, Peter M @ 2018-07-24 20:30 UTC (permalink / raw)
  To: tpm2

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

I'm confused: I'm running tools 3.1.0 and I still have tpm2_takeownership and I do not have tpm2_clear nor tpm2_changeauth.  I built from the release tar files, not from git clone.

Peter

-----Original Message-----
From: tpm2 [mailto:tpm2-bounces(a)lists.01.org] On Behalf Of Roberts, William C
Sent: Tuesday, July 24, 2018 1:28 PM
To: Agerstam, Mats G; tpm2(a)lists.01.org
Subject: Re: [tpm2] tpm2-tools tpm2_takeownership w/ Intel NUC

Decoding that error provides:
tpm2_rc_decode 0x9a2tpm:session(1):authorization failure without DA implications

-c option only toggles the clear bit on tpm2_clear and it requires the Lockout Auth value.
Perhaps something else is getting to the Lockout auth and setting it before you?

FYI releases greater than 3.X no longer have the tpm2_takeownership tool, it was split apart in:
https://github.com/tpm2-software/tpm2-tools/pull/703


> -----Original Message-----
> From: tpm2 [mailto:tpm2-bounces(a)lists.01.org] On Behalf Of Agerstam, Mats G
> Sent: Friday, July 20, 2018 3:01 PM
> To: tpm2(a)lists.01.org
> Subject: [tpm2] tpm2-tools tpm2_takeownership w/ Intel NUC
> 
> Hi,
> 
> 
> 
> I'm pretty new to the TPM toolset, but have been struggling a bit getting some of
> the fundamental pieces working. The issue I'm running into is when trying to take
> ownership of the TPM which results in an error:
> 
> ERROR: Could not change hierarchy for Owner. TPM Error:0x9a2
> 
> 
> 
> Even though I have not been successful in previously trying to take ownership,
> tried to run with the -c option, which resulted in
> 
> ERROR: Clearing Failed! TPM error code: 0x921. Looking at the meaning of the
> result code it indicated TPM_RC_LOCKOUT.
> 
> 
> 
> Other basic commands, like getting random numbers through tpm_getrandom
> [x] works fine.
> 
> 
> 
> I have a NUC 7i7BNH, BIOS version 56 (from Oct 2017), Ubuntu 16.04 Kernel
> version 4.13.0-45. I'm currently running tpm2-tools 2.1.0, tpm2-tss-2.0.0 and
> tpm2-abrmd 1.1.1.
> 
> 
> 
> I have additionally tried to take out the BIOS security jumper, resetting/clearing
> the TPM and retrying, without any success. Any guidance or tips on what could be
> causing this?
> 
> 
> 
> Thanks,
> 
>    Mats
> 
> 

_______________________________________________
tpm2 mailing list
tpm2(a)lists.01.org
https://lists.01.org/mailman/listinfo/tpm2

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

* Re: [tpm2] tpm2-tools tpm2_takeownership w/ Intel NUC
@ 2018-07-24 18:28 Roberts, William C
  0 siblings, 0 replies; 3+ messages in thread
From: Roberts, William C @ 2018-07-24 18:28 UTC (permalink / raw)
  To: tpm2

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

Decoding that error provides:
tpm2_rc_decode 0x9a2tpm:session(1):authorization failure without DA implications

-c option only toggles the clear bit on tpm2_clear and it requires the Lockout Auth value.
Perhaps something else is getting to the Lockout auth and setting it before you?

FYI releases greater than 3.X no longer have the tpm2_takeownership tool, it was split apart in:
https://github.com/tpm2-software/tpm2-tools/pull/703


> -----Original Message-----
> From: tpm2 [mailto:tpm2-bounces(a)lists.01.org] On Behalf Of Agerstam, Mats G
> Sent: Friday, July 20, 2018 3:01 PM
> To: tpm2(a)lists.01.org
> Subject: [tpm2] tpm2-tools tpm2_takeownership w/ Intel NUC
> 
> Hi,
> 
> 
> 
> I'm pretty new to the TPM toolset, but have been struggling a bit getting some of
> the fundamental pieces working. The issue I'm running into is when trying to take
> ownership of the TPM which results in an error:
> 
> ERROR: Could not change hierarchy for Owner. TPM Error:0x9a2
> 
> 
> 
> Even though I have not been successful in previously trying to take ownership,
> tried to run with the -c option, which resulted in
> 
> ERROR: Clearing Failed! TPM error code: 0x921. Looking at the meaning of the
> result code it indicated TPM_RC_LOCKOUT.
> 
> 
> 
> Other basic commands, like getting random numbers through tpm_getrandom
> [x] works fine.
> 
> 
> 
> I have a NUC 7i7BNH, BIOS version 56 (from Oct 2017), Ubuntu 16.04 Kernel
> version 4.13.0-45. I'm currently running tpm2-tools 2.1.0, tpm2-tss-2.0.0 and
> tpm2-abrmd 1.1.1.
> 
> 
> 
> I have additionally tried to take out the BIOS security jumper, resetting/clearing
> the TPM and retrying, without any success. Any guidance or tips on what could be
> causing this?
> 
> 
> 
> Thanks,
> 
>    Mats
> 
> 


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

* [tpm2] tpm2-tools tpm2_takeownership w/ Intel NUC
@ 2018-07-20 22:01 Agerstam, Mats G
  0 siblings, 0 replies; 3+ messages in thread
From: Agerstam, Mats G @ 2018-07-20 22:01 UTC (permalink / raw)
  To: tpm2

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

Hi,

I'm pretty new to the TPM toolset, but have been struggling a bit getting some of the fundamental pieces working. The issue I'm running into is when trying to take ownership of the TPM which results in an error:
ERROR: Could not change hierarchy for Owner. TPM Error:0x9a2

Even though I have not been successful in previously trying to take ownership, tried to run with the -c option, which resulted in
ERROR: Clearing Failed! TPM error code: 0x921. Looking at the meaning of the result code it indicated TPM_RC_LOCKOUT.

Other basic commands, like getting random numbers through tpm_getrandom [x] works fine.

I have a NUC 7i7BNH, BIOS version 56 (from Oct 2017), Ubuntu 16.04 Kernel version 4.13.0-45. I'm currently running tpm2-tools 2.1.0, tpm2-tss-2.0.0 and tpm2-abrmd 1.1.1.

I have additionally tried to take out the BIOS security jumper, resetting/clearing the TPM and retrying, without any success. Any guidance or tips on what could be causing this?

Thanks,
   Mats


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

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

end of thread, other threads:[~2018-07-24 20:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-24 20:30 [tpm2] tpm2-tools tpm2_takeownership w/ Intel NUC Scheie, Peter M
  -- strict thread matches above, loose matches on Subject: below --
2018-07-24 18:28 Roberts, William C
2018-07-20 22:01 Agerstam, Mats G

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.