When running the Gitian pipeline for 0.20.1, there is a reproducibility issue for one linux binary.
For bitcoin-0.20.1-aarch64-linux-gnu.tar.gz, bitcoin-0.20.1-arm-linux-gnueabihf.tar.gz, bitcoin-0.20.1-riscv64-linux-gnu.tar.gz, bitcoin-0.20.1.tar.gz, the sha256 checksums correspond.
However, for target x86_64-linux-gnu, the sha256 mismatches:
- expected sha256, per SHA256SUMS.asc: 376194f06596ecfa40331167c39bc70c355f960280bd2a645fdbf18f66527397
- actual sha256: 277599356bd2df760832c6636797fe5ea5a5c28d929d53635b685f5ac1e4689b
(found by reproduction attempt, and also reported at https://bitcoin.stackexchange.com/questions/99967/reproducible-gitian-builds-but-not-the-same-hash-as-bitcoincore-org and https://www.onooks.com/trouble-reproducing-the-same-binary-as-bitcoin-org-or-bitcoincore-org/)
Is that a build reproducibility bug or a supply chain attack?