Skip to content

Commit 64ae161

Browse files
authored
Merge branch '3.1dev' into chore/dockerfile-simplify-user
2 parents dc7d13b + e87b745 commit 64ae161

4 files changed

Lines changed: 27 additions & 21 deletions

File tree

doc/testssl.1

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,15 @@ Any single check switch supplied as an argument prevents testssl\.sh from doing
128128
.IP "\[ci]" 4
129129
\fBExport ciphers\fR (w/o the preceding ones): 'EXPORT:!ADH:!NULL'
130130
.IP "\[ci]" 4
131-
\fBLOW\fR (64 Bit + DES ciphers, without EXPORT ciphers): 'LOW:DES:RC2:RC4:!ADH:!EXP:!NULL:!eNULL'
131+
\fBLOW\fR (64 Bit + DES ciphers, without EXPORT ciphers): 'LOW:DES:RC2:RC4:MD5:!ADH:!EXP:!NULL:!eNULL:!AECDH'
132132
.IP "\[ci]" 4
133-
\fB3DES + IDEA Ciphers\fR: '3DES:IDEA:!aNULL:!ADH'
133+
\fB3DES + IDEA ciphers\fR: '3DES:IDEA:!aNULL:!ADH:!MD5'
134134
.IP "\[ci]" 4
135-
\fBAverage grade Ciphers\fR: 'HIGH:MEDIUM:AES:CAMELLIA:ARIA:!IDEA:!CHACHA20:!3DES:!RC2:!RC4:!AESCCM8:!AESCCM:!AESGCM:!ARIAGCM:!aNULL'
135+
\fBObsoleted CBC ciphers\fR: 'HIGH:MEDIUM:AES:CAMELLIA:ARIA:!IDEA:!CHACHA20:!3DES:!RC2:!RC4:!AESCCM8:!AESCCM:!AESGCM:!ARIAGCM:!aNULL:!MD5'
136136
.IP "\[ci]" 4
137-
\fBStrong grade Ciphers\fR (AEAD): 'AESGCM:CHACHA20:CamelliaGCM:AESCCM8:AESCCM'
137+
\fBStrong ciphers with no FS\fR (AEAD): 'AESGCM:CHACHA20:CamelliaGCM:AESCCM:ARIAGCM:!kEECDH:!kEDH:!kDHE:!kDHEPSK:!kECDHEPSK:!aNULL'
138+
.IP "\[ci]" 4
139+
\fBForward Secrecy strong ciphers\fR (AEAD): 'AESGCM:CHACHA20:CamelliaGCM:AESCCM:ARIAGCM:!kPSK:!kRSAPSK:!kRSA:!kDH:!kECDH:!aNULL'
138140
.IP "" 0
139141
.P
140142
\fB\-f, \-\-fs, \-\-nsa, \-\-forward\-secrecy\fR Checks robust forward secrecy key exchange\. "Robust" means that ciphers having intrinsic severe weaknesses like Null Authentication or Encryption, 3DES and RC4 won't be considered here\. There shouldn't be the wrong impression that a secure key exchange has been taking place and everything is fine when in reality the encryption sucks\. Also this section lists the available elliptical curves and Diffie Hellman groups, as well as FFDHE groups (TLS 1\.2 and TLS 1\.3)\.

doc/testssl.1.html

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/testssl.1.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,11 @@ Any single check switch supplied as an argument prevents testssl.sh from doing a
166166
* `NULL encryption ciphers`: 'NULL:eNULL'
167167
* `Anonymous NULL ciphers`: 'aNULL:ADH'
168168
* `Export ciphers` (w/o the preceding ones): 'EXPORT:!ADH:!NULL'
169-
* `LOW` (64 Bit + DES ciphers, without EXPORT ciphers): 'LOW:DES:RC2:RC4:!ADH:!EXP:!NULL:!eNULL'
170-
* `3DES + IDEA Ciphers`: '3DES:IDEA:!aNULL:!ADH'
171-
* `Average grade Ciphers`: 'HIGH:MEDIUM:AES:CAMELLIA:ARIA:!IDEA:!CHACHA20:!3DES:!RC2:!RC4:!AESCCM8:!AESCCM:!AESGCM:!ARIAGCM:!aNULL'
172-
* `Strong grade Ciphers` (AEAD): 'AESGCM:CHACHA20:CamelliaGCM:AESCCM8:AESCCM'
169+
* `LOW` (64 Bit + DES ciphers, without EXPORT ciphers): 'LOW:DES:RC2:RC4:MD5:!ADH:!EXP:!NULL:!eNULL:!AECDH'
170+
* `3DES + IDEA ciphers`: '3DES:IDEA:!aNULL:!ADH:!MD5'
171+
* `Obsoleted CBC ciphers`: 'HIGH:MEDIUM:AES:CAMELLIA:ARIA:!IDEA:!CHACHA20:!3DES:!RC2:!RC4:!AESCCM8:!AESCCM:!AESGCM:!ARIAGCM:!aNULL:!MD5'
172+
* `Strong ciphers with no FS` (AEAD): 'AESGCM:CHACHA20:CamelliaGCM:AESCCM:ARIAGCM:!kEECDH:!kEDH:!kDHE:!kDHEPSK:!kECDHEPSK:!aNULL'
173+
* `Forward Secrecy strong ciphers` (AEAD): 'AESGCM:CHACHA20:CamelliaGCM:AESCCM:ARIAGCM:!kPSK:!kRSAPSK:!kRSA:!kDH:!kECDH:!aNULL'
173174

174175
`-f, --fs, --nsa, --forward-secrecy` Checks robust forward secrecy key exchange. "Robust" means that ciphers having intrinsic severe weaknesses like Null Authentication or Encryption, 3DES and RC4 won't be considered here. There shouldn't be the wrong impression that a secure key exchange has been taking place and everything is fine when in reality the encryption sucks. Also this section lists the available elliptical curves and Diffie Hellman groups, as well as FFDHE groups (TLS 1.2 and TLS 1.3).
175176

testssl.sh

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -535,11 +535,11 @@ html_reserved(){
535535
local output
536536
"$do_html" || return 0
537537
#sed -e 's/\&/\&amp;/g' -e 's/</\&lt;/g' -e 's/>/\&gt;/g' -e 's/"/\&quot;/g' -e "s/'/\&apos;/g" <<< "$1"
538-
output="${1//&/&amp;}"
539-
output="${output//</&lt;}"
540-
output="${output//>/&gt;}"
541-
output="${output//\"/&quot;}"
542-
output="${output//\'/&apos;}"
538+
output="${1//&/$'&'amp;}"
539+
output="${output//</$'&'lt;}"
540+
output="${output//>/$'&'gt;}"
541+
output="${output//\"/$'&'quot;}"
542+
output="${output//\'/$'&'apos;}"
543543
printf -- "%s" "$output"
544544
return 0
545545
}
@@ -9416,10 +9416,11 @@ certificate_info() {
94169416

94179417
out "$indent"; pr_bold " Chain of trust"; out " "
94189418
jsonID="cert_chain_of_trust"
9419-
if [[ "$issuer_O" =~ StartCom ]] || [[ "$issuer_O" =~ WoSign ]] || [[ "$issuer_CN" =~ StartCom ]] || [[ "$issuer_CN" =~ WoSign ]]; then
9420-
# Shortcut for this special case here.
9421-
pr_italic "WoSign/StartCom"; out " are " ; prln_svrty_critical "not trusted anymore (NOT ok)"
9422-
fileout "${jsonID}${json_postfix}" "CRITICAL" "Issuer not trusted anymore (WoSign/StartCom)"
9419+
# Looks for CA's that have their trust removed by the first part of their Organization Name, add multiple with ^(TrustCor Systems|WoSign) etc.
9420+
if [[ "$issuer_O" =~ ^(TrustCor Systems) ]]; then
9421+
# Shortcut for this special case here. There is a difference between not being in a root store and being removed from a root store.
9422+
pr_italic "$issuer_O"; out " is " ; prln_svrty_critical "actively removed from one or more root stores (NOT ok)"
9423+
fileout "${jsonID}${json_postfix}" "CRITICAL" "Issuer removed from one or more root stores ($issuer_O)"
94239424
set_grade_cap "T" "Untrusted certificate chain"
94249425
else
94259426
# Also handles fileout, keep error if happened

0 commit comments

Comments
 (0)