rustls-platform-verifier doesn't work on termux
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start with verification/others.rs in the linked rustls-platform-verifier source and read the Android platform-verifier documentation. Investigate the certificate lookup behavior for Termux and the reported /data/data/com.termux/files/usr/etc/tls/ location. Done means certificate verification succeeds in Termux without requiring Android Java-runtime initialization or an unavailable fallback.
Written by the indexing model from the issue text.
Description
cargo-bins/cargo-binstall#2473
Binaries built for aarch64-unkown-linux-* failed to get the openssl certs stored in /data/data/com.termux/files/usr/etc/tls/ and then failed in termux without getting any fallback
This line fails on UNIX, except for apple, android and wasm32, if rustls-native-cert cannot find any certificate , and obviously it isn't smart enough to find native certa in termux
It only uses hardcoded certificates for wasm32
For android, rusts-platform-verifier assumes you are building an android app requires extra initialization to get the java runtime, otherwise straight failure without even trying to find native certa
https://docs.rs/rustls-platform-verifier/0.6.2/rustls_platform_verifier/android/index.html
- Dominant language
- Rust
- Stars
- 162
- Forks
- 67
- Avg merge
- 5d 14h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rustls/rustls-platform-verifier
-
O-Android
Difficulty 5/5 Over a week Newbie friendliness 12/100
rustls/rustls-platform-verifier#260 · 4 comments ·
-
`CertificateVerifier.verifyCertificateChain` on Android can cause `NetworkOnMainThreadException`May be free again A pull request for this issue was closed without being merged. Openbug O-Android
Difficulty 4/5 3-5 days Newbie friendliness 48/100
rustls/rustls-platform-verifier#256 · 5 comments ·
-
O-Android
Difficulty 3/5 1-2 days Newbie friendliness 43/100
rustls/rustls-platform-verifier#247 · 4 comments ·
-
Windows: revocation check blocks up to 10s with no effect on verification outcomePossibly taken @djc claimed this 129 days ago. OpenO-Windows
Difficulty 4/5 3-5 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
rustls/rustls-platform-verifier#230 · 2 comments ·
All issues in rustls/rustls-platform-verifier
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Eyevinn/open-live-ingest#36 · 1 comment ·
Maintainers usually reply within 1 day
-
app
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
bug bug jury peripheral:i2s
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
esp-rs/esp-hal#6828 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
ライブラリを追加Openpriority middle
Difficulty 1/5 Under an hour Newbie friendliness 62/100
KATO-Hiro/AtCoderClans#13015 ·
Maintainers usually reply within 1 day