Skip to content

Fix TLS 1.3 text appearing in security.tls.v1_2_server results - #1622

Open
IMINABO1 wants to merge 1 commit into
google:devfrom
IMINABO1:fix/1529-tls-v1_2-server-description
Open

Fix TLS 1.3 text appearing in security.tls.v1_2_server results#1622
IMINABO1 wants to merge 1 commit into
google:devfrom
IMINABO1:fix/1529-tls-v1_2-server-description

Conversation

@IMINABO1

@IMINABO1 IMINABO1 commented Aug 6, 2026

Copy link
Copy Markdown

TLS 1.3 detail lines were always appended to the TLS 1.2 server test output. Only include them when a valid TLS 1.3 certificate is what makes an invalid TLS 1.2 result compliant, so the result description for security.tls.v1_2_server otherwise only reports TLS 1.2.

Updated the unit tests in testing/unit/tls/tls_module_test.py that pinned the old output; the intentional 'TLS 1.2 invalid + TLS 1.3 valid: Compliant' case still reports both versions since the TLS 1.3 result explains the verdict.

Fixes #1529

TLS 1.3 detail lines were always appended to the TLS 1.2 server test
output. Only include them when a valid TLS 1.3 certificate is what makes
an invalid TLS 1.2 result compliant, so the result description for
security.tls.v1_2_server otherwise only reports TLS 1.2.

Fixes google#1529
@duncangreene

Copy link
Copy Markdown

I believe this may already be resolved by #1598.

@hitnik
hitnik changed the base branch from main to dev August 7, 2026 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Result description pertaining to TLS 1.3 appearing in security.tls.v1_2_server

2 participants