Package: tpm2-tools Version: 5.0-2 Hi all, I am trying to import my private key into the tpm (to use it with Strongswan)
>> tpm2_createprimary >> tpm2_import -G rsa2048 :rsassa-sha256 -i private.pem -C parent.ctx -u >> irsakey.pub -r irsakey.pri >> tpm2_load >> tpm2_evictcontrol Every thing seems to be ok but when i use the command : >> pki -print -type private -keyid 0x81000002 I got : TPM 2.0 via TSS2 V2 available Signature algorithm is NULL with ERROR hash .... Neither the sign algorithm is stored nor the hash algorithm It is mandatory for StrongSwan to use it with ikev2 (ikev2 is mandatory with TPM2.0) I asked for help to tpm2-tools team and they found the bug A PR has been created and his now (i think) integrated in the last tpm2-tools (5.3rc2) [https://github.com/tpm2-software/tpm2-tools/pull/2999] I am working on bullseye. Is it possible to have the patch into the distribution ? Without that in my case, it is impossible to have strongswan working with the TPM2.0. Regards

