| 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 opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "SYSTEMD-MEASURE" |
| 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 opensuse-tumbleweed |
| 35 |
#, no-wrap |
| 36 |
msgid "systemd-measure" |
| 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 opensuse-tumbleweed |
| 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 opensuse-tumbleweed |
| 52 |
msgid "" |
| 53 |
"systemd-measure - Pre-calculate and sign expected TPM2 PCR 11 values for " |
| 54 |
"booted unified kernel images" |
| 55 |
msgstr "" |
| 56 |
|
| 57 |
#. type: SH |
| 58 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 59 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 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 opensuse-tumbleweed |
| 67 |
msgid "B</usr/lib/systemd/systemd-measure> [OPTIONS...]" |
| 68 |
msgstr "" |
| 69 |
|
| 70 |
#. type: SH |
| 71 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 72 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 73 |
#, no-wrap |
| 74 |
msgid "DESCRIPTION" |
| 75 |
msgstr "" |
| 76 |
|
| 77 |
#. type: Plain text |
| 78 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 79 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 80 |
msgid "" |
| 81 |
"Note: this command is experimental for now\\&. While it is likely to become " |
| 82 |
"a regular component of systemd, it might still change in behaviour and " |
| 83 |
"interface\\&." |
| 84 |
msgstr "" |
| 85 |
|
| 86 |
#. type: Plain text |
| 87 |
#: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed |
| 88 |
msgid "" |
| 89 |
"B<systemd-measure> is a tool that may be used to pre-calculate and sign the " |
| 90 |
"expected TPM2 PCR 11 values that should be seen when a Linux " |
| 91 |
"\\m[blue]B<UAPI\\&.5 Unified Kernel Image (UKI)>\\m[]\\&\\s-2\\u[1]\\d\\s+2 " |
| 92 |
"based on B<systemd-stub>(7) is booted up\\&. It accepts paths to the ELF " |
| 93 |
"kernel image file, initrd image file, devicetree file, kernel command line " |
| 94 |
"file, B<os-release>(5) file, boot splash file, and TPM2 PCR PEM public key " |
| 95 |
"file that make up the unified kernel image, and determines the PCR values " |
| 96 |
"expected to be in place after booting the image\\&. Calculation starts with " |
| 97 |
"a zero-initialized PCR 11, and is executed in a fashion compatible with what " |
| 98 |
"systemd-stub does at boot\\&. The result may optionally be signed " |
| 99 |
"cryptographically, to allow TPM2 policies that can only be unlocked if a " |
| 100 |
"certain set of kernels is booted, for which such a PCR signature can be " |
| 101 |
"provided\\&." |
| 102 |
msgstr "" |
| 103 |
|
| 104 |
#. type: Plain text |
| 105 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 106 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 107 |
msgid "" |
| 108 |
"It usually does not make sense to call this tool directly when constructing " |
| 109 |
"a UKI\\&. Instead, B<ukify>(1) should be used; it will invoke B<systemd-" |
| 110 |
"measure> and take care of embedding the resulting measurements into the " |
| 111 |
"UKI\\&." |
| 112 |
msgstr "" |
| 113 |
|
| 114 |
#. type: SH |
| 115 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 116 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 117 |
#, no-wrap |
| 118 |
msgid "COMMANDS" |
| 119 |
msgstr "" |
| 120 |
|
| 121 |
#. type: Plain text |
| 122 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 123 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 124 |
msgid "The following commands are understood:" |
| 125 |
msgstr "" |
| 126 |
|
| 127 |
#. type: Plain text |
| 128 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 129 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 130 |
msgid "B<status>" |
| 131 |
msgstr "" |
| 132 |
|
| 133 |
#. type: Plain text |
| 134 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 135 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 136 |
msgid "" |
| 137 |
"This is the default command if none is specified\\&. This queries the local " |
| 138 |
"system\\*(Aqs TPM2 PCR 11 values and displays them\\&. The data is written " |
| 139 |
"in a similar format as the B<calculate> command below, and may be used to " |
| 140 |
"quickly compare expectation with reality\\&." |
| 141 |
msgstr "" |
| 142 |
|
| 143 |
#. type: Plain text |
| 144 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 145 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 146 |
msgid "Added in version 252\\&." |
| 147 |
msgstr "" |
| 148 |
|
| 149 |
#. type: Plain text |
| 150 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 151 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 152 |
msgid "B<calculate>" |
| 153 |
msgstr "" |
| 154 |
|
| 155 |
#. type: Plain text |
| 156 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 157 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 158 |
msgid "" |
| 159 |
"Pre-calculate the expected values seen in PCR register 11 after boot-up of a " |
| 160 |
"unified kernel image consisting of the components specified with B<--" |
| 161 |
"linux=>, B<--osrel=>, B<--cmdline=>, B<--initrd=>, B<--ucode=>, B<--" |
| 162 |
"splash=>, B<--dtb=>, B<--uname=>, B<--sbat=>, B<--pcrpkey=>, B<--profile=>, " |
| 163 |
"B<--dtbauto=>, B<--hwids=>, see below\\&. Only B<--linux=> is mandatory\\&. " |
| 164 |
"(Alternatively, specify B<--current> to use the current values of PCR " |
| 165 |
"register 11 instead\\&.)" |
| 166 |
msgstr "" |
| 167 |
|
| 168 |
#. type: Plain text |
| 169 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 170 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 171 |
msgid "B<sign>" |
| 172 |
msgstr "" |
| 173 |
|
| 174 |
#. type: Plain text |
| 175 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 176 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 177 |
msgid "" |
| 178 |
"As with the B<calculate> command, pre-calculate the expected value seen in " |
| 179 |
"TPM2 PCR register 11 after boot-up of a unified kernel image\\&. Then, " |
| 180 |
"cryptographically sign the resulting values with the private/public key pair " |
| 181 |
"(RSA) configured via B<--private-key=> and B<--public-key=>\\&. This will " |
| 182 |
"write a JSON object to standard output that contains signatures for all " |
| 183 |
"specified PCR banks (see the B<--bank=> option below), which may be used to " |
| 184 |
"unlock encrypted credentials (see B<systemd-creds>(1)) or LUKS volumes (see " |
| 185 |
"B<[email protected]>(8))\\&. This allows binding secrets to a set " |
| 186 |
"of kernels for which such PCR 11 signatures can be provided\\&." |
| 187 |
msgstr "" |
| 188 |
|
| 189 |
#. type: Plain text |
| 190 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 191 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 192 |
msgid "" |
| 193 |
"Note that a TPM2 device must be available for this signing to take place, " |
| 194 |
"even though the result is not tied to any TPM2 device or its state\\&." |
| 195 |
msgstr "" |
| 196 |
|
| 197 |
#. type: Plain text |
| 198 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 199 |
#: opensuse-tumbleweed |
| 200 |
msgid "B<policy-digest>" |
| 201 |
msgstr "" |
| 202 |
|
| 203 |
#. type: Plain text |
| 204 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 205 |
#: opensuse-tumbleweed |
| 206 |
msgid "" |
| 207 |
"As with the B<sign> command, pre-calculate the expected value seen in TPM2 " |
| 208 |
"PCR register 11 after boot-up of a unified kernel image\\&. Then, compute " |
| 209 |
"the resulting TPM2 policy and print its digest\\&. This will write a JSON " |
| 210 |
"object to standard output that contains the policy digests for all specified " |
| 211 |
"PCR banks (see the B<--bank=> option below), so that it may be signed " |
| 212 |
"offline, for the cases where the private key is not directly accessible\\&. " |
| 213 |
"If B<--public-key=> or B<--certificate=> are specified, the JSON object will " |
| 214 |
"also contain the key fingerprint\\&." |
| 215 |
msgstr "" |
| 216 |
|
| 217 |
#. type: Plain text |
| 218 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 219 |
#: opensuse-tumbleweed |
| 220 |
msgid "Added in version 258\\&." |
| 221 |
msgstr "" |
| 222 |
|
| 223 |
#. type: SH |
| 224 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 225 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 226 |
#, no-wrap |
| 227 |
msgid "OPTIONS" |
| 228 |
msgstr "" |
| 229 |
|
| 230 |
#. type: Plain text |
| 231 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 232 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 233 |
msgid "The following options are understood:" |
| 234 |
msgstr "" |
| 235 |
|
| 236 |
#. type: Plain text |
| 237 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 238 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 239 |
msgid "" |
| 240 |
"B<--linux=>I<PATH>, B<--osrel=>I<PATH>, B<--cmdline=>I<PATH>, B<--" |
| 241 |
"initrd=>I<PATH>, B<--ucode=>I<PATH>, B<--splash=>I<PATH>, B<--dtb=>I<PATH>, " |
| 242 |
"B<--uname=>I<PATH>, B<--sbat=>I<PATH>, B<--pcrpkey=>I<PATH>, B<--" |
| 243 |
"profile=>I<PATH>, B<--dtbauto=>I<PATH>, B<--hwids=>I<PATH>" |
| 244 |
msgstr "" |
| 245 |
|
| 246 |
#. type: Plain text |
| 247 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 248 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 249 |
msgid "" |
| 250 |
"When used with the B<calculate> or B<sign> verb, configures the files to " |
| 251 |
"read the unified kernel image components from\\&. Each option corresponds " |
| 252 |
"with the equally named section in the unified kernel PE file\\&. The B<--" |
| 253 |
"linux=> switch expects the path to the ELF kernel file that the unified PE " |
| 254 |
"kernel will wrap\\&. All switches except B<--linux=> are optional\\&. Each " |
| 255 |
"option may be used at most once\\&." |
| 256 |
msgstr "" |
| 257 |
|
| 258 |
#. type: Plain text |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
msgid "" |
| 262 |
"With the exception of B<--profile=>, B<--dtbauto=> and B<--hwids=>, which " |
| 263 |
"have been added in version 257\\&." |
| 264 |
msgstr "" |
| 265 |
|
| 266 |
#. type: Plain text |
| 267 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 268 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 269 |
msgid "B<--current>" |
| 270 |
msgstr "" |
| 271 |
|
| 272 |
#. type: Plain text |
| 273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
msgid "" |
| 276 |
"When used with the B<calculate> or B<sign> verb, takes the PCR 11 values " |
| 277 |
"currently in effect for the system (which should typically reflect the " |
| 278 |
"hashes of the currently booted kernel)\\&. This can be used in place of B<--" |
| 279 |
"linux=> and the other switches listed above\\&." |
| 280 |
msgstr "" |
| 281 |
|
| 282 |
#. type: Plain text |
| 283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 285 |
msgid "B<--bank=>I<DIGEST>" |
| 286 |
msgstr "" |
| 287 |
|
| 288 |
#. type: Plain text |
| 289 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 290 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 291 |
msgid "" |
| 292 |
"Controls the PCR banks to pre-calculate the PCR values for \\(en in case " |
| 293 |
"B<calculate> or B<sign> is invoked \\(en, or the banks to show in the " |
| 294 |
"B<status> output\\&. May be used more then once to specify multiple " |
| 295 |
"banks\\&. If not specified, defaults to the four banks \"sha1\", \"sha256\", " |
| 296 |
"\"sha384\", \"sha512\"\\&." |
| 297 |
msgstr "" |
| 298 |
|
| 299 |
#. type: Plain text |
| 300 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 301 |
#: opensuse-tumbleweed |
| 302 |
msgid "" |
| 303 |
"Note that some operating systems disable support for SHA1-based signatures, " |
| 304 |
"in which case this operation will fail\\&. Please consult your OS\\*(Aq " |
| 305 |
"documentation for details on how to override the OS security policy around " |
| 306 |
"this\\&." |
| 307 |
msgstr "" |
| 308 |
|
| 309 |
#. type: Plain text |
| 310 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 311 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 312 |
msgid "" |
| 313 |
"B<--private-key=>I<PATH>, B<--public-key=>I<PATH>, B<--certificate=>I<PATH>" |
| 314 |
msgstr "" |
| 315 |
|
| 316 |
#. type: Plain text |
| 317 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 318 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 319 |
msgid "" |
| 320 |
"These switches take paths to a pair of PEM encoded RSA key files, for use " |
| 321 |
"with the B<sign> command\\&." |
| 322 |
msgstr "" |
| 323 |
|
| 324 |
#. type: Plain text |
| 325 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 326 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 327 |
msgid "" |
| 328 |
"Note the difference between the B<--pcrpkey=> and B<--public-key=> " |
| 329 |
"switches\\&. The former selects the data to include in the \"\\&.pcrpkey\" " |
| 330 |
"PE section of the unified kernel image, the latter picks the public key of " |
| 331 |
"the key pair used to sign the resulting PCR 11 values\\&. The former is the " |
| 332 |
"key that the booted system will likely use to lock disk and credential " |
| 333 |
"encryption to, the latter is the key used for unlocking such resources " |
| 334 |
"again\\&. Hence, typically the same PEM key should be supplied in both " |
| 335 |
"cases\\&." |
| 336 |
msgstr "" |
| 337 |
|
| 338 |
#. type: Plain text |
| 339 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 340 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 341 |
msgid "" |
| 342 |
"If the B<--public-key=> is not specified but B<--private-key=> is specified, " |
| 343 |
"the public key is automatically derived from the private key\\&." |
| 344 |
msgstr "" |
| 345 |
|
| 346 |
#. type: Plain text |
| 347 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 348 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 349 |
msgid "" |
| 350 |
"B<--certificate=> can be used to specify an X\\&.509 certificate as an " |
| 351 |
"alternative to B<--public-key=> since v256\\&." |
| 352 |
msgstr "" |
| 353 |
|
| 354 |
#. type: Plain text |
| 355 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 356 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 357 |
msgid "" |
| 358 |
"B<--private-key=>I<PATH/URI>, B<--private-key-" |
| 359 |
"source=>I<TYPE>B<[:>I<NAME>B<]>, B<--certificate=>I<PATH/URI>, B<--" |
| 360 |
"certificate-source=>I<TYPE>B<[:>I<NAME>B<]>" |
| 361 |
msgstr "" |
| 362 |
|
| 363 |
#. type: Plain text |
| 364 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 365 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 366 |
msgid "" |
| 367 |
"As an alternative to B<--public-key=> for the B<sign> command, these " |
| 368 |
"switches can be used to sign with an hardware token\\&. The private key " |
| 369 |
"option can take a path or a URI that will be passed to the OpenSSL engine or " |
| 370 |
"provider, as specified by B<--private-key-source=> as a type:name tuple, " |
| 371 |
"such as engine:pkcs11\\&. The specified OpenSSL signing engine or provider " |
| 372 |
"will be used to sign\\&." |
| 373 |
msgstr "" |
| 374 |
|
| 375 |
#. type: Plain text |
| 376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 378 |
msgid "" |
| 379 |
"The B<--certificate=> option also takes a path or a URI that will be passed " |
| 380 |
"to the OpenSSL provider, as specified by B<--certificate-source=> as a " |
| 381 |
"\"type:name\" tuple, such as \"provider:pkcs11\"\\&. Note that unlike B<--" |
| 382 |
"private-key-source=> this option only supports providers and not engines\\&." |
| 383 |
msgstr "" |
| 384 |
|
| 385 |
#. type: Plain text |
| 386 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 387 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 388 |
msgid "Added in version 256\\&." |
| 389 |
msgstr "" |
| 390 |
|
| 391 |
#. type: Plain text |
| 392 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 393 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 394 |
msgid "B<--tpm2-device=>I<PATH>" |
| 395 |
msgstr "" |
| 396 |
|
| 397 |
#. type: Plain text |
| 398 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 399 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 400 |
msgid "" |
| 401 |
"Controls which TPM2 device to use\\&. Expects a device node path referring " |
| 402 |
"to the TPM2 chip (e\\&.g\\&. /dev/tpmrm0)\\&. Alternatively the special " |
| 403 |
"value \"auto\" may be specified, in order to automatically determine the " |
| 404 |
"device node of a suitable TPM2 device (of which there must be exactly one)" |
| 405 |
"\\&. The special value \"list\" may be used to enumerate all suitable TPM2 " |
| 406 |
"devices currently discovered\\&." |
| 407 |
msgstr "" |
| 408 |
|
| 409 |
#. type: Plain text |
| 410 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 411 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 412 |
msgid "B<--phase=>I<PHASE>" |
| 413 |
msgstr "" |
| 414 |
|
| 415 |
#. type: Plain text |
| 416 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 417 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 418 |
msgid "" |
| 419 |
"Controls which boot phases to calculate expected PCR 11 values for\\&. This " |
| 420 |
"takes a series of colon-separated strings that encode boot \"paths\" for " |
| 421 |
"entering a specific phase of the boot process\\&. Each of the specified " |
| 422 |
"strings is measured by the systemd-pcrphase-initrd\\&.service, systemd-" |
| 423 |
"pcrphase-sysinit\\&.service, and B<systemd-pcrphase.service>(8) into PCR 11 " |
| 424 |
"during different milestones of the boot process\\&. This switch may be " |
| 425 |
"specified multiple times to calculate PCR values for multiple boot phases at " |
| 426 |
"once\\&. If not used defaults to \"enter-initrd\", \"enter-initrd:leave-" |
| 427 |
"initrd\", \"enter-initrd:leave-initrd:sysinit\", \"enter-initrd:leave-" |
| 428 |
"initrd:sysinit:ready\", i\\&.e\\&. calculates expected PCR values for the " |
| 429 |
"boot phase in the initrd, during early boot, during later boot, and during " |
| 430 |
"system runtime, but excluding the phases before the initrd or when shutting " |
| 431 |
"down\\&. This setting is honoured both by B<calculate> and B<sign>\\&. When " |
| 432 |
"used with the latter it is particularly useful for generating PCR signatures " |
| 433 |
"that can only be used for unlocking resources during specific parts of the " |
| 434 |
"boot process\\&." |
| 435 |
msgstr "" |
| 436 |
|
| 437 |
#. type: Plain text |
| 438 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 439 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 440 |
msgid "" |
| 441 |
"For further details about PCR boot phases, see B<systemd-" |
| 442 |
"pcrphase.service>(8)\\&." |
| 443 |
msgstr "" |
| 444 |
|
| 445 |
#. type: Plain text |
| 446 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 447 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 448 |
msgid "B<--append=>I<PATH>" |
| 449 |
msgstr "" |
| 450 |
|
| 451 |
#. type: Plain text |
| 452 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 453 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 454 |
msgid "" |
| 455 |
"When generating a PCR JSON signature (via the B<sign> command), combine it " |
| 456 |
"with a previously generated PCR JSON signature, and output it as one\\&. The " |
| 457 |
"specified path must refer to a regular file that contains a valid JSON PCR " |
| 458 |
"signature object\\&. The specified file is not modified\\&. It will be read " |
| 459 |
"first, then the newly generated signature appended to it, and the resulting " |
| 460 |
"object is written to standard output\\&. Use this to generate a single JSON " |
| 461 |
"object consisting from signatures made with a number of signing keys (for " |
| 462 |
"example, to have one key per boot phase)\\&. The command will suppress " |
| 463 |
"duplicates: if a specific signature is already included in a JSON signature " |
| 464 |
"object it is not added a second time\\&." |
| 465 |
msgstr "" |
| 466 |
|
| 467 |
#. type: Plain text |
| 468 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 469 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 470 |
msgid "Added in version 253\\&." |
| 471 |
msgstr "" |
| 472 |
|
| 473 |
#. type: Plain text |
| 474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 476 |
msgid "B<--json=>I<MODE>" |
| 477 |
msgstr "" |
| 478 |
|
| 479 |
#. type: Plain text |
| 480 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 481 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 482 |
msgid "" |
| 483 |
"Shows output formatted as JSON\\&. Expects one of \"short\" (for the " |
| 484 |
"shortest possible output without any redundant whitespace or line breaks), " |
| 485 |
"\"pretty\" (for a pretty version of the same, with indentation and line " |
| 486 |
"breaks) or \"off\" (to turn off JSON output, the default)\\&." |
| 487 |
msgstr "" |
| 488 |
|
| 489 |
#. type: Plain text |
| 490 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 491 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 492 |
msgid "B<--no-pager>" |
| 493 |
msgstr "" |
| 494 |
|
| 495 |
#. type: Plain text |
| 496 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 497 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 498 |
msgid "Do not pipe output into a pager\\&." |
| 499 |
msgstr "" |
| 500 |
|
| 501 |
#. type: Plain text |
| 502 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 503 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 504 |
msgid "B<-h>, B<--help>" |
| 505 |
msgstr "" |
| 506 |
|
| 507 |
#. type: Plain text |
| 508 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 509 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 510 |
msgid "Print a short help text and exit\\&." |
| 511 |
msgstr "" |
| 512 |
|
| 513 |
#. type: Plain text |
| 514 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 515 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 516 |
msgid "B<--version>" |
| 517 |
msgstr "" |
| 518 |
|
| 519 |
#. type: Plain text |
| 520 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 521 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 522 |
msgid "Print a short version string and exit\\&." |
| 523 |
msgstr "" |
| 524 |
|
| 525 |
#. type: SH |
| 526 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 527 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 528 |
#, no-wrap |
| 529 |
msgid "EXAMPLES" |
| 530 |
msgstr "" |
| 531 |
|
| 532 |
#. type: Plain text |
| 533 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 534 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 535 |
msgid "" |
| 536 |
"B<Example\\ \\&1.\\ \\&Generate a unified kernel image, and calculate the " |
| 537 |
"expected TPM PCR 11 value>" |
| 538 |
msgstr "" |
| 539 |
|
| 540 |
#. type: Plain text |
| 541 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 542 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 543 |
#, no-wrap |
| 544 |
msgid "" |
| 545 |
"$ ukify build \\e\n" |
| 546 |
" --linux=vmlinux \\e\n" |
| 547 |
" --initrd=initrd\\&.cpio \\e\n" |
| 548 |
" --os-release=@os-release\\&.txt \\e\n" |
| 549 |
" --cmdline=@cmdline\\&.txt \\e\n" |
| 550 |
" --splash=splash\\&.bmp \\e\n" |
| 551 |
" --devicetree=devicetree\\&.dtb \\e\n" |
| 552 |
" --measure \\e\n" |
| 553 |
" --output=vmlinux\\&.efi\n" |
| 554 |
"11:sha1=d775a7b4482450ac77e03ee19bda90bd792d6ec7\n" |
| 555 |
"11:sha256=bc6170f9ce28eb051ab465cd62be8cf63985276766cf9faf527ffefb66f45651\n" |
| 556 |
"11:sha384=1cf67dff4757e61e5\\&.\\&.\\&.7f49ad720be02fd07263e1f93061243aec599d1ee4b4\n" |
| 557 |
"11:sha512=8e79acd3ddbbc8282\\&.\\&.\\&.0c3e8ec0c714821032038f525f744960bcd082d937da\n" |
| 558 |
msgstr "" |
| 559 |
|
| 560 |
#. type: Plain text |
| 561 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 562 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 563 |
msgid "" |
| 564 |
"B<ukify>(1) internally calls B<systemd-measure>\\&. The output with hashes " |
| 565 |
"is from B<systemd-measure>\\&." |
| 566 |
msgstr "" |
| 567 |
|
| 568 |
#. type: Plain text |
| 569 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 570 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 571 |
msgid "" |
| 572 |
"B<Example\\ \\&2.\\ \\&Generate a private/public key pair, a unified kernel " |
| 573 |
"image, and a TPM PCR 11 signature for it, and embed the signature and the " |
| 574 |
"public key in the image>" |
| 575 |
msgstr "" |
| 576 |
|
| 577 |
#. type: Plain text |
| 578 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 579 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 580 |
#, no-wrap |
| 581 |
msgid "" |
| 582 |
"$ openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out tpm2-pcr-private-key\\&.pem\n" |
| 583 |
"\\&.\\&.+\\&.+++++++++\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.+\\&.+\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.\n" |
| 584 |
"$ openssl rsa -pubout -in tpm2-pcr-private-key\\&.pem -out tpm2-pcr-public-key\\&.pem\n" |
| 585 |
"$ systemd-measure sign \\e\n" |
| 586 |
" --linux=vmlinux \\e\n" |
| 587 |
" --osrel=os-release\\&.txt \\e\n" |
| 588 |
" --cmdline=cmdline\\&.txt \\e\n" |
| 589 |
" --initrd=initrd\\&.cpio \\e\n" |
| 590 |
" --splash=splash\\&.bmp \\e\n" |
| 591 |
" --dtb=devicetree\\&.dtb \\e\n" |
| 592 |
" --pcrpkey=tpm2-pcr-public-key\\&.pem \\e\n" |
| 593 |
" --bank=sha1 \\e\n" |
| 594 |
" --bank=sha256 \\e\n" |
| 595 |
" --private-key=tpm2-pcr-private-key\\&.pem \\e\n" |
| 596 |
" --public-key=tpm2-pcr-public-key\\&.pem E<gt>tpm2-pcr-signature\\&.json\n" |
| 597 |
"$ ukify build \\e\n" |
| 598 |
" --linux=vmlinux \\e\n" |
| 599 |
" --initrd=initrd\\&.cpio \\e\n" |
| 600 |
" --os-release=@os-release\\&.txt \\e\n" |
| 601 |
" --cmdline=@cmdline\\&.txt \\e\n" |
| 602 |
" --splash=splash\\&.bmp \\e\n" |
| 603 |
" --devicetree=devicetree\\&.dtb \\e\n" |
| 604 |
" --pcr-private-key=tpm2-pcr-private-key\\&.pem \\e\n" |
| 605 |
" --pcr-public-key=tpm2-pcr-public-key\\&.pem \\e\n" |
| 606 |
" --pcr-banks=sha1,sha256 \\e\n" |
| 607 |
" --output=vmlinuz\\&.efi\n" |
| 608 |
msgstr "" |
| 609 |
|
| 610 |
#. type: Plain text |
| 611 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 612 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 613 |
msgid "Later on, enroll the signed PCR policy on a LUKS volume:" |
| 614 |
msgstr "" |
| 615 |
|
| 616 |
#. type: Plain text |
| 617 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 618 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 619 |
#, no-wrap |
| 620 |
msgid "" |
| 621 |
"# systemd-cryptenroll --tpm2-device=auto \\e\n" |
| 622 |
" --tpm2-public-key=tpm2-pcr-public-key\\&.pem \\e\n" |
| 623 |
" --tpm2-signature=tpm2-pcr-signature\\&.json \\e\n" |
| 624 |
" /dev/sda5\n" |
| 625 |
msgstr "" |
| 626 |
|
| 627 |
#. type: Plain text |
| 628 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 629 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 630 |
msgid "And then unlock the device with the signature:" |
| 631 |
msgstr "" |
| 632 |
|
| 633 |
#. type: Plain text |
| 634 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 635 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 636 |
#, no-wrap |
| 637 |
msgid "" |
| 638 |
"# systemd-cryptsetup attach \\e\n" |
| 639 |
" volume5 /dev/sda5 - \\e\n" |
| 640 |
" tpm2-device=auto,tpm2-signature=/path/to/tpm2-pcr-signature\\&.json\n" |
| 641 |
msgstr "" |
| 642 |
|
| 643 |
#. type: Plain text |
| 644 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 645 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 646 |
msgid "" |
| 647 |
"Note that when the generated unified kernel image vmlinux\\&.efi is booted, " |
| 648 |
"the signature and public key files will be placed at locations B<systemd-" |
| 649 |
"cryptenroll> and B<systemd-cryptsetup> will look for anyway, and thus these " |
| 650 |
"paths do not actually need to be specified\\&." |
| 651 |
msgstr "" |
| 652 |
|
| 653 |
#. type: Plain text |
| 654 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 655 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 656 |
msgid "" |
| 657 |
"B<Example\\ \\&3.\\ \\&Introduce a second public key, signing the same " |
| 658 |
"kernel PCR measurements, but only for the initrd boot phase>" |
| 659 |
msgstr "" |
| 660 |
|
| 661 |
#. type: Plain text |
| 662 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 663 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 664 |
msgid "" |
| 665 |
"This example extends the previous one, but we now introduce a second signing " |
| 666 |
"key that is only used to sign PCR policies restricted to the initrd boot " |
| 667 |
"phase\\&. This can be used to lock down root volumes in a way that they can " |
| 668 |
"only be unlocked before the transition to the host system\\&. Thus we have " |
| 669 |
"two classes of secrets or credentials: one that can be unlocked during the " |
| 670 |
"entire runtime, and the other that can only be used in the initrd\\&." |
| 671 |
msgstr "" |
| 672 |
|
| 673 |
#. type: Plain text |
| 674 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 675 |
#: opensuse-tumbleweed |
| 676 |
#, no-wrap |
| 677 |
msgid "" |
| 678 |
"$ openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out tpm2-pcr-private-key\\&.pem\n" |
| 679 |
"\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.+\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.+\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.\n" |
| 680 |
"$ openssl rsa -pubout -in tpm2-pcr-private-key\\&.pem -out tpm2-pcr-public-key\\&.pem\n" |
| 681 |
"$ openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out tpm2-pcr-initrd-private-key\\&.pem\n" |
| 682 |
"\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.++\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.+\\&.+\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.\n" |
| 683 |
"$ openssl rsa -pubout -in tpm2-pcr-initrd-private-key\\&.pem -out tpm2-pcr-initrd-public-key\\&.pem\n" |
| 684 |
"$ ukify build \\e\n" |
| 685 |
" --linux=vmlinux-1\\&.2\\&.3 \\e\n" |
| 686 |
" --initrd=initrd\\&.cpio \\e\n" |
| 687 |
" --os-release=@os-release\\&.txt \\e\n" |
| 688 |
" --cmdline=@cmdline\\&.txt \\e\n" |
| 689 |
" --splash=splash\\&.bmp \\e\n" |
| 690 |
" --devicetree=devicetree\\&.dtb \\e\n" |
| 691 |
" --pcr-private-key=tpm2-pcr-private-key\\&.pem \\e\n" |
| 692 |
" --pcr-public-key=tpm2-pcr-public-key\\&.pem \\e\n" |
| 693 |
" --phases=enter-initrd,enter-initrd:leave-initrd,enter-initrd:leave-initrd:sysinit,enter-initrd:leave-initrd:sysinit:ready \\e\n" |
| 694 |
" --pcr-banks=sha1,sha256 \\e\n" |
| 695 |
" --pcr-private-key=tpm2-pcr-initrd-private-key\\&.pem \\e\n" |
| 696 |
" --pcr-public-key=tpm2-pcr-initrd-public-key\\&.pem \\e\n" |
| 697 |
" --phases=enter-initrd \\e\n" |
| 698 |
" --uname=1\\&.2\\&.3 \\e\n" |
| 699 |
" --output=vmlinux-1\\&.2\\&.3\\&.efi\n" |
| 700 |
"+ /usr/lib/systemd/systemd-measure sign --linux=vmlinux-1\\&.2\\&.3 \\e\n" |
| 701 |
"--osrel=os-release\\&.txt --cmdline=cmdline\\&.txt --dtb=devicetree\\&.dtb \\e\n" |
| 702 |
"--splash=splash\\&.bmp --initrd=initrd\\&.cpio --bank=sha1 --bank=sha256 \\e\n" |
| 703 |
"--private-key=tpm2-pcr-private-key\\&.pem --public-key=tpm2-pcr-public-key\\&.pem \\e\n" |
| 704 |
"--phase=enter-initrd --phase=enter-initrd:leave-initrd \\e\n" |
| 705 |
"--phase=enter-initrd:leave-initrd:sysinit \\e\n" |
| 706 |
"--phase=enter-initrd:leave-initrd:sysinit:ready\n" |
| 707 |
"+ /usr/lib/systemd/systemd-measure sign --linux=vmlinux-1\\&.2\\&.3 \\e\n" |
| 708 |
"--osrel=os-release\\&.txt --cmdline=cmdline\\&.txt --dtb=devicetree\\&.dtb \\e\n" |
| 709 |
"--splash=splash\\&.bmp --initrd=initrd\\&.cpio --bank=sha1 --bank=sha256 \\e\n" |
| 710 |
"--private-key=tpm2-pcr-initrd-private-key\\&.pem \\e\n" |
| 711 |
"--public-key=tpm2-pcr-initrd-public-key\\&.pem \\e\n" |
| 712 |
"--phase=enter-initrd\n" |
| 713 |
"Wrote unsigned vmlinux-1\\&.2\\&.3\\&.efi\n" |
| 714 |
msgstr "" |
| 715 |
|
| 716 |
#. type: Plain text |
| 717 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 718 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 719 |
msgid "" |
| 720 |
"B<ukify> prints out both invocations of B<systemd-measure> as informative " |
| 721 |
"output (the lines starting with \"+\"); this allows us to see how B<systemd-" |
| 722 |
"measure> is called\\&. It then merges the output of both invocations into " |
| 723 |
"the \"\\&.pcrsig\" section\\&. B<systemd-measure> may also do this merge " |
| 724 |
"itself using the B<--append=> option\\&." |
| 725 |
msgstr "" |
| 726 |
|
| 727 |
#. type: Plain text |
| 728 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 729 |
#: opensuse-tumbleweed |
| 730 |
msgid "" |
| 731 |
"Note that in this example the \"\\&.pcrpkey\" PE section contains the key " |
| 732 |
"specified by the first B<--pcr-private-key=> option, covering all boot " |
| 733 |
"phases\\&. The \"\\&.pcrpkey\" section is used in the default policies of " |
| 734 |
"B<systemd-cryptenroll> and B<systemd-creds>\\&. To use the stricter policy " |
| 735 |
"bound to tpm2-pcr-initrd-public-key\\&.pem, specify B<--tpm2-public-key=> on " |
| 736 |
"the command line of those tools\\&." |
| 737 |
msgstr "" |
| 738 |
|
| 739 |
#. type: SH |
| 740 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 741 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 742 |
#, no-wrap |
| 743 |
msgid "EXIT STATUS" |
| 744 |
msgstr "" |
| 745 |
|
| 746 |
#. type: Plain text |
| 747 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 748 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 749 |
msgid "On success, 0 is returned, a non-zero failure code otherwise\\&." |
| 750 |
msgstr "" |
| 751 |
|
| 752 |
#. type: SH |
| 753 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 754 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 755 |
#, no-wrap |
| 756 |
msgid "SEE ALSO" |
| 757 |
msgstr "" |
| 758 |
|
| 759 |
#. type: Plain text |
| 760 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 761 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 762 |
msgid "" |
| 763 |
"B<systemd>(1), B<systemd-stub>(7), B<ukify>(1), B<systemd-creds>(1), " |
| 764 |
"B<[email protected]>(8), B<systemd-pcrphase.service>(8)" |
| 765 |
msgstr "" |
| 766 |
|
| 767 |
#. type: SH |
| 768 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 769 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 770 |
#, no-wrap |
| 771 |
msgid "NOTES" |
| 772 |
msgstr "" |
| 773 |
|
| 774 |
#. type: IP |
| 775 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 776 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 777 |
#, no-wrap |
| 778 |
msgid " 1." |
| 779 |
msgstr "" |
| 780 |
|
| 781 |
#. type: Plain text |
| 782 |
#: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed |
| 783 |
msgid "UAPI.5 Unified Kernel Image (UKI)" |
| 784 |
msgstr "" |
| 785 |
|
| 786 |
#. type: Plain text |
| 787 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 788 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 789 |
msgid "\\%https://uapi-group.org/specifications/specs/unified_kernel_image/" |
| 790 |
msgstr "" |
| 791 |
|
| 792 |
#. type: TH |
| 793 |
#: debian-trixie opensuse-leap-16-1 |
| 794 |
#, no-wrap |
| 795 |
msgid "systemd 257.13" |
| 796 |
msgstr "" |
| 797 |
|
| 798 |
#. type: Plain text |
| 799 |
#: debian-trixie mageia-cauldron opensuse-leap-16-1 |
| 800 |
msgid "" |
| 801 |
"B<systemd-measure> is a tool that may be used to pre-calculate and sign the " |
| 802 |
"expected TPM2 PCR 11 values that should be seen when a Linux " |
| 803 |
"\\m[blue]B<Unified Kernel Image (UKI)>\\m[]\\&\\s-2\\u[1]\\d\\s+2 based on " |
| 804 |
"B<systemd-stub>(7) is booted up\\&. It accepts paths to the ELF kernel " |
| 805 |
"image file, initrd image file, devicetree file, kernel command line file, " |
| 806 |
"B<os-release>(5) file, boot splash file, and TPM2 PCR PEM public key file " |
| 807 |
"that make up the unified kernel image, and determines the PCR values " |
| 808 |
"expected to be in place after booting the image\\&. Calculation starts with " |
| 809 |
"a zero-initialized PCR 11, and is executed in a fashion compatible with what " |
| 810 |
"systemd-stub does at boot\\&. The result may optionally be signed " |
| 811 |
"cryptographically, to allow TPM2 policies that can only be unlocked if a " |
| 812 |
"certain set of kernels is booted, for which such a PCR signature can be " |
| 813 |
"provided\\&." |
| 814 |
msgstr "" |
| 815 |
|
| 816 |
#. type: Plain text |
| 817 |
#: debian-trixie opensuse-leap-16-1 |
| 818 |
#, no-wrap |
| 819 |
msgid "" |
| 820 |
"$ openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out tpm2-pcr-private-key\\&.pem\n" |
| 821 |
"\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.+\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.+\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.\n" |
| 822 |
"$ openssl rsa -pubout -in tpm2-pcr-private-key\\&.pem -out tpm2-pcr-public-key\\&.pem\n" |
| 823 |
"$ openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out tpm2-pcr-private-key-initrd\\&.pem\n" |
| 824 |
"\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.++\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.+\\&.\\&.\\&.\\&.\\&.+\\&.+\\&.\\&.+\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.\\&.\n" |
| 825 |
"$ openssl rsa -pubout -in tpm2-pcr-private-key-initrd\\&.pem -out tpm2-pcr-public-key-initrd\\&.pem\n" |
| 826 |
"$ ukify build \\e\n" |
| 827 |
" --linux=vmlinux-1\\&.2\\&.3 \\e\n" |
| 828 |
" --initrd=initrd\\&.cpio \\e\n" |
| 829 |
" --os-release=@os-release\\&.txt \\e\n" |
| 830 |
" --cmdline=@cmdline\\&.txt \\e\n" |
| 831 |
" --splash=splash\\&.bmp \\e\n" |
| 832 |
" --devicetree=devicetree\\&.dtb \\e\n" |
| 833 |
" --pcr-private-key=tpm2-pcr-private-key\\&.pem \\e\n" |
| 834 |
" --pcr-public-key=tpm2-pcr-public-key\\&.pem \\e\n" |
| 835 |
" --phases=enter-initrd,enter-initrd:leave-initrd,enter-initrd:leave-initrd:sysinit,enter-initrd:leave-initrd:sysinit:ready \\e\n" |
| 836 |
" --pcr-banks=sha1,sha256 \\e\n" |
| 837 |
" --pcr-private-key=tpm2-pcr-private-key-initrd\\&.pem \\e\n" |
| 838 |
" --pcr-public-key=tpm2-pcr-public-key-initrd\\&.pem \\e\n" |
| 839 |
" --phases=enter-initrd \\e\n" |
| 840 |
" --uname=1\\&.2\\&.3 \\e\n" |
| 841 |
" --output=vmlinux-1\\&.2\\&.3\\&.efi\n" |
| 842 |
"+ /usr/lib/systemd/systemd-measure sign --linux=vmlinux-1\\&.2\\&.3 \\e\n" |
| 843 |
"--osrel=os-release\\&.txt --cmdline=cmdline\\&.txt --dtb=devicetree\\&.dtb \\e\n" |
| 844 |
"--splash=splash\\&.bmp --initrd=initrd\\&.cpio --bank=sha1 --bank=sha256 \\e\n" |
| 845 |
"--private-key=tpm2-pcr-private-key\\&.pem --public-key=tpm2-pcr-public-key\\&.pem \\e\n" |
| 846 |
"--phase=enter-initrd --phase=enter-initrd:leave-initrd \\e\n" |
| 847 |
"--phase=enter-initrd:leave-initrd:sysinit \\e\n" |
| 848 |
"--phase=enter-initrd:leave-initrd:sysinit:ready\n" |
| 849 |
"+ /usr/lib/systemd/systemd-measure sign --linux=vmlinux-1\\&.2\\&.3 \\e\n" |
| 850 |
"--osrel=os-release\\&.txt --cmdline=cmdline\\&.txt --dtb=devicetree\\&.dtb \\e\n" |
| 851 |
"--splash=splash\\&.bmp --initrd=initrd\\&.cpio --bank=sha1 --bank=sha256 \\e\n" |
| 852 |
"--private-key=tpm2-pcr-private-key-initrd\\&.pem \\e\n" |
| 853 |
"--public-key=tpm2-pcr-public-key-initrd\\&.pem \\e\n" |
| 854 |
"--phase=enter-initrd\n" |
| 855 |
"Wrote unsigned vmlinux-1\\&.2\\&.3\\&.efi\n" |
| 856 |
msgstr "" |
| 857 |
|
| 858 |
#. type: Plain text |
| 859 |
#: debian-trixie opensuse-leap-16-1 |
| 860 |
msgid "" |
| 861 |
"Note that in this example the \"\\&.pcrpkey\" PE section contains the key " |
| 862 |
"specified by the first B<--pcr-private-key=> option, covering all boot " |
| 863 |
"phases\\&. The \"\\&.pcrpkey\" section is used in the default policies of " |
| 864 |
"B<systemd-cryptenroll> and B<systemd-creds>\\&. To use the stricter policy " |
| 865 |
"bound to tpm2-pcr-public-key-initrd\\&.pem, specify B<--tpm2-public-key=> on " |
| 866 |
"the command line of those tools\\&." |
| 867 |
msgstr "" |
| 868 |
|
| 869 |
#. type: Plain text |
| 870 |
#: debian-trixie mageia-cauldron opensuse-leap-16-1 |
| 871 |
msgid "Unified Kernel Image (UKI)" |
| 872 |
msgstr "" |
| 873 |
|
| 874 |
#. type: TH |
| 875 |
#: debian-unstable |
| 876 |
#, no-wrap |
| 877 |
msgid "systemd 261~rc3" |
| 878 |
msgstr "" |
| 879 |
|
| 880 |
#. type: TH |
| 881 |
#: fedora-44 |
| 882 |
#, no-wrap |
| 883 |
msgid "systemd 259.5" |
| 884 |
msgstr "" |
| 885 |
|
| 886 |
#. type: TH |
| 887 |
#: fedora-rawhide |
| 888 |
#, no-wrap |
| 889 |
msgid "systemd 261~rc2" |
| 890 |
msgstr "" |
| 891 |
|
| 892 |
#. type: TH |
| 893 |
#: mageia-cauldron |
| 894 |
#, no-wrap |
| 895 |
msgid "systemd 258.7" |
| 896 |
msgstr "" |
| 897 |
|
| 898 |
#. type: TH |
| 899 |
#: opensuse-tumbleweed |
| 900 |
#, no-wrap |
| 901 |
msgid "systemd 260.1" |
| 902 |
msgstr "" |