logoalt Hacker News

globular-toast • yesterday at 7:31 PM • 2 replies • view on HN

Does that make any difference for SSH? My understanding is asymmetric crypto is only used once per connection to exchange a symmetric key which is used to encrypt the actual data. PGP is similar. Nobody uses RSA of any key size to encrypt any actual data.


Replies

feeditbread • today at 1:29 AM

Handshake time matters. CPU time matters at scale, and OpenSSH targets that.

For TPMs, the performance is even more relevant. TPMs don't use ssh-keygen, but the efficiency of ECC over RSA is what's behind the general preference.

cowlevel • yesterday at 9:10 PM

Yes, you're basically DoSing yourself every time a scanner connects.

➕ show 1 reply