Skip to content

Possible to sbctl enroll-keys without the private keys present (in Audit Mode)? #411

Answered by Foxboron
robert-thille-cb asked this question in Q&A
Discussion options

You must be logged in to vote

This workflow is not really well supported in sbctl, but completely possible with Secure Boot.

Fundamentally sbctl assumes the private keys are on the system, and there is no code to ignore this. This can be fixed but not high up on my todo-list personally.

You can sbctl enroll-keys --export auth to export the signed signature lists that needs to be enrolled, but sbctl does not have a convenient way to enroll these files. You could need to look at efi-updatevar from efitools probably.

You can also look at the auto enrollment feature of systemd-boot.

Once the keys are enrolled you can distribute the signed binaries. The client machines does not really need sbctl installed for this to work.…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@robert-thille-cb
Comment options

Answer selected by robert-thille-cb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants