News for hackers. Stuff that matters.
Re:Yubico with new 4096-bit keys and gpg-agent for ssh authe... by wtbob on Saturday December 26, 2015 @02:39PM (#10794991)
I'm surprised that more folks haven't just gone to 8,192-bit keys, out of an abundance of caution.
Re:Yubico with new 4096-bit keys and gpg-agent for ssh authe... by mike-cardwell on Saturday December 26, 2015 @03:51PM (#10795261)
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 authe... by justinjlynn on Sunday December 27, 2015 @08:30AM (#10797386)
Indeed. Mostly, it's just a question of whether or not the software will support a key of such size. Typically, I would recommend that, unless you've a good reason to use a smaller key (like support concerns), one should use the biggest key one possibly can use at the time the key is generated. Though, if one is doing key rotation as one should be, one can always adjust up as needed as time goes on.
Re:Yubico with new 4096-bit keys and gpg-agent for ssh authe... by garrettr_ on Sunday December 27, 2015 @12:13PM (#10798010)
Not really, especially in the context of RSA keys, because:

1. RSA is a slow algorithm and gets slower as you increase the key size.

2. Increasing the key size gets diminishing returns on the security margin. Given the performance and compatibility issues, the relatively minor improvement in security once you go beyond a certain key size is not worth it (you should switch to a better algorithm instead).

3. Anything over 4096 (possibly anything over 3072) is overkill anyway - if you could break a 4096-bit RSA key, you've probably found a fundamental weakness in RSA that means you should move to a different algorithm entirely.

Re:Yubico with new 4096-bit keys and gpg-agent for ssh authe... by justinjlynn on Tuesday December 29, 2015 @04:46PM (#10809293)
all valid points.
Re:Yubico with new 4096-bit keys and gpg-agent for ssh authe... by drdaeman on Sunday December 27, 2015 @10:19AM (#10797639)
I think the general consensus was not extending RSA key size, but using elliptic curves instead? (But NIST and Brainpool curves aren't completely trustworthy and Curve25519 is not yet standardized for OpenPGP, so we're practically stuck with RSA at the moment)
Re:Yubico with new 4096-bit keys and gpg-agent for ssh authe... by jlgaddis on Sunday December 27, 2015 @04:07PM (#10798772)
According to Werner Koch: [0]

"8192 bit keys are horrible insane from all POVs: There is no extra security because the security is based on the weakest link and this is definitely not the length of the RSA modulus, they make encryption really slow and thereby reducing the likeliness of widespread encryption use, they only help spreading FUD about the security of the RSA or other algorithms."

[0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=137824#10