-
Notifications
You must be signed in to change notification settings - Fork 17
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
efi: remove deprecated APIs #274
efi: remove deprecated APIs #274
Conversation
967dcf0
to
fadf272
Compare
Ugh, of course, this also makes tools/gen-compatdata unusable, so I'll need to fix that first |
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.
lgtm
Ugh, of course, this also makes tools/gen-compatdata unusable, so I'll need to fix that first
if the data is checked in as we discussed and the tests pass and do not want to block on this, you can leave a TODO there and come back in a different PR
You can also comment out code at the same time to help landing things
This tool hasn't worked since canonical#156. As canonical#274 also makes it unbuildable, comment out the unbuildable code for now and return an error.
canonical#274 deleted a test key that was used by the mock dual signed shim. Rather than resurrecting the entire certificate chain, this brings back one deleted leak key and then uses this to create one of the signatures on the mock dual signed binary.
…-key efi: resurrect a deleted test key. #274 deleted a test key that was used by the mock dual signed shim. Rather than resurrecting the entire certificate chain, this brings back one deleted leaf key and then uses this to create one of the signatures on the mock dual signed binary.
This removes deprecated APIs and test data, and will make it easier to
generate new mock binaries without having to adjust digests in associated
unit tests. I want to generate new mock grub binaries in another PR to add
the EFI prefix.
Note that this removes some data that is used by tools/gen-compattest-data,
but it turns out that a previous PR (#156)
already removed test data required by it and it hasn't worked since then. I need
to rework how we test that changes are backwards compatible, so I'll fix that in
another PR.