Commit b8227ae
committed
[signer] Remove non-signing tools from the signing container
The signing container was originally envisioned to cover both signing
and odd small tasks (such as constructing multi-architecture ISO and
USB disk images) that did not justify a dedicated container image.
The architecture-independent utility toolchain is better placed to
handle these odd small tasks, and removing this responsibility from
the signing container allows us to reduce the attack surface by
removing unnecessary packages.
Strip out packages that are not required for signing, and update the
checker to verify that signing a binary (with a locally generated test
certificate) works as expected.
Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>1 parent 2efe5b4 commit b8227ae
1 file changed
Lines changed: 5 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
19 | | - | |
20 | 17 | | |
21 | 18 | | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
25 | | - | |
26 | 22 | | |
27 | 23 | | |
28 | 24 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
37 | 30 | | |
38 | 31 | | |
39 | 32 | | |
| |||
0 commit comments