
Infineon lifts the veto on 9678 and I added back the information to our PQC Readiness page in our TPMdev tutorials - https://github.com/tpm2dev/tpm.dev.tutorials/blob/master/PQC/pqc-ready-tpm.md
Hi,
I would like to load an external RSA or ECC key pair into a persistent handle of the TPM.
Could any one please confirm if there are any limitations on doing this?
Here are the commands I used to achieve that.
However, when I attempt to evict using TPM tools, I encounter an error related to inconsistent attributes.
tpm2tools command:
sudo tpm2_startup -c
sudo tpm2_clear -c p
sudo tpm2_flushcontext -tls
openssl genrsa -out private.pem 2048
sudo tpm2_loadexternal -C n -Grsa -a "userwithauth|noda|decrypt|sign|fixedparent|sensitiveDataOrigin" -r private.pem -c key.ctx
sudo tpm2_evictcontrol -C o -c key.ctx -o primary.handle

Comments
Start the Conversation
As per Dimi's suggestion, the issue was resolved using the "tpm2_import" command.
For further clarification, please refer to the command set on the" GitHub link.
https://github.com/SundaresunAKS/tpm2_scripts/blob/main/loadExternalKey/tpm2Cmd_externalKeyToHandle.txt
I am happy that my suggestion helped you