Repository navigation
build(deps): bump rustls-platform-verifier to 0.7.1 - #2451
Merged
Merged
Conversation
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]>
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps
rustls-platform-verifier0.7.0 → 0.7.1 inCargo.lock(pulled in throughreqwestby 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 withrustls-platform-verifier-android0.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.0fromhttps://github.com/rustls/rustls-platform-verifier/raw/maven-archive/android-release-support/maven/. Pin the version:Cargo.lockalso listsrustls-platform-verifier-android0.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 okcargo check --workspace --all-targetscargo ndk -t arm64-v8a check -p decdn-cli -p decdn-client🤖 Generated with Claude Code