Commit 0836ebb
Eric Chanudet
layer: require out-of-tree signing key for modules
If module signing is enabled and key/cert are provided, add the
necessary dependencies between do_configure/do_sign_module to depend on
the out-of-tree key/cert.
If module signing is disabled, nothing is done, no dependency is added.
If module signing is enabled, but key/cert are not provided, error out,
this inevitably ends up re-generating a throw-away signing key when
out-of-tree modules dependencies are resolved (do_shared_workdir
does not store state, including signing keys).
Signed-off-by: Eric Chanudet <chanudete@ainfosec.com>1 parent 39a7b5f commit 0836ebb
File tree
2 files changed
+32
-8
lines changed- classes
2 files changed
+32
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
10 | 17 | | |
11 | 18 | | |
12 | 19 | | |
| |||
18 | 25 | | |
19 | 26 | | |
20 | 27 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
20 | 31 | | |
21 | 32 | | |
22 | 33 | | |
23 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
24 | 42 | | |
25 | 43 | | |
26 | 44 | | |
| |||
44 | 62 | | |
45 | 63 | | |
46 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
0 commit comments