Skip to content

Reuse the configured TLS verifier for Android downloads - #57

Merged
xz-dev merged 2 commits into
masterfrom
maintenance/android-downloader-tls
Nov 23, 2026
Merged

xz-dev merged 2 commits into
masterfrom
maintenance/android-downloader-tls

Conversation

@xz-dev

@xz-dev xz-dev commented Nov 23, 2026

Copy link
Copy Markdown
Member

The Android legacy app initialized the verifier used by metadata requests, but the downloader used reqwest’s default verifier instead. Use the same TLS configuration for both without disabling verification or changing transport security.

On Android 17, the same Rust backend could download a local HTTP fixture but HTTPS stalled at zero bytes. With this change a GitHub HTTPS APK downloaded in the real app and matched the published APK byte-for-byte; Android opened its package installer. cargo test --locked --lib downloader:: passed all 29 tests.

@xz-dev
xz-dev merged commit 62ff68c into master Nov 23, 2026
6 checks passed
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.

1 participant