Debian Codegraph @

templates/man1/ukify.1.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:49+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1
22 #, no-wrap
23 msgid "UKIFY"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux
28 #, no-wrap
29 msgid "systemd 260.2"
30 msgstr ""
31
32 #. type: TH
33 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
34 #: mageia-cauldron opensuse-leap-16-1
35 #, no-wrap
36 msgid "ukify"
37 msgstr ""
38
39 #. -----------------------------------------------------------------
40 #. * MAIN CONTENT STARTS HERE *
41 #. -----------------------------------------------------------------
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1
45 #, no-wrap
46 msgid "NAME"
47 msgstr ""
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1
52 msgid ""
53 "ukify - Combine components into a signed Unified Kernel Image for UEFI "
54 "systems"
55 msgstr ""
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1
60 #, no-wrap
61 msgid "SYNOPSIS"
62 msgstr ""
63
64 #. type: Plain text
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1
67 msgid "B<ukify> [OPTIONS...] build"
68 msgstr ""
69
70 #. type: Plain text
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1
73 msgid "B<ukify> [OPTIONS...] genkey"
74 msgstr ""
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1
79 msgid "B<ukify> [OPTIONS...] inspect FILE..."
80 msgstr ""
81
82 #. type: SH
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1
85 #, no-wrap
86 msgid "DESCRIPTION"
87 msgstr ""
88
89 #. type: Plain text
90 #: archlinux debian-unstable fedora-44 fedora-rawhide
91 msgid ""
92 "B<ukify> is a tool whose primary purpose is to combine components (usually a "
93 "kernel, an initrd, and the B<systemd-stub>(7) UEFI stub) to create a "
94 "\\m[blue]B<UAPI\\&.5 Unified Kernel Image (UKI)>\\m[]\\&\\s-2\\u[1]\\d\\s+2 "
95 "\\(em a single PE binary that boots the system\\&. When the UKI is executed, "
96 "the stub extracts and boots the embedded linux kernel\\&. The UKI can be "
97 "started directly by the firmware or through a boot loader\\&. When used with "
98 "\\m[blue]B<qemu>\\m[]\\&\\s-2\\u[2]\\d\\s+2, a UKI can also be executed "
99 "through \"direct kernel boot\", see example below\\&."
100 msgstr ""
101
102 #. type: Plain text
103 #: archlinux debian-unstable fedora-44 fedora-rawhide
104 msgid ""
105 "B<ukify> can also be used generate other types of UKI-like images, in "
106 "particular extensions\\&. See the description of the B<build> verb "
107 "below\\&. B<ukify> can also generate certificates and keys for SecureBoot "
108 "and PCR signing, see the description of the B<genkey> verb below\\&. "
109 "B<ukify> can also print detailed information about unified kernel images, "
110 "see the description of B<inspect> verb below\\&."
111 msgstr ""
112
113 #. type: SH
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1
116 #, no-wrap
117 msgid "COMMANDS"
118 msgstr ""
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1
123 msgid "The following commands are understood:"
124 msgstr ""
125
126 #. type: SS
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1
129 #, no-wrap
130 msgid "build"
131 msgstr ""
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1
136 msgid ""
137 "This command creates a Unified Kernel Image\\&. The two primary options that "
138 "should be specified for the B<build> verb are I<Linux=>/B<--linux=>, and "
139 "I<Initrd=>/B<--initrd=>\\&. I<Initrd=> accepts multiple whitespace-"
140 "separated paths and B<--initrd=> can be specified multiple times\\&."
141 msgstr ""
142
143 #. type: Plain text
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1
146 msgid ""
147 "Additional sections will be inserted into the UKI, either automatically or "
148 "only if a specific option is provided\\&. See the discussions of "
149 "I<Microcode=>/B<--microcode=>, I<Cmdline=>/B<--cmdline=>, I<OSRelease=>/B<--"
150 "os-release=>, I<DeviceTree=>/B<--devicetree=>, I<DeviceTreeAuto=>/B<--"
151 "devicetree-auto=>, I<HWIDs=>/B<--hwids=>, I<Splash=>/B<--splash=>, "
152 "I<PCRPKey=>/B<--pcrpkey=>, I<Uname=>/B<--uname=>, I<SBAT=>/B<--sbat=>, and "
153 "B<--section=> below\\&."
154 msgstr ""
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1
159 msgid ""
160 "B<ukify> can also be used to assemble a PE binary that is not executable but "
161 "contains auxiliary data, for example additional kernel command line "
162 "entries\\&."
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
167 msgid ""
168 "If PCR signing keys are provided via the I<PCRPrivateKey=>/B<--pcr-private-"
169 "key=> and I<PCRPublicKey=>/B<--pcr-public-key=> or I<PCRCertificate=>/B<--"
170 "pcr-certificate=> options, PCR values that will be seen after booting with "
171 "the given kernel, initrd, and other sections, will be calculated, signed, "
172 "and embedded in the UKI\\&. B<systemd-measure>(1) is used to perform this "
173 "calculation and signing\\&."
174 msgstr ""
175
176 #. type: Plain text
177 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
178 msgid ""
179 "The calculation of PCR values is done for specific boot phase paths\\&. "
180 "Those can be specified with the I<Phases=>/B<--phases=> option\\&. If not "
181 "specified, the default provided by B<systemd-measure> is used\\&. It is also "
182 "possible to specify the I<PCRPrivateKey=>/B<--pcr-private-key=>, "
183 "I<PCRPublicKey=>/B<--pcr-public-key=> or I<PCRCertificate=>/B<--pcr-"
184 "certificate=>, and I<Phases=>/B<--phases=> arguments more than once\\&. "
185 "Signatures will then be performed with each of the specified keys\\&. On the "
186 "command line, when both B<--phases=> and B<--pcr-private-key=> are used, "
187 "they must be specified the same number of times, and then the n-th boot "
188 "phase path set will be signed by the n-th key\\&. This can be used to build "
189 "different trust policies for different phases of the boot\\&. In the config "
190 "file, I<PCRPrivateKey=>, I<PCRPublicKey=>, and I<Phases=> are grouped into "
191 "separate sections, describing separate boot phases\\&. If one of "
192 "I<SigningEngine=>/B<--signing-engine=> or I<SigningProvider=>/B<--signing-"
193 "provider=> is specified, then the private key arguments will be passed "
194 "verbatim to B<openssl>(1) as URIs, and the public key arguments will be "
195 "loaded as X\\&.509 certificates, so that signing can be performed with an "
196 "OpenSSL engine or provider respectively\\&."
197 msgstr ""
198
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1
202 msgid ""
203 "If a SecureBoot signing key is provided via the I<SecureBootPrivateKey=>/B<--"
204 "secureboot-private-key=> option, the resulting PE binary will be signed as a "
205 "whole, allowing the resulting UKI to be trusted by SecureBoot\\&. Also see "
206 "the discussion of automatic enrollment in B<systemd-boot>(7)\\&."
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-unstable fedora-44 fedora-rawhide
211 msgid ""
212 "If the stub and/or the kernel contain \"\\&.sbat\" sections they will be "
213 "merged in the UKI so that revocation updates affecting either are considered "
214 "when the UKI is loaded by Shim\\&. For more information on SBAT see "
215 "\\m[blue]B<Shim documentation>\\m[]\\&\\s-2\\u[3]\\d\\s+2\\&."
216 msgstr ""
217
218 #. type: SS
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1
221 #, no-wrap
222 msgid "genkey"
223 msgstr ""
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1
228 msgid ""
229 "This command creates the keys for PCR signing and the key and certificate "
230 "used for SecureBoot signing\\&. The same configuration options that "
231 "determine what keys and in which paths will be needed for signing when "
232 "B<build> is used, here determine which keys will be created\\&. See the "
233 "discussion of I<PCRPrivateKey=>/B<--pcr-private-key=>, I<PCRPublicKey=>/B<--"
234 "pcr-public-key=>, and I<SecureBootPrivateKey=>/B<--secureboot-private-key=> "
235 "below\\&."
236 msgstr ""
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1
241 msgid "The output files must not exist\\&."
242 msgstr ""
243
244 #. type: SS
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1
247 #, no-wrap
248 msgid "inspect"
249 msgstr ""
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1
254 msgid ""
255 "Display information about the sections in a given binary or binaries\\&. If "
256 "B<--all> is given, all sections are shown\\&. Otherwise, if B<--section=> "
257 "option is specified at least once, only those sections are shown\\&. "
258 "Otherwise, well-known sections that are typically included in an UKI are "
259 "shown\\&. For each section, its name, size, and sha256-digest is printed\\&. "
260 "For text sections, the contents are printed\\&."
261 msgstr ""
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1
266 msgid "Also see the description of B<-j>/B<--json=> and B<--section=>\\&."
267 msgstr ""
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1
272 msgid ""
273 "Other tools that may be useful for inspect UKIs: B<llvm-objdump>(1) B<-p> "
274 "and B<pe-inspect>\\&."
275 msgstr ""
276
277 #. type: SH
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1
280 #, no-wrap
281 msgid "CONFIGURATION SETTINGS"
282 msgstr ""
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1
287 msgid ""
288 "Settings can appear in configuration files (the syntax with "
289 "I<SomeSetting=>I<value>) and on the command line (the syntax with B<--some-"
290 "setting=>I<value>)\\&. For some command line parameters, a single-letter "
291 "shortcut is also allowed\\&. In the configuration files, the setting must be "
292 "in the appropriate section, so the descriptions are grouped by section "
293 "below\\&. When the same setting appears in the configuration file and on the "
294 "command line, generally the command line setting has higher priority and "
295 "overwrites the config file setting completely\\&. If some setting behaves "
296 "differently, this is described below\\&."
297 msgstr ""
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1
302 msgid ""
303 "If no config file is provided via the option B<--config=>I<PATH>, B<ukify> "
304 "will try to look for a default configuration file in the following paths in "
305 "this order: /etc/systemd/ukify\\&.conf, /run/systemd/ukify\\&.conf, /usr/"
306 "local/lib/systemd/ukify\\&.conf, and /usr/lib/systemd/ukify\\&.conf, and "
307 "then load the first one found\\&. B<ukify> will proceed normally if no "
308 "configuration file is specified and no default one is found\\&."
309 msgstr ""
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1
314 msgid ""
315 "The I<LINUX> and I<INITRD> positional arguments, or the equivalent I<Linux=> "
316 "and I<Initrd=> settings, are optional\\&. If more than one initrd is "
317 "specified, they will all be combined into a single PE section\\&. This is "
318 "useful to, for example, prepend microcode before the actual initrd\\&."
319 msgstr ""
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1
324 msgid "The following options and settings are understood:"
325 msgstr ""
326
327 #. type: SS
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1
330 #, no-wrap
331 msgid "Command line-only options"
332 msgstr ""
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1
337 msgid "B<--config=>I<PATH>"
338 msgstr ""
339
340 #. type: Plain text
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1
343 msgid ""
344 "Load configuration from the given config file\\&. In general, settings "
345 "specified in the config file have lower precedence than the settings "
346 "specified via options\\&. In cases where the command line option does not "
347 "fully override the config file setting are explicitly mentioned in the "
348 "descriptions of individual options\\&."
349 msgstr ""
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1
354 msgid "Added in version 254\\&."
355 msgstr ""
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1
360 msgid "B<--measure>, B<--no-measure>"
361 msgstr ""
362
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1
366 msgid ""
367 "Enable or disable a call to B<systemd-measure>(1) to print pre-calculated "
368 "PCR values\\&. Defaults to false\\&."
369 msgstr ""
370
371 #. type: Plain text
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1
374 msgid "Added in version 253\\&."
375 msgstr ""
376
377 #. type: Plain text
378 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
379 msgid "B<--policy-digest>, B<--no-policy-digest>"
380 msgstr ""
381
382 #. type: Plain text
383 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
384 msgid ""
385 "Enable or disable a call to B<systemd-measure>(1) to print pre-calculated "
386 "TPM2 policy digests\\&. Useful for offline signing of PCR policies\\&. "
387 "Defaults to false\\&."
388 msgstr ""
389
390 #. type: Plain text
391 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
392 msgid "Added in version 258\\&."
393 msgstr ""
394
395 #. type: Plain text
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1
398 msgid ""
399 "B<--section=>I<NAME>B<:>I<TEXT>B<|>I<@PATH>, B<--section=>I<NAME>B<:text|"
400 "binary>B<[@>I<PATH>]"
401 msgstr ""
402
403 #. type: Plain text
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1
406 msgid ""
407 "For all verbs except B<inspect>, the first syntax is used\\&. Specify an "
408 "arbitrary additional section \"I<NAME>\"\\&. The argument may be a literal "
409 "string, or \"@\" followed by a path name\\&. This option may be specified "
410 "more than once\\&. Any sections specified in this fashion will be inserted "
411 "(in order) before the \"\\&.linux\" section which is always last\\&."
412 msgstr ""
413
414 #. type: Plain text
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1
417 msgid ""
418 "For the B<inspect> verb, the second syntax is used\\&. The section I<NAME> "
419 "will be inspected (if found)\\&. If the second argument is \"text\", the "
420 "contents will be printed\\&. If the third argument is given, the contents "
421 "will be saved to the file named I<PATH>\\&."
422 msgstr ""
423
424 #. type: Plain text
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1
427 msgid ""
428 "Note that the name is used as-is, and if the section name should start with "
429 "a dot, it must be included in I<NAME>\\&."
430 msgstr ""
431
432 #. type: Plain text
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1
435 msgid "B<--join-profile=>I<PATH>"
436 msgstr ""
437
438 #. type: Plain text
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1
441 msgid ""
442 "Takes a path to an existing PE file containing an additional profile to add "
443 "to the unified kernel image\\&. The profile can be generated beforehand with "
444 "B<ukify>\\&. The profile does not need to be signed or contain PCR "
445 "measurements\\&. All UKI PE sections of the specified PE file are copied "
446 "into the generated UKI\\&. This is useful for generating multi-profile "
447 "UKIs\\&. Note that this only copies PE sections that are defined by the UKI "
448 "specification, and ignores any other, for example \"\\&.text\" or similar\\&."
449 msgstr ""
450
451 #. type: Plain text
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1
454 msgid "Added in version 257\\&."
455 msgstr ""
456
457 #. type: Plain text
458 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
459 msgid "B<--sign-profile=>I<ID>"
460 msgstr ""
461
462 #. type: Plain text
463 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
464 msgid ""
465 "Takes a profile ID for which signed PCR measurements should be generated by "
466 "ukify\\&. This option can be used together with B<--join-profile=> when "
467 "building the final unified kernel image\\&. If not specified, signed PCR "
468 "measurements will be added for all profiles\\&."
469 msgstr ""
470
471 #. type: Plain text
472 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
473 msgid "B<--join-pcrsig=>I<PATH>, B<--pcrsig=>I<TEXT>B<|>I<@PATH>"
474 msgstr ""
475
476 #. type: Plain text
477 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
478 msgid ""
479 "B<--join-pcrsig=> takes a path to an existing PE file containing a "
480 "previously built UKI\\&. B<--pcrsig=> takes a path to an existing pcrsig "
481 "JSON blob, or a verbatim inline blob\\&. They must be used together, and "
482 "without specifying any other UKI section parameters\\&. B<ukify> will "
483 "attach the pcrsig JSON blob to the UKI\\&. This is useful in combination "
484 "with B<--policy-digest> to create a UKI and then sign the TPM2 policy "
485 "digests offline\\&."
486 msgstr ""
487
488 #. type: Plain text
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1
491 msgid "B<--tools=>I<DIRS>"
492 msgstr ""
493
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1
497 msgid ""
498 "Specify one or more directories with helper tools\\&. B<ukify> will look "
499 "for helper tools in those directories first, and if not found, try to load "
500 "them from I<$PATH> in the usual fashion\\&."
501 msgstr ""
502
503 #. type: Plain text
504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
505 #: mageia-cauldron opensuse-leap-16-1
506 msgid "B<--output=>I<FILENAME>"
507 msgstr ""
508
509 #. type: Plain text
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: mageia-cauldron opensuse-leap-16-1
512 msgid ""
513 "The output filename\\&. If not specified, the name of the I<LINUX> argument, "
514 "with the suffix \"\\&.unsigned\\&.efi\" or \"\\&.signed\\&.efi\" will be "
515 "used, depending on whether signing for SecureBoot was performed\\&."
516 msgstr ""
517
518 #. type: Plain text
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1
521 msgid "B<--summary>"
522 msgstr ""
523
524 #. type: Plain text
525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
526 #: mageia-cauldron opensuse-leap-16-1
527 msgid ""
528 "Print a summary of loaded config and exit\\&. This is useful to check how "
529 "the options from the configuration file and the command line are combined\\&."
530 msgstr ""
531
532 #. type: Plain text
533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
534 #: mageia-cauldron opensuse-leap-16-1
535 msgid "B<--all>"
536 msgstr ""
537
538 #. type: Plain text
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1
541 msgid "Print all sections (with B<inspect> verb)\\&."
542 msgstr ""
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1
547 msgid "Added in version 255\\&."
548 msgstr ""
549
550 #. type: Plain text
551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
552 #: mageia-cauldron opensuse-leap-16-1
553 msgid "B<--json>"
554 msgstr ""
555
556 #. type: Plain text
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1
559 msgid "Generate JSON output (with B<inspect> verb)\\&."
560 msgstr ""
561
562 #. type: Plain text
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1
565 msgid "B<-h>, B<--help>"
566 msgstr ""
567
568 #. type: Plain text
569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
570 #: mageia-cauldron opensuse-leap-16-1
571 msgid "Print a short help text and exit\\&."
572 msgstr ""
573
574 #. type: Plain text
575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
576 #: mageia-cauldron opensuse-leap-16-1
577 msgid "B<--version>"
578 msgstr ""
579
580 #. type: Plain text
581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
582 #: mageia-cauldron opensuse-leap-16-1
583 msgid "Print a short version string and exit\\&."
584 msgstr ""
585
586 #. type: SS
587 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
588 #: mageia-cauldron opensuse-leap-16-1
589 #, no-wrap
590 msgid "[UKI] section"
591 msgstr ""
592
593 #. type: Plain text
594 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
595 #: mageia-cauldron opensuse-leap-16-1
596 msgid "I<Linux=>I<LINUX>, B<--linux=>I<LINUX>"
597 msgstr ""
598
599 #. type: Plain text
600 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
601 #: mageia-cauldron opensuse-leap-16-1
602 msgid "A path to the kernel binary\\&."
603 msgstr ""
604
605 #. type: Plain text
606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
607 #: mageia-cauldron opensuse-leap-16-1
608 msgid "I<OSRelease=>I<TEXT>I<|>I<@PATH>, B<--os-release=>I<TEXT>B<|>I<@PATH>"
609 msgstr ""
610
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1
614 msgid ""
615 "The os-release description (the \"\\&.osrel\" section)\\&. The argument may "
616 "be a literal string, or \"@\" followed by a path name\\&. If not specified, "
617 "the B<os-release>(5) file will be picked up from the host system\\&. If "
618 "explicitly set to an empty string, the \"\\&.osrel\" section is omitted from "
619 "the UKI (this is not recommended in most cases, and causes the resulting "
620 "artifact to not be recognized as a UKI by other tools like B<kernel-install> "
621 "and B<bootctl>)\\&."
622 msgstr ""
623
624 #. type: Plain text
625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
626 #: mageia-cauldron opensuse-leap-16-1
627 msgid "I<Cmdline=>I<TEXT>I<|>I<@PATH>, B<--cmdline=>I<TEXT>B<|>I<@PATH>"
628 msgstr ""
629
630 #. type: Plain text
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1
633 msgid ""
634 "The kernel command line (the \"\\&.cmdline\" section)\\&. The argument may "
635 "be a literal string, or \"@\" followed by a path name\\&. If not specified, "
636 "no command line will be embedded\\&."
637 msgstr ""
638
639 #. type: Plain text
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1
642 msgid "I<Initrd=>I<INITRD>I<\\&.\\&.\\&.>, B<--initrd=>I<LINUX>"
643 msgstr ""
644
645 #. type: Plain text
646 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
647 #: mageia-cauldron opensuse-leap-16-1
648 msgid ""
649 "Zero or more initrd paths\\&. In the configuration file, items are separated "
650 "by whitespace\\&. The initrds are combined in the order of specification, "
651 "with the initrds specified in the config file first\\&."
652 msgstr ""
653
654 #. type: Plain text
655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
656 #: mageia-cauldron opensuse-leap-16-1
657 msgid "I<Microcode=>I<UCODE>, B<--microcode=>I<UCODE>"
658 msgstr ""
659
660 #. type: Plain text
661 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
662 #: mageia-cauldron opensuse-leap-16-1
663 msgid ""
664 "Path to initrd containing microcode updates\\&. If not specified, the "
665 "section will not be present\\&."
666 msgstr ""
667
668 #. type: Plain text
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1
671 msgid "Added in version 256\\&."
672 msgstr ""
673
674 #. type: Plain text
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: mageia-cauldron opensuse-leap-16-1
677 msgid "I<Splash=>I<PATH>, B<--splash=>I<PATH>"
678 msgstr ""
679
680 #. type: Plain text
681 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
682 #: mageia-cauldron opensuse-leap-16-1
683 msgid ""
684 "A picture to display during boot (the \"\\&.splash\" section)\\&. The "
685 "argument is a path to a BMP file\\&. If not specified, the section will not "
686 "be present\\&."
687 msgstr ""
688
689 #. type: Plain text
690 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
691 #: mageia-cauldron opensuse-leap-16-1
692 msgid "I<DeviceTree=>I<PATH>, B<--devicetree=>I<PATH>"
693 msgstr ""
694
695 #. type: Plain text
696 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
697 #: mageia-cauldron opensuse-leap-16-1
698 msgid ""
699 "The devicetree description (the \"\\&.dtb\" section)\\&. The argument is a "
700 "path to a compiled binary DeviceTree file\\&. If not specified, the section "
701 "will not be present\\&."
702 msgstr ""
703
704 #. type: Plain text
705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
706 #: mageia-cauldron opensuse-leap-16-1
707 msgid "I<DeviceTreeAuto=>I<PATH>I<\\&.\\&.\\&.>, B<--devicetree-auto=>I<PATH>"
708 msgstr ""
709
710 #. type: Plain text
711 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
712 #: mageia-cauldron opensuse-leap-16-1
713 msgid ""
714 "Zero or more automatically selectable DeviceTree files\\&. In the "
715 "configuration file, items are separated by whitespace\\&. Each DeviceTree "
716 "will be in a separate \"\\&.dtbauto\" section\\&."
717 msgstr ""
718
719 #. type: Plain text
720 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
721 #: mageia-cauldron opensuse-leap-16-1
722 msgid "I<HWIDs=>I<PATH>, B<--hwids=>I<PATH>"
723 msgstr ""
724
725 #. type: Plain text
726 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
727 #: mageia-cauldron opensuse-leap-16-1
728 msgid ""
729 "The hardware ID device table (the \"\\&.hwids\" section)\\&. The argument is "
730 "a path to a directory with JSON HWID device description files\\&. Each file "
731 "needs to contain a single JSON object with a \"name\", \"compatible\" and "
732 "\"hwids\" keys\\&. The \"name\" and \"compatible\" keys must have string "
733 "values and the \"hwids\" key must have a list of strings as value, where the "
734 "strings must be valid UUIDs that represent CHIDs/HWIDs\\&. Example:"
735 msgstr ""
736
737 #. type: Plain text
738 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
739 #, no-wrap
740 msgid ""
741 "{\n"
742 " \"type\": \"devicetree\",\n"
743 " \"name\": \"Example Laptop 16 Gen 7\",\n"
744 " \"compatible\": \"example,laptop-16-g7\",\n"
745 " \"hwids\": [\n"
746 " \"5dc05bf4-01f6-4089-b464-a08c47ea9295\",\n"
747 " \"3e3f8f3c-2003-46f2-811c-85554f7d5952\"\n"
748 " ]\n"
749 "}\n"
750 msgstr ""
751
752 #. type: Plain text
753 #: archlinux debian-unstable fedora-rawhide
754 msgid ""
755 "Here \"Example Laptop 16 Gen 7\" is the device \"name\" (as defined by the "
756 "manufacturer), \"example,laptop-16-g7\" is the \"compatible\" (as defined by "
757 "the kernel) and \"hwids\" is an array of CHIDs/HWIDs (extracted i\\&.e\\&. "
758 "from B<fwupdtool hwids> output)\\&. If not specified, and the \"/usr/lib/"
759 "systemd/boot/hwids/[EFI_ARCH]/\" directory exists, then the section will be "
760 "automatically populated from that directory (specify an empty string as the "
761 "parameter for this option to disable this behavior), otherwise it will not "
762 "be present\\&. It is recommended to specify this parameter if automatically "
763 "selectable DeviceTrees are to be used\\&."
764 msgstr ""
765
766 #. type: Plain text
767 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
768 #: mageia-cauldron opensuse-leap-16-1
769 msgid "I<Uname=>I<VERSION>, B<--uname=>I<VERSION>"
770 msgstr ""
771
772 #. type: Plain text
773 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
774 #: mageia-cauldron opensuse-leap-16-1
775 msgid ""
776 "Specify the kernel version (as in B<uname -r>, the \"\\&.uname\" section)"
777 "\\&. If not specified, an attempt will be made to extract the version string "
778 "from the kernel image\\&. It is recommended to pass this explicitly if "
779 "known, because the extraction is based on heuristics and not very "
780 "reliable\\&. If not specified and extraction fails, the section will not be "
781 "present\\&."
782 msgstr ""
783
784 #. type: Plain text
785 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
786 #: mageia-cauldron opensuse-leap-16-1
787 msgid "I<SBAT=>I<TEXT>I<|>I<@PATH>, B<--sbat=>I<TEXT>B<|>I<@PATH>"
788 msgstr ""
789
790 #. type: Plain text
791 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
792 #: mageia-cauldron opensuse-leap-16-1
793 msgid ""
794 "SBAT metadata associated with the UKI or addon\\&. SBAT policies are useful "
795 "to revoke whole groups of UKIs or addons with a single, static policy update "
796 "that does not take space in DBX/MOKX\\&. If not specified manually, a "
797 "default metadata entry consisting of"
798 msgstr ""
799
800 #. type: Plain text
801 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
802 #: mageia-cauldron opensuse-leap-16-1
803 #, no-wrap
804 msgid "uki,1,UKI,uki,1,https://uapi-group\\&.org/specifications/specs/unified_kernel_image/\n"
805 msgstr ""
806
807 #. type: Plain text
808 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
809 #: mageia-cauldron opensuse-leap-16-1
810 msgid "for UKIs and"
811 msgstr ""
812
813 #. type: Plain text
814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
815 #: mageia-cauldron opensuse-leap-16-1
816 #, no-wrap
817 msgid "uki-addon,1,UKI Addon,addon,1,https://www\\&.freedesktop\\&.org/software/systemd/man/latest/systemd-stub\\&.html\n"
818 msgstr ""
819
820 #. type: Plain text
821 #: archlinux debian-unstable fedora-44 fedora-rawhide
822 msgid ""
823 "for addons will be used, to ensure it is always possible to revoke them\\&. "
824 "For more information on SBAT see \\m[blue]B<Shim documentation>\\m[]"
825 "\\&\\s-2\\u[3]\\d\\s+2\\&."
826 msgstr ""
827
828 #. type: Plain text
829 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
830 #: mageia-cauldron opensuse-leap-16-1
831 msgid "I<PCRPKey=>I<PATH>, B<--pcrpkey=>I<PATH>"
832 msgstr ""
833
834 #. type: Plain text
835 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
836 msgid ""
837 "A path to a public key to embed in the \"\\&.pcrpkey\" section\\&. If not "
838 "specified, and there\\*(Aqs exactly one I<PCRPublicKey=>/B<--pcr-public-"
839 "key=> or I<PCRCertificate=>/B<--pcr-certificate=> argument, that key will be "
840 "used\\&. Otherwise, the section will not be present\\&."
841 msgstr ""
842
843 #. type: Plain text
844 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
845 #: mageia-cauldron opensuse-leap-16-1
846 msgid "I<Profile=>I<PATH>, B<--profile=>I<PATH>"
847 msgstr ""
848
849 #. type: Plain text
850 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
851 #: mageia-cauldron opensuse-leap-16-1
852 msgid ""
853 "A path to a UKI profile to place in an \"\\&.profile\" section\\&. This "
854 "option is useful for creating multi-profile UKIs, and is typically used in "
855 "combination with B<--join-profile=>, to extend the specified UKI with an "
856 "additional profile\\&."
857 msgstr ""
858
859 #. type: Plain text
860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
861 #: mageia-cauldron opensuse-leap-16-1
862 msgid "I<PCRBanks=>I<PATH>, B<--pcr-banks=>I<PATH>"
863 msgstr ""
864
865 #. type: Plain text
866 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
867 #: mageia-cauldron opensuse-leap-16-1
868 msgid ""
869 "A comma or space-separated list of PCR banks to sign a policy for\\&. If not "
870 "present, all known banks will be used (\"sha1\", \"sha256\", \"sha384\", "
871 "\"sha512\"), which will fail if not supported by the system\\&."
872 msgstr ""
873
874 #. type: Plain text
875 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
876 #: mageia-cauldron opensuse-leap-16-1
877 msgid "I<SecureBootSigningTool=>I<SIGNER>, B<--signtool=>I<SIGNER>"
878 msgstr ""
879
880 #. type: Plain text
881 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
882 #: mageia-cauldron opensuse-leap-16-1
883 msgid ""
884 "Whether to use \"sbsign\", \"pesign\", or \"systemd-sbsign\"\\&. Depending "
885 "on this choice, different parameters are required in order to sign an "
886 "image\\&. Defaults to \"sbsign\"\\&."
887 msgstr ""
888
889 #. type: Plain text
890 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
891 #: mageia-cauldron opensuse-leap-16-1
892 msgid ""
893 "I<SecureBootPrivateKey=>I<SB_KEY>, B<--secureboot-private-key=>I<SB_KEY>"
894 msgstr ""
895
896 #. type: Plain text
897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
898 #: mageia-cauldron opensuse-leap-16-1
899 msgid ""
900 "A path to a private key to use for signing of the resulting binary\\&. If "
901 "the I<SigningEngine=>/B<--signing-engine=> or I<SigningProvider=>/B<--"
902 "signing-provider=> option is used, this may also be an engine or provider "
903 "specific designation\\&. This option is required by "
904 "I<SecureBootSigningTool=sbsign>/B<--signtool=sbsign> and "
905 "I<SecureBootSigningTool=systemd-sbsign>/B<--signtool=systemd-sbsign>\\&."
906 msgstr ""
907
908 #. type: Plain text
909 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
910 #: mageia-cauldron opensuse-leap-16-1
911 msgid ""
912 "I<SecureBootCertificate=>I<SB_CERT>, B<--secureboot-certificate=>I<SB_CERT>"
913 msgstr ""
914
915 #. type: Plain text
916 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
917 #: mageia-cauldron opensuse-leap-16-1
918 msgid ""
919 "A path to a certificate to use for signing of the resulting binary\\&. If "
920 "the I<SigningEngine=>/B<--signing-engine=> or I<SigningProvider=>/B<--"
921 "signing-provider=> option is used, this may also be an engine or provider "
922 "specific designation\\&. This option is required by "
923 "I<SecureBootSigningTool=sbsign>/B<--signtool=sbsign> and "
924 "I<SecureBootSigningTool=systemd-sbsign>/B<--signtool=systemd-sbsign>\\&."
925 msgstr ""
926
927 #. type: Plain text
928 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
929 #: mageia-cauldron opensuse-leap-16-1
930 msgid ""
931 "I<SecureBootCertificateDir=>I<SB_PATH>, B<--secureboot-certificate-"
932 "dir=>I<SB_PATH>"
933 msgstr ""
934
935 #. type: Plain text
936 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
937 #: mageia-cauldron opensuse-leap-16-1
938 msgid ""
939 "A path to a nss certificate database directory to use for signing of the "
940 "resulting binary\\&. Takes effect when I<SecureBootSigningTool=pesign>/B<--"
941 "signtool=pesign> is used\\&. Defaults to /etc/pki/pesign\\&."
942 msgstr ""
943
944 #. type: Plain text
945 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
946 #: mageia-cauldron opensuse-leap-16-1
947 msgid ""
948 "I<SecureBootCertificateName=>I<SB_CERTNAME>, B<--secureboot-certificate-"
949 "name=>I<SB_CERTNAME>"
950 msgstr ""
951
952 #. type: Plain text
953 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
954 #: mageia-cauldron opensuse-leap-16-1
955 msgid ""
956 "The name of the nss certificate database entry to use for signing of the "
957 "resulting binary\\&. This option is required by "
958 "I<SecureBootSigningTool=pesign>/B<--signtool=pesign>\\&."
959 msgstr ""
960
961 #. type: Plain text
962 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
963 #: mageia-cauldron opensuse-leap-16-1
964 msgid ""
965 "I<SecureBootCertificateValidity=>I<DAYS>, B<--secureboot-certificate-"
966 "validity=>I<DAYS>"
967 msgstr ""
968
969 #. type: Plain text
970 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
971 #: mageia-cauldron opensuse-leap-16-1
972 msgid ""
973 "Period of validity (in days) for a certificate created by B<genkey>\\&. "
974 "Defaults to 3650, i\\&.e\\&. 10 years\\&."
975 msgstr ""
976
977 #. type: Plain text
978 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
979 #: mageia-cauldron opensuse-leap-16-1
980 msgid "I<SigningEngine=>I<ENGINE>, B<--signing-engine=>I<ENGINE>"
981 msgstr ""
982
983 #. type: Plain text
984 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
985 #: mageia-cauldron opensuse-leap-16-1
986 msgid ""
987 "An OpenSSL engine to be used for signing the resulting binary and PCR "
988 "measurements, see B<openssl-engine>(1)\\&."
989 msgstr ""
990
991 #. type: Plain text
992 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
993 #: mageia-cauldron opensuse-leap-16-1
994 msgid "I<SigningProvider=>I<PROVIDER>, B<--signing-provider=>I<PROVIDER>"
995 msgstr ""
996
997 #. type: Plain text
998 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
999 #: mageia-cauldron opensuse-leap-16-1
1000 msgid ""
1001 "An OpenSSL provider to be used for signing the resulting binary and PCR "
1002 "measurements, see B<provider>(7)\\&. This option can only be used when "
1003 "B<systemd-sbsign> is used as the signing tool\\&."
1004 msgstr ""
1005
1006 #. type: Plain text
1007 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1008 #: mageia-cauldron opensuse-leap-16-1
1009 msgid ""
1010 "I<CertificateProvider=>I<PROVIDER>, B<--certificate-provider=>I<PROVIDER>"
1011 msgstr ""
1012
1013 #. type: Plain text
1014 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1015 #: mageia-cauldron opensuse-leap-16-1
1016 msgid ""
1017 "An OpenSSL provider to be used for loading the certificate used to sign the "
1018 "resulting binary and PCR measurements, see B<provider>(7)\\&. This option "
1019 "can only be used when B<systemd-sbsign> is used as the signing tool\\&."
1020 msgstr ""
1021
1022 #. type: Plain text
1023 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1024 #: mageia-cauldron opensuse-leap-16-1
1025 msgid "I<SignKernel=>I<BOOL>, B<--sign-kernel>, B<--no-sign-kernel>"
1026 msgstr ""
1027
1028 #. type: Plain text
1029 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1030 #: mageia-cauldron opensuse-leap-16-1
1031 msgid ""
1032 "Override the detection of whether to sign the Linux binary itself before it "
1033 "is embedded in the combined image\\&. If not specified, it will be signed if "
1034 "a SecureBoot signing key is provided via the I<SecureBootPrivateKey=>/B<--"
1035 "secureboot-private-key=> option and the binary has not already been "
1036 "signed\\&. If I<SignKernel=>/B<--sign-kernel> is true, and the binary has "
1037 "already been signed, the signature will be appended anyway\\&."
1038 msgstr ""
1039
1040 #. type: SS
1041 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1042 #: mageia-cauldron opensuse-leap-16-1
1043 #, no-wrap
1044 msgid "[PCRSignature:I<NAME>R<] section>"
1045 msgstr ""
1046
1047 #. type: Plain text
1048 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1049 #: mageia-cauldron opensuse-leap-16-1
1050 msgid ""
1051 "In the config file, those options are grouped by section\\&. On the command "
1052 "line, they must be specified in the same order\\&. The sections specified in "
1053 "both sources are combined\\&."
1054 msgstr ""
1055
1056 #. type: Plain text
1057 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1058 #: mageia-cauldron opensuse-leap-16-1
1059 msgid "I<PCRPrivateKey=>I<PATH>, B<--pcr-private-key=>I<PATH>"
1060 msgstr ""
1061
1062 #. type: Plain text
1063 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1064 #: mageia-cauldron opensuse-leap-16-1
1065 msgid ""
1066 "A private key to use for signing PCR policies\\&. On the command line, this "
1067 "option may be specified more than once, in which case multiple signatures "
1068 "will be made\\&."
1069 msgstr ""
1070
1071 #. type: Plain text
1072 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1073 #: mageia-cauldron opensuse-leap-16-1
1074 msgid "I<PCRPublicKey=>I<PATH>, B<--pcr-public-key=>I<PATH>"
1075 msgstr ""
1076
1077 #. type: Plain text
1078 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1079 #: mageia-cauldron opensuse-leap-16-1
1080 msgid "A public key to use for signing PCR policies\\&."
1081 msgstr ""
1082
1083 #. type: Plain text
1084 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1085 msgid ""
1086 "On the command line, this option may be specified more than once, similarly "
1087 "to the B<--pcr-private-key=> option\\&. If not present, the public keys will "
1088 "be extracted from the private keys\\&. On the command line, if present, this "
1089 "option must be specified the same number of times as the B<--pcr-private-"
1090 "key=> option\\&. Cannot be specified if B<--pcr-certificate=> is used\\&."
1091 msgstr ""
1092
1093 #. type: Plain text
1094 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1095 msgid "I<PCRCertificate=>I<PATH>, B<--pcr-certificate=>I<PATH>"
1096 msgstr ""
1097
1098 #. type: Plain text
1099 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1100 msgid "An X\\&.509 certificate to use for signing PCR policies\\&."
1101 msgstr ""
1102
1103 #. type: Plain text
1104 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1105 msgid ""
1106 "On the command line, this option may be specified more than once, similarly "
1107 "to the B<--pcr-private-key=> option\\&. If not present, the public keys will "
1108 "be extracted from the private keys\\&. On the command line, if present, this "
1109 "option must be specified the same number of times as the B<--pcr-private-"
1110 "key=> option\\&. Cannot be specified if B<--pcr-public-key=> is used\\&."
1111 msgstr ""
1112
1113 #. type: Plain text
1114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1115 #: mageia-cauldron opensuse-leap-16-1
1116 msgid "I<Phases=>I<LIST>, B<--phases=>I<LIST>"
1117 msgstr ""
1118
1119 #. type: Plain text
1120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1121 #: mageia-cauldron opensuse-leap-16-1
1122 msgid ""
1123 "A comma or space-separated list of colon-separated phase paths to sign a "
1124 "policy for\\&. Each set of boot phase paths will be signed with the "
1125 "corresponding private key\\&. If not present, the default of B<systemd-"
1126 "measure>(1) will be used\\&."
1127 msgstr ""
1128
1129 #. type: Plain text
1130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1131 #: mageia-cauldron opensuse-leap-16-1
1132 msgid ""
1133 "On the command line, when this argument is present, it must appear the same "
1134 "number of times as the B<--pcr-private-key=> option\\&."
1135 msgstr ""
1136
1137 #. type: SH
1138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1139 #: mageia-cauldron opensuse-leap-16-1
1140 #, no-wrap
1141 msgid "EXAMPLES"
1142 msgstr ""
1143
1144 #. type: Plain text
1145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1146 #: mageia-cauldron opensuse-leap-16-1
1147 msgid "B<Example\\ \\&1.\\ \\&Minimal invocation>"
1148 msgstr ""
1149
1150 #. type: Plain text
1151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1152 #: mageia-cauldron opensuse-leap-16-1
1153 #, no-wrap
1154 msgid ""
1155 "$ ukify build \\e\n"
1156 " --linux=/lib/modules/6\\&.0\\&.9-300\\&.fc37\\&.x86_64/vmlinuz \\e\n"
1157 " --initrd=/some/path/initramfs-6\\&.0\\&.9-300\\&.fc37\\&.x86_64\\&.img \\e\n"
1158 " --cmdline=\\*(Aqquiet rw\\*(Aq\n"
1159 msgstr ""
1160
1161 #. type: Plain text
1162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1163 #: mageia-cauldron opensuse-leap-16-1
1164 msgid "This creates an unsigned UKI \\&./vmlinuz\\&.unsigned\\&.efi\\&."
1165 msgstr ""
1166
1167 #. type: Plain text
1168 #: archlinux debian-unstable fedora-44 fedora-rawhide
1169 msgid "B<Example\\ \\&2.\\ \\&Direct kernel boot in a virtual machine>"
1170 msgstr ""
1171
1172 #. type: Plain text
1173 #: archlinux debian-unstable fedora-44 fedora-rawhide
1174 msgid ""
1175 "When using \\m[blue]B<qemu>\\m[]\\&\\s-2\\u[2]\\d\\s+2 with "
1176 "\\m[blue]B<OVMF>\\m[]\\&\\s-2\\u[4]\\d\\s+2 (UEFI Firmware for virtual "
1177 "machines) the B<-kernel> switch can be used directly with a UKI\\&. Example:"
1178 msgstr ""
1179
1180 #. type: Plain text
1181 #: archlinux debian-unstable fedora-44 fedora-rawhide
1182 msgid ""
1183 "B<qemu-kvm -drive if=pflash,format=qcow2,readonly=on,file=/usr/share/edk2/"
1184 "ovmf/OVMF_CODE_4M\\&.qcow2 -kernel >B<\\&./vmlinuz\\&.unsigned\\&.efi>B< "
1185 ">I<[ \\&.\\&.\\&. ]>B< >"
1186 msgstr ""
1187
1188 #. type: Plain text
1189 #: archlinux debian-unstable fedora-44 fedora-rawhide
1190 msgid ""
1191 "(The path to the firmware file might need to be adjusted depending on the "
1192 "distribution\\&.) Usually, another B<-drive> argument would to be used to "
1193 "attach an actual disk image, but this is not required\\&."
1194 msgstr ""
1195
1196 #. type: Plain text
1197 #: archlinux debian-unstable fedora-44 fedora-rawhide
1198 msgid "B<Example\\ \\&3.\\ \\&All the bells and whistles>"
1199 msgstr ""
1200
1201 #. type: Plain text
1202 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1203 #, no-wrap
1204 msgid ""
1205 "$ ukify build \\e\n"
1206 " --linux=/lib/modules/6\\&.0\\&.9-300\\&.fc37\\&.x86_64/vmlinuz \\e\n"
1207 " --initrd=early_cpio \\e\n"
1208 " --initrd=/some/path/initramfs-6\\&.0\\&.9-300\\&.fc37\\&.x86_64\\&.img \\e\n"
1209 " --sbat=\\*(Aqsbat,1,SBAT Version,sbat,1,https://github\\&.com/rhboot/shim/blob/main/SBAT\\&.md\n"
1210 " uki\\&.author\\&.myimage,1,UKI for System,uki\\&.author\\&.myimage,1,https://uapi-group\\&.org/specifications/specs/unified_kernel_image/\\*(Aq \\e\n"
1211 " --pcr-private-key=tpm2-pcr-initrd-private-key\\&.pem \\e\n"
1212 " --pcr-public-key=tpm2-pcr-initrd-public-key\\&.pem \\e\n"
1213 " --phases=\\*(Aqenter-initrd\\*(Aq \\e\n"
1214 " --pcr-private-key=tpm2-pcr-private-key-system\\&.pem \\e\n"
1215 " --pcr-public-key=tpm2-pcr-public-key-system\\&.pem \\e\n"
1216 " --phases=\\*(Aqenter-initrd:leave-initrd enter-initrd:leave-initrd:sysinit \\e\n"
1217 " enter-initrd:leave-initrd:sysinit:ready\\*(Aq \\e\n"
1218 " --pcr-banks=sha384,sha512 \\e\n"
1219 " --secureboot-private-key=secureboot-private-key\\&.pem \\e\n"
1220 " --secureboot-certificate=secureboot-certificate\\&.pem \\e\n"
1221 " --sign-kernel \\e\n"
1222 " --cmdline=\\*(Aqquiet rw rhgb\\*(Aq\n"
1223 msgstr ""
1224
1225 #. type: Plain text
1226 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1227 msgid ""
1228 "This creates a signed UKI \\&./vmlinuz\\&.signed\\&.efi\\&. The initrd "
1229 "section contains two concatenated parts, early_cpio and "
1230 "initramfs-6\\&.0\\&.9-300\\&.fc37\\&.x86_64\\&.img\\&. The policy embedded "
1231 "in the \"\\&.pcrsig\" section will be signed for the initrd (the B<enter-"
1232 "initrd> phase) with the key tpm2-pcr-initrd-private-key\\&.pem, and for the "
1233 "main system (phases B<leave-initrd>, B<sysinit>, B<ready>) with the key tpm2-"
1234 "pcr-private-key-system\\&.pem\\&. The Linux binary and the resulting "
1235 "combined image will be signed with the SecureBoot key secureboot-private-"
1236 "key\\&.pem\\&."
1237 msgstr ""
1238
1239 #. type: Plain text
1240 #: archlinux debian-unstable fedora-44 fedora-rawhide
1241 msgid "B<Example\\ \\&4.\\ \\&All the bells and whistles, via a config file>"
1242 msgstr ""
1243
1244 #. type: Plain text
1245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1246 #: mageia-cauldron opensuse-leap-16-1
1247 msgid ""
1248 "This is the same as the previous example, but this time the configuration is "
1249 "stored in a file:"
1250 msgstr ""
1251
1252 #. type: Plain text
1253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1254 #: mageia-cauldron opensuse-leap-16-1
1255 #, no-wrap
1256 msgid ""
1257 "$ cat ukify\\&.conf\n"
1258 "[UKI]\n"
1259 "Initrd=early_cpio\n"
1260 "Cmdline=quiet rw rhgb\n"
1261 msgstr ""
1262
1263 #. type: Plain text
1264 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1265 #, no-wrap
1266 msgid ""
1267 "SecureBootPrivateKey=secureboot-private-key\\&.pem\n"
1268 "SecureBootCertificate=secureboot-certificate\\&.pem\n"
1269 "SignKernel=yes\n"
1270 "PCRBanks=sha384,sha512\n"
1271 msgstr ""
1272
1273 #. type: Plain text
1274 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1275 #, no-wrap
1276 msgid ""
1277 "[PCRSignature:initrd]\n"
1278 "PCRPrivateKey=tpm2-pcr-initrd-private-key\\&.pem\n"
1279 "PCRPublicKey=tpm2-pcr-initrd-public-key\\&.pem\n"
1280 "Phases=enter-initrd\n"
1281 msgstr ""
1282
1283 #. type: Plain text
1284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1285 #: mageia-cauldron opensuse-leap-16-1
1286 #, no-wrap
1287 msgid ""
1288 "[PCRSignature:system]\n"
1289 "PCRPrivateKey=tpm2-pcr-private-key-system\\&.pem\n"
1290 "PCRPublicKey=tpm2-pcr-public-key-system\\&.pem\n"
1291 "Phases=enter-initrd:leave-initrd\n"
1292 " enter-initrd:leave-initrd:sysinit\n"
1293 " enter-initrd:leave-initrd:sysinit:ready\n"
1294 msgstr ""
1295
1296 #. type: Plain text
1297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1298 #: mageia-cauldron opensuse-leap-16-1
1299 #, no-wrap
1300 msgid ""
1301 "$ ukify -c ukify\\&.conf build \\e\n"
1302 " --linux=/lib/modules/6\\&.0\\&.9-300\\&.fc37\\&.x86_64/vmlinuz \\e\n"
1303 " --initrd=/some/path/initramfs-6\\&.0\\&.9-300\\&.fc37\\&.x86_64\\&.img\n"
1304 msgstr ""
1305
1306 #. type: Plain text
1307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1308 #: mageia-cauldron opensuse-leap-16-1
1309 msgid ""
1310 "One \"initrd\" (early_cpio) is specified in the config file, and the other "
1311 "initrd (initramfs-6\\&.0\\&.9-300\\&.fc37\\&.x86_64\\&.img) is specified on "
1312 "the command line\\&. This may be useful for example when the first initrd "
1313 "contains microcode for the CPU and does not need to be updated when the "
1314 "kernel version changes, unlike the actual initrd\\&."
1315 msgstr ""
1316
1317 #. type: Plain text
1318 #: archlinux debian-unstable fedora-44 fedora-rawhide
1319 msgid "B<Example\\ \\&5.\\ \\&Kernel command line PE addon>"
1320 msgstr ""
1321
1322 #. type: Plain text
1323 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1324 #, no-wrap
1325 msgid ""
1326 "ukify build \\e\n"
1327 " --secureboot-private-key=secureboot-private-key\\&.pem \\e\n"
1328 " --secureboot-certificate=secureboot-certificate\\&.pem \\e\n"
1329 " --cmdline=\\*(Aqdebug\\*(Aq \\e\n"
1330 " --sbat=\\*(Aqsbat,1,SBAT Version,sbat,1,https://github\\&.com/rhboot/shim/blob/main/SBAT\\&.md\n"
1331 " uki-addon\\&.author,1,UKI Addon for System,uki-addon\\&.author,1,https://www\\&.freedesktop\\&.org/software/systemd/man/systemd-stub\\&.html\\*(Aq\n"
1332 " --output=debug\\&.addon\\&.efi\n"
1333 msgstr ""
1334
1335 #. type: Plain text
1336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1337 #: mageia-cauldron opensuse-leap-16-1
1338 msgid ""
1339 "This creates a signed PE binary that contains the additional kernel command "
1340 "line parameter \"debug\" with SBAT metadata referring to the owner of the "
1341 "addon\\&."
1342 msgstr ""
1343
1344 #. type: Plain text
1345 #: archlinux debian-unstable fedora-44 fedora-rawhide
1346 msgid ""
1347 "B<Example\\ \\&6.\\ \\&Decide signing policy, and create certificate and "
1348 "keys>"
1349 msgstr ""
1350
1351 #. type: Plain text
1352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1353 #: mageia-cauldron opensuse-leap-16-1
1354 msgid ""
1355 "First, let\\*(Aqs create a configuration file that specifies what signatures "
1356 "shall be made:"
1357 msgstr ""
1358
1359 #. type: Plain text
1360 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1361 #, no-wrap
1362 msgid ""
1363 "# cat E<gt>/etc/kernel/uki\\&.conf E<lt>E<lt>EOF\n"
1364 "[UKI]\n"
1365 "SecureBootPrivateKey=/etc/kernel/secureboot-private-key\\&.pem\n"
1366 "SecureBootCertificate=/etc/kernel/secureboot-certificate\\&.pem\n"
1367 msgstr ""
1368
1369 #. type: Plain text
1370 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1371 #, no-wrap
1372 msgid ""
1373 "[PCRSignature:initrd]\n"
1374 "Phases=enter-initrd\n"
1375 "PCRPrivateKey=/etc/systemd/tpm2-pcr-initrd-private-key\\&.pem\n"
1376 "PCRPublicKey=/etc/systemd/tpm2-pcr-initrd-public-key\\&.pem\n"
1377 msgstr ""
1378
1379 #. type: Plain text
1380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1381 #: mageia-cauldron opensuse-leap-16-1
1382 #, no-wrap
1383 msgid ""
1384 "[PCRSignature:system]\n"
1385 "Phases=enter-initrd:leave-initrd enter-initrd:leave-initrd:sysinit\n"
1386 " enter-initrd:leave-initrd:sysinit:ready\n"
1387 "PCRPrivateKey=/etc/systemd/tpm2-pcr-private-key-system\\&.pem\n"
1388 "PCRPublicKey=/etc/systemd/tpm2-pcr-public-key-system\\&.pem\n"
1389 "EOF\n"
1390 msgstr ""
1391
1392 #. type: Plain text
1393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1394 #: mageia-cauldron opensuse-leap-16-1
1395 msgid "Next, we can generate the certificate and keys:"
1396 msgstr ""
1397
1398 #. type: Plain text
1399 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1400 #, no-wrap
1401 msgid ""
1402 "# ukify genkey --config=/etc/kernel/uki\\&.conf\n"
1403 "Writing SecureBoot private key to /etc/kernel/secureboot-private-key\\&.pem\n"
1404 "Writing SecureBoot certificate to /etc/kernel/secureboot-certificate\\&.pem\n"
1405 "Writing private key for PCR signing to /etc/systemd/tpm2-pcr-initrd-private-key\\&.pem\n"
1406 "Writing public key for PCR signing to /etc/systemd/tpm2-pcr-initrd-public-key\\&.pem\n"
1407 "Writing private key for PCR signing to /etc/systemd/tpm2-pcr-private-key-system\\&.pem\n"
1408 "Writing public key for PCR signing to /etc/systemd/tpm2-pcr-public-key-system\\&.pem\n"
1409 msgstr ""
1410
1411 #. type: Plain text
1412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1413 #: mageia-cauldron opensuse-leap-16-1
1414 msgid ""
1415 "(Both operations need to be done as root to allow write access to /etc/"
1416 "kernel/\\&.)"
1417 msgstr ""
1418
1419 #. type: Plain text
1420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1421 #: mageia-cauldron opensuse-leap-16-1
1422 msgid ""
1423 "Subsequent invocations using the config file (B<ukify build --config=/etc/"
1424 "kernel/uki\\&.conf>) will use this certificate and key files\\&. Note that "
1425 "the B<kernel-install>(8) plugin 60-ukify\\&.install uses /etc/kernel/"
1426 "uki\\&.conf by default, so after this file has been created, installations "
1427 "of kernels that create a UKI on the local machine using B<kernel-install> "
1428 "will perform signing using this config\\&."
1429 msgstr ""
1430
1431 #. type: Plain text
1432 #: archlinux debian-unstable fedora-44 fedora-rawhide
1433 msgid "B<Example\\ \\&7.\\ \\&Multi-Profile UKI>"
1434 msgstr ""
1435
1436 #. type: Plain text
1437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1438 #: mageia-cauldron opensuse-leap-16-1
1439 msgid "First, create a few profiles:"
1440 msgstr ""
1441
1442 #. type: Plain text
1443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1444 #: mageia-cauldron opensuse-leap-16-1
1445 #, no-wrap
1446 msgid ""
1447 "$ ukify build \\e\n"
1448 " --profile=\\*(AqTITLE=Base\\*(Aq \\e\n"
1449 " --output=profile0\\&.efi\n"
1450 msgstr ""
1451
1452 #. type: Plain text
1453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1454 #: mageia-cauldron opensuse-leap-16-1
1455 msgid "Add a second profile (@1):"
1456 msgstr ""
1457
1458 #. type: Plain text
1459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1460 #: mageia-cauldron opensuse-leap-16-1
1461 #, no-wrap
1462 msgid ""
1463 "$ ukify build \\e\n"
1464 " --profile=\\*(AqTITLE=Boot into Storage Target Mode\n"
1465 "ID=storagetm\\*(Aq \\e\n"
1466 " --cmdline=\\*(Aqquiet rw rd\\&.systemd\\&.unit=storage-target-mode\\&.target\\*(Aq \\e\n"
1467 " --output=profile1\\&.efi\n"
1468 msgstr ""
1469
1470 #. type: Plain text
1471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1472 #: mageia-cauldron opensuse-leap-16-1
1473 msgid "Add a third profile (@2):"
1474 msgstr ""
1475
1476 #. type: Plain text
1477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1478 #: mageia-cauldron opensuse-leap-16-1
1479 #, no-wrap
1480 msgid ""
1481 "$ ukify build \\e\n"
1482 " --profile=\\*(AqTITLE=Factory Reset\n"
1483 "ID=factory-reset\\*(Aq \\e\n"
1484 " --cmdline=\\*(Aqquiet rw systemd\\&.unit=factory-reset\\&.target\\*(Aq \\e\n"
1485 " --output=profile2\\&.efi\n"
1486 msgstr ""
1487
1488 #. type: Plain text
1489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1490 #: mageia-cauldron opensuse-leap-16-1
1491 msgid "Then, create a UKI and include all the generated profiles:"
1492 msgstr ""
1493
1494 #. type: Plain text
1495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1496 #: mageia-cauldron opensuse-leap-16-1
1497 #, no-wrap
1498 msgid ""
1499 "$ ukify build \\e\n"
1500 " --linux=/lib/modules/6\\&.0\\&.9-300\\&.fc37\\&.x86_64/vmlinuz \\e\n"
1501 " --initrd=/some/path/initramfs-6\\&.0\\&.9-300\\&.fc37\\&.x86_64\\&.img \\e\n"
1502 " --cmdline=\\*(Aqquiet rw\\*(Aq \\e\n"
1503 " --join-profile=profile0\\&.efi \\e\n"
1504 " --join-profile=profile1\\&.efi \\e\n"
1505 " --join-profile=profile2\\&.efi \\e\n"
1506 " --output=base\\&.efi\n"
1507 msgstr ""
1508
1509 #. type: Plain text
1510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1511 #: mageia-cauldron opensuse-leap-16-1
1512 msgid ""
1513 "The resulting UKI base-with-profile-0-1-2\\&.efi will now contain three "
1514 "profiles\\&."
1515 msgstr ""
1516
1517 #. type: Plain text
1518 #: archlinux debian-unstable fedora-44 fedora-rawhide
1519 msgid "B<Example\\ \\&8.\\ \\&Offline signing of pcrsig section>"
1520 msgstr ""
1521
1522 #. type: Plain text
1523 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1524 msgid "First, create a UKI and save the PCR JSON blob:"
1525 msgstr ""
1526
1527 #. type: Plain text
1528 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1529 #, no-wrap
1530 msgid ""
1531 "$ ukify build \\e\n"
1532 " --linux=/lib/modules/6\\&.0\\&.9-300\\&.fc37\\&.x86_64/vmlinuz \\e\n"
1533 " --initrd=/some/path/initramfs-6\\&.0\\&.9-300\\&.fc37\\&.x86_64\\&.img \\e\n"
1534 " --cmdline=\\*(Aqquiet rw\\*(Aq \\e\n"
1535 " --pcr-public-key=tpm2-pcr-initrd-public-key\\&.pem \\e\n"
1536 " --policy-digest \\e\n"
1537 " --json=short \\e\n"
1538 " --output=base\\&.efi E<gt>base\\&.pcrs\n"
1539 msgstr ""
1540
1541 #. type: Plain text
1542 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1543 msgid "Then, sign the PCR digests offline and insert them in the JSON blob:"
1544 msgstr ""
1545
1546 #. type: Plain text
1547 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1548 #, no-wrap
1549 msgid ""
1550 "#!/usr/bin/python3\n"
1551 "import base64, json, subprocess\n"
1552 msgstr ""
1553
1554 #. type: Plain text
1555 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1556 #, no-wrap
1557 msgid ""
1558 "priv_key = \\*(Aq/home/zbyszek/src/systemd/tpm2-pcr-private\\&.pem\\*(Aq\n"
1559 "base_file = \\*(Aqbase\\&.pcrs\\*(Aq\n"
1560 msgstr ""
1561
1562 #. type: Plain text
1563 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1564 #, no-wrap
1565 msgid "base = json\\&.load(open(base_file))\n"
1566 msgstr ""
1567
1568 #. type: Plain text
1569 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1570 #, no-wrap
1571 msgid ""
1572 "for bank,policies in base\\&.items():\n"
1573 " for policy in policies:\n"
1574 " pol = base64\\&.b16decode(policy[\\*(Aqpol\\*(Aq]\\&.upper())\n"
1575 " call = subprocess\\&.run([\\*(Aqopenssl\\*(Aq, \\*(Aqdgst\\*(Aq, f\\*(Aq-{bank}\\*(Aq, \\*(Aq-sign\\*(Aq, priv_key],\n"
1576 " input=pol,\n"
1577 " check=True,\n"
1578 " capture_output=True)\n"
1579 " sig = base64\\&.b64encode(call\\&.stdout)\\&.decode()\n"
1580 " policy[\\*(Aqsig\\*(Aq] = sig\n"
1581 msgstr ""
1582
1583 #. type: Plain text
1584 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1585 #, no-wrap
1586 msgid "print(json\\&.dumps(base))\n"
1587 msgstr ""
1588
1589 #. type: Plain text
1590 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1591 msgid "Finally, attach the updated JSON blob to the UKI:"
1592 msgstr ""
1593
1594 #. type: Plain text
1595 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1596 #, no-wrap
1597 msgid ""
1598 "$ ukify build \\e\n"
1599 " --join-pcrsig=base\\&.efi \\e\n"
1600 " --pcrsig=@base\\&.pcrs \\e\n"
1601 " --json=short \\e\n"
1602 " --output=base-signed\\&.efi\n"
1603 msgstr ""
1604
1605 #. type: Plain text
1606 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1607 msgid ""
1608 "The resulting UKI base-signed\\&.efi will now contain the signed PCR "
1609 "digests\\&."
1610 msgstr ""
1611
1612 #. type: SH
1613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1614 #: mageia-cauldron opensuse-leap-16-1
1615 #, no-wrap
1616 msgid "SEE ALSO"
1617 msgstr ""
1618
1619 #. type: Plain text
1620 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1621 #: mageia-cauldron opensuse-leap-16-1
1622 msgid ""
1623 "B<systemd>(1), B<systemd-stub>(7), B<systemd-boot>(7), B<systemd-"
1624 "measure>(1), B<systemd-pcrphase.service>(8)"
1625 msgstr ""
1626
1627 #. type: SH
1628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1629 #: mageia-cauldron opensuse-leap-16-1
1630 #, no-wrap
1631 msgid "NOTES"
1632 msgstr ""
1633
1634 #. type: IP
1635 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1636 #: mageia-cauldron opensuse-leap-16-1
1637 #, no-wrap
1638 msgid " 1."
1639 msgstr ""
1640
1641 #. type: Plain text
1642 #: archlinux debian-unstable fedora-44 fedora-rawhide
1643 msgid "UAPI.5 Unified Kernel Image (UKI)"
1644 msgstr ""
1645
1646 #. type: Plain text
1647 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1648 #: mageia-cauldron opensuse-leap-16-1
1649 msgid "\\%https://uapi-group.org/specifications/specs/unified_kernel_image/"
1650 msgstr ""
1651
1652 #. type: IP
1653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1654 #: mageia-cauldron opensuse-leap-16-1
1655 #, no-wrap
1656 msgid " 2."
1657 msgstr ""
1658
1659 #. type: Plain text
1660 #: archlinux debian-unstable fedora-44 fedora-rawhide
1661 msgid "qemu"
1662 msgstr ""
1663
1664 #. type: Plain text
1665 #: archlinux debian-unstable fedora-44 fedora-rawhide
1666 msgid "\\%https://www.qemu.org/docs/master/"
1667 msgstr ""
1668
1669 #. type: IP
1670 #: archlinux debian-unstable fedora-44 fedora-rawhide
1671 #, no-wrap
1672 msgid " 3."
1673 msgstr ""
1674
1675 #. type: Plain text
1676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1677 #: mageia-cauldron opensuse-leap-16-1
1678 msgid "Shim documentation"
1679 msgstr ""
1680
1681 #. type: Plain text
1682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1683 #: mageia-cauldron opensuse-leap-16-1
1684 msgid "\\%https://github.com/rhboot/shim/blob/main/SBAT.md"
1685 msgstr ""
1686
1687 #. type: IP
1688 #: archlinux debian-unstable fedora-44 fedora-rawhide
1689 #, no-wrap
1690 msgid " 4."
1691 msgstr ""
1692
1693 #. type: Plain text
1694 #: archlinux debian-unstable fedora-44 fedora-rawhide
1695 msgid "OVMF"
1696 msgstr ""
1697
1698 #. type: Plain text
1699 #: archlinux debian-unstable fedora-44 fedora-rawhide
1700 msgid ""
1701 "\\%https://www.linux-kvm.org/downloads/lersek/ovmf-whitepaper-c770f8c.txt"
1702 msgstr ""
1703
1704 #. type: TH
1705 #: debian-trixie opensuse-leap-16-1
1706 #, no-wrap
1707 msgid "systemd 257.13"
1708 msgstr ""
1709
1710 #. type: Plain text
1711 #: debian-trixie mageia-cauldron opensuse-leap-16-1
1712 msgid ""
1713 "B<ukify> is a tool whose primary purpose is to combine components (usually a "
1714 "kernel, an initrd, and a UEFI boot stub) to create a \\m[blue]B<Unified "
1715 "Kernel Image (UKI)>\\m[]\\&\\s-2\\u[1]\\d\\s+2 \\(em a PE binary that can be "
1716 "executed by the firmware to start the embedded linux kernel\\&. See "
1717 "B<systemd-stub>(7) for details about the stub\\&."
1718 msgstr ""
1719
1720 #. type: Plain text
1721 #: debian-trixie opensuse-leap-16-1
1722 msgid ""
1723 "If PCR signing keys are provided via the I<PCRPrivateKey=>/B<--pcr-private-"
1724 "key=> and I<PCRPublicKey=>/B<--pcr-public-key=> options, PCR values that "
1725 "will be seen after booting with the given kernel, initrd, and other "
1726 "sections, will be calculated, signed, and embedded in the UKI\\&. B<systemd-"
1727 "measure>(1) is used to perform this calculation and signing\\&."
1728 msgstr ""
1729
1730 #. type: Plain text
1731 #: debian-trixie opensuse-leap-16-1
1732 msgid ""
1733 "The calculation of PCR values is done for specific boot phase paths\\&. "
1734 "Those can be specified with the I<Phases=>/B<--phases=> option\\&. If not "
1735 "specified, the default provided by B<systemd-measure> is used\\&. It is also "
1736 "possible to specify the I<PCRPrivateKey=>/B<--pcr-private-key=>, "
1737 "I<PCRPublicKey=>/B<--pcr-public-key=>, and I<Phases=>/B<--phases=> arguments "
1738 "more than once\\&. Signatures will then be performed with each of the "
1739 "specified keys\\&. On the command line, when both B<--phases=> and B<--pcr-"
1740 "private-key=> are used, they must be specified the same number of times, and "
1741 "then the n-th boot phase path set will be signed by the n-th key\\&. This "
1742 "can be used to build different trust policies for different phases of the "
1743 "boot\\&. In the config file, I<PCRPrivateKey=>, I<PCRPublicKey=>, and "
1744 "I<Phases=> are grouped into separate sections, describing separate boot "
1745 "phases\\&. If one of I<SigningEngine=>/B<--signing-engine=> or "
1746 "I<SigningProvider=>/B<--signing-provider=> is specified, then the private "
1747 "key arguments will be passed verbatim to B<openssl>(1) as URIs, and the "
1748 "public key arguments will be loaded as X\\&.509 certificates, so that "
1749 "signing can be performed with an OpenSSL engine or provider respectively\\&."
1750 msgstr ""
1751
1752 #. type: Plain text
1753 #: debian-trixie mageia-cauldron opensuse-leap-16-1
1754 msgid ""
1755 "If the stub and/or the kernel contain \"\\&.sbat\" sections they will be "
1756 "merged in the UKI so that revocation updates affecting either are considered "
1757 "when the UKI is loaded by Shim\\&. For more information on SBAT see "
1758 "\\m[blue]B<Shim documentation>\\m[]\\&\\s-2\\u[2]\\d\\s+2\\&."
1759 msgstr ""
1760
1761 #. type: Plain text
1762 #: debian-trixie opensuse-leap-16-1
1763 #, no-wrap
1764 msgid ""
1765 "{\n"
1766 " \"name\": \"Example Laptop 16 Gen 7\",\n"
1767 " \"compatible\": \"example,laptop-16-g7\",\n"
1768 " \"hwids\": [\n"
1769 " \"5dc05bf4-01f6-4089-b464-a08c47ea9295\",\n"
1770 " \"3e3f8f3c-2003-46f2-811c-85554f7d5952\"\n"
1771 " ]\n"
1772 "}\n"
1773 msgstr ""
1774
1775 #. type: Plain text
1776 #: debian-trixie fedora-44 mageia-cauldron opensuse-leap-16-1
1777 msgid ""
1778 "Here \"Example Laptop 16 Gen 7\" is the device \"name\" (as defined by the "
1779 "manufacturer), \"example,laptop-16-g7\" is the \"compatible\" (as defined by "
1780 "the kernel) and \"hwids\" is an array of CHIDs/HWIDs (extracted i\\&.e\\&. "
1781 "from B<fwupdtool hwids> output)\\&. If not specified, the section will not "
1782 "be present\\&. It is recommended to specify this parameter if automatically "
1783 "selectable DeviceTrees are to be used\\&."
1784 msgstr ""
1785
1786 #. type: Plain text
1787 #: debian-trixie mageia-cauldron opensuse-leap-16-1
1788 msgid ""
1789 "for addons will be used, to ensure it is always possible to revoke them\\&. "
1790 "For more information on SBAT see \\m[blue]B<Shim documentation>\\m[]"
1791 "\\&\\s-2\\u[2]\\d\\s+2\\&."
1792 msgstr ""
1793
1794 #. type: Plain text
1795 #: debian-trixie opensuse-leap-16-1
1796 msgid ""
1797 "A path to a public key to embed in the \"\\&.pcrpkey\" section\\&. If not "
1798 "specified, and there\\*(Aqs exactly one I<PCRPublicKey=>/B<--pcr-public-"
1799 "key=> argument, that key will be used\\&. Otherwise, the section will not be "
1800 "present\\&."
1801 msgstr ""
1802
1803 #. type: Plain text
1804 #: debian-trixie opensuse-leap-16-1
1805 msgid ""
1806 "On the command line, this option may be specified more than once, similarly "
1807 "to the B<--pcr-private-key=> option\\&. If not present, the public keys will "
1808 "be extracted from the private keys\\&. On the command line, if present, this "
1809 "option must be specified the same number of times as the B<--pcr-private-"
1810 "key=> option\\&."
1811 msgstr ""
1812
1813 #. type: Plain text
1814 #: debian-trixie mageia-cauldron opensuse-leap-16-1
1815 msgid "B<Example\\ \\&2.\\ \\&All the bells and whistles>"
1816 msgstr ""
1817
1818 #. type: Plain text
1819 #: debian-trixie opensuse-leap-16-1
1820 #, no-wrap
1821 msgid ""
1822 "$ ukify build \\e\n"
1823 " --linux=/lib/modules/6\\&.0\\&.9-300\\&.fc37\\&.x86_64/vmlinuz \\e\n"
1824 " --initrd=early_cpio \\e\n"
1825 " --initrd=/some/path/initramfs-6\\&.0\\&.9-300\\&.fc37\\&.x86_64\\&.img \\e\n"
1826 " --sbat=\\*(Aqsbat,1,SBAT Version,sbat,1,https://github\\&.com/rhboot/shim/blob/main/SBAT\\&.md\n"
1827 " uki\\&.author\\&.myimage,1,UKI for System,uki\\&.author\\&.myimage,1,https://uapi-group\\&.org/specifications/specs/unified_kernel_image/\\*(Aq \\e\n"
1828 " --pcr-private-key=tpm2-pcr-private-key-initrd\\&.pem \\e\n"
1829 " --pcr-public-key=tpm2-pcr-public-key-initrd\\&.pem \\e\n"
1830 " --phases=\\*(Aqenter-initrd\\*(Aq \\e\n"
1831 " --pcr-private-key=tpm2-pcr-private-key-system\\&.pem \\e\n"
1832 " --pcr-public-key=tpm2-pcr-public-key-system\\&.pem \\e\n"
1833 " --phases=\\*(Aqenter-initrd:leave-initrd enter-initrd:leave-initrd:sysinit \\e\n"
1834 " enter-initrd:leave-initrd:sysinit:ready\\*(Aq \\e\n"
1835 " --pcr-banks=sha384,sha512 \\e\n"
1836 " --secureboot-private-key=sb\\&.key \\e\n"
1837 " --secureboot-certificate=sb\\&.cert \\e\n"
1838 " --sign-kernel \\e\n"
1839 " --cmdline=\\*(Aqquiet rw rhgb\\*(Aq\n"
1840 msgstr ""
1841
1842 #. type: Plain text
1843 #: debian-trixie opensuse-leap-16-1
1844 msgid ""
1845 "This creates a signed UKI \\&./vmlinuz\\&.signed\\&.efi\\&. The initrd "
1846 "section contains two concatenated parts, early_cpio and "
1847 "initramfs-6\\&.0\\&.9-300\\&.fc37\\&.x86_64\\&.img\\&. The policy embedded "
1848 "in the \"\\&.pcrsig\" section will be signed for the initrd (the B<enter-"
1849 "initrd> phase) with the key tpm2-pcr-private-key-initrd\\&.pem, and for the "
1850 "main system (phases B<leave-initrd>, B<sysinit>, B<ready>) with the key tpm2-"
1851 "pcr-private-key-system\\&.pem\\&. The Linux binary and the resulting "
1852 "combined image will be signed with the SecureBoot key sb\\&.key\\&."
1853 msgstr ""
1854
1855 #. type: Plain text
1856 #: debian-trixie mageia-cauldron opensuse-leap-16-1
1857 msgid "B<Example\\ \\&3.\\ \\&All the bells and whistles, via a config file>"
1858 msgstr ""
1859
1860 #. type: Plain text
1861 #: debian-trixie opensuse-leap-16-1
1862 #, no-wrap
1863 msgid ""
1864 "SecureBootPrivateKey=secure-boot-key\\&.pem\n"
1865 "SecureBootCertificate=secure-boot-certificate\\&.pem\n"
1866 "SignKernel=yes\n"
1867 "PCRBanks=sha384,sha512\n"
1868 msgstr ""
1869
1870 #. type: Plain text
1871 #: debian-trixie opensuse-leap-16-1
1872 #, no-wrap
1873 msgid ""
1874 "[PCRSignature:initrd]\n"
1875 "PCRPrivateKey=tpm2-pcr-private-key-initrd\\&.pem\n"
1876 "PCRPublicKey=tpm2-pcr-public-key-initrd\\&.pem\n"
1877 "Phases=enter-initrd\n"
1878 msgstr ""
1879
1880 #. type: Plain text
1881 #: debian-trixie mageia-cauldron opensuse-leap-16-1
1882 msgid "B<Example\\ \\&4.\\ \\&Kernel command line PE addon>"
1883 msgstr ""
1884
1885 #. type: Plain text
1886 #: debian-trixie opensuse-leap-16-1
1887 #, no-wrap
1888 msgid ""
1889 "ukify build \\e\n"
1890 " --secureboot-private-key=secure-boot-key\\&.pem \\e\n"
1891 " --secureboot-certificate=secure-boot-certificate\\&.pem \\e\n"
1892 " --cmdline=\\*(Aqdebug\\*(Aq \\e\n"
1893 " --sbat=\\*(Aqsbat,1,SBAT Version,sbat,1,https://github\\&.com/rhboot/shim/blob/main/SBAT\\&.md\n"
1894 " uki-addon\\&.author,1,UKI Addon for System,uki-addon\\&.author,1,https://www\\&.freedesktop\\&.org/software/systemd/man/systemd-stub\\&.html\\*(Aq\n"
1895 " --output=debug\\&.addon\\&.efi\n"
1896 msgstr ""
1897
1898 #. type: Plain text
1899 #: debian-trixie mageia-cauldron opensuse-leap-16-1
1900 msgid ""
1901 "B<Example\\ \\&5.\\ \\&Decide signing policy, and create certificate and "
1902 "keys>"
1903 msgstr ""
1904
1905 #. type: Plain text
1906 #: debian-trixie opensuse-leap-16-1
1907 #, no-wrap
1908 msgid ""
1909 "# cat E<gt>/etc/kernel/uki\\&.conf E<lt>E<lt>EOF\n"
1910 "[UKI]\n"
1911 "SecureBootPrivateKey=/etc/kernel/secure-boot-key\\&.pem\n"
1912 "SecureBootCertificate=/etc/kernel/secure-boot-certificate\\&.pem\n"
1913 msgstr ""
1914
1915 #. type: Plain text
1916 #: debian-trixie opensuse-leap-16-1
1917 #, no-wrap
1918 msgid ""
1919 "[PCRSignature:initrd]\n"
1920 "Phases=enter-initrd\n"
1921 "PCRPrivateKey=/etc/systemd/tpm2-pcr-private-key-initrd\\&.pem\n"
1922 "PCRPublicKey=/etc/systemd/tpm2-pcr-public-key-initrd\\&.pem\n"
1923 msgstr ""
1924
1925 #. type: Plain text
1926 #: debian-trixie opensuse-leap-16-1
1927 #, no-wrap
1928 msgid ""
1929 "# ukify genkey --config=/etc/kernel/uki\\&.conf\n"
1930 "Writing SecureBoot private key to /etc/kernel/secure-boot-key\\&.pem\n"
1931 "Writing SecureBoot certificate to /etc/kernel/secure-boot-certificate\\&.pem\n"
1932 "Writing private key for PCR signing to /etc/systemd/tpm2-pcr-private-key-initrd\\&.pem\n"
1933 "Writing public key for PCR signing to /etc/systemd/tpm2-pcr-public-key-initrd\\&.pem\n"
1934 "Writing private key for PCR signing to /etc/systemd/tpm2-pcr-private-key-system\\&.pem\n"
1935 "Writing public key for PCR signing to /etc/systemd/tpm2-pcr-public-key-system\\&.pem\n"
1936 msgstr ""
1937
1938 #. type: Plain text
1939 #: debian-trixie mageia-cauldron opensuse-leap-16-1
1940 msgid "B<Example\\ \\&6.\\ \\&Multi-Profile UKI>"
1941 msgstr ""
1942
1943 #. type: Plain text
1944 #: debian-trixie mageia-cauldron opensuse-leap-16-1
1945 msgid "Unified Kernel Image (UKI)"
1946 msgstr ""
1947
1948 #. type: TH
1949 #: debian-unstable
1950 #, no-wrap
1951 msgid "systemd 261~rc3"
1952 msgstr ""
1953
1954 #. type: TH
1955 #: fedora-44
1956 #, no-wrap
1957 msgid "systemd 259.5"
1958 msgstr ""
1959
1960 #. type: TH
1961 #: fedora-rawhide
1962 #, no-wrap
1963 msgid "systemd 261~rc2"
1964 msgstr ""
1965
1966 #. type: TH
1967 #: mageia-cauldron
1968 #, no-wrap
1969 msgid "systemd 258.7"
1970 msgstr ""
1971
1972 #. type: Plain text
1973 #: mageia-cauldron
1974 msgid "B<Example\\ \\&7.\\ \\&Offline signing of pcrsig section>"
1975 msgstr ""