mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-08 04:52:53 +02:00
Polish STARTTLS rating output
Moved the sentence ~i "A grade better than T would lead to a false sense of security" to the documentation. No reason for excuses in the output. ;-) Explanation fits better in the doc. See also #1657
This commit is contained in:
@ -20797,12 +20797,13 @@ run_rating() {
|
||||
local c1_worst c1_best
|
||||
local c3_worst c3_best c3_worst_cb c3_best_cb
|
||||
local old_ifs=$IFS sorted_reasons sorted_warnings reason_nr=0 warning_nr=0
|
||||
local spaces=" "
|
||||
|
||||
outln "\n";
|
||||
pr_headlineln " Rating (experimental) "
|
||||
outln
|
||||
|
||||
[[ -n "$STARTTLS_PROTOCOL" ]] && set_grade_cap "T" "Encryption via STARTTLS is not mandatory (opportunistic). This leads to a false sense of security"
|
||||
[[ -n "$STARTTLS_PROTOCOL" ]] && set_grade_cap "T" "Encryption via STARTTLS is not mandatory (opportunistic)."
|
||||
|
||||
# Sort the reasons. This is just nicer to read in genereal
|
||||
IFS=$'\n' sorted_reasons=($(sort -ru <<<"${GRADE_CAP_REASONS[*]}"))
|
||||
|
Reference in New Issue
Block a user