Skip to contentSkip to conversation

Question: How should I provide "OwnerAuth" on Windows?

tpm2 kent.thompson at intel.com 1 participant 1 message Jun 29, 2020

lore
Share & tools
lore

kent.thompson at intel.com

#0 lore raw

I've searched through the project's issues but didn't find anything on this topic.

Our team is porting the Linux implementation of the 'tpm-provider' (application interface (wraps tpm2-tss for use with golang) to Windows. On Linux we take ownership of the tpm and specify the owner auth password, which is then used for the tpm2-tss function calls (ex. https://github.com/intel-secl/tpm-provider/blob/64cd53d6fd91b50eb011e1e43d6b0966fbeb473a/nvram.c#L67).

My understanding is that taking ownership is not needed on Windows and I've retrieved the "ownerauth" form the Get-Tpm cmdlet. Base64 decoding that value and passing the 20 bytes for owner auth returns 0x9a2 (TPM_RC_BAD_AUTH).

What ownerath value should I pass to tpm2-tss?

Duplicated at https://github.com/tpm2-software/tpm2-tss/issues/1767