Post

RSA should be retired. Yes you can technically do it right, but there is so much history of doing it wrong. Just stop. Throw it all away, and move on to less error-prone systems.

Filippo Valsorda@filippo.abyssdomain.expert

Oh damn I had not seen the details of the MicroTik RCE: the client can send a public RSA key with correct N and e = 1 and the server will use it. Two primitives/protocol things that would have prevented it: if RSA was defined with a fixed e, and if SSH clients sent a key hash instead.

A few years ago I grabbed all GitHub SSH RSA keys and tested for small factors and ran all-pairs GCD, a la Heninger et al. Not many broke, but the ones that did turned up a surprising number of mistakes: apparent corruption, bad key generation libraries, typos (!). www.usenix.org/system/files...

usenix.orgusenix.org

1 repost17 likes

No replies yet.