-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
boot: provide a helper for obtaining boot chains for resealing #14625
boot: provide a helper for obtaining boot chains for resealing #14625
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question
boot/seal.go
Outdated
// BootChains constructs the boot chains which may be observed when booting the | ||
// device such that they can be used as an input for resealing of encryption | ||
// keys. | ||
func BootChains(modeenv *Modeenv) (*ResealKeyForBootChainsParams, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought the idea we discussed was to have WithBootChains ? did you go this way because is a bit easier to explain? do we have other use cases for WithModeenv?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair point, perhaps there is no need to provide a helper for touching modeenv. I've pushed a patch.
2411eee
to
a763650
Compare
a763650
to
d202a77
Compare
d202a77
to
13bb3b3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you
13bb3b3
to
ba81c63
Compare
fcc5e2e
to
24018ee
Compare
Provide a dedicated helper for obtaining the boot chains relevant for resealing of disk encryption keys. Signed-off-by: Maciej Borzecki <[email protected]>
ba81c63
to
ac730af
Compare
Rebased on top of latest |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## fde-manager-features #14625 +/- ##
=======================================================
Coverage ? 78.87%
=======================================================
Files ? 1092
Lines ? 147425
Branches ? 0
=======================================================
Hits ? 116283
Misses ? 23891
Partials ? 7251
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
0398511
into
canonical:fde-manager-features
Provide a dedicated helper for obtaining the boot chains relevant for
resealing of disk encryption keys.
Cherry picks from #14615