forked from systemd/systemd
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When doing offline signing we need to know the exact payload to sign, and the 'calculate' verb doesn't really show that, it shows the PCR values. But what we sign is the hash of the policy. So add a new verb that outputs the json payload that goes in the .pcrsig section, without the .sig object, so that we can take them and give the .pol object to an offline and asynchronous signing service, such as SUSE's Open Build Service, and then add the .sig object to the json and attach it to a UKI.
- Loading branch information
Showing
3 changed files
with
69 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters