Skip to content

Harmonize the requirements for legacy_version. Fixes #1412#1415

Open
ekr wants to merge 1 commit intoauth48from
issue1412_protocol_version
Open

Harmonize the requirements for legacy_version. Fixes #1412#1415
ekr wants to merge 1 commit intoauth48from
issue1412_protocol_version

Conversation

@ekr
Copy link
Copy Markdown
Contributor

@ekr ekr commented Apr 20, 2026

RFC 8446 required implementations to send a protocol_version alert for legacy_version=0x0300 and allowed TLS 1.0 and TLS 1.1. This draft forbids those and locks down the legacy_version to 0x0303, but then required illegal_parameter. This change harmonizes the text and requires protocol_version to avoid requiring implementations to change.

I see an argument for illegal_parameter, but I think avoiding change is better.

RFC 8446 required implementations to send a `protocol_version` alert
for `legacy_version=0x0300` and allowed TLS 1.0 and TLS 1.1. This
draft forbids those and locks down the `legacy_version` to 0x0303, but
then required `illegal_parameter`. This change harmonizes the text and
requires `protocol_version` to avoid requiring implementations to
change.

I see an argument for `illegal_parameter`, but I think avoiding
change is better.
@ekr
Copy link
Copy Markdown
Contributor Author

ekr commented Apr 20, 2026

@debcooley for approval.

@martinthomson @davidben for awareness.

@debcooley
Copy link
Copy Markdown

debcooley commented Apr 20, 2026

I approve.... (I'm sure there is some fancy way to do that, but this is quicker).

Copy link
Copy Markdown
Contributor

@kaduk kaduk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kind of remember some discussions about only rejecting 0x300 (vs rejecting everything other than 0x0303 as we now do) back in the RFC 8446 days, but I am pretty sure that any points that were raised then have since been overtaken by events.

@ekr
Copy link
Copy Markdown
Contributor Author

ekr commented Apr 20, 2026

Note that this doesn't change whether you reject them, just the alert you send.

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.

3 participants