Verifying releases
Check a uvsign download against the release key, rebuild it yourself, and verify the UvRouter deployment.
Verify a download
Every release has SHA256SUMS and SHA256SUMS.sig, signed with the release key in the
README (fingerprint SHA256:OWyR9MpbxVXL5Zzz0BYlKZbpz3SqV4m8pwBSQEdkWco):
echo 'uvsign-release namespaces="uvsign-release" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID13RU4V3zE8uRQ/y6X+sbyB+76eSkhKSc2r/jttKmVG' > allowed_signers
ssh-keygen -Y verify -f allowed_signers -I uvsign-release -n uvsign-release -s SHA256SUMS.sig < SHA256SUMS
sha256sum --ignore-missing -c SHA256SUMS # macOS: shasum -a 256 --ignore-missing -c SHA256SUMS
Installer settings: UVSIGN_VERSION=x.y.z installs a given release (also to downgrade on purpose),
UVSIGN_INSTALL_DIR changes the target folder, UVSIGN_TOR=1 makes install.sh download through Tor.
Reproducible Linux builds
git clone https://github.com/uvstarr97/uvsign && cd uvsign && git checkout v0.2.5
dist/build-linux.sh x86_64 out
sha256sum out/uvsign # compare with uvsign-0.2.5-x86_64-unknown-linux-musl in SHA256SUMS
macOS and Windows binaries carry a GitHub build attestation:
gh attestation verify uvsign-0.2.5-aarch64-apple-darwin --repo uvstarr97/uvsign.
Verify the UvRouter deployment
For the contract, read its fixed settings back from the chain and compare the runtime bytecode with the verified source. The steps are in Verify the deployment yourself.