Debian Codegraph @

templates/man8/systemd-pcrlock.8.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:47+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
22 #, no-wrap
23 msgid "SYSTEMD-PCRLOCK"
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
35 #, no-wrap
36 msgid "systemd-pcrlock"
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
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
52 msgid ""
53 "systemd-pcrlock, systemd-pcrlock-file-system.service, systemd-pcrlock-"
54 "firmware-code.service, systemd-pcrlock-firmware-config.service, systemd-"
55 "pcrlock-machine-id.service, systemd-pcrlock-make-policy.service, systemd-"
56 "pcrlock-secureboot-authority.service, systemd-pcrlock-secureboot-"
57 "policy.service - Analyze and predict TPM2 PCR states and generate an access "
58 "policy from the prediction"
59 msgstr ""
60
61 #. type: SH
62 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
63 #: mageia-cauldron
64 #, no-wrap
65 msgid "SYNOPSIS"
66 msgstr ""
67
68 #. type: Plain text
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron
71 msgid "B</usr/lib/systemd/systemd-pcrlock> [OPTIONS...]"
72 msgstr ""
73
74 #. type: SH
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron
77 #, no-wrap
78 msgid "DESCRIPTION"
79 msgstr ""
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron
84 msgid ""
85 "Note: this command is experimental for now\\&. While it is likely to become "
86 "a regular component of systemd, it might still change in behaviour and "
87 "interface\\&."
88 msgstr ""
89
90 #. type: Plain text
91 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
92 #: mageia-cauldron
93 msgid ""
94 "B<systemd-pcrlock> is a tool that may be used to analyze and predict TPM2 "
95 "PCR measurements, and generate TPM2 access policies from the prediction "
96 "which it stores in a TPM2 NV index (i\\&.e\\&. in the TPM2 non-volatile "
97 "memory)\\&. This may then be used to restrict access to TPM2 objects (such "
98 "as disk encryption keys) to system boot-ups in which only specific, trusted "
99 "components are used\\&."
100 msgstr ""
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron
105 msgid "B<systemd-pcrlock> uses as input for its analysis and prediction:"
106 msgstr ""
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron
111 msgid ""
112 "The UEFI firmware TPM2 event log (i\\&.e\\&. /sys/kernel/security/tpm0/"
113 "binary_bios_measurements) of the current boot\\&."
114 msgstr ""
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron
119 msgid ""
120 "The userspace TPM2 event log (i\\&.e\\&. /run/log/systemd/tpm2-"
121 "measure\\&.log) of the current boot\\&."
122 msgstr ""
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron
127 msgid "The current PCR state of the TPM2 chip\\&."
128 msgstr ""
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron
133 msgid ""
134 "Boot component definition files (*\\&.pcrlock and *\\&.pcrlock\\&.d/"
135 "*\\&.pcrlock, see B<systemd.pcrlock>(5)) that each define expected "
136 "measurements for one component of the boot process, permitting alternative "
137 "variants for each\\&. (Variants may be used to bless multiple kernel "
138 "versions or boot loader versions at the same time\\&.)"
139 msgstr ""
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron
144 msgid ""
145 "It uses these inputs to generate a combined event log, validating it against "
146 "the PCR states\\&. It then attempts to recognize event log records and "
147 "matches them against the defined components\\&. For each PCR where this can "
148 "be done comprehensively (i\\&.e\\&. where all listed records and all defined "
149 "components have been matched) this may then be used to predict future PCR "
150 "measurements, taking the alternative variants defined for each component "
151 "into account\\&. This prediction may then be converted into a TPM2 access "
152 "policy (consisting of TPM2 B<PolicyPCR> and B<PolicyOR> items), which is "
153 "then stored in an NV index in the TPM2\\&. This may be used to then lock "
154 "secrets (such as disk encryption keys) to these policies (via a TPM2 "
155 "B<PolicyAuthorizeNV> policy)\\&."
156 msgstr ""
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron
161 msgid ""
162 "Use tools such as B<systemd-cryptenroll>(1) or B<systemd-repart>(8) to "
163 "bind disk encryption to such a B<systemd-pcrlock> TPM2 policy\\&. "
164 "Specifically, see the B<--tpm2-pcrlock=> switches of these tools\\&."
165 msgstr ""
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron
170 msgid ""
171 "The access policy logic requires a TPM2 device that implements the "
172 "\"PolicyAuthorizeNV\" command, i\\&.e\\&. implements TPM 2\\&.0 version "
173 "1\\&.38 or newer\\&."
174 msgstr ""
175
176 #. type: SH
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron
179 #, no-wrap
180 msgid "COMMANDS"
181 msgstr ""
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron
186 msgid "The following commands are understood:"
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron
192 msgid "B<log>"
193 msgstr ""
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron
198 msgid ""
199 "This reads the combined TPM2 event log, validates it, matches it against the "
200 "current PCR values, and outputs both in tabular form\\&. Combine with B<--"
201 "json=> to generate output in JSON format\\&."
202 msgstr ""
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron
207 msgid "Added in version 255\\&."
208 msgstr ""
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron
213 msgid "B<cel>"
214 msgstr ""
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron
219 msgid ""
220 "This reads the combined TPM2 event log and writes it to STDOUT in "
221 "\\m[blue]B<TCG Canonical Event Log Format (CEL-JSON)>\\m[]"
222 "\\&\\s-2\\u[1]\\d\\s+2\\&."
223 msgstr ""
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron
228 msgid "B<list-components>"
229 msgstr ""
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron
234 msgid ""
235 "Shows a list of component definitions and their variants, i\\&.e\\&. the "
236 "*\\&.pcrlock files discovered in /var/lib/pcrlock\\&.d/, /usr/lib/"
237 "pcrlock\\&.d/, and the other supported directories\\&. See "
238 "B<systemd.pcrlock>(5) for details on these files and the full list of "
239 "directories searched\\&."
240 msgstr ""
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron
245 msgid "B<predict>"
246 msgstr ""
247
248 #. type: Plain text
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron
251 msgid ""
252 "Predicts the PCR state on future boots\\&. This will analyze the TPM2 event "
253 "log as described above, recognize components, and then generate all possible "
254 "resulting PCR values for all combinations of component variants\\&. Note "
255 "that no prediction is made for PCRs whose value does not match the event log "
256 "records, for which unrecognized measurements are discovered or for which "
257 "components are defined that cannot be found in the event log\\&. This is a "
258 "safety measure to ensure that any generated access policy can be fulfilled "
259 "correctly on current and future boots\\&."
260 msgstr ""
261
262 #. type: Plain text
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron
265 msgid "B<make-policy>"
266 msgstr ""
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron
271 msgid ""
272 "This predicts the PCR state for future boots, much like the B<predict> "
273 "command above\\&. It then uses this data to generate a TPM2 access policy "
274 "which it stores in a TPM2 NV index\\&. The prediction and information about "
275 "the used TPM2 and its NV index are written to /var/lib/systemd/"
276 "pcrlock\\&.json\\&."
277 msgstr ""
278
279 #. type: Plain text
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron
282 msgid ""
283 "The NV index is allocated on first invocation, and updated on subsequent "
284 "invocations\\&."
285 msgstr ""
286
287 #. type: Plain text
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron
290 msgid ""
291 "The NV index contents may be changed (and thus the policy stored in it "
292 "updated) by providing an access PIN\\&. This PIN is normally generated "
293 "automatically and stored in encrypted form (with an access policy binding it "
294 "to the NV index itself) in the aforementioned JSON policy file\\&. This PIN "
295 "may be chosen by the user, via the B<--recovery-pin=> switch\\&. If "
296 "specified it may be used as alternative path of access to update the "
297 "policy\\&."
298 msgstr ""
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron
303 msgid ""
304 "If the new prediction matches the old this command terminates quickly and "
305 "executes no further operation\\&. (Unless B<--force> is specified, see "
306 "below\\&.)"
307 msgstr ""
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron
312 msgid ""
313 "Starting with v256, a copy of the /var/lib/systemd/pcrlock\\&.json policy "
314 "file is encoded in a credential (see B<systemd-creds>(1) for details) and "
315 "written to the EFI System Partition or XBOOTLDR partition, in the /loader/"
316 "credentials/ subdirectory\\&. There it is picked up at boot by B<systemd-"
317 "stub>(7) and passed to the invoked initrd, where it can be used to unlock "
318 "the root file system (which typically contains /var/, which is where the "
319 "primary copy of the policy is located, which hence cannot be used to unlock "
320 "the root file system)\\&. The credential file is named after the boot entry "
321 "token of the installation (see B<bootctl>(1)), which is configurable via the "
322 "B<--entry-token=> switch, see below\\&."
323 msgstr ""
324
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron
328 msgid "B<remove-policy>"
329 msgstr ""
330
331 #. type: Plain text
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron
334 msgid ""
335 "Removes a previously generated policy\\&. Deletes the /var/lib/systemd/"
336 "pcrlock\\&.json file, and deallocates the NV index\\&."
337 msgstr ""
338
339 #. type: Plain text
340 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
341 msgid "B<is-supported>"
342 msgstr ""
343
344 #. type: Plain text
345 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
346 msgid ""
347 "Checks if the local TPM2 supports all functionality for B<systemd-pcrlock> "
348 "to work correctly\\&. This does similar tests as B<systemd-analyze has-"
349 "tpm2>, but also checks for supported of the TPM2 operations requires by "
350 "B<systemd-pcrlock>\\&. Outputs one of \"no\", \"partial\" (in case some "
351 "parts of TPM2 support are available in hardware, firmware, OS, but not "
352 "complete), \"obsolete\" (if TPM2 support is available in hardware, firmware "
353 "and OS, but the operations required for B<systemd-pcrlock> are missing), "
354 "\"yes\"\\&. Returns an exit status of zero if full support is available, "
355 "otherwise non-zero\\&."
356 msgstr ""
357
358 #. type: Plain text
359 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
360 msgid "If combined with B<--quiet>, suppresses the output of the string\\&."
361 msgstr ""
362
363 #. type: Plain text
364 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
365 msgid ""
366 "Currently, this checks for support for the PolicAuthorizeNV TPM2 command, as "
367 "well as for support of the SHA-256 hash algorithm\\&."
368 msgstr ""
369
370 #. type: Plain text
371 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
372 msgid "Added in version 258\\&."
373 msgstr ""
374
375 #. type: Plain text
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron
378 msgid "B<lock-firmware-code>, B<unlock-firmware-code>"
379 msgstr ""
380
381 #. type: Plain text
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron
384 msgid ""
385 "Generates/removes \\&.pcrlock files based on the TPM2 event log of the "
386 "current boot covering all records for PCRs 0 (\"platform-code\") and 2 "
387 "(\"external-code\")\\&."
388 msgstr ""
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron
393 msgid ""
394 "This operation allows locking the boot process to the current version of the "
395 "firmware of the system and its extension cards\\&. This operation should "
396 "only be used if the system vendor does not provide suitable pcrlock data "
397 "ahead of time\\&."
398 msgstr ""
399
400 #. type: Plain text
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron
403 msgid ""
404 "Note that this data only matches the current version of the firmware\\&. If "
405 "a firmware update is applied this data will be out-of-date and any access "
406 "policy generated from it will no longer pass\\&. It is thus recommended to "
407 "invoke B<unlock-firmware-code> before doing a firmware update, followed by "
408 "B<make-policy> to refresh the policy\\&."
409 msgstr ""
410
411 #. type: Plain text
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron
414 msgid ""
415 "B<systemd-pcrlock lock-firmware-code> is invoked automatically at boot via "
416 "the systemd-pcrlock-firmware-code\\&.service unit, if enabled\\&. This "
417 "ensures that an access policy managed by B<systemd-pcrlock> is automatically "
418 "locked to the new firmware version whenever the policy has been relaxed "
419 "temporarily, in order to cover for firmware updates, as described above\\&."
420 msgstr ""
421
422 #. type: Plain text
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron
425 msgid ""
426 "The files are only generated from the event log if the event log matches the "
427 "current TPM2 PCR state\\&."
428 msgstr ""
429
430 #. type: Plain text
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron
433 msgid ""
434 "This writes/removes the files /var/lib/pcrlock\\&.d/250-firmware-code-"
435 "early\\&.pcrlock\\&.d/generated\\&.pcrlock and /var/lib/pcrlock\\&.d/550-"
436 "firmware-code-late\\&.pcrlock\\&.d/generated\\&.pcrlock\\&."
437 msgstr ""
438
439 #. type: Plain text
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron
442 msgid "B<lock-firmware-config>, B<unlock-firmware-config>"
443 msgstr ""
444
445 #. type: Plain text
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron
448 msgid ""
449 "This is similar to B<lock-firmware-code>/B<unlock-firmware-code> but locks "
450 "down the firmware configuration, i\\&.e\\&. PCRs 1 (\"platform-config\") and "
451 "3 (\"external-config\")\\&."
452 msgstr ""
453
454 #. type: Plain text
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron
457 msgid ""
458 "This functionality should be used with care as in most scenarios a minor "
459 "firmware configuration change should not invalidate access policies to TPM2 "
460 "objects\\&. Also note that some systems measure unstable and unpredictable "
461 "information (e\\&.g\\&. current CPU voltages, temperatures, as part of "
462 "SMBIOS data) to these PCRs, which means this form of lockdown cannot be used "
463 "reliably on such systems\\&. Use this functionality only if the system and "
464 "hardware is well known and does not suffer by these limitations, for example "
465 "in virtualized environments\\&."
466 msgstr ""
467
468 #. type: Plain text
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron
471 msgid ""
472 "Use B<unlock-firmware-config> before making firmware configuration "
473 "changes\\&. If the systemd-pcrlock-firmware-config\\&.service unit is "
474 "enabled it will automatically generate a pcrlock file from the new "
475 "measurements\\&."
476 msgstr ""
477
478 #. type: Plain text
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron
481 msgid ""
482 "This writes/removes the files /var/lib/pcrlock\\&.d/250-firmware-config-"
483 "early\\&.pcrlock\\&.d/generated\\&.pcrlock and /var/lib/pcrlock\\&.d/550-"
484 "firmware-config-late\\&.pcrlock\\&.d/generated\\&.pcrlock\\&."
485 msgstr ""
486
487 #. type: Plain text
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron
490 msgid "B<lock-secureboot-policy>, B<unlock-secureboot-policy>"
491 msgstr ""
492
493 #. type: Plain text
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron
496 msgid ""
497 "Generates/removes a \\&.pcrlock file based on the SecureBoot policy "
498 "currently enforced\\&. This looks at the SecureBoot, PK, KEK, db, dbx, dbt, "
499 "dbr EFI variables and predicts their measurements to PCR 7 (\"secure-boot-"
500 "policy\") on the next boot\\&."
501 msgstr ""
502
503 #. type: Plain text
504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
505 #: mageia-cauldron
506 msgid ""
507 "Use B<unlock-firmware-config> before applying SecureBoot policy updates\\&. "
508 "If the systemd-pcrlock-secureboot-policy\\&.service unit is enabled it will "
509 "automatically generate a pcrlock file from the policy discovered\\&."
510 msgstr ""
511
512 #. type: Plain text
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron
515 msgid ""
516 "This writes/removes the file /var/lib/pcrlock\\&.d/230-secureboot-"
517 "policy\\&.pcrlock\\&.d/generated\\&.pcrlock\\&."
518 msgstr ""
519
520 #. type: Plain text
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron
523 msgid "B<lock-secureboot-authority>, B<unlock-secureboot-authority>"
524 msgstr ""
525
526 #. type: Plain text
527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
528 #: mageia-cauldron
529 msgid ""
530 "Generates/removes a \\&.pcrlock file based on the SecureBoot authorities "
531 "used to validate the boot path\\&. SecureBoot authorities are the specific "
532 "SecureBoot database entries that where used to validate the UEFI PE binaries "
533 "executed at boot\\&. This looks at the event log of the current boot, and "
534 "uses relevant measurements on PCR 7 (\"secure-boot-policy\")\\&."
535 msgstr ""
536
537 #. type: Plain text
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron
540 msgid ""
541 "This writes/removes the file /var/lib/pcrlock\\&.d/620-secureboot-"
542 "authority\\&.pcrlock\\&.d/generated\\&.pcrlock\\&."
543 msgstr ""
544
545 #. type: Plain text
546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
547 #: mageia-cauldron
548 msgid "B<lock-gpt> [I<DEVICE>], B<unlock-gpt>"
549 msgstr ""
550
551 #. type: Plain text
552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
553 #: mageia-cauldron
554 msgid ""
555 "Generates/removes a \\&.pcrlock file based on the GPT partition table of the "
556 "specified disk\\&. If no disk is specified automatically determines the "
557 "block device backing the root file system\\&. This locks the state of the "
558 "disk partitioning of the booted medium, which firmware measures to PCR 5 "
559 "(\"boot-loader-config\")\\&."
560 msgstr ""
561
562 #. type: Plain text
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron
565 msgid ""
566 "This writes/removes the file /var/lib/pcrlock\\&.d/600-gpt\\&.pcrlock\\&.d/"
567 "generated\\&.pcrlock\\&."
568 msgstr ""
569
570 #. type: Plain text
571 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
572 #: mageia-cauldron
573 msgid "B<lock-pe> [I<BINARY>], B<unlock-pe>"
574 msgstr ""
575
576 #. type: Plain text
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron
579 msgid ""
580 "Generates/removes a \\&.pcrlock file based on the specified PE binary\\&. "
581 "This is useful for predicting measurements the firmware makes to PCR 4 "
582 "(\"boot-loader-code\") if the specified binary is part of the UEFI boot "
583 "process\\&. Use this on boot loader binaries and suchlike\\&. Use B<lock-"
584 "uki> (see below) for PE binaries that are unified kernel images (UKIs)\\&."
585 msgstr ""
586
587 #. type: Plain text
588 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
589 #: mageia-cauldron
590 msgid ""
591 "Expects a path to the PE binary as argument\\&. If not specified, reads the "
592 "binary from STDIN instead\\&."
593 msgstr ""
594
595 #. type: Plain text
596 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
597 #: mageia-cauldron
598 msgid ""
599 "The pcrlock file to write must be specified via the B<--pcrlock=> switch\\&."
600 msgstr ""
601
602 #. type: Plain text
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron
605 msgid "B<lock-uki> [I<UKI>], B<unlock-uki>"
606 msgstr ""
607
608 #. type: Plain text
609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
610 #: mageia-cauldron
611 msgid ""
612 "Generates/removes a \\&.pcrlock file based on the specified UKI PE "
613 "binary\\&. This is useful for predicting measurements the firmware makes to "
614 "PCR 4 (\"boot-loader-code\"), and B<systemd-stub>(7) makes to PCR 11 "
615 "(\"kernel-boot\"), if the specified UKI is booted\\&. This is a superset of "
616 "B<lock-pe>\\&."
617 msgstr ""
618
619 #. type: Plain text
620 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
621 #: mageia-cauldron
622 msgid ""
623 "Expects a path to the UKI PE binary as argument\\&. If not specified, reads "
624 "the binary from STDIN instead\\&."
625 msgstr ""
626
627 #. type: Plain text
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron
630 msgid "B<lock-machine-id>, B<unlock-machine-id>"
631 msgstr ""
632
633 #. type: Plain text
634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
635 #: mageia-cauldron
636 msgid ""
637 "Generates/removes a \\&.pcrlock file based on /etc/machine-id\\&. This is "
638 "useful for predicting measurements B<systemd-pcrmachine.service>(8) makes "
639 "to PCR 15 (\"system-identity\")\\&."
640 msgstr ""
641
642 #. type: Plain text
643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
644 #: mageia-cauldron
645 msgid ""
646 "This writes/removes the file /var/lib/pcrlock\\&.d/820-machine-"
647 "id\\&.pcrlock\\&."
648 msgstr ""
649
650 #. type: Plain text
651 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
652 #: mageia-cauldron
653 msgid "B<lock-file-system> [I<PATH>], B<unlock-file-system> [I<PATH>]"
654 msgstr ""
655
656 #. type: Plain text
657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
658 #: mageia-cauldron
659 msgid ""
660 "Generates/removes a \\&.pcrlock file based on file system identity\\&. This "
661 "is useful for predicting measurements B<[email protected]>(8) makes to "
662 "PCR 15 (\"system-identity\") for the root and /var/ file systems\\&."
663 msgstr ""
664
665 #. type: Plain text
666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
667 #: mageia-cauldron
668 msgid ""
669 "This writes/removes the files /var/lib/pcrlock\\&.d/830-root-file-"
670 "system\\&.pcrlock and /var/lib/pcrlock\\&.d/840-file-system-"
671 "I<path>\\&.pcrlock\\&."
672 msgstr ""
673
674 #. type: Plain text
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: mageia-cauldron
677 msgid "B<lock-kernel-cmdline> [I<FILE>], B<unlock-kernel-cmdline>"
678 msgstr ""
679
680 #. type: Plain text
681 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
682 #: mageia-cauldron
683 msgid ""
684 "Generates/removes a \\&.pcrlock file based on /proc/cmdline (or the "
685 "specified file if given)\\&. This is useful for predicting measurements the "
686 "Linux kernel makes to PCR 9 (\"kernel-initrd\")\\&."
687 msgstr ""
688
689 #. type: Plain text
690 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
691 #: mageia-cauldron
692 msgid ""
693 "This writes/removes the file /var/lib/pcrlock\\&.d/710-kernel-"
694 "cmdline\\&.pcrlock/generated\\&.pcrlock\\&."
695 msgstr ""
696
697 #. type: Plain text
698 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
699 #: mageia-cauldron
700 msgid "B<lock-kernel-initrd> I<FILE>, B<unlock-kernel-initrd>"
701 msgstr ""
702
703 #. type: Plain text
704 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
705 #: mageia-cauldron
706 msgid ""
707 "Generates/removes a \\&.pcrlock file based on a kernel initrd cpio "
708 "archive\\&. This is useful for predicting measurements the Linux kernel "
709 "makes to PCR 9 (\"kernel-initrd\")\\&. Do not use for B<systemd-stub>(7) "
710 "UKIs, as the initrd is combined dynamically from various sources and hence "
711 "does not take a single input, like this command\\&."
712 msgstr ""
713
714 #. type: Plain text
715 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
716 #: mageia-cauldron
717 msgid ""
718 "This writes/removes the file /var/lib/pcrlock\\&.d/720-kernel-"
719 "initrd\\&.pcrlock/generated\\&.pcrlock\\&."
720 msgstr ""
721
722 #. type: Plain text
723 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
724 #: mageia-cauldron
725 msgid "B<lock-raw> [I<FILE>], B<unlock-raw>"
726 msgstr ""
727
728 #. type: Plain text
729 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
730 #: mageia-cauldron
731 msgid ""
732 "Generates/removes a \\&.pcrlock file based on raw binary data\\&. The data "
733 "is either read from the specified file or from STDIN (if none is specified)"
734 "\\&. This requires that B<--pcrs=> is specified\\&. The generated "
735 "\\&.pcrlock file is written to the file specified via B<--pcrlock=> or to "
736 "STDOUT (if none is specified)\\&."
737 msgstr ""
738
739 #. type: SH
740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
741 #: mageia-cauldron
742 #, no-wrap
743 msgid "OPTIONS"
744 msgstr ""
745
746 #. type: Plain text
747 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
748 #: mageia-cauldron
749 msgid "The following options are understood:"
750 msgstr ""
751
752 #. type: Plain text
753 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
754 #: mageia-cauldron
755 msgid "B<--raw-description>"
756 msgstr ""
757
758 #. type: Plain text
759 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
760 #: mageia-cauldron
761 msgid ""
762 "When displaying the TPM2 event log do not attempt to decode the records to "
763 "provide a friendly event log description string\\&. Instead, show the binary "
764 "payload data in escaped form\\&."
765 msgstr ""
766
767 #. type: Plain text
768 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
769 #: mageia-cauldron
770 msgid "B<--pcr=>"
771 msgstr ""
772
773 #. type: Plain text
774 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
775 #: mageia-cauldron
776 msgid ""
777 "Specifies the PCR number to use\\&. May be specified more than once to "
778 "select multiple PCRs\\&."
779 msgstr ""
780
781 #. type: Plain text
782 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
783 #: mageia-cauldron
784 msgid ""
785 "This is used by B<lock-raw> and B<lock-pe> to select the PCR to lock "
786 "against\\&."
787 msgstr ""
788
789 #. type: Plain text
790 #: archlinux debian-unstable fedora-44 fedora-rawhide
791 msgid ""
792 "If used with B<predict> and B<make-policy> this will override which PCRs to "
793 "include in the prediction and policy\\&. If unspecified this defaults to "
794 "PCRs 0-5, 7, 11, 13-15\\&. Note that these commands will not include any "
795 "PCRs in the prediction/policy (even if specified explicitly) if there are "
796 "measurements in the event log that do not match the current PCR value, or "
797 "there are unrecognized measurements in the event log, or components define "
798 "measurements not seen in the event log\\&."
799 msgstr ""
800
801 #. type: Plain text
802 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
803 #: mageia-cauldron
804 msgid "B<--nv-index=>"
805 msgstr ""
806
807 #. type: Plain text
808 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
809 #: mageia-cauldron
810 msgid ""
811 "Specifies the NV index to store the policy in\\&. Honoured by B<make-"
812 "policy>\\&. If not specified, the command will automatically pick a free NV "
813 "index\\&."
814 msgstr ""
815
816 #. type: Plain text
817 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
818 #: mageia-cauldron
819 msgid "B<--components=>"
820 msgstr ""
821
822 #. type: Plain text
823 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
824 #: mageia-cauldron
825 msgid ""
826 "Takes a path to read *\\&.pcrlock and *\\&.pcrlock\\&.d/*\\&.pcrlock files "
827 "from\\&. May be used more than once to specify multiple such directories\\&. "
828 "If not specified, defaults to /etc/pcrlock\\&.d/, /run/pcrlock\\&.d/, /var/"
829 "lib/pcrlock\\&.d/, /usr/local/lib/pcrlock\\&.d/, /usr/lib/pcrlock\\&.d/\\&."
830 msgstr ""
831
832 #. type: Plain text
833 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
834 #: mageia-cauldron
835 msgid "B<--location=>"
836 msgstr ""
837
838 #. type: Plain text
839 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
840 #: mageia-cauldron
841 msgid ""
842 "Takes either a string or a colon-separated pair of strings\\&. Configures up "
843 "to which point in the sorted list of defined components to analyze/predict "
844 "PCRs to\\&. Typically, the B<systemd-pcrlock> tool is invoked from a fully "
845 "booted system after boot-up and before shutdown\\&. This means various "
846 "components that are defined for shutdown have not been measured yet, and "
847 "should not be searched for\\&. This option allows one to restrict which "
848 "components are considered for analysis (taking only components before some "
849 "point into account, ignoring components after them)\\&. The expected string "
850 "is ordered against the filenames of the components defined\\&. Any "
851 "components with a lexicographically later name are ignored\\&. This logic "
852 "applies to the B<log>, B<predict>, and B<make-policy> verbs\\&. If a colon-"
853 "separated pair of strings are specified then they select which phases of the "
854 "boot to include in the prediction/policy\\&. The first string defines where "
855 "the first prediction shall be made, and the second string defines where the "
856 "last prediction shall be made\\&. All such predictions are then combined "
857 "into one set\\&."
858 msgstr ""
859
860 #. type: Plain text
861 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
862 #: mageia-cauldron
863 msgid ""
864 "If used with B<list-components> the selected location range will be "
865 "highlighted in the component list\\&."
866 msgstr ""
867
868 #. type: Plain text
869 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
870 #: mageia-cauldron
871 msgid ""
872 "Defaults to \"760-:940-\", which means the policies generated by default "
873 "will basically cover the whole runtime of the OS userspace, from the initrd "
874 "(as \"760-\" closely follows 750-enter-initrd\\&.pcrlock) until (and "
875 "including) the main runtime of the system (as \"940-\" is closely followed "
876 "by 950-shutdown\\&.pcrlock)\\&. See B<systemd.pcrlock>(5) for a full list "
877 "of well-known components, that illustrate where this range is placed by "
878 "default\\&."
879 msgstr ""
880
881 #. type: Plain text
882 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
883 #: mageia-cauldron
884 msgid "B<--recovery-pin=>"
885 msgstr ""
886
887 #. type: Plain text
888 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
889 #: mageia-cauldron
890 msgid ""
891 "Takes one of \"hide\", \"show\" or \"query\"\\&. Defaults to \"hide\"\\&. "
892 "Honoured by B<make-policy>\\&. If \"query\", will query the user for a PIN "
893 "to unlock the TPM2 NV index with\\&. If no policy was created before, this "
894 "PIN is used to protect the newly allocated NV index\\&. If a policy has been "
895 "created before, the PIN is used to unlock write access to the NV index\\&. "
896 "If either \"hide\" or \"show\" is used, a PIN is automatically generated, "
897 "and \\(em only in case of \"show\" \\(em displayed on screen\\&. Regardless "
898 "if user supplied or automatically generated, it is stored in encrypted form "
899 "in the policy metadata file\\&. The recovery PIN may be used to regain write "
900 "access to an NV index in case the access policy became out of date\\&."
901 msgstr ""
902
903 #. type: Plain text
904 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
905 #: mageia-cauldron
906 msgid "B<--pcrlock=>"
907 msgstr ""
908
909 #. type: Plain text
910 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
911 #: mageia-cauldron
912 msgid ""
913 "Takes a file system path as argument\\&. If specified, configures where to "
914 "write the generated pcrlock data to\\&. Honoured by the various B<lock-*> "
915 "commands\\&. If not specified, a default path is generally used, as "
916 "documented above\\&."
917 msgstr ""
918
919 #. type: Plain text
920 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
921 #: mageia-cauldron
922 msgid "B<--policy=>"
923 msgstr ""
924
925 #. type: Plain text
926 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
927 #: mageia-cauldron
928 msgid ""
929 "Takes a file system path as argument\\&. If specified, configures where to "
930 "write pcrlock policy metadata to\\&. If not specified, defaults to /var/lib/"
931 "systemd/pcrlock\\&.json\\&."
932 msgstr ""
933
934 #. type: Plain text
935 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
936 #: mageia-cauldron
937 msgid "B<--force>"
938 msgstr ""
939
940 #. type: Plain text
941 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
942 #: mageia-cauldron
943 msgid ""
944 "If specified with B<make-policy>, the predicted policy will be written to "
945 "the NV index even if it is detected to be the same as the previously stored "
946 "one\\&."
947 msgstr ""
948
949 #. type: Plain text
950 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
951 #: mageia-cauldron
952 msgid "B<--entry-token=>"
953 msgstr ""
954
955 #. type: Plain text
956 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
957 #: mageia-cauldron
958 msgid ""
959 "Sets the boot entry token to use for the file name for the pcrlock policy "
960 "credential in the EFI System Partition or XBOOTLDR partition\\&. See the "
961 "B<bootctl>(1) option of the same regarding expected values\\&. This switch "
962 "has an effect on the B<make-policy> command only\\&."
963 msgstr ""
964
965 #. type: Plain text
966 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
967 #: mageia-cauldron
968 msgid "Added in version 256\\&."
969 msgstr ""
970
971 #. type: Plain text
972 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
973 msgid "B<--quiet>"
974 msgstr ""
975
976 #. type: Plain text
977 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
978 msgid "If specified suppresses output when invoked for B<is-supported>\\&."
979 msgstr ""
980
981 #. type: Plain text
982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
983 #: mageia-cauldron
984 msgid "B<--json=>I<MODE>"
985 msgstr ""
986
987 #. type: Plain text
988 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
989 #: mageia-cauldron
990 msgid ""
991 "Shows output formatted as JSON\\&. Expects one of \"short\" (for the "
992 "shortest possible output without any redundant whitespace or line breaks), "
993 "\"pretty\" (for a pretty version of the same, with indentation and line "
994 "breaks) or \"off\" (to turn off JSON output, the default)\\&."
995 msgstr ""
996
997 #. type: Plain text
998 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
999 #: mageia-cauldron
1000 msgid "B<--no-pager>"
1001 msgstr ""
1002
1003 #. type: Plain text
1004 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1005 #: mageia-cauldron
1006 msgid "Do not pipe output into a pager\\&."
1007 msgstr ""
1008
1009 #. type: Plain text
1010 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1011 #: mageia-cauldron
1012 msgid "B<-h>, B<--help>"
1013 msgstr ""
1014
1015 #. type: Plain text
1016 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1017 #: mageia-cauldron
1018 msgid "Print a short help text and exit\\&."
1019 msgstr ""
1020
1021 #. type: Plain text
1022 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1023 #: mageia-cauldron
1024 msgid "B<--version>"
1025 msgstr ""
1026
1027 #. type: Plain text
1028 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1029 #: mageia-cauldron
1030 msgid "Print a short version string and exit\\&."
1031 msgstr ""
1032
1033 #. type: SH
1034 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1035 #: mageia-cauldron
1036 #, no-wrap
1037 msgid "EXIT STATUS"
1038 msgstr ""
1039
1040 #. type: Plain text
1041 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1042 #: mageia-cauldron
1043 msgid "On success, 0 is returned, a non-zero failure code otherwise\\&."
1044 msgstr ""
1045
1046 #. type: SH
1047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1048 #: mageia-cauldron
1049 #, no-wrap
1050 msgid "SEE ALSO"
1051 msgstr ""
1052
1053 #. type: Plain text
1054 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1055 #: mageia-cauldron
1056 msgid ""
1057 "B<systemd>(1), B<systemd.pcrlock>(5), B<systemd-cryptenroll>(1), B<systemd-"
1058 "[email protected]>(8), B<systemd-repart>(8), B<systemd-"
1059 "pcrmachine.service>(8), B<systemd-creds>(1), B<systemd-stub>(7), "
1060 "B<bootctl>(1)"
1061 msgstr ""
1062
1063 #. type: SH
1064 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1065 #: mageia-cauldron
1066 #, no-wrap
1067 msgid "NOTES"
1068 msgstr ""
1069
1070 #. type: IP
1071 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1072 #: mageia-cauldron
1073 #, no-wrap
1074 msgid " 1."
1075 msgstr ""
1076
1077 #. type: Plain text
1078 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1079 #: mageia-cauldron
1080 msgid "TCG Canonical Event Log Format (CEL-JSON)"
1081 msgstr ""
1082
1083 #. type: Plain text
1084 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1085 #: mageia-cauldron
1086 msgid ""
1087 "\\%https://trustedcomputinggroup.org/resource/canonical-event-log-format/"
1088 msgstr ""
1089
1090 #. type: TH
1091 #: debian-trixie
1092 #, no-wrap
1093 msgid "systemd 257.13"
1094 msgstr ""
1095
1096 #. type: Plain text
1097 #: debian-trixie mageia-cauldron
1098 msgid ""
1099 "If used with B<predict> and B<make-policy> this will override which PCRs to "
1100 "include in the prediction and policy\\&. If unspecified this defaults to "
1101 "PCRs 0-5, 7, 11-15\\&. Note that these commands will not include any PCRs in "
1102 "the prediction/policy (even if specified explicitly) if there are "
1103 "measurements in the event log that do not match the current PCR value, or "
1104 "there are unrecognized measurements in the event log, or components define "
1105 "measurements not seen in the event log\\&."
1106 msgstr ""
1107
1108 #. type: TH
1109 #: debian-unstable
1110 #, no-wrap
1111 msgid "systemd 261~rc3"
1112 msgstr ""
1113
1114 #. type: TH
1115 #: fedora-44
1116 #, no-wrap
1117 msgid "systemd 259.5"
1118 msgstr ""
1119
1120 #. type: TH
1121 #: fedora-rawhide
1122 #, no-wrap
1123 msgid "systemd 261~rc2"
1124 msgstr ""
1125
1126 #. type: TH
1127 #: mageia-cauldron
1128 #, no-wrap
1129 msgid "systemd 258.7"
1130 msgstr ""