Foxboron / ssh-tpm-agent

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

Support RSA keys #17

Closed Foxboron closed 1 year ago

Foxboron commented 1 year ago

This allows us to support RSA keys.

Note we can only do RSA2048 and it seems like most ssh servers still try to offer SHA-1.

dblitt commented 1 year ago

Is the restriction of RSA 2048 bits a technical limitation of TPMs?

Foxboron commented 1 year ago

@dblitt Yes, but some TPMs might support stronger keys. I'm not sure how to figure this out dynamically so currently 2048 is good enough.