From 1ff92009985458a6bb56ecc61aff414aeee199c6 Mon Sep 17 00:00:00 2001 From: Ian Young Date: Wed, 11 Jun 2008 17:27:21 +0000 Subject: [PATCH] Check for weak (predictable) Debian RSA keys in both 1024 and 2048 bit sizes. Need to export modulus in this script as well as the other one... --- build/check_embedded.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/check_embedded.pl b/build/check_embedded.pl index c222ff88..410eeecd 100755 --- a/build/check_embedded.pl +++ b/build/check_embedded.pl @@ -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 () { push @lines, $_;