Skip to content

build(deps): bump rustls-platform-verifier to 0.7.1 - #2451

Merged
alpergundogdu merged 1 commit into
mainfrom
chore/rustls-platform-verifier-0.7.1
Oct 13, 2026
Merged

alpergundogdu merged 1 commit into
mainfrom
chore/rustls-platform-verifier-0.7.1

Conversation

@alpergundogdu

Copy link
Copy Markdown
Contributor

Summary

Bumps rustls-platform-verifier 0.7.0 → 0.7.1 in Cargo.lock (pulled in through reqwest by alloy, iroh and iroh-relay). Lockfile only.

Why

On Android, 0.7.0 rejects every certificate without an OCSP responder URL as invalid peer certificate: Revoked. Let's Encrypt and Google Trust Services leaves no longer carry one, so the RPC, iroh and relay HTTPS paths all fail. 0.7.1 pairs with rustls-platform-verifier-android 0.2.0, whose network security config allows the CA CRL fetches the revocation checker needs (rustls/rustls-platform-verifier#221).

Found while running the client on a Pixel 8a: with 0.7.1 plus the 0.2.0 AAR, a 107.6 MiB paid fetch completes on the phone with revocation checking on.

Note for Android embedders

The app must take the matching AAR from upstream's Maven archive: org.rustls:rustls-platform-verifier:0.2.0 from https://github.com/rustls/rustls-platform-verifier/raw/maven-archive/android-release-support/maven/. Pin the version: Cargo.lock also lists rustls-platform-verifier-android 0.1.1 for an older verifier (0.5.3) elsewhere in the graph, so a lockfile-parsing Gradle snippet can pick the wrong one.

Checks

  • cargo deny check: advisories, bans, licenses, sources ok
  • cargo check --workspace --all-targets
  • cargo ndk -t arm64-v8a check -p decdn-cli -p decdn-client

🤖 Generated with Claude Code

0.7.1 pairs with rustls-platform-verifier-android 0.2.0, whose network
security config lets Android's revocation checker fetch CA CRLs over
cleartext. With 0.7.0, every Let's Encrypt and Google Trust Services
leaf (no OCSP URL) fails as "invalid peer certificate: Revoked" on
Android, which breaks the RPC, iroh and relay HTTPS paths there
(rustls/rustls-platform-verifier#221).

Android apps embedding the client must also take the 0.2.0 AAR from
upstream's Maven archive (org.rustls:rustls-platform-verifier:0.2.0).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 13, 2026 12:50

Copilot AI 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.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

@github-code-quality

Copy link
Copy Markdown

Code Coverage Overview

Languages: Rust

Rust / code-coverage/cargo-llvm-cov

The overall line coverage in commit 0bd2a9e in the chore/rustls-platfor... branch remains at 75%, unchanged from commit 738214f in the main branch.

@alpergundogdu
alpergundogdu merged commit eb57944 into main Oct 13, 2026
33 checks passed
@alpergundogdu
alpergundogdu deleted the chore/rustls-platform-verifier-0.7.1 branch October 13, 2026 13:20
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