tpm2-software / tpm2-tss-engine

OpenSSL Engine for TPM2 devices
https://tpm2-software.github.io
BSD 3-Clause "New" or "Revised" License
150 stars 100 forks source link

Sending authentication data with engine requests #256

Closed xlandrexl closed 1 year ago

xlandrexl commented 2 years ago

Hello,

Is it possible to send authentication data with the requests? (For example, if the owner hierarchy has a password). I know it is mentioned in page, but I can not find any documentation.

Thanks

williamcroberts commented 2 years ago

Look at openssl.conf.sample it has support for setting OWNER or parent key authorization if needed. The downside is it's required to be in an openssl conf file. Perhaps the Openssl conf file could be a generated here doc.