-
Notifications
You must be signed in to change notification settings - Fork 28
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
Recovery shell should be able to sign root filesystem #56
Comments
With #58 almost ready to merge, it would be helpful if the recovery initrd could also sign the PCRs. |
Lots of things need to be bundled into the initrd:
|
The pcscd daemon is a bit of a pain. Rather than have the openssl pkcs11 engine talk directly to the card, it goes through this other proces, which means it and all of its dependencies also have to be in the recovery image. Luckily there is a template for what is needed since |
Also need And |
Also missing |
And all of those together make it work, with some hand run commands. Need to make it smoother so that things like |
While recovery now has all the tools in #65 , the PCR2 varies depending on if the recovery boot is entered via "Boot Menu" or via |
The
safeboot
linux-sign
script needs to be modified to be usable from the initrd recovery shell. This might mean importingsbsigntool
and the associated libraries into the initrd. Currently it is necessary to boot all the way into full linux to resign them.The text was updated successfully, but these errors were encountered: