Daniel Lenski <[email protected]> writes:
>And lastly, it is trivial to distinguish RSA SSH keys that were generated by
>older versions of OpenSSH and PuTTY, due to their non-standard public
>exponents.
The reason for this is:
/* OpenSSH versions up to 5.4 (released in 2010) hardcoded e = 35,
which is both a suboptimal exponent (it's less efficient that a
safer value like 257 or F4) and non-prime. The reason for this
was that the original SSH used an e relatively prime to
(p-1)(q-1), choosing odd (in both senses of the word)
numbers > 31. 33 or 35 probably ended up being chosen frequently
so it was hardcoded into OpenSSH for cargo-cult reasons, finally
being fixed after more than a decade to use F4. In order to use
pre-5.4 OpenSSH keys that use this odd value we make a special-
case exception for SSH use */
There's also "41 (another weird value used by GPG until mid-2006)".
Peter.
--
You received this message because you are subscribed to the Google Groups
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/a/mozilla.org/d/msgid/dev-security-policy/SYDP300MB2666709485DEECD08A973995EAEE652%40SYDP300MB266670.AUSP300.PROD.OUTLOOK.COM.