android build: don't reinstall ca-certificates from the pinned snapshot
What changed, and why it matters
This commit changes how the Android version of the Electrum Bitcoin wallet is built. Previously, the build process reinstalled a specific pinned (fixed) version of the list of trusted website certificates (ca-certificates). The commit removes that pinned reinstall so the Android build instead uses the normal up-to-date certificate list from Debian. The reason given is to avoid being stuck with a revoked/removed certificate authority (emudhra) that was included in the pinned snapshot. This is a build-hygiene change rather than a fix for an active attack on users.
Review the Android reproducible build to confirm it still produces identical outputs without pinning ca-certificates, and verify the resulting image no longer trusts the revoked emudhra CA. Consider documenting the build-trust assumption that Debian's current ca-certificates package is acceptable. No urgent end-user action is indicated.
Security signals we found
Build-time certificate trust store change
Removal of pinned CA bundle reinstall
Reference to revoked CA (emudhra)
No runtime code change in wallet application
No cryptographic or consensus code modified
Evidence from the diff
In contrib/android/Dockerfile, the package ca-certificates is removed from the explicit apt install list. The Android Docker image previously installed a pinned apt snapshot and then reinstalled ca-certificates, which effectively pinned the certificate authority bundle. The commit message explains this was done to avoid carrying a revoked CA (emudhra) from the snapshot, referencing an external site. The change aligns the Android build with other Electrum build containers (except AppImage) that do not pin ca-certificates. The patch is a single-line removal; it does not add a manual blacklist or update the snapshot itself.
Changed components
contrib/android/DockerfileAndroid build containerInspect captured patch +0 / −1
### contrib/android/Dockerfile
@@ -27,7 +27,6 @@ RUN apt -y update -qq \
curl \
wget \
unzip \
- ca-certificates \
python3 \
&& apt -y autoremove
Why this scored 21/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.