Live data from Hacker News

Yubico with new 4096-bit keys and gpg-agent for ssh authentication

trmm.net

1–10 of 51 posts

Re: Yubico with new 4096-bit keys and gpg-agent for ssh authentication

#4
post #2

I'm surprised that more folks haven't just gone to 8,192-bit keys, out of an abundance of caution.

4,096 is already an abundance of caution. You might as well say people should go to 32,768 just to be sure. Then somebody else would come along and say, "why not 65,536?"

Re: Yubico with new 4096-bit keys and gpg-agent for ssh authentication

#5

Are the github keys they sold cheaply compatible with 4096 bit keys? I'm loathe to buy another, considering i've got 3 already...

As far as I'm aware, Yubikey 4 and Yubikey Nano 4 can do 4096; the older ones like the NEO can only do 2048.

Not that 2048 is flawed as such: it's still north of 100 bits workfactor at the moment, as far as I gather. 3072 would be equivalent to about 128 (similar to the EC algorithms secp256r1 or Curve25519), and 4096 is some extra insurance on top. (As a benchmark: Snowden used 4096-bit RSA keys for GnuPG.) Anything bigger than that could introduce OpenPGP compatibility troubles.

All of these are secure when correctly implemented. (Yubikey use NXP chips. I don't have much to say beyond that, I haven't audited them.) All of them will fall to Shor's algorithm on a quantum computer of sufficient size, but we're not likely to have one of those for a good few years, if they're possible.

Post reply on HN