Conversation
ChriMarMe
left a comment
There was a problem hiding this comment.
I like the idea of multierror.
| Name: "SACM meets sane BootGuard requirements", | ||
| Required: true, | ||
| function: BootGuardACM, | ||
| dependencies: []*Test{&testbootguardfit}, |
There was a problem hiding this comment.
I like the alignemet before the change more :)
There was a problem hiding this comment.
this comes from the Go formatter, which my IDE ran automatically... 😅
There was a problem hiding this comment.
I realized that this happened due to the comments. So, I just removed them. :)
|
So I checked because I noticed that go-multierror was already in the dependencies... Which led me to this: Apparently, Go 1.20 added native multi error support. Anyway, I think introducing the Uber package is fine here, and we can rework things nicely again later. |
|
And the CI error basically says that we should upgrade to Go 1.19 at least (I would go straight to 1.21). Huh, we do have 1.19 though... no idea what's wrong here... sigh Edit/addendum: sooooo... since this uses atomics and Go doesn't offer them on all architectures we use, I'll see about using |
|
❤️ |
| Name: "SACM meets sane BootGuard requirements", | ||
| Required: true, | ||
| function: BootGuardACM, | ||
| dependencies: []*Test{&testbootguardfit}, |
There was a problem hiding this comment.
- Why remove the dependency?
- Why not in a seperate commit?
|
The dependency removal is the actual feature here; this before vs after should clarify it: beforeafter |
|
grammar fixed: |
5c9217d to
41cc2f4
Compare
Signed-off-by: Daniel Maslowski <info@orangecms.org>
Signed-off-by: Daniel Maslowski <info@orangecms.org>
This uses go.uber.org/multierr. Also reword many error messages to make them consistent: - capitalize BootGuard, Key Manifest and Boot Policy Manifest - spell out Key Manifest and Boot Policy Manifest - uppercase acronyms such as DMA etc Signed-off-by: Daniel Maslowski <info@orangecms.org>
41cc2f4 to
fe57f4c
Compare
Signed-off-by: Daniel Maslowski info@orangecms.org