Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
SetupBootkit: sign kernel with production key
Browse files Browse the repository at this point in the history
I accidentally had it signing with limited key.

Signed-off-by: Serge Hallyn <[email protected]>
  • Loading branch information
hallyn committed Sep 1, 2023
1 parent 56bf07d commit 85ef2a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/trust/artifacts.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ func SetupBootkit(keysetName, bootkitVersion string) error {
return errors.Wrapf(err, "Failed replacing manifest certificate")
}
cmd := []string{"sbsign",
"--key", filepath.Join(keysetPath, "uki-limited", "privkey.pem"),
"--cert", filepath.Join(keysetPath, "uki-limited", "cert.pem"),
"--key", filepath.Join(keysetPath, "uki-production", "privkey.pem"),
"--cert", filepath.Join(keysetPath, "uki-production", "cert.pem"),
"--output", filepath.Join(destDir, "kernel.efi"),
newKernel}
err = RunCommand(cmd...)
Expand Down

0 comments on commit 85ef2a6

Please sign in to comment.