[Reproducible Builds] 4 small CI changes would make the Linux AppImage verifiable (SOURCE_DATE_EPOCH, QML mtimes, tool pinning, LWK determinism)
@qblk ci sta già lavorando.
Dal 30/7/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Summary
We (WalletScrutiny) rebuilt the green_qt 3.4.0 x86_64 AppImage from source in a CI-equivalent container and got remarkably close to the official artifact: the main blockstream binary is size-identical with zero differing bytes in .text, and every Qt 6.11 library, all GDK output, QML resources, and assets are byte-identical. Green desktop is, in substance, nearly reproducible today — the remaining differences are all environmental, and each has a concrete, low-cost fix in CI:
| # | Remaining diff | Cause | Fix |
|---|---|---|---|
| 1 | OpenSSL built on: string in blockstream |
OpenSSL embeds build time; CI doesn't set SOURCE_DATE_EPOCH |
export SOURCE_DATE_EPOCH (e.g. the tag's commit timestamp) in the release pipeline — OpenSSL honors it |
| 2 | ~3.2 KB of .rodata in blockstream |
qmlcachegen embeds each QML file's mtime (QV4::CompiledData sourceTimeStamp); git sets mtimes to CI checkout time |
normalize source mtimes before build (e.g. git ls-files -z | xargs -0 touch -d @$SOURCE_DATE_EPOCH) |
| 3 | AppImage plugin set + AppRun | linuxdeploy/linuxdeploy-plugin-qt/appimagetool fetched from floating continuous tags |
pin tool releases (and checksums) in CI |
| 4 | usr/lib/liblwk.so (~2.5 MB unstripped) |
LWK release builds are nondeterministic (ThinLTO .llvm.<hash> symbol churn) — reproduces with two identical consecutive builds |
separate issue filed: Blockstream/lwk#165 |
With 1–4 addressed, the AppImage is plausibly byte-for-byte reproducible — the closest of any desktop wallet we have verified.
What we verified (evidence)
- Official
Blockstream_Green_x86_64.AppImage3.4.0, SHA2560d5ae746f85c...(matches signed SHA256SUMS). - Rebuild: green_qt at
88056710, GDK 0.77.4 @2b43409a, Rust 1.85.0, LWK @bdbf0904, Qt 6.11.0, jammy-based container. - Result: 18 payload diff lines total.
blockstream: 41,703,528 bytes both;cmp -lclusters mapped withreadelf -SW: zero diffs in.text; the 6.rodataclusters decode as millisecond Unix timestamps inside QML compilation-unit metadata (official:0x019E8770BAC5= 2026-06-02 08:29 UTC — your CI's checkout moment; ours: our build moment); plus exactly one differing string: OpenSSLbuilt on: Mon Jun 1 18:35:53 2026 UTC.- Qt/GDK/QML/resources: byte-identical.
- Packaging: official bundles
networkinformation/plugins + glib chain +libQt6ShaderTools.so.6; ours hasapprun-hooks/;AppRundiffers — consistent with differentcontinuoussnapshots of the AppImage tools. - Minor:
blockstream.desktop/linux_production.pngare mode 666 in the official AppImage (CI umask), andlibsystemd/libudevshow jammy package drift between image dates.
Why it's worth it
Users (and verifiers like us) can then confirm that the shipped binary corresponds exactly to the public source — for a wallet, that's a meaningful trust upgrade, and green_qt is unusually close already. We're happy to share our full rebuild scripts, diff analysis, and to re-verify once any subset of the changes lands.
- Lingua principale
- C++
- Stelle
- 268
- Fork
- 44
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Blockstream/green_qt
-
When Jade support with swaps and lightning?Forse di nuovo libera @ardier16 l’ha presa 115 giorni fa e non c’è nessuna pull request aperta. Apertafeature request status: planned
Blockstream/green_qt#184 · 1 commento · 1 assegnatario ·
-
Support hardware authentication without entering PINForse di nuovo libera @ardier16 l’ha presa 115 giorni fa e non c’è nessuna pull request aperta. Apertafeature request status: planned
Blockstream/green_qt#182 · 7 commenti · 1 assegnatario ·
-
[Feature Request] Expose P2TR accounts in walletForse di nuovo libera @ardier16 l’ha presa 115 giorni fa e non c’è nessuna pull request aperta. Apertafeature request status: needs-triage
Blockstream/green_qt#170 · 1 commento · 1 assegnatario ·
-
Feature: Blind Signing for MultisigForse di nuovo libera @ardier16 l’ha presa 111 giorni fa e non c’è nessuna pull request aperta. Apertafeature request status: needs-triage
Blockstream/green_qt#164 · 1 commento · 1 reazione · 1 assegnatario ·
-
Enhanced Security for 2FA 2of3 - Recovery Key as Signing Key, 2FA Delays, and Social RecoveryForse di nuovo libera @ardier16 l’ha presa 111 giorni fa e non c’è nessuna pull request aperta. Apertafeature request status: needs-triage
Blockstream/green_qt#161 · 4 commenti · 1 assegnatario ·
Tutte le issue di Blockstream/green_qt
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
sav-oss-org/ptusa_main#1610 ·
I maintainer di solito rispondono entro 1 giorno
-
Command gate: one shared constant for the just-below-1e-9 MoveAxis stop epsilon (ZWO, Bisque)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
open-astro/AlpacaBridge#2606 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Refactor force_torque_system integration test to use EcmScopeForse già presa @patelshivani2283-lab l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Niko1221/Strata#6731 · 2 commenti ·
I maintainer di solito rispondono entro 6 giorni
-
good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100