]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/ukify/ukify.py
ukify: support pesign as alternative to sbsign
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>
Thu, 4 May 2023 15:48:47 +0000 (11:48 -0400)
committerEmanuele Giuseppe Esposito <eesposit@redhat.com>
Wed, 10 May 2023 13:18:27 +0000 (09:18 -0400)
commitc1e8d1727b64cc38821140312c7c3348300d81a0
treed450622294663899ef76cf464275ba8137f81236
parente673c5c2d904d821719b2d21746ef91482acf8b4
ukify: support pesign as alternative to sbsign

sbsign is not available everywhere, for example RHEL does not have it.
Add pesign as alternative to it.

pesign will use options "--secureboot-certificate-name" (mandatory) and
"--secureboot-certificate-dir" (optional), while sbsign will use
"--secureboot-private-key" and "--secureboot-certificate".

By default, use sbsign. If no key/cert is provided or sbsign is not found,
try pesign.

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
man/ukify.xml
src/ukify/ukify.py