Skip to content

chore: bump rustls to 0.23.46 - #133

Merged
ovitrif merged 3 commits into
mainfrom
chore/bump-rustls-0.23.46
Nov 9, 2026
Merged

ovitrif merged 3 commits into
mainfrom
chore/bump-rustls-0.23.46

Conversation

@ovitrif

@ovitrif ovitrif commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Updates the locked rustls to 0.23.46, its latest patch release, and adds the bump to CHANGELOG.md.

Release

@ovitrif ovitrif self-assigned this Nov 9, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T12:45:59.369208Z a44cf8f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ovitrif
ovitrif requested review from a team, ben-kaufman and coreyphillips and removed request for a team November 9, 2026 12:46

@talosmachina talosmachina left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No findings. Lock-only bump of rustls 0.23.43 to 0.23.46, with the dependents pointing at the new version. Reviewed a44cf8f, full tier (lock files count as a security path).

What I checked, and 2 candidates I ruled out

Read in full: the Cargo.lock diff
Checksums: every changed checksum line matches the crates.io index for that version (rustls 0.23.46 48e13bd8...); none of these versions is yanked.
Lock consistency: parsed the lock; every rustls 0.23.46 reference (nine dependents) resolves to the one 0.23.x entry, nothing dangling.
Build: not run. talos-pr-run refused (it could not read the author's permission on this repo and fails closed), so this review is static.
CI: no checks run on this branch (rust.yml triggers only on workflow_dispatch).

Ruled out

  • Requirements not met: 0.23.46 needs rustls-webpki ^0.103.14, aws-lc-rs ^1.18 and rustls-pki-types ^1.12; the lock has 0.103.15, 1.18.1 and 1.15.1.
  • MSRV: the crate declares rust-version = "1.85"; rustls 0.23.46 declares 1.71.

Merge confidence: 4/5, a patch bump that resolves cleanly, but no CI ran on the branch and it was not built here.

@coreyphillips coreyphillips left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Two independent reviews, nothing blocking a merge.

worth doing, does not block

  • Security fixes in this bump are not recorded in CHANGELOG or the PR description (CHANGELOG.md:3). The bump brings in rustls security fixes, but neither CHANGELOG.md nor the PR description says so. The description calls it just "its latest patch release". The locked 0.23.43 is affected by three rustls advisories: - GHSA-2mjx-qc3c-rqvc: TLS 1.3 handshake messages accepted at the wrong encryption level. Affects 0.23.13 through 0.23.44, fixed in 0.23.45. - GHSA-w44r-93j7-qv28: an unauthenticated ServerHello poisons the per-name kx hint. Fixed in 0.23.46. - GHSA-c8m5-c952-6cm4: Debug on client session values prints secrets. Fixed in 0.23.46. I checked these against the upstream release notes and the crate sources. In 0.23.46, set_kx_hint moved out of the ServerHello path and ClientSessionCommon got a hand-written Debug that skips secret. The last security-driven dependency bump, a0ea0a3 (lightning 0.2.7), added a Bug Fixes bullet to CHANGELOG.md. Release notes for binding consumers are built from that file. Without an entry, the next release will not tell consumers that their TLS stack picked up security fixes. The practical exposure for this crate is low. rustls is built with ring and no post-quantum group, so the kx-hint downgrade does not apply. Nothing here Debug-prints rustls session values. The alignment bug cannot change the result of an authenticated handshake. So this is a record-keeping gap, not a reason to hold the merge. What I verified: - cargo metadata --locked succeeds. - cargo check --locked --all-targets finishes. The only warnings are pre-existing ones in test files. - The crate's sha256 matches the lockfile checksum. - The new dependency floors are met by the entries already locked: aws-lc-rs 1.18 against 1.18.1, rustls-webpki 0.103.14 against 0.103.15. - rustls MSRV is 1.71, below the project's 1.85. - A scratch crate pinned to rustls =0.23.46 and electrum-client 0.24.1 with use-rustls-ring did a server.features call and a header subscription over ssl://electrum.blockstream.info:50002, plus an HTTPS reqwest call to blockstream.info. All succeeded. I did not run cargo test; the lib and integration tests do not exercise TLS. The diff against the local origin/main also shows the rc.78 release commit, because that ref is stale. Upstream, #130 is already merged and the PR is one commit touching only Cargo.lock.

@ovitrif

ovitrif commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator Author

worth doing, does not block

  • Security fixes in this bump are not recorded in CHANGELOG or the PR description (CHANGELOG.md:3).

@coreyphillips Thanks. This PR stays a lockfile-only change; the CHANGELOG line for the bump goes in with the next release prep.

@coreyphillips coreyphillips left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Rechecked after replies, with no new commit since a44cf8f. Nothing blocking remains.

still open

  • Security fixes in this bump are not recorded in CHANGELOG or the PR description (CHANGELOG.md:3). The bump brings in rustls security fixes, but neither CHANGELOG.md nor the PR description says so. The description calls it just "its latest patch release". The locked 0.23.43 is affected by three rustls advisories: - GHSA-2mjx-qc3c-rqvc: TLS 1.3 handshake messages accepted at the wrong encryption level. Affects 0.23.13 through 0.23.44, fixed in 0.23.45. - GHSA-w44r-93j7-qv28: an unauthenticated ServerHello poisons the per-name kx hint. Fixed in 0.23.46. - GHSA-c8m5-c952-6cm4: Debug on client session values prints secrets. Fixed in 0.23.46. I checked these against the upstream release notes and the crate sources. In 0.23.46, set_kx_hint moved out of the ServerHello path and ClientSessionCommon got a hand-written Debug that skips secret. The last security-driven dependency bump, a0ea0a3 (lightning 0.2.7), added a Bug Fixes bullet to CHANGELOG.md. Release notes for binding consumers are built from that file. Without an entry, the next release will not tell consumers that their TLS stack picked up security fixes. The practical exposure for this crate is low. rustls is built with ring and no post-quantum group, so the kx-hint downgrade does not apply. Nothing here Debug-prints rustls session values. The alignment bug cannot change the result of an authenticated handshake. So this is a record-keeping gap, not a reason to hold the merge. What I verified: - cargo metadata --locked succeeds. - cargo check --locked --all-targets finishes. The only warnings are pre-existing ones in test files. - The crate's sha256 matches the lockfile checksum. - The new dependency floors are met by the entries already locked: aws-lc-rs 1.18 against 1.18.1, rustls-webpki 0.103.14 against 0.103.15. - rustls MSRV is 1.71, below the project's 1.85. - A scratch crate pinned to rustls =0.23.46 and electrum-client 0.24.1 with use-rustls-ring did a server.features call and a header subscription over ssl://electrum.blockstream.info:50002, plus an HTTPS reqwest call to blockstream.info. All succeeded. I did not run cargo test; the lib and integration tests do not exercise TLS. The diff against the local origin/main also shows the rc.78 release commit, because that ref is stale. Upstream, #130 is already merged and the PR is one commit touching only Cargo.lock. The reply defers the entry to release prep but does not show it is unneeded. The PR head is still a44cf8f, and gh pr view shows the description unchanged, still calling this just a patch release. Repo history argues against waiting: lightning 0.2.7 (a0ea0a3) and other fixes added their CHANGELOG line in the fix commit, while release commits (d1bd9fc, f05161e, 1976754) only rename the heading. Nothing here tracks the deferred line, so it can be missed. This is still non-blocking, and one Bug Fixes bullet naming the three rustls advisories would close it.

@ovitrif

ovitrif commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator Author

Nothing here tracks the deferred line, so it can be missed.

@coreyphillips It is tracked for the rc.79 prep, which is cut from this head before the merge, so the CHANGELOG line ships in the same release as the bump.

@coreyphillips coreyphillips left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Rechecked after replies, with no new commit since a44cf8f. Nothing blocking remains.

still open

  • Security fixes in this bump are not recorded in CHANGELOG or the PR description (CHANGELOG.md:3). The bump brings in rustls security fixes, but neither CHANGELOG.md nor the PR description says so. The description calls it just "its latest patch release". The locked 0.23.43 is affected by three rustls advisories: - GHSA-2mjx-qc3c-rqvc: TLS 1.3 handshake messages accepted at the wrong encryption level. Affects 0.23.13 through 0.23.44, fixed in 0.23.45. - GHSA-w44r-93j7-qv28: an unauthenticated ServerHello poisons the per-name kx hint. Fixed in 0.23.46. - GHSA-c8m5-c952-6cm4: Debug on client session values prints secrets. Fixed in 0.23.46. I checked these against the upstream release notes and the crate sources. In 0.23.46, set_kx_hint moved out of the ServerHello path and ClientSessionCommon got a hand-written Debug that skips secret. The last security-driven dependency bump, a0ea0a3 (lightning 0.2.7), added a Bug Fixes bullet to CHANGELOG.md. Release notes for binding consumers are built from that file. Without an entry, the next release will not tell consumers that their TLS stack picked up security fixes. The practical exposure for this crate is low. rustls is built with ring and no post-quantum group, so the kx-hint downgrade does not apply. Nothing here Debug-prints rustls session values. The alignment bug cannot change the result of an authenticated handshake. So this is a record-keeping gap, not a reason to hold the merge. What I verified: - cargo metadata --locked succeeds. - cargo check --locked --all-targets finishes. The only warnings are pre-existing ones in test files. - The crate's sha256 matches the lockfile checksum. - The new dependency floors are met by the entries already locked: aws-lc-rs 1.18 against 1.18.1, rustls-webpki 0.103.14 against 0.103.15. - rustls MSRV is 1.71, below the project's 1.85. - A scratch crate pinned to rustls =0.23.46 and electrum-client 0.24.1 with use-rustls-ring did a server.features call and a header subscription over ssl://electrum.blockstream.info:50002, plus an HTTPS reqwest call to blockstream.info. All succeeded. I did not run cargo test; the lib and integration tests do not exercise TLS. The diff against the local origin/main also shows the rc.78 release commit, because that ref is stale. Upstream, #130 is already merged and the PR is one commit touching only Cargo.lock. The 13:33 reply agrees the CHANGELOG line is missing and moves it to rc.79 prep. That does not show the point was wrong. I found nothing that records the item: no rc.79 issue, branch or PR on GitHub, and gh pr view 133 still lists Cargo.lock as the only file. The description still says only "its latest patch release", and earlier fixes such as 4b35821 and a0ea0a3 added their CHANGELOG line in the same PR. Naming the advisories in the PR description, or linking a tracking issue, would close this.

@ovitrif

ovitrif commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator Author

Added the rustls bump to CHANGELOG.md in a696e85, following the repository's convention of recording a dependency bump in the PR that makes it.

@ovitrif
ovitrif requested a review from coreyphillips November 9, 2026 13:40

@coreyphillips coreyphillips left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Rechecked after 1 new commit (a696e85). Nothing blocking remains.

still open

  • Security fixes in this bump are not recorded in CHANGELOG or the PR description (CHANGELOG.md:3). The bump brings in rustls security fixes, but neither CHANGELOG.md nor the PR description says so. The description calls it just "its latest patch release". The locked 0.23.43 is affected by three rustls advisories: - GHSA-2mjx-qc3c-rqvc: TLS 1.3 handshake messages accepted at the wrong encryption level. Affects 0.23.13 through 0.23.44, fixed in 0.23.45. - GHSA-w44r-93j7-qv28: an unauthenticated ServerHello poisons the per-name kx hint. Fixed in 0.23.46. - GHSA-c8m5-c952-6cm4: Debug on client session values prints secrets. Fixed in 0.23.46. I checked these against the upstream release notes and the crate sources. In 0.23.46, set_kx_hint moved out of the ServerHello path and ClientSessionCommon got a hand-written Debug that skips secret. The last security-driven dependency bump, a0ea0a3 (lightning 0.2.7), added a Bug Fixes bullet to CHANGELOG.md. Release notes for binding consumers are built from that file. Without an entry, the next release will not tell consumers that their TLS stack picked up security fixes. The practical exposure for this crate is low. rustls is built with ring and no post-quantum group, so the kx-hint downgrade does not apply. Nothing here Debug-prints rustls session values. The alignment bug cannot change the result of an authenticated handshake. So this is a record-keeping gap, not a reason to hold the merge. What I verified: - cargo metadata --locked succeeds. - cargo check --locked --all-targets finishes. The only warnings are pre-existing ones in test files. - The crate's sha256 matches the lockfile checksum. - The new dependency floors are met by the entries already locked: aws-lc-rs 1.18 against 1.18.1, rustls-webpki 0.103.14 against 0.103.15. - rustls MSRV is 1.71, below the project's 1.85. - A scratch crate pinned to rustls =0.23.46 and electrum-client 0.24.1 with use-rustls-ring did a server.features call and a header subscription over ssl://electrum.blockstream.info:50002, plus an HTTPS reqwest call to blockstream.info. All succeeded. I did not run cargo test; the lib and integration tests do not exercise TLS. The diff against the local origin/main also shows the rc.78 release commit, because that ref is stale. Upstream, #130 is already merged and the PR is one commit touching only Cargo.lock. CHANGELOG.md:10 now reads only "Bump rustls to 0.23.46." The PR description still calls it just the latest patch release. The point was that the security fixes are not recorded, and they still aren't. The lightning bullet on the line above names its advisories, so consumers reading the release notes will only see a routine patch bump. I checked the fixes are real in the registry sources: ClientSessionCommon has a derived Debug in 0.23.43 and a hand-written one in 0.23.46 (src/msgs/persist.rs:312). To close this, say the bump fixes TLS security advisories and list GHSA-2mjx-qc3c-rqvc, GHSA-w44r-93j7-qv28 and GHSA-c8m5-c952-6cm4.

@ovitrif

ovitrif commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator Author

Released v0.7.0-rc.79 from faddf6d, which only moves the version strings to rc.79 and sets the new xcframework checksum in Package.swift. The ruleset dismissed the earlier approvals on that commit, so I am re-requesting them.

@coreyphillips coreyphillips left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Rechecked after 1 new commit (faddf6d). Nothing blocking remains.

still open

  • Security fixes in this bump are not recorded in CHANGELOG or the PR description (CHANGELOG.md:3). The bump brings in rustls security fixes, but neither CHANGELOG.md nor the PR description says so. The description calls it just "its latest patch release". The locked 0.23.43 is affected by three rustls advisories: - GHSA-2mjx-qc3c-rqvc: TLS 1.3 handshake messages accepted at the wrong encryption level. Affects 0.23.13 through 0.23.44, fixed in 0.23.45. - GHSA-w44r-93j7-qv28: an unauthenticated ServerHello poisons the per-name kx hint. Fixed in 0.23.46. - GHSA-c8m5-c952-6cm4: Debug on client session values prints secrets. Fixed in 0.23.46. I checked these against the upstream release notes and the crate sources. In 0.23.46, set_kx_hint moved out of the ServerHello path and ClientSessionCommon got a hand-written Debug that skips secret. The last security-driven dependency bump, a0ea0a3 (lightning 0.2.7), added a Bug Fixes bullet to CHANGELOG.md. Release notes for binding consumers are built from that file. Without an entry, the next release will not tell consumers that their TLS stack picked up security fixes. The practical exposure for this crate is low. rustls is built with ring and no post-quantum group, so the kx-hint downgrade does not apply. Nothing here Debug-prints rustls session values. The alignment bug cannot change the result of an authenticated handshake. So this is a record-keeping gap, not a reason to hold the merge. What I verified: - cargo metadata --locked succeeds. - cargo check --locked --all-targets finishes. The only warnings are pre-existing ones in test files. - The crate's sha256 matches the lockfile checksum. - The new dependency floors are met by the entries already locked: aws-lc-rs 1.18 against 1.18.1, rustls-webpki 0.103.14 against 0.103.15. - rustls MSRV is 1.71, below the project's 1.85. - A scratch crate pinned to rustls =0.23.46 and electrum-client 0.24.1 with use-rustls-ring did a server.features call and a header subscription over ssl://electrum.blockstream.info:50002, plus an HTTPS reqwest call to blockstream.info. All succeeded. I did not run cargo test; the lib and integration tests do not exercise TLS. The diff against the local origin/main also shows the rc.78 release commit, because that ref is stale. Upstream, #130 is already merged and the PR is one commit touching only Cargo.lock. CHANGELOG.md:10 still says only "Bump rustls to 0.23.46.", and the PR body is unchanged. The published rc.79 release notes also just say "Bump rustls to 0.23.46 (#133). No API changes.", so consumers have not been told about GHSA-2mjx-qc3c-rqvc, GHSA-w44r-93j7-qv28 or GHSA-c8m5-c952-6cm4. The 15:10 comment covers the release commit, not this point. It is still non-blocking.

@ovitrif

ovitrif commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator Author

Merged: approved by @coreyphillips on faddf6d (and by @ben-kaufman on a696e85); released as v0.7.0-rc.79 with Android published; no open threads.

@ovitrif
ovitrif merged commit 7e61139 into main Nov 9, 2026
1 check passed
@ovitrif
ovitrif deleted the chore/bump-rustls-0.23.46 branch November 9, 2026 15:26
@ovitrif ovitrif mentioned this pull request Nov 11, 2026
3 of 6 tasks
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.

4 participants