"Issuing Certificates with "Public Exponent: 1 (0x1)""
This commit is contained in:
Wytze van der Raay 2014-08-21 14:35:40 +00:00
parent 0ea8880f4f
commit 69eee6b7b4

View file

@ -173,7 +173,7 @@ function checkWeakKeyText($text)
$exponent = $exponent[1]; // exponent might be very big =>
//handle as string using bc*()
if (bccomp($exponent, "3") === 0)
if (bccomp($exponent, "65537") < 0)
{
return sprintf(_("The keys you use might be insecure. ".
"Although there is currently no known attack for ".