Skip to content

Commit

Permalink
Check for weak (predictable) Debian RSA keys in both 1024 and 2048 bi…
Browse files Browse the repository at this point in the history
…t sizes.

Need to export modulus in this script as well as the other one...
  • Loading branch information
iay committed Jun 11, 2008
1 parent 255cd56 commit 1ff9200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/check_embedded.pl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
# Use openssl to convert the certificate to text
#
my(@lines, $issuer, $subjectCN, $issuerCN);
$cmd = "openssl x509 -in $filename -noout -text -nameopt RFC2253 |";
$cmd = "openssl x509 -in $filename -noout -text -nameopt RFC2253 -modulus |";
open(SSL, $cmd) || die "could not open openssl subcommand";
while (<SSL>) {
push @lines, $_;
Expand Down

0 comments on commit 1ff9200

Please sign in to comment.