mirror of
https://github.com/FiloSottile/age.git
synced 2026-03-11 08:55:41 +00:00
Compare commits
7 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a3a4ef00a | ||
|
|
10561a774f | ||
|
|
c918a2c113 | ||
|
|
beb5dfa28c | ||
|
|
0293aca1d7 | ||
|
|
e7601d8a67 | ||
|
|
acfa73142b |
6 changed files with 28 additions and 7 deletions
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
|
@ -17,6 +17,7 @@ jobs:
|
||||||
- {GOOS: linux, GOARCH: arm, GOARM: 6}
|
- {GOOS: linux, GOARCH: arm, GOARM: 6}
|
||||||
- {GOOS: linux, GOARCH: arm64}
|
- {GOOS: linux, GOARCH: arm64}
|
||||||
- {GOOS: darwin, GOARCH: arm64}
|
- {GOOS: darwin, GOARCH: arm64}
|
||||||
|
- {GOOS: darwin, GOARCH: amd64}
|
||||||
- {GOOS: windows, GOARCH: amd64}
|
- {GOOS: windows, GOARCH: amd64}
|
||||||
- {GOOS: freebsd, GOARCH: amd64}
|
- {GOOS: freebsd, GOARCH: amd64}
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -151,7 +151,7 @@ On Windows, Linux, macOS, and FreeBSD you can use the pre-built binaries.
|
||||||
|
|
||||||
```
|
```
|
||||||
https://dl.filippo.io/age/latest?for=linux/amd64
|
https://dl.filippo.io/age/latest?for=linux/amd64
|
||||||
https://dl.filippo.io/age/v1.3.0?for=darwin/arm64
|
https://dl.filippo.io/age/v1.3.1?for=darwin/arm64
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
26
SIGSUM.md
26
SIGSUM.md
|
|
@ -11,13 +11,33 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM1WpnEswJLPzvXJDiswowy48U+G+G1kmgwUE2eaRHZG
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAz2WM5CyPLqiNjk7CLl4roDXwKhQ0QExXLebukZEZFS
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAz2WM5CyPLqiNjk7CLl4roDXwKhQ0QExXLebukZEZFS
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
curl -JLO "https://dl.filippo.io/age/v1.3.0?for=darwin/arm64"
|
curl -JLO "https://dl.filippo.io/age/v1.3.1?for=darwin/arm64"
|
||||||
curl -JLO "https://dl.filippo.io/age/v1.3.0?for=darwin/arm64&proof"
|
curl -JLO "https://dl.filippo.io/age/v1.3.1?for=darwin/arm64&proof"
|
||||||
|
|
||||||
go install sigsum.org/sigsum-go/cmd/sigsum-verify@v0.13.1
|
go install sigsum.org/sigsum-go/cmd/sigsum-verify@v0.13.1
|
||||||
sigsum-verify -k age-sigsum-key.pub -P sigsum-generic-2025-1 \
|
sigsum-verify -k age-sigsum-key.pub -P sigsum-generic-2025-1 \
|
||||||
age-v1.3.0-darwin-arm64.tar.gz.proof < age-v1.3.0-darwin-arm64.tar.gz
|
age-v1.3.1-darwin-arm64.tar.gz.proof < age-v1.3.1-darwin-arm64.tar.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
You can learn more about what's happening above in the [Sigsum
|
You can learn more about what's happening above in the [Sigsum
|
||||||
docs](https://www.sigsum.org/getting-started/).
|
docs](https://www.sigsum.org/getting-started/).
|
||||||
|
|
||||||
|
### Release playbook
|
||||||
|
|
||||||
|
Dear future me, to sign a new release and produce Sigsum proofs, run the following
|
||||||
|
|
||||||
|
```
|
||||||
|
VERSION=v1.3.1
|
||||||
|
go install sigsum.org/sigsum-go/cmd/sigsum-verify@latest
|
||||||
|
go install github.com/tillitis/tkey-ssh-agent/cmd/tkey-ssh-agent@main
|
||||||
|
tkey-ssh-agent --agent-socket tkey-ssh-agent.sock --uss
|
||||||
|
passage -c other/tkey-ssh-sigsum-age
|
||||||
|
SSH_AUTH_SOCK=tkey-ssh-agent.sock ssh-add -L > tkey-ssh-agent.pub
|
||||||
|
passage other/sigsum-ratelimit > sigsum-ratelimit
|
||||||
|
gh release download $VERSION --repo FiloSottile/age --dir artifacts/
|
||||||
|
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/*
|
||||||
|
gh release upload $VERSION --repo FiloSottile/age artifacts/*.proof
|
||||||
|
```
|
||||||
|
|
||||||
|
In the future, we will move to reproducing the artifacts locally, and signing
|
||||||
|
those instead of the ones built by GitHub Actions.
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ AGE\-SECRET\-KEY\-1N9JEPW6DWJ0ZQUDX63F5A03GX8QUW7PXDE39N8UYF82VZ9PC8UFS3M7XA9
|
||||||
Write a new post\-quantum identity to \fBkey\.txt\fR:
|
Write a new post\-quantum identity to \fBkey\.txt\fR:
|
||||||
.IP "" 4
|
.IP "" 4
|
||||||
.nf
|
.nf
|
||||||
$ age\-keygen \-o key\.txt
|
$ age\-keygen \-pq \-o key\.txt
|
||||||
Public key: age1pq1cd[\|\.\|\.\|\. 1950 more characters \|\.\|\.\|\.]
|
Public key: age1pq1cd[\|\.\|\.\|\. 1950 more characters \|\.\|\.\|\.]
|
||||||
.fi
|
.fi
|
||||||
.IP "" 0
|
.IP "" 0
|
||||||
|
|
|
||||||
|
|
@ -130,7 +130,7 @@ AGE-SECRET-KEY-1N9JEPW6DWJ0ZQUDX63F5A03GX8QUW7PXDE39N8UYF82VZ9PC8UFS3M7XA9
|
||||||
|
|
||||||
<p>Write a new post-quantum identity to <code>key.txt</code>:</p>
|
<p>Write a new post-quantum identity to <code>key.txt</code>:</p>
|
||||||
|
|
||||||
<pre><code>$ age-keygen -o key.txt
|
<pre><code>$ age-keygen -pq -o key.txt
|
||||||
Public key: age1pq1cd[... 1950 more characters ...]
|
Public key: age1pq1cd[... 1950 more characters ...]
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ Generate a new traditional identity:
|
||||||
|
|
||||||
Write a new post-quantum identity to `key.txt`:
|
Write a new post-quantum identity to `key.txt`:
|
||||||
|
|
||||||
$ age-keygen -o key.txt
|
$ age-keygen -pq -o key.txt
|
||||||
Public key: age1pq1cd[... 1950 more characters ...]
|
Public key: age1pq1cd[... 1950 more characters ...]
|
||||||
|
|
||||||
Convert an identity to a recipient:
|
Convert an identity to a recipient:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue