-
Notifications
You must be signed in to change notification settings - Fork 589
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
tests: verify that factory reset after remodeling to a new snapd works #14471
base: fde-manager-features
Are you sure you want to change the base?
tests: verify that factory reset after remodeling to a new snapd works #14471
Conversation
e820f9a
to
21ed272
Compare
21ed272
to
4b3991d
Compare
fcc5e2e
to
24018ee
Compare
4b3991d
to
f463a03
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## fde-manager-features #14471 +/- ##
=======================================================
Coverage ? 78.84%
=======================================================
Files ? 1093
Lines ? 147881
Branches ? 0
=======================================================
Hits ? 116592
Misses ? 24010
Partials ? 7279
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
3fe46ac
to
29dd378
Compare
This might still need #14718 to work. We will see. |
c0efc73
to
d43620a
Compare
We are missing a piece, I have forgotten about that. We need to be able to convert LUKS2 disk without tokens to ones with tokens, just for the names, so we can rename and delete them. |
I have opened canonical/secboot#349 to have a way to write factory reset in a way that works. |
Until now, we were just delete old keys on factory-reset instead of renaming if cryptsetup was too old. But this is a bit too dangerous. Instead we copy-delete them. Second, we need to convert old keyslots to have a name so we can remove them after.
d43620a
to
bfbb339
Compare
This also depends on canonical/secboot#355 |
Draft, because it needs PRs to be merged on secboot. |
It does not work yet.
This depends on #14304. It also has a commit in common with #14305 (fakestore tracks)