Skip to content

Commit 13d8db1

Browse files
committed
label key not in pwned DB as good
1 parent 9a632e3 commit 13d8db1

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
@@ -9979,7 +9979,7 @@ certificate_info() {
99799979
check_pwnedkeys "$HOSTCERT" "$cert_key_algo" "$cert_keysize"
99809980
case "$?" in
99819981
0) outln "not checked"; fileout "pwnedkeys${json_postfix}" "INFO" "not checked" ;;
9982-
1) outln "not in database"; fileout "pwnedkeys${json_postfix}" "INFO" "not in database" ;;
9982+
1) pr_svrty_good "not in database"; fileout "pwnedkeys${json_postfix}" "OK" "not in database" ;;
99839983
2) pr_svrty_critical "NOT ok --"; outln " key appears in database"; fileout "pwnedkeys${json_postfix}" "CRITICAL" "private key is known" ;;
99849984
7) prln_warning "error querying https://v1.pwnedkeys.com"; fileout "pwnedkeys${json_postfix}" "WARN" "connection error" ;;
99859985
esac

0 commit comments

Comments
 (0)