Mailing List Archive

Moving subkey to TPM fails
Hi,

I've been trying to setup two NIST P256 signing key and authorization
key into the TPM of a laptop I just received.

I generated the subkeys, but when running keytotpm, it fails with:

error from TPM: Not supported

The NIST P256 algorithm seems to be supported though, since it's
mandatory in the TPM2 spec as far as I'm aware, and the TPM reports it
as supported anyway:

$ tpm2_getcap ecc-curves
TPM2_ECC_NIST_P256: 0x3
TPM2_ECC_NIST_P384: 0x4

Is there any way to debug this further?

Thanks!
Maxime