dogcow

The more pressing issue is making sure your key exchange algorithm is set to using post-quantum hybrid algos.

The current threat is "store now, decrypt later," so you want to make sure the traffic flow is sufficiently secured.

The SSH keys you use to log in are for authentication only, not encryption. For authentication, there's not a current known threat because someone would have to have a computer capable of cracking your key right now, in real-time.

You can add the following line to your server's sshd_config file to ensure you only accept post-quantum hybrid key exchange algorithms.

  KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com
Similarly, on your clients, you can add a KexAlgoritms entry under 'Host *' in ~/.ssh/config/
show comments
quantummagic

The advice to use ssh-agent is only going to list currently loaded keys; better to just scan manually:

       find ~/.ssh -type f -name "*.pub" -exec ssh-keygen -lf {} \;
ggm

Maybe THIS will make vlc for android update its algorithms because right now, you cannot login from vlc on android over sftp to any modern OS without a significant downgrade on the receiving host.

show comments
sscarduzio

We need time for tooling to catch up before we can move to heavier cryptography.

Also, many web apps using JWT tokens embedded in cookies will hit the 8K max header length just because of the humongous signatures

show comments
regecks

There are a bunch of iOS terminal apps + other hardware keys where the SSH keys are generated on the "Secure Enclave", but P-256 is the only key type supported.

Should we be moving off these as well?

show comments
lousken

Why would you upgrade from ed25519 ssh key? It is not used in encryption but for auth

For auth they are perfectly fine - it's like saying 17 character passwords are no longer good enough...

show comments
wpollock

Don't forget about the server's keys! For OpenSSH, look for keys in "/etc/ssh" or "C:\ProgramData\ssh".

show comments
0xbadcafebee

For ssh it's the key exchange that's the problem right now, not the keys themselves

show comments
debayande

> Seems that my PGP key is using RSA-4096 which is not a concern for today.

Am I reading this wrong, or is the author's example showing an Ed25519 key?

show comments
prmoustache

The article is misleading. you can't upgrade a pgp/ssh key. You create new ones and retire old ones.

KingOfCoders

I asked Claude.

zygentoma

> "ECDSA-SK, Ed25519 and Ed25519-SK keys have a fixed length and the -b flag will be ignored."

WTF?!?

Why would this be ignored instead of failing the command?

binaryturtle

So ssh-ed25519 is bad too? I just "upgraded" my RSA keys to that. I guess it's going back to RSA for now? Yikes. :)

(I wonder how many others waste their time like me with this "security" theatre and miss-information/ half-information)

show comments
imrehg

> This is ~100 days (a very short timespan for anything that affects "all CAs") and would affect ~25% of all web traffic, *which is not something one would do for no reason.*

Emphasis at the end is mine: that is true, however we live in the timeline where the obvious reason is way too often not the real reason. So giving the benefit of the doubt to people requiring others to do a bunch amount of heavy lifting, based on unknown motivations, is getting old very quickly...

I'm not at all saying that this cannot be a good reason. Just that "this is hard for many, so they must mean it" doesn't pass the current climate's sniff test (for me).

bigfatkitten

If you’ve got static keys widely spread around the place, you’ve already made some poor life choices irrespective of recent developments.

You shouldn’t be doing this, and you should move to short-lived SSH certificates instead; a feature that has been available since 2010 to avoid this very issue (and to solve many others.)

show comments
waynesonfire

Nothing wrong with ed25519

show comments