Commit e74939b
committed
sbchooser: test --first-sig-only
This test submits the following shims, each listed twice, in a random
order:
shim-16.1-4.el10.x64.msft2011.efi
shim-16.1-4.el10.x64.msft2011.msft2023.efi
shim-16.1-4.el10.x64.msft2023.efi
Against a "db" which includes:
The 2023 UEFI CA cert
This test puts "--first-sig-only" on the sbchooser command line, so all
but the first signature on each input should be ignored.
This should produce the following output (annotated here):
shim-16.1-4.el10.x64.msft2023.efi - allowed by 2023 cert
shim-16.1-4.el10.x64.msft2023.efi - same
Note that shim-16.1-4.el10.x64.msft2011.msft2023.efi is not included,
because its first signature is with the 2011 cert.
Signed-off-by: Peter Jones <pjones@redhat.com>1 parent b2d911b commit e74939b
2 files changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
420 | 421 | | |
421 | 422 | | |
422 | 423 | | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
423 | 447 | | |
424 | 448 | | |
425 | 449 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments