What changed, and why it matters
This commit updates the bundled copy of pip used when building Electrum from version 25.1.1 to 26.2.2. The newer pip includes an updated list of trusted certificate authorities that no longer trusts two certificate authorities (eMudhra and emSign) that were recently compromised. If Electrum's build process downloads dependencies over HTTPS, an attacker who could trick the old trust list could potentially intercept or tamper with those downloads. The change is a preventive security hardening step, not a fix for a bug in Electrum's own wallet code.
Verify that all build pipelines and reproducible-build environments are regenerated with pip 26.2.2 so the updated CA bundle is active. No end-user action is required for installed wallets, but builders should confirm the new hashes match the official pip 26.2.2 release.
Security signals we found
Dependency bump of a build tool that vendors a root CA trust store
Explicit reference to a public CA compromise incident (eMudhra/emSign)
Pin-file only changes; no application code modified
Hashes updated consistently across all deterministic requirement manifests
Evidence from the diff
The commit bumps pinned pip hashes across nine deterministic requirements files from 25.1.1 to 26.2.2. pip vendors certifi, and pip 26.2.2 is the first release whose vendored certifi bundle removes the eMudhra/emSign root CAs following their reported compromise. This affects only the build-time environment; runtime TLS in the wallet does not use pip’s vendored certifi. The change is a supply-chain hardening measure to reduce the risk of MITM during package downloads performed by pip during Electrum builds.
Changed components
contrib/deterministic-build/requirements-binaries-mac.txtcontrib/deterministic-build/requirements-binaries.txtcontrib/deterministic-build/requirements-build-android.txtcontrib/deterministic-build/requirements-build-appimage.txtcontrib/deterministic-build/requirements-build-base.txtcontrib/deterministic-build/requirements-build-mac.txtcontrib/deterministic-build/requirements-build-wine.txtcontrib/deterministic-build/requirements-hw.txtcontrib/deterministic-build/requirements.txtInspect captured patch +22 / −22
### contrib/deterministic-build/requirements-binaries-mac.txt
@@ -136,9 +136,9 @@ cryptography==46.0.7 \
packaging==26.2 \
--hash=sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e \
--hash=sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
-pip==25.1.1 \
- --hash=sha256:2913a38a2abf4ea6b64ab507bd9e967f3b53dc1ede74b01b0931e1ce548751af \
- --hash=sha256:3de45d411d308d5054c2168185d8da7f9a2cd753dbac8acbfa88a8909ecd9077
+pip==26.2.2 \
+ --hash=sha256:3a8e5c800492787f33a4114ef54444546c340df428974ebba17e0fd47e11af2f \
+ --hash=sha256:fd7f4dfa8190e014013b9f08f3e973f4e4c26ffd179a204895533a7254813a70
pycparser==2.23 \
--hash=sha256:78816d4f24add8f10a06d6f05b4d424ad9e96cfebf68a4ddc99c65c0720d00c2 \
--hash=sha256:e5c6e8d3fbad53479cab09ac03729e0a9faf2bee3db8208a550daf5af81a5934
### contrib/deterministic-build/requirements-binaries.txt
@@ -136,9 +136,9 @@ cryptography==46.0.7 \
packaging==26.2 \
--hash=sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e \
--hash=sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
-pip==25.1.1 \
- --hash=sha256:2913a38a2abf4ea6b64ab507bd9e967f3b53dc1ede74b01b0931e1ce548751af \
- --hash=sha256:3de45d411d308d5054c2168185d8da7f9a2cd753dbac8acbfa88a8909ecd9077
+pip==26.2.2 \
+ --hash=sha256:3a8e5c800492787f33a4114ef54444546c340df428974ebba17e0fd47e11af2f \
+ --hash=sha256:fd7f4dfa8190e014013b9f08f3e973f4e4c26ffd179a204895533a7254813a70
pycparser==2.23 \
--hash=sha256:78816d4f24add8f10a06d6f05b4d424ad9e96cfebf68a4ddc99c65c0720d00c2 \
--hash=sha256:e5c6e8d3fbad53479cab09ac03729e0a9faf2bee3db8208a550daf5af81a5934
### contrib/deterministic-build/requirements-build-android.txt
@@ -14,8 +14,8 @@ packaging==26.2 \
--hash=sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
pexpect==4.9.0 \
--hash=sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f
-pip==25.1.1 \
- --hash=sha256:3de45d411d308d5054c2168185d8da7f9a2cd753dbac8acbfa88a8909ecd9077
+pip==26.2.2 \
+ --hash=sha256:3a8e5c800492787f33a4114ef54444546c340df428974ebba17e0fd47e11af2f
ptyprocess==0.7.0 \
--hash=sha256:5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220
pyproject-hooks==1.2.0 \
### contrib/deterministic-build/requirements-build-appimage.txt
@@ -2,8 +2,8 @@ Cython==3.1.8 \
--hash=sha256:518475fbe633ba30c1577669f417440f41e1a23ad6b6e2dbb20703cd457f04ef
packaging==26.2 \
--hash=sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
-pip==25.1.1 \
- --hash=sha256:3de45d411d308d5054c2168185d8da7f9a2cd753dbac8acbfa88a8909ecd9077
+pip==26.2.2 \
+ --hash=sha256:3a8e5c800492787f33a4114ef54444546c340df428974ebba17e0fd47e11af2f
setuptools==80.9.0 \
--hash=sha256:f36b47402ecde768dbfafc46e8e4207b4360c654f1f3bb84475f0a28628fb19c
wheel==0.45.1 \
### contrib/deterministic-build/requirements-build-base.txt
@@ -7,9 +7,9 @@ flit-core==3.12.0 \
packaging==26.2 \
--hash=sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e \
--hash=sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
-pip==25.1.1 \
- --hash=sha256:2913a38a2abf4ea6b64ab507bd9e967f3b53dc1ede74b01b0931e1ce548751af \
- --hash=sha256:3de45d411d308d5054c2168185d8da7f9a2cd753dbac8acbfa88a8909ecd9077
+pip==26.2.2 \
+ --hash=sha256:3a8e5c800492787f33a4114ef54444546c340df428974ebba17e0fd47e11af2f \
+ --hash=sha256:fd7f4dfa8190e014013b9f08f3e973f4e4c26ffd179a204895533a7254813a70
poetry-core==2.4.1 \
--hash=sha256:89dceb6c10e9c6d8650a16183400e3c9ff9ddee13b0a81023b5575334a2b3744 \
--hash=sha256:acf06f9537cd2625bdaec926d95d90b557ba15353bc71d27a3a8a441042b5316
### contrib/deterministic-build/requirements-build-mac.txt
@@ -6,8 +6,8 @@ macholib==1.16.4 \
--hash=sha256:f408c93ab2e995cd2c46e34fe328b130404be143469e41bc366c807448979362
packaging==26.2 \
--hash=sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
-pip==25.1.1 \
- --hash=sha256:3de45d411d308d5054c2168185d8da7f9a2cd753dbac8acbfa88a8909ecd9077
+pip==26.2.2 \
+ --hash=sha256:3a8e5c800492787f33a4114ef54444546c340df428974ebba17e0fd47e11af2f
pyinstaller-hooks-contrib==2025.4 \
--hash=sha256:5ce1afd1997b03e70f546207031cfdf2782030aabacc102190677059e2856446
setuptools==80.9.0 \
### contrib/deterministic-build/requirements-build-wine.txt
@@ -4,8 +4,8 @@ packaging==26.2 \
--hash=sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
pefile==2023.2.7 \
--hash=sha256:82e6114004b3d6911c77c3953e3838654b04511b8b66e8583db70c65998017dc
-pip==25.1.1 \
- --hash=sha256:3de45d411d308d5054c2168185d8da7f9a2cd753dbac8acbfa88a8909ecd9077
+pip==26.2.2 \
+ --hash=sha256:3a8e5c800492787f33a4114ef54444546c340df428974ebba17e0fd47e11af2f
pyinstaller-hooks-contrib==2025.4 \
--hash=sha256:5ce1afd1997b03e70f546207031cfdf2782030aabacc102190677059e2856446
pywin32-ctypes==0.2.3 \
### contrib/deterministic-build/requirements-hw.txt
@@ -428,9 +428,9 @@ noiseprotocol==0.3.1 \
packaging==26.2 \
--hash=sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e \
--hash=sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
-pip==25.1.1 \
- --hash=sha256:2913a38a2abf4ea6b64ab507bd9e967f3b53dc1ede74b01b0931e1ce548751af \
- --hash=sha256:3de45d411d308d5054c2168185d8da7f9a2cd753dbac8acbfa88a8909ecd9077
+pip==26.2.2 \
+ --hash=sha256:3a8e5c800492787f33a4114ef54444546c340df428974ebba17e0fd47e11af2f \
+ --hash=sha256:fd7f4dfa8190e014013b9f08f3e973f4e4c26ffd179a204895533a7254813a70
protobuf==3.20.3 \
--hash=sha256:03038ac1cfbc41aa21f6afcbcd357281d7521b4157926f30ebecc8d4ea59dcb7 \
--hash=sha256:28545383d61f55b57cf4df63eebd9827754fd2dc25f80c5253f9184235db242c \
### contrib/deterministic-build/requirements.txt
@@ -32,8 +32,8 @@ multidict==6.8.0 \
--hash=sha256:5cd4637ce76312ba1e05eb9c5193fec231f64fee0944e135fa1e951242355b37
packaging==26.2 \
--hash=sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
-pip==25.1.1 \
- --hash=sha256:3de45d411d308d5054c2168185d8da7f9a2cd753dbac8acbfa88a8909ecd9077
+pip==26.2.2 \
+ --hash=sha256:3a8e5c800492787f33a4114ef54444546c340df428974ebba17e0fd47e11af2f
propcache==0.5.2 \
--hash=sha256:01c4fc7480cd0598bb4b57022df55b9ca296da7fc5a8760bd8451a7e63a7d427
python-socks==2.8.2 \Why this scored 49/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.