Commit 348a306
committed
distro/keys: minimize archlinux and tails signing keys
Re-export both keys through the new update_distro_signing_key scripts
to strip non-signing subkeys (encryption, authentication) and expired
subkeys that had accumulated in the in-tree copies. Only the primary
key and currently-valid signing subkeys are retained.
archlinux.key: 1168B -> 673B (495B saved, auth+encrypt subkeys removed)
tails.key: 21282B -> 7376B (13906B saved, expired+non-signing subkeys removed)
Qubes OS keys (4.2, 4.3, weekly builds) were already minimal -- no change.
Fixes #2066.
This class of manual update has been needed repeatedly in the past and
was caught late each time, causing distro ISO verification failures in
the field for Tails and other supported distros:
#1808 (issue: Tails key expired, ISOs unbootable)
#1631 (PR: update tails.key, replay of manual steps)
#1809 (PR: replay of #1631 for next Tails rotation)
#2000 (PR: Tails 7.0 key, same manual process again)
#1457 (PR: Arch Linux key update)
#2033 (PR: Qubes OS 4.3 key addition)
TODO: wire bin/update_distro_signing_keys.sh into CI (e.g. a scheduled
workflow) so upstream key rotations are detected automatically
before they break users.
Signed-off-by: Thierry Laurion <insurgo@riseup.net>1 parent ebdde47 commit 348a306
2 files changed
Lines changed: 86 additions & 307 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
21 | 14 | | |
0 commit comments