Skip to contentSkip to conversation

Resetting TPM Optiga Infineon SLB 9670

tpm2 Anthony Arrascue 3 participants 4 messages Jun 1, 2021 – Jun 2, 2021

lore
Share & tools
lore

Anthony Arrascue

author
#0 lore raw

Hello,

I know this question is not directly related to the TSS project, but maybe there is one someone in this community who can help me with this. I am using a TPM Optiga Infineon SLB 9670 on a Raspberry pi 4 I/O board with a compute module 4.
https://www.infineon.com/dgdl/Infineon-SLB%209670VQ2.0-DataSheet-v01_04-EN.pdf?fileId=5546d4626fc1ce0b016fc78270350cd6

This TPM has a physical reset button. The problem is that I cannot manage to reset the TPM. No matter how I place the jumper or how long I press the button, the TPM is not resetting. I believe the reset is not carried out, because when I try to re-provision with tss2_provision I get the message “SRK persistent handle already defined”. Moreover, if I call “sudo tpm2_getcap handles-persistent” I get the handles which I have already previously occupied (I am assuming here that after a reset they will be emptied).

Has anyone done a physical reset of a TPM?

Thanks for your help.

Anthony Arrascue

#1 lore raw

Hi,
Pressing the reset (or doing it via GPIO if the jumper is in the other position), does only send an ‘electrical’ reset to the TPM.

This does NOT *clear* the tpm ,( and also of course does not de-provision the fapi.) A reset only resets the volatile states.

You can verify that the reset is working, by using any regular esapi tool (tpm2_xxxx) and you will get an error RC_INITIALIZE 0x100. Then you would need to send a tpm2_startup command.

FAPI tools (tss2_xxxx) do send the startup automatically.

Thanks,
Peter

From: Anthony Arrascue <AArrascue(a)neuroloop.de>
Sent: Dienstag, 1. Juni 2021 19:18
To: tpm2(a)lists.01.org
Subject: [tpm2] Resetting TPM Optiga Infineon SLB 9670

Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safe<https://goto.infineon.com/SocialEngineering>.

Hello,

I know this question is not directly related to the TSS project, but maybe there is one someone in this community who can help me with this. I am using a TPM Optiga Infineon SLB 9670 on a Raspberry pi 4 I/O board with a compute module 4.
https://www.infineon.com/dgdl/Infineon-SLB%209670VQ2.0-DataSheet-v01_04-EN.pdf?fileId=5546d4626fc1ce0b016fc78270350cd6

This TPM has a physical reset button. The problem is that I cannot manage to reset the TPM. No matter how I place the jumper or how long I press the button, the TPM is not resetting. I believe the reset is not carried out, because when I try to re-provision with tss2_provision I get the message “SRK persistent handle already defined”. Moreover, if I call “sudo tpm2_getcap handles-persistent” I get the handles which I have already previously occupied (I am assuming here that after a reset they will be emptied).

Has anyone done a physical reset of a TPM?

Thanks for your help.

Anthony Arrascue

#2 lore raw

Anthony,

Quoted 1 line

re-provision [the TPM2]

I suspect you are looking for the TPM's TPM2_Clear() command. Unfortunately I am unable to recommend which TSS command to use to execute TPM2_Clear().

You may or may not be interested in this simplified architectural explanation:

*     the (electrical) reset signal instructs the TPM2 that its host platform has been _reset_, to make the TPM reset its PCRs (because PCRS are essentially a history of the execution of software on the platform since reset).
*     a (software) TPM2_Clear() command instructs the TPM2 to revert to its default _state_ (in other words, remove personalisation of TPM state by the previous TPM "owner").

Apologies if this type of information shouldn't be posted to this reflector.

Regards,

G.Proudler

----------------------------

Quoted 65 lines · Peter.Huewe(a)infineon.com

Hi,

Pressing the reset (or doing it via GPIO if the jumper is in the other position), does only send an ‘electrical’ reset to the TPM.

This does NOT *clear* the tpm ,( and also of course does not de-provision the fapi.)

A reset only resets the volatile states.

You can verify that the reset is working, by using any regular esapi tool (tpm2_xxxx) and you will get an error RC_INITIALIZE 0x100.

Then you would need to send a tpm2_startup command.

FAPI tools (tss2_xxxx) do send the startup automatically.

Thanks,
Peter

*From:*Anthony Arrascue <AArrascue(a)neuroloop.de> *Sent:* Dienstag, 1. Juni 2021 19:18
*To:* tpm2(a)lists.01.org
*Subject:* [tpm2] Resetting TPM Optiga Infineon SLB 9670

*Caution*: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safe
<https://goto.infineon.com/SocialEngineering>.

Hello,

I know this question is not directly related to the TSS project, but maybe there is one someone in this community who can help me with this.

I am using a TPM Optiga Infineon SLB 9670 on a Raspberry pi 4 I/O board with a compute module 4.

https://www.infineon.com/dgdl/Infineon-SLB%209670VQ2.0-DataSheet-v01_04-EN.pdf?fileId=5546d4626fc1ce0b016fc78270350cd6
<https://www.infineon.com/dgdl/Infineon-SLB%209670VQ2.0-DataSheet-v01_04-EN.pdf?fileId=5546d4626fc1ce0b016fc78270350cd6>

This TPM has a physical reset button. The problem is that I cannot manage to reset the TPM.  No matter how I place the jumper or how long I press the button, the TPM is not resetting.

I believe the reset is not carried out, because when I try to re-provision with tss2_provision I get the message “SRK persistent handle already defined”.

Moreover, if I call “sudo tpm2_getcap handles-persistent” I get the handles which I have already previously occupied (I am assuming here that after a reset they will be emptied).

Has anyone done a physical reset of a TPM?

Thanks for your help.

Anthony Arrascue

_______________________________________________
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

#3 lore raw

The bash command to invoke the TPM2_Clear command is tpm2_clear.
________________________________
From: Graeme Proudler <graeme(a)gproudler.plus.com>
Sent: Wednesday, June 2, 2021 3:48 AM
To: AArrascue(a)neuroloop.de <AArrascue(a)neuroloop.de>; tpm2(a)lists.01.org <tpm2(a)lists.01.org>
Subject: [tpm2] Re: Resetting TPM Optiga Infineon SLB 9670

Anthony,

Quoted 1 line

re-provision [the TPM2]

I suspect you are looking for the TPM's TPM2_Clear() command. Unfortunately I am unable to recommend which TSS command to use to execute TPM2_Clear().

You may or may not be interested in this simplified architectural explanation:

* the (electrical) reset signal instructs the TPM2 that its host platform has been reset, to make the TPM reset its PCRs (because PCRS are essentially a history of the execution of software on the platform since reset).
* a (software) TPM2_Clear() command instructs the TPM2 to revert to its default state (in other words, remove personalisation of TPM state by the previous TPM "owner").

Apologies if this type of information shouldn't be posted to this reflector.

Regards,

G.Proudler

----------------------------

On 02/06/2021 08:31, Peter.Huewe(a)infineon.com<mailto:Peter.Huewe(a)infineon.com> wrote:

Hi,

Pressing the reset (or doing it via GPIO if the jumper is in the other position), does only send an ‘electrical’ reset to the TPM.

This does NOT *clear* the tpm ,( and also of course does not de-provision the fapi.)

A reset only resets the volatile states.

You can verify that the reset is working, by using any regular esapi tool (tpm2_xxxx) and you will get an error RC_INITIALIZE 0x100.

Then you would need to send a tpm2_startup command.

FAPI tools (tss2_xxxx) do send the startup automatically.

Thanks,
Peter

From: Anthony Arrascue <AArrascue(a)neuroloop.de><mailto:AArrascue(a)neuroloop.de>
Sent: Dienstag, 1. Juni 2021 19:18
To: tpm2(a)lists.01.org<mailto:tpm2(a)lists.01.org>
Subject: [tpm2] Resetting TPM Optiga Infineon SLB 9670

Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safe<https://goto.infineon.com/SocialEngineering>.

Hello,

I know this question is not directly related to the TSS project, but maybe there is one someone in this community who can help me with this.

I am using a TPM Optiga Infineon SLB 9670 on a Raspberry pi 4 I/O board with a compute module 4.

https://www.infineon.com/dgdl/Infineon-SLB%209670VQ2.0-DataSheet-v01_04-EN.pdf?fileId=5546d4626fc1ce0b016fc78270350cd6

This TPM has a physical reset button. The problem is that I cannot manage to reset the TPM. No matter how I place the jumper or how long I press the button, the TPM is not resetting.

I believe the reset is not carried out, because when I try to re-provision with tss2_provision I get the message “SRK persistent handle already defined”.

Moreover, if I call “sudo tpm2_getcap handles-persistent” I get the handles which I have already previously occupied (I am assuming here that after a reset they will be emptied).

Has anyone done a physical reset of a TPM?

Thanks for your help.

Anthony Arrascue

_______________________________________________
tpm2 mailing list -- tpm2(a)lists.01.org<mailto:tpm2(a)lists.01.org>
To unsubscribe send an email to tpm2-leave(a)lists.01.org<mailto:tpm2-leave(a)lists.01.org> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s