News for hackers. Stuff that matters.
Re:How often should I rotate my SSH keys? by rhuber on Friday February 26, 2021 @09:30AM (#26275119)
The author of this article should consider following their own advice, since they have a woefully outdated RSA-1024 ssh key securing their GitHub account.

$ curl -s https://github.com/apenwarr.keys > blah

$ ssh-keygen -l -f blah

1024 SHA256:1IWAUSXOcCKLcmOdAec8JbDt3T75udA4KSpRosEWUaU no comment (RSA)

(update: they have now replaced it with an RSA 2048 bit key. progress.)

Re:How often should I rotate my SSH keys? by suifbwish on Friday February 26, 2021 @09:51AM (#26275302)
It would still take a long ass time to brute force a 1024 unless there is no brute force detection. Alternatively capturing the traffic can allow brute forcing the applied algorithm itself.
Re:How often should I rotate my SSH keys? by rhuber on Friday February 26, 2021 @10:19AM (#26275595)
I wasn't commenting on the strength of RSA-1024, per se, but on the assumed age of that key. OpenSSH's ssh-keygen hasn't defaulted to 1024 bit RSA keys since before version 4.2, in 2005. (I had to look it up: https://www.openssh.com/releasenotes.html)

You can still generate a 1024 bit RSA key, but someone would have to go out of their way to do so, and I can't imagine why they would have done that in the past .. decade?

Re:How often should I rotate my SSH keys? by foolmeonce on Friday February 26, 2021 @11:36AM (#26276604)
> I can't imagine why they would have done that in the past .. decade?

Maybe they aren't using software keys, but rather a low quality/older/small-kb hardware token or following the default guide for one? The vast majority supported 2048 in 2010 though..

Re:How often should I rotate my SSH keys? by Retr0spectrum on Friday February 26, 2021 @01:09PM (#26277835)
It's a public key, you can perform the "brute force" (factorisation) entirely offline, to derive the private key. Hypothetically. For now, RSA-1024 is too expensive to crack, for mere mortals.
Re:How often should I rotate my SSH keys? by katbyte on Friday February 26, 2021 @09:56AM (#26275362)
alternatively theres no reason to use 1024? i've been using 4096 for maybe a decade now?