Foxboron / ssh-tpm-agent

:computer: :key: ssh-agent for TPMs
MIT License
355 stars 20 forks source link

move from internal TPM implementation to go-tpm-keyfile #53

Closed Foxboron closed 4 months ago

Foxboron commented 4 months ago
openssl genpkey -provider tpm2 -algorithm EC -pkeyopt group:P-256 -pkeyopt user-auth:1234 -out id_ecdsa.tpm
./bin/ssh-tpm-keygen --print-pubkey ./id_ecdsa.tpm > id_ecdsa.pub
./bin/ssh-tpm-add ./id_ecdsa.tpm
ssh -i ./id_ecdsa.pub xxxxx

This works now :)