Skip to content

ssl: Fix reversed Certificate Request sign alg order in tls_handshake_1_3:filter_tls13_algs/1#10695

Closed
maszlasz wants to merge 1 commit intoerlang:maint-24from
maszlasz:msz/maint-24/ssl/fix-sign-alg-req-order
Closed

ssl: Fix reversed Certificate Request sign alg order in tls_handshake_1_3:filter_tls13_algs/1#10695
maszlasz wants to merge 1 commit intoerlang:maint-24from
maszlasz:msz/maint-24/ssl/fix-sign-alg-req-order

Conversation

@maszlasz
Copy link
Copy Markdown
Contributor

Fixes #10694.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Feb 14, 2026

CLA assistant check
All committers have signed the CLA.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 14, 2026

CT Test Results

No tests were run for this PR. This is either because the build failed, or the PR is based on a branch without GH actions tests configured.

Results for commit 6d8e2b2

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

  • No CT logs found
  • No HTML docs found
  • No Windows Installer found

// Erlang/OTP Github Action Bot

@maszlasz maszlasz changed the title ssl: reverse foldl results in tls_handshake_1_3:filter_tls13_algs/1 ssl: Fix reversed Certificate Request sign alg order in tls_handshake_1_3:filter_tls13_algs/1 Feb 14, 2026
The aforementioned is utilized when preparing
the signature algorithm list for the Certificate Request
message in a TLS 1.3 handshake, which previously
resulted in the list being erroneously reversed.
Issue present since OTP 24.
@maszlasz maszlasz force-pushed the msz/maint-24/ssl/fix-sign-alg-req-order branch from f7b08e7 to 6d8e2b2 Compare February 15, 2026 17:18
@maszlasz
Copy link
Copy Markdown
Contributor Author

Hi, not sure if I should open this PR for a newer maint instead, is 24 too old to be updated? I see that the builds have failed due to some deprecations in actions.

@u3s u3s added the team:PS Assigned to OTP team PS label Feb 16, 2026
@IngelaAndin
Copy link
Copy Markdown
Contributor

@maszlasz Preferably you should base your fix on a green version label from https://erlang.org/download/otp_versions_tree_app_vsns.html and then target you branch to maint. So if it is possible to make a clean merge for the fix based further back we can easily pig-back the fix onto patch releases for the still maintained versions at the moment that would include OTP-26 and OTP-27. If a clean merge is not possible we prefer a maint based patch and we would possible backport it ourselves if we consider it important to fix for older releases than the latest.

We would also think it would be good with a test case. Although ssl has many test and I need to think a little where to best include such a test. I will get back to you on that.

@IngelaAndin IngelaAndin self-assigned this Feb 16, 2026
@isvilen
Copy link
Copy Markdown
Contributor

isvilen commented Feb 16, 2026

@maszlasz May be just changing lists:foldl to lists:foldr would be better? 😄

@maszlasz
Copy link
Copy Markdown
Contributor Author

@IngelaAndin Alright, thanks for letting me know. Then I'll be closing this PR and will open a new one based on 28 soon.

@isvilen I tend to avoid foldr, but sure might as well, the list will always be small here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team:PS Assigned to OTP team PS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants