Skip to content

chore: Upgrade quinn 0.11, rustls 0.23, hickory-resolver 0.26#603

Open
dimartiro wants to merge 1 commit into
paritytech:masterfrom
dimartiro:chore/upgrade-quinn-rustls-hickory
Open

chore: Upgrade quinn 0.11, rustls 0.23, hickory-resolver 0.26#603
dimartiro wants to merge 1 commit into
paritytech:masterfrom
dimartiro:chore/upgrade-quinn-rustls-hickory

Conversation

@dimartiro
Copy link
Copy Markdown
Contributor

Description

Upgrades the QUIC/TLS/DNS stack to current releases, clearing the CVE-flagged transitives that show up as Dependabot alerts on litep2p consumers.

crate before after
quinn 0.9.3 0.11.9
rustls 0.20.7 0.23.38
hickory-resolver 0.25.2 0.26

Key API changes:

  • rustls: pki_types cert/key types, danger-module verifiers, explicit ring CryptoProvider, and an AlwaysResolvesCert resolver (the libp2p critical extension is rejected by with_single_cert).
  • quinn: QuicClient/ServerConfig wrappers, Endpoint::accept()Incoming, UFCS on stream poll_* (now ambiguous via the new inherent poll_write).
  • hickory: TokioRuntimeProvider, build() returns Result.

Breaking: Error::CannotReadSystemDnsConfig now wraps NetError; rustls 0.23 types are re-exported. MSRV is 1.88 (already the CI Test toolchain).

@dimartiro dimartiro force-pushed the chore/upgrade-quinn-rustls-hickory branch from 3b0fb37 to b47d31c Compare May 27, 2026 21:51
@socket-security
Copy link
Copy Markdown

socket-security Bot commented May 27, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedhickory-resolver@​0.26.19510093100100

View full report

@dimartiro dimartiro force-pushed the chore/upgrade-quinn-rustls-hickory branch from b47d31c to 196795a Compare May 28, 2026 11:50
@dimartiro dimartiro force-pushed the chore/upgrade-quinn-rustls-hickory branch from 196795a to 23cb053 Compare May 28, 2026 12:57
@gilescope
Copy link
Copy Markdown

This would be good to land - will bring it into line with hickory version libp2p main is using.

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.

2 participants