Debian Codegraph @

upstream/debian-trixie/man1/systemd-sbsign.1

raw
1 '\" t
2 .TH "SYSTEMD\-SBSIGN" "1" "" "systemd 257.13" "systemd-sbsign"
3 .\" -----------------------------------------------------------------
4 .\" * Define some portability stuff
5 .\" -----------------------------------------------------------------
6 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 .\" http://bugs.debian.org/507673
8 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
9 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 .ie \n(.g .ds Aq \(aq
11 .el .ds Aq '
12 .\" -----------------------------------------------------------------
13 .\" * set default formatting
14 .\" -----------------------------------------------------------------
15 .\" disable hyphenation
16 .nh
17 .\" disable justification (adjust text to left margin only)
18 .ad l
19 .\" -----------------------------------------------------------------
20 .\" * MAIN CONTENT STARTS HERE *
21 .\" -----------------------------------------------------------------
22 .SH "NAME"
23 systemd-sbsign \- Sign PE binaries for EFI Secure Boot
24 .SH "SYNOPSIS"
25 .HP \w'\fBsystemd\-sbsign\fR\ 'u
26 \fBsystemd\-sbsign\fR [OPTIONS...] {COMMAND}
27 .SH "DESCRIPTION"
28 .PP
29 \fBsystemd\-sbsign\fR
30 can be used to sign PE binaries for EFI Secure Boot\&.
31 .SH "COMMANDS"
32 .PP
33 \fBsign\fR
34 .RS 4
35 Signs the given PE binary for EFI Secure Boot\&. Takes a path to a PE binary as its argument\&. If the PE binary already has a certificate table, the new signature will be added to it\&. Otherwise, a new certificate table will be created\&. The signed PE binary will be written to the path specified with
36 \fB\-\-output=\fR\&.
37 .sp
38 Added in version 257\&.
39 .RE
40 .SH "OPTIONS"
41 .PP
42 The following options are understood:
43 .PP
44 \fB\-\-output=\fR\fB\fIPATH\fR\fR
45 .RS 4
46 Specifies the path where to write the signed PE binary\&.
47 .sp
48 Added in version 257\&.
49 .RE
50 .PP
51 \fB\-\-private\-key=\fR\fB\fIPATH/URI\fR\fR, \fB\-\-private\-key\-source=\fR\fB\fITYPE\fR\fR\fB[:\fR\fB\fINAME\fR\fR\fB]\fR, \fB\-\-certificate=\fR\fB\fIPATH\fR\fR, \fB\-\-certificate\-source=\fR\fB\fITYPE\fR\fR\fB[:\fR\fB\fINAME\fR\fR\fB]\fR
52 .RS 4
53 Set the Secure Boot private key and certificate for use with the
54 \fBsign\fR
55 verb\&. The
56 \fB\-\-certificate=\fR
57 option takes a path to a PEM\-encoded X\&.509 certificate or a URI that\*(Aqs passed to the OpenSSL provider configured with
58 \fB\-\-certificate\-source\fR\&. The
59 \fB\-\-certificate\-source\fR
60 option takes one of
61 "file"
62 or
63 "provider", with the latter being followed by a specific provider identifier, separated with a colon, e\&.g\&.
64 "provider:pkcs11"\&. The
65 \fB\-\-private\-key=\fR
66 option takes a path or a URI that will be passed to the OpenSSL engine or provider, as specified by
67 \fB\-\-private\-key\-source=\fR
68 as a
69 "type:name"
70 tuple, such as
71 "engine:pkcs11"\&. The specified OpenSSL signing engine or provider will be used to sign the PE binary\&.
72 .sp
73 Added in version 257\&.
74 .RE
75 .PP
76 \fB\-h\fR, \fB\-\-help\fR
77 .RS 4
78 Print a short help text and exit\&.
79 .RE
80 .PP
81 \fB\-\-version\fR
82 .RS 4
83 Print a short version string and exit\&.
84 .RE
85 .SH "SEE ALSO"
86 .PP
87 \fBbootctl\fR(1)