PQRBTC Download

Reproducible builds and signed releases

You should not have to trust whoever made a download. PQRBTC releases are built so that anyone can rebuild them from the published source and get exactly the same bytes. If your build matches the published checksum, the program you run is the program everyone can read.

Check a release

Each release folder holds the archives, SHA256SUMS, SHA256SUMS.proof (a post-quantum signature by the release address) and SHA256SUMS.minisig (a conventional minisign signature, checkable without any PQRBTC software).

RELEASE_ADDRESS=pqr1p... scripts/verify-release.sh DIR VERSION ARCHIVE

It prints VERIFIED and exits 0 only if the archive you are about to run is listed in SHA256SUMS, matches it, and the list is signed by the release address. A missing, empty or forged signature, a changed archive, or an address of another network: exit 1. Three rules make the check mean something:

  1. Get the release address from elsewhere than the download. See "Where the release address is published" below, and compare at least two of those places. An address taken from the same site as the download proves nothing.
  2. Check with a program you already trust. The script runs pqrbtc-verify, which works offline (no node). Use one you built yourself from source, or one from an earlier release you verified, never the copy inside the download you are checking. Or check the minisign signature, which needs no PQRBTC software at all.
  3. Name the archive. The script checks the one file you give it, so the file you run is the file that was checked.

Where the release address is published

The release address and the minisign public key are published in the repository's README, on the website's download page and in the launch announcement. All three must agree. The address only changes through a statement signed by the previous one.

Rebuild it yourself

git clone <the source>  &&  cd pqrbtc
git checkout v<version>
scripts/build-release.sh

The script refuses to build with any compiler other than the one pinned in rust-toolchain.toml (rustup installs it), or from a checkout with local changes. It ignores the builder's own settings (RUSTFLAGS, compiler wrappers such as sccache, another rustc), fetches the libraries listed in Cargo.lock and then builds offline. It prints the checksum of the archive it made in dist/; it must equal the published one, on the same platform (for example aarch64-apple-darwin or x86_64-unknown-linux-gnu).

On macOS the program also records the SDK and linker version: use the same Xcode version as the release notes say (the script prints yours).

What makes it reproducible

Source of differenceHow it is removed
Compiler versionPinned in rust-toolchain.toml
Library versionsCargo.lock, built with --locked
Folder names (your home, the checkout, cargo's cache, the compiler's sources)Rewritten to fixed names with --remap-path-prefix, the home folder first so the more specific names win wherever cargo's cache lives
The builder's own settingsRUSTFLAGS, wrappers and other compilers are ignored; the source must be unchanged
macOS version targetsMACOSX_DEPLOYMENT_TARGET fixed; same Xcode needed
Build timeEverything stamped with the last commit's time (SOURCE_DATE_EPOCH)
Code generation orderOne code-generation unit, whole-program optimisation
Debug info and symbolsNot included (debug = false, strip)
Archive order, owners, timesSorted names, owner 0, the commit time
Time zone, languageTZ=UTC, LC_ALL=C

Builds are checked by building twice, from two different folders, and comparing the checksums. For a release, the build machines for macOS, Linux and Windows each build and compare; a release goes out only when independent builds agree. (There is no automatic build service: builds run on machines the project controls, and anyone can repeat them.)

Signing

scripts/sign-release.sh signs SHA256SUMS with the release wallet, using the same ML-DSA signatures as payments (a quantum computer cannot forge a release signature either), and with minisign when MINISIGN_KEY is set. It asks for the wallet password itself and passes it on standard input, so the password never appears in the process list or shell history. The new proof is checked against every archive before it replaces the old one: no empty or broken proof file is ever left behind.