appimage build: distrust emSign ECC Root CA - G3 in build container
What changed, and why it matters
Electrum's AppImage build process used a Debian 'bullseye' Linux container whose built-in list of trusted web security certificates still included a root certificate from eMudhra/emSign that had its private key leaked. Because the old Debian release no longer receives updates, Electrum manually removes that certificate from the build container so that future AppImage builds do not implicitly trust it. This is a supply-chain/build-hardening fix; it does not change the Electrum wallet application itself.
Verify the patched AppImage build no longer contains /etc/ssl/certs/emSign_ECC_Root_CA_-_G3.pem, and plan migration of the AppImage base image to a supported Debian release so future CA distrust updates are received automatically. Monitor Debian bug #1151413 and upstream CA/Browser Forum actions for permanent removal.
Security signals we found
Compromised third-party root CA distrusted in build environment
Supply-chain hardening of AppImage build container
Manual mitigation for EOL base image lacking security updates
Build-time assertion that the untrusted certificate is removed
Evidence from the diff
The commit modifies contrib/build-linux/appimage/Dockerfile to deselect the compromised ‘emSign ECC Root CA - G3’ certificate in the AppImage build container. The root’s private key was publicly disclosed (per the commit message, https://emudhra.we-have-a-problem.com/). The container is based on a pinned Debian bullseye snapshot whose ca-certificates package will not be updated because bullseye is EOL. The patch comments out the certificate in /etc/ca-certificates.conf and runs update-ca-certificates, then asserts the PEM file is gone. Wine and sdist containers are noted unaffected because they pull from live Debian repos including security updates.
Changed components
contrib/build-linux/appimage/DockerfileAppImage build container trust storeInspect captured patch +8 / −0
### contrib/build-linux/appimage/Dockerfile
@@ -22,6 +22,14 @@ RUN sed -e 's#https://#http://#' /etc/apt/sources.list > /tmp/sources.list.boots
rm -f /tmp/sources.list.bootstrap && \
rm -rf /var/lib/apt/lists/*
+# distrust the compromised eMudhra "emSign ECC Root CA - G3" (see https://bugs.debian.org/1151413).
+# - bullseye is EOL and won't get a fixed ca-certificates. The first check fails once the base image
+# is bumped to one whose pinned snapshot has a fixed ca-certificates: rm this then
+RUN test -e /etc/ssl/certs/emSign_ECC_Root_CA_-_G3.pem \
+ && sed -i 's#^mozilla/emSign_ECC_Root_CA_-_G3.crt$#!&#' /etc/ca-certificates.conf \
+ && update-ca-certificates \
+ && test ! -e /etc/ssl/certs/emSign_ECC_Root_CA_-_G3.pem
+
RUN apt-get update -q && \
apt-get install -qy --allow-downgrades \
sudo \Why this scored 62/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.