Closed nl6720 closed 8 months ago
P384 is not supported, only P256.
Is this important to you?
Of course it's important. 384 is a bigger number than 256!
Both my real fTPM and the emulated TPM in VirtualBox (on which I tested this), support P-384, so I'd like to be able to make use of that. :smiley:
With ssh-tpm-agent 0.3.0-1, I'm getting:
$ ssh-tpm-keygen --import ~/.ssh/id_ecdsa
2024/03/08 16:17:41 invalid ecdsa key length: TPM does not support 0 bits
See https://github.com/Foxboron/ssh-tpm-agent/issues/42
Though I should test this
Yeah, adding -b 384
at the end fixed it.
ssh-tpm-keygen
fails to import a nistp384 key (created usingssh-keygen -t ecdsa -b 384
).Using ssh-tpm-agent-git 0.2.0.r0.25e8edb-1 from AUR.