-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phrasing of reason for STARTTLS grading improved #2564
Conversation
... a a comment added in the desciption. Unfortunately I couldn't get the line wrapping working.
Hey @magnuslarsen : Why does preformatting the string not work? I tried variations of cc @dcooper16 |
Hi Dirk, I'm on vacation this until the 15th. I will have a look then
…________________________________
Fra: Dirk Wetter ***@***.***>
Sendt: 7. september 2024 16:13
Til: drwetter/testssl.sh ***@***.***>
Cc: Magnus Larsen ***@***.***>; Mention ***@***.***>
Emne: Re: [drwetter/testssl.sh] Phrasing of STARTTLS grading improved (PR #2564)
Hey @magnuslarsen<https://github.com/magnuslarsen> : Why does preformatting the string not work? I tried variations of set_grade_cap "T" "$(out_row_aligned_max_width "STARTTLS encryption is not mandatory for clients. STARTTLS can only be secured clientside" " " $TERM_WIDTH)
cc @dcooper16<https://github.com/dcooper16>
—
Reply to this email directly, view it on GitHub<#2564 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB4DYQ6A3EXRRHJ2U3ORPADZVMCZTAVCNFSM6AAAAABN2BVETOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZVGIYDAMBSHA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
... also in the man pages. See also #2564.
The aclaration is ok, the grade is capped to T, ok. But why key exchange score is 0? why protocol score is 0? why all the scores are 0? I think we sould get these scores with starttls. Some of us have secured clients that check for server certificate and want to check these scores. |
@jbiosca78 : Because the key exchange doesn't matter and the protocol doesn't matter if there's potentially a man in the middle. We can also set it to T maybe. But think of a server which has SSLv2 / v3 enabled but at the same time a TLS 1.2 / TLS 1.3 with AEAD ciphers and good kx. How should testssl.sh supposed to deal with that if somebody claims: "hey, I have a secured client and that's not supporting SSLv2/3 at all. I want to check the score for TLS 1.2" |
Then, what's the point of the parámeter -t=smtp and do all the checks if the result will be always grade T and 0 score? |
The point of "Everything possible" translates to the whole output, not to the rating. A common thing is to provide a self-signed or otherwise invalid certificate for a mail server. Which in turn makes the internet a less safe place as for reliable mail delivery as sending servers need either to accept ALL not trusted certificates or configure a manual exception for each server which doesn't scale well or is practically almost impossible. I've seen this server side misconfiguration 1 or 2 years ago even for government and government-like organizations. Picture the consequences... |
What issue do you see? I had to use single quotes in the inner body, then it parsed correctly (seemingly anyway):
|
Ok. And what if we add a option for include the server certificate (CA issuer, certificate hash or full certificate) and if we can validate it we remove the grade cap? |
@jbiosca78 : did you read what I wrote? |
Thanks. Don't know however whether just your example didn't quite fit or my point was not coming across as I wanted. The line starting with Grade capped to T. STARTTLS encryption didn't wrap in your example. |
... added a comment added in the description.
Unfortunately I couldn't get the line wrapping working.
What is your pull request about?
If it's a code change please check the boxes which are applicable
help()