Debian Codegraph @

SIGSUM.md

raw symbols SCIP
1 If you download the pre-built binaries of version v1.2.0+, you can check their
2 [Sigsum](https://www.sigsum.org) proofs, which are like signatures with extra
3 transparency: you can cryptographically verify that every proof is logged in a
4 public append-only log, so the age project can be held accountable for every
5 binary release we ever produced. This is similar to what the [Go Checksum
6 Database](https://go.dev/blog/module-mirror-launch) provides.
7
8 ```shell
9 cat << EOF > age-sigsum-key.pub
10 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM1WpnEswJLPzvXJDiswowy48U+G+G1kmgwUE2eaRHZG
11 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAz2WM5CyPLqiNjk7CLl4roDXwKhQ0QExXLebukZEZFS
12 EOF
13
14 curl -JLO "https://dl.filippo.io/age/v1.3.2?for=darwin/arm64"
15 curl -JLO "https://dl.filippo.io/age/v1.3.2?for=darwin/arm64&proof"
16
17 go install sigsum.org/sigsum-go/cmd/[email protected]
18 sigsum-verify -k age-sigsum-key.pub -P sigsum-generic-2025-1 \
19 age-v1.3.2-darwin-arm64.tar.gz.proof < age-v1.3.2-darwin-arm64.tar.gz
20 ```
21
22 You can learn more about what's happening above in the [Sigsum
23 docs](https://www.sigsum.org/getting-started/).
24
25 ### Release playbook
26
27 Dear future me, to sign a new release and produce Sigsum proofs, run the following
28
29 ```shell
30 VERSION=v1.3.2
31 go install sigsum.org/sigsum-go/cmd/sigsum-verify@latest
32 go install github.com/tillitis/tkey-ssh-agent/cmd/tkey-ssh-agent@main
33 tkey-ssh-agent --agent-socket tkey-ssh-agent.sock --uss
34 passage -c other/tkey-ssh-sigsum-age
35 SSH_AUTH_SOCK=tkey-ssh-agent.sock ssh-add -L > tkey-ssh-agent.pub
36 passage other/sigsum-ratelimit > sigsum-ratelimit
37 gh release download $VERSION --repo FiloSottile/age --dir artifacts/
38 SSH_AUTH_SOCK=tkey-ssh-agent.sock sigsum-submit -k tkey-ssh-agent.pub -P sigsum-generic-2025-1 -a sigsum-ratelimit -d filippo.io artifacts/*
39 gh release upload $VERSION --repo FiloSottile/age artifacts/*.proof
40 ```
41
42 In the future, we will move to reproducing the artifacts locally, and signing
43 those instead of the ones built by GitHub Actions.