-
Notifications
You must be signed in to change notification settings - Fork 594
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
secboot: check legacy path for keyring when reading the primary key #14966
secboot: check legacy path for keyring when reading the primary key #14966
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## fde-manager-features #14966 +/- ##
=======================================================
Coverage ? 78.14%
=======================================================
Files ? 1174
Lines ? 156057
Branches ? 0
=======================================================
Hits ? 121951
Misses ? 26545
Partials ? 7561
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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
secboot/secboot_sb.go
Outdated
} | ||
|
||
// GetPrimaryKeyDigest retrieve the primary key for a disk from the | ||
// keyring and returns it digest. If the path given does not match |
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.
typo: s/it/its/
05b58eb
to
2ae271a
Compare
2ae271a
to
b0a5f1f
Compare
7005c64
to
25f9119
Compare
b0a5f1f
to
413aad0
Compare
Tue Feb 4 13:31:33 UTC 2025 Failures:Preparing:
Executing:
Restoring:
|
8bdf5da
to
112b128
Compare
In the case we update snapd with and old kernel, then reseal, the FDE state might be not set because we did not find the primary key from the initrd that set it in the legacy path. So if we do not find the key in the keyring, we should try and see if we find it in the old path.
112b128
to
2feea80
Compare
1c1b779
into
canonical:fde-manager-features
No description provided.