Skip to content

Commit 8593cbb

Browse files
authored
Fix #2249
OpenSSL uses "sha1WithRSAEncryption" to represent 1.2.840.113549.1.1.5 and "sha1WithRSA" to represent 1.3.14.3.2.29. While 1.2.840.113549.1.1.5 is generally recognized as the "standard" OID for RSA with SHA-1 (see, for example, RFC 3279), 1.3.14.3.2.29 has been used in some places as well (https://codereview.chromium.org/1223763002, https://bugzilla.mozilla.org/show_bug.cgi?id=1042479, pyca/cryptography#3160)
1 parent 52fe210 commit 8593cbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testssl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8278,7 +8278,7 @@ certificate_info() {
82788278
out "$indent" ; pr_bold " Signature Algorithm "
82798279
jsonID="cert_signatureAlgorithm"
82808280
case $cert_sig_algo in
8281-
sha1WithRSAEncryption)
8281+
sha1WithRSA|sha1WithRSAEncryption)
82828282
pr_svrty_medium "SHA1 with RSA"
82838283
if [[ "$SERVICE" == HTTP ]] || "$ASSUME_HTTP"; then
82848284
out " -- besides: users will receive a "; pr_svrty_high "strong browser WARNING"

0 commit comments

Comments
 (0)