Debian Codegraph @

templates/man5/crypttab.5.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:21+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 "CRYPTTAB"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux
28 #, no-wrap
29 msgid "systemd 260.2"
30 msgstr ""
31
32 #. type: TH
33 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
34 #, no-wrap
35 msgid "crypttab"
36 msgstr ""
37
38 #. -----------------------------------------------------------------
39 #. * MAIN CONTENT STARTS HERE *
40 #. -----------------------------------------------------------------
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron
44 #, no-wrap
45 msgid "NAME"
46 msgstr ""
47
48 #. type: Plain text
49 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
50 msgid "crypttab - Configuration for encrypted block devices"
51 msgstr ""
52
53 #. type: SH
54 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
55 #, no-wrap
56 msgid "SYNOPSIS"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
61 msgid "/etc/crypttab"
62 msgstr ""
63
64 #. type: SH
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron
67 #, no-wrap
68 msgid "DESCRIPTION"
69 msgstr ""
70
71 #. type: Plain text
72 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
73 msgid ""
74 "The /etc/crypttab file describes encrypted block devices that are set up "
75 "during system boot\\&."
76 msgstr ""
77
78 #. type: Plain text
79 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
80 msgid ""
81 "Empty lines and lines starting with the \"#\" character are ignored\\&. Each "
82 "of the remaining lines describes one encrypted block device\\&. Fields are "
83 "delimited by white space\\&."
84 msgstr ""
85
86 #. type: Plain text
87 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
88 msgid "Each line is in the form"
89 msgstr ""
90
91 #. type: Plain text
92 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
93 #, no-wrap
94 msgid "I<volume-name> I<encrypted-device> I<key-file> I<options>\n"
95 msgstr ""
96
97 #. type: Plain text
98 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
99 msgid "The first two fields are mandatory, the remaining two are optional\\&."
100 msgstr ""
101
102 #. type: Plain text
103 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
104 msgid ""
105 "Setting up encrypted block devices using this file supports four encryption "
106 "modes: LUKS, TrueCrypt, BitLocker and plain\\&. See B<cryptsetup>(8) for "
107 "more information about each mode\\&. When no mode is specified in the "
108 "options field and the block device contains a LUKS signature, it is opened "
109 "as a LUKS device; otherwise, it is assumed to be in raw dm-crypt (plain "
110 "mode) format\\&."
111 msgstr ""
112
113 #. type: Plain text
114 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
115 msgid "The four fields of /etc/crypttab are defined as follows:"
116 msgstr ""
117
118 #. type: Plain text
119 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
120 msgid ""
121 "The first field contains the name of the resulting volume with decrypted "
122 "data; its block device is set up below /dev/mapper/\\&."
123 msgstr ""
124
125 #. type: Plain text
126 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
127 msgid ""
128 "The second field contains a path to the underlying block device or file, or "
129 "a specification of a block device via \"UUID=\" followed by the UUID\\&."
130 msgstr ""
131
132 #. type: Plain text
133 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
134 msgid ""
135 "The third field specifies an absolute path to a file with the encryption "
136 "key\\&. Optionally, the path may be followed by \":\" and an /etc/fstab "
137 "style device specification (e\\&.g\\&. starting with \"LABEL=\" or similar); "
138 "in which case the path is taken relative to the specified device\\*(Aqs file "
139 "system root\\&. If the field is not present or is \"none\" or \"-\", a key "
140 "file named after the volume to unlock (i\\&.e\\&. the first column of the "
141 "line), suffixed with \\&.key is automatically loaded from the /etc/"
142 "cryptsetup-keys\\&.d/ and /run/cryptsetup-keys\\&.d/ directories, if "
143 "present\\&. Otherwise, the password has to be manually entered during system "
144 "boot\\&. For swap encryption, /dev/urandom may be used as key file, "
145 "resulting in a randomized key\\&."
146 msgstr ""
147
148 #. type: Plain text
149 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
150 msgid ""
151 "If the specified key file path refers to an B<AF_UNIX> stream socket in the "
152 "file system, the key is acquired by connecting to the socket and reading it "
153 "from the connection\\&. This allows the implementation of a service to "
154 "provide key information dynamically, at the moment when it is needed\\&. For "
155 "details see below\\&."
156 msgstr ""
157
158 #. type: Plain text
159 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
160 msgid ""
161 "The fourth field, if present, is a comma-delimited list of options\\&. The "
162 "supported options are listed below\\&."
163 msgstr ""
164
165 #. type: SH
166 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
167 #, no-wrap
168 msgid "KEY ACQUISITION"
169 msgstr ""
170
171 #. type: Plain text
172 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
173 msgid ""
174 "Six different mechanisms for acquiring the decryption key or passphrase "
175 "unlocking the encrypted volume are supported\\&. Specifically:"
176 msgstr ""
177
178 #. type: Plain text
179 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
180 msgid ""
181 "Most prominently, the user may be queried interactively during volume "
182 "activation (i\\&.e\\&. typically at boot), asking them to type in the "
183 "necessary passphrases\\&."
184 msgstr ""
185
186 #. type: Plain text
187 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
188 msgid ""
189 "The (unencrypted) key may be read from a file on disk, possibly on removable "
190 "media\\&. The third field of each line encodes the location, for details see "
191 "above\\&."
192 msgstr ""
193
194 #. type: Plain text
195 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
196 msgid ""
197 "The (unencrypted) key may be requested from another service, by specifying "
198 "an B<AF_UNIX> file system socket in place of a key file in the third "
199 "field\\&. For details see above and below\\&."
200 msgstr ""
201
202 #. type: Plain text
203 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
204 msgid ""
205 "The key may be acquired via a PKCS#11 compatible hardware security token or "
206 "smartcard\\&. In this case, a saved key used in unlock process is stored on "
207 "disk/removable media, acquired via B<AF_UNIX>, or stored in the LUKS2 JSON "
208 "token metadata header\\&. For RSA, the saved key is an encrypted volume "
209 "key\\&. The encrypted volume key is then decrypted by the PKCS#11 token with "
210 "an RSA private key stored on it, and used to unlock the encrypted volume\\&. "
211 "For elliptic-curve (EC) cryptography, the saved key is the public key "
212 "generated in enrollment process\\&. The public key is then used to derive a "
213 "shared secret with a private key stored in the PKCS#11 token\\&. The derived "
214 "shared secret is then used to unlock the volume\\&. Use the B<pkcs11-uri=> "
215 "option described below to use this mechanism\\&."
216 msgstr ""
217
218 #. type: Plain text
219 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
220 msgid ""
221 "Similarly, the key may be acquired via a FIDO2 compatible hardware security "
222 "token (which must implement the \"hmac-secret\" extension)\\&. In this case, "
223 "a key generated randomly during enrollment is stored on disk/removable "
224 "media, acquired via B<AF_UNIX>, or stored in the LUKS2 JSON token metadata "
225 "header\\&. The random key is hashed via a keyed hash function (HMAC) on the "
226 "FIDO2 token, using a secret key stored on the token that never leaves it\\&. "
227 "The resulting hash value is then used as key to unlock the encrypted "
228 "volume\\&. Use the B<fido2-device=> option described below to use this "
229 "mechanism\\&."
230 msgstr ""
231
232 #. type: Plain text
233 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
234 msgid ""
235 "Similarly, the key may be acquired via a TPM2 security chip\\&. In this "
236 "case, a (during enrollment) randomly generated key \\(em encrypted by an "
237 "asymmetric key derived from the TPM2 chip\\*(Aqs seed key \\(em is stored on "
238 "disk/removable media, acquired via B<AF_UNIX>, or stored in the LUKS2 JSON "
239 "token metadata header\\&. Use the B<tpm2-device=> option described below to "
240 "use this mechanism\\&."
241 msgstr ""
242
243 #. type: Plain text
244 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
245 msgid ""
246 "For the latter five mechanisms the source for the key material used for "
247 "unlocking the volume is primarily configured in the third field of each /etc/"
248 "crypttab line, but may also be configured in /etc/cryptsetup-keys\\&.d/ and /"
249 "run/cryptsetup-keys\\&.d/ (see above) or in the LUKS2 JSON token header (in "
250 "case of the latter three)\\&. Use the B<systemd-cryptenroll>(1) tool to "
251 "enroll PKCS#11, FIDO2 and TPM2 devices in LUKS2 volumes\\&."
252 msgstr ""
253
254 #. type: SH
255 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
256 #, no-wrap
257 msgid "SUPPORTED OPTIONS"
258 msgstr ""
259
260 #. type: Plain text
261 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
262 msgid "The following options may be used in the fourth field of each line:"
263 msgstr ""
264
265 #. type: Plain text
266 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
267 msgid "B<cipher=>"
268 msgstr ""
269
270 #. type: Plain text
271 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
272 msgid ""
273 "Specifies the cipher to use\\&. See B<cryptsetup>(8) for possible values "
274 "and the default value of this option\\&. A cipher with unpredictable IV "
275 "values, such as \"aes-cbc-essiv:sha256\", is recommended\\&. Embedded commas "
276 "in the cipher specification need to be escaped by preceding them with a "
277 "backslash, see example below\\&."
278 msgstr ""
279
280 #. type: Plain text
281 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
282 msgid "Added in version 186\\&."
283 msgstr ""
284
285 #. type: Plain text
286 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
287 msgid "B<discard>"
288 msgstr ""
289
290 #. type: Plain text
291 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
292 msgid ""
293 "Allow discard requests to be passed through the encrypted block device\\&. "
294 "This improves performance on SSD storage but has security implications\\&."
295 msgstr ""
296
297 #. type: Plain text
298 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
299 msgid "Added in version 207\\&."
300 msgstr ""
301
302 #. type: Plain text
303 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
304 msgid "B<hash=>"
305 msgstr ""
306
307 #. type: Plain text
308 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
309 msgid ""
310 "Specifies the hash to use for password hashing\\&. See B<cryptsetup>(8) for "
311 "possible values and the default value of this option\\&."
312 msgstr ""
313
314 #. type: Plain text
315 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
316 msgid "B<header=>"
317 msgstr ""
318
319 #. type: Plain text
320 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
321 msgid ""
322 "Use a detached (separated) metadata device or file where the header "
323 "containing the master key(s) is stored\\&. This option is only relevant for "
324 "LUKS and TrueCrypt/VeraCrypt devices\\&. See B<cryptsetup>(8) for possible "
325 "values and the default value of this option\\&."
326 msgstr ""
327
328 #. type: Plain text
329 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
330 msgid ""
331 "Optionally, the path may be followed by \":\" and an /etc/fstab device "
332 "specification (e\\&.g\\&. starting with \"UUID=\" or similar); in which "
333 "case, the path is relative to the device file system root\\&. The device "
334 "gets mounted automatically for LUKS device activation duration only\\&."
335 msgstr ""
336
337 #. type: Plain text
338 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
339 msgid "Added in version 219\\&."
340 msgstr ""
341
342 #. type: Plain text
343 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
344 msgid "B<keyfile-offset=>"
345 msgstr ""
346
347 #. type: Plain text
348 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
349 msgid ""
350 "Specifies the number of bytes to skip at the start of the key file\\&. See "
351 "B<cryptsetup>(8) for possible values and the default value of this "
352 "option\\&."
353 msgstr ""
354
355 #. type: Plain text
356 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
357 msgid "Added in version 187\\&."
358 msgstr ""
359
360 #. type: Plain text
361 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
362 msgid "B<keyfile-size=>"
363 msgstr ""
364
365 #. type: Plain text
366 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
367 msgid ""
368 "Specifies the maximum number of bytes to read from the key file\\&. See "
369 "B<cryptsetup>(8) for possible values and the default value of this "
370 "option\\&. This option is ignored in plain encryption mode, where the key "
371 "file size is determined by the key size\\&. It is also ignored when the key "
372 "file is used as a salt file for a FIDO2 token, as the salt size in that case "
373 "is defined by the FIDO2 specification to be exactly 32 bytes\\&."
374 msgstr ""
375
376 #. type: Plain text
377 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
378 msgid "Added in version 188\\&."
379 msgstr ""
380
381 #. type: Plain text
382 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
383 msgid "B<keyfile-erase>"
384 msgstr ""
385
386 #. type: Plain text
387 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
388 msgid ""
389 "If enabled, the specified key file is erased after the volume is activated "
390 "or when activation fails\\&. This is in particular useful when the key file "
391 "is only acquired transiently before activation (e\\&.g\\&. via a file in /"
392 "run/, generated by a service running before activation), and shall be "
393 "removed after use\\&. Defaults to off\\&."
394 msgstr ""
395
396 #. type: Plain text
397 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
398 msgid "Added in version 246\\&."
399 msgstr ""
400
401 #. type: Plain text
402 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
403 msgid "B<key-slot=>"
404 msgstr ""
405
406 #. type: Plain text
407 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
408 msgid ""
409 "Specifies the key slot to compare the passphrase or key against\\&. If the "
410 "key slot does not match the given passphrase or key, but another would, the "
411 "setup of the device will fail regardless\\&. This option implies B<luks>\\&. "
412 "See B<cryptsetup>(8) for possible values\\&. The default is to try all key "
413 "slots in sequential order\\&."
414 msgstr ""
415
416 #. type: Plain text
417 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
418 msgid "Added in version 209\\&."
419 msgstr ""
420
421 #. type: Plain text
422 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
423 msgid "B<keyfile-timeout=>"
424 msgstr ""
425
426 #. type: Plain text
427 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
428 msgid ""
429 "Specifies the timeout for the device on which the key file resides or the "
430 "device used as the key file, and falls back to a password if it could not be "
431 "accessed\\&. See B<systemd-cryptsetup-generator>(8) for key files on "
432 "external devices\\&."
433 msgstr ""
434
435 #. type: Plain text
436 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
437 msgid "Added in version 243\\&."
438 msgstr ""
439
440 #. type: Plain text
441 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
442 msgid "B<link-volume-key=>"
443 msgstr ""
444
445 #. type: Plain text
446 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
447 msgid ""
448 "Specifies the kernel keyring and key description (see B<keyrings>(7)) where "
449 "LUKS2 volume key gets linked during device activation\\&. The kernel keyring "
450 "description and key description must be separated by \"::\"\\&."
451 msgstr ""
452
453 #. type: Plain text
454 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
455 msgid ""
456 "The kernel keyring part can be a string description or a predefined kernel "
457 "keyring prefixed with \"@\" (e\\&.g\\&.: to use \"@s\" session or \"@u\" "
458 "user keyring directly)\\&. The type prefix text in the kernel keyring "
459 "description is not required\\&. The specified kernel keyring must already "
460 "exist at the time of device activation\\&."
461 msgstr ""
462
463 #. type: Plain text
464 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
465 msgid ""
466 "The key part is a string description optionally prefixed by a \"%key_type:"
467 "\"\\&. If no type is specified, the \"user\" type key is linked by "
468 "default\\&. See B<keyctl>(1) for more information on key descriptions (KEY "
469 "IDENTIFIERS section)\\&."
470 msgstr ""
471
472 #. type: Plain text
473 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
474 msgid ""
475 "Note that the linked volume key is not cleaned up automatically when the "
476 "device is detached\\&."
477 msgstr ""
478
479 #. type: Plain text
480 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
481 msgid "Added in version 256\\&."
482 msgstr ""
483
484 #. type: Plain text
485 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
486 msgid "B<luks>"
487 msgstr ""
488
489 #. type: Plain text
490 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
491 msgid ""
492 "Force LUKS mode\\&. When this mode is used, the following options are "
493 "ignored since they are provided by the LUKS header on the device: "
494 "B<cipher=>, B<hash=>, B<size=>\\&."
495 msgstr ""
496
497 #. type: Plain text
498 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
499 msgid "B<bitlk>"
500 msgstr ""
501
502 #. type: Plain text
503 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
504 msgid ""
505 "Decrypt BitLocker drive\\&. Encryption parameters are deduced by cryptsetup "
506 "from BitLocker header\\&."
507 msgstr ""
508
509 #. type: Plain text
510 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
511 msgid "B<_netdev>"
512 msgstr ""
513
514 #. type: Plain text
515 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
516 msgid ""
517 "Marks this cryptsetup device as requiring network\\&. It will be started "
518 "after the network is available, similarly to B<systemd.mount>(5) units "
519 "marked with B<_netdev>\\&. The service unit to set up this device will be "
520 "ordered between remote-fs-pre\\&.target and remote-cryptsetup\\&.target, "
521 "instead of cryptsetup-pre\\&.target and cryptsetup\\&.target\\&."
522 msgstr ""
523
524 #. type: Plain text
525 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
526 msgid ""
527 "Hint: if this device is used for a mount point that is specified in "
528 "B<fstab>(5), the B<_netdev> option should also be used for the mount "
529 "point\\&. Otherwise, a dependency loop might be created where the mount "
530 "point will be pulled in by local-fs\\&.target, while the service to "
531 "configure the network is usually only started I<after> the local file system "
532 "has been mounted\\&."
533 msgstr ""
534
535 #. type: Plain text
536 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
537 msgid "Added in version 235\\&."
538 msgstr ""
539
540 #. type: Plain text
541 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
542 msgid "B<noauto>"
543 msgstr ""
544
545 #. type: Plain text
546 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
547 msgid ""
548 "This device will not be added to cryptsetup\\&.target\\&. This means that it "
549 "will not be automatically unlocked on boot, unless something else pulls it "
550 "in\\&. In particular, if the device is used for a mount point, it\\*(Aqll be "
551 "unlocked automatically during boot, unless the mount point itself is also "
552 "disabled with B<noauto>\\&."
553 msgstr ""
554
555 #. type: Plain text
556 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
557 msgid "B<nofail>"
558 msgstr ""
559
560 #. type: Plain text
561 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
562 msgid ""
563 "This device will not be a hard dependency of cryptsetup\\&.target\\&. "
564 "It\\*(Aqll still be pulled in and started, but the system will not wait for "
565 "the device to show up and be unlocked, and boot will not fail if this is "
566 "unsuccessful\\&. Note that other units that depend on the unlocked device "
567 "may still fail\\&. In particular, if the device is used for a mount point, "
568 "the mount point itself also needs to have the B<nofail> option, or the boot "
569 "will fail if the device is not unlocked successfully\\&. If a keyfile and/or "
570 "a B<header> are specified, the dependencies on their respective directories "
571 "will also not be fatal, so that unmounting said directories will not cause "
572 "the generated cryptset unit to be deactivated\\&."
573 msgstr ""
574
575 #. type: Plain text
576 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
577 msgid "B<offset=>"
578 msgstr ""
579
580 #. type: Plain text
581 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
582 msgid ""
583 "Start offset in the backend device, in 512-byte sectors\\&. This option is "
584 "only relevant for plain devices\\&."
585 msgstr ""
586
587 #. type: Plain text
588 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
589 msgid "Added in version 220\\&."
590 msgstr ""
591
592 #. type: Plain text
593 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
594 msgid "B<plain>"
595 msgstr ""
596
597 #. type: Plain text
598 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
599 #: mageia-cauldron
600 msgid "Force plain encryption mode\\&."
601 msgstr ""
602
603 #. type: Plain text
604 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
605 msgid "B<read-only>, B<readonly>"
606 msgstr ""
607
608 #. type: Plain text
609 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
610 msgid "Set up the encrypted block device in read-only mode\\&."
611 msgstr ""
612
613 #. type: Plain text
614 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
615 msgid "B<same-cpu-crypt>"
616 msgstr ""
617
618 #. type: Plain text
619 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
620 msgid ""
621 "Perform encryption using the same CPU that IO was submitted on\\&. The "
622 "default is to use an unbound workqueue so that encryption work is "
623 "automatically balanced between available CPUs\\&."
624 msgstr ""
625
626 #. type: Plain text
627 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
628 msgid "This requires kernel 4\\&.0 or newer\\&."
629 msgstr ""
630
631 #. type: Plain text
632 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
633 msgid "Added in version 242\\&."
634 msgstr ""
635
636 #. type: Plain text
637 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
638 msgid "B<submit-from-crypt-cpus>"
639 msgstr ""
640
641 #. type: Plain text
642 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
643 msgid ""
644 "Disable offloading writes to a separate thread after encryption\\&. There "
645 "are some situations where offloading write requests from the encryption "
646 "threads to a dedicated thread degrades performance significantly\\&. The "
647 "default is to offload write requests to a dedicated thread because it "
648 "benefits the CFQ scheduler to have writes submitted using the same "
649 "context\\&."
650 msgstr ""
651
652 #. type: Plain text
653 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
654 msgid "B<no-read-workqueue>"
655 msgstr ""
656
657 #. type: Plain text
658 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
659 msgid ""
660 "Bypass dm-crypt internal workqueue and process read requests "
661 "synchronously\\&. The default is to queue these requests and process them "
662 "asynchronously\\&."
663 msgstr ""
664
665 #. type: Plain text
666 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
667 msgid "This requires kernel 5\\&.9 or newer\\&."
668 msgstr ""
669
670 #. type: Plain text
671 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
672 msgid "Added in version 248\\&."
673 msgstr ""
674
675 #. type: Plain text
676 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
677 msgid "B<no-write-workqueue>"
678 msgstr ""
679
680 #. type: Plain text
681 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
682 msgid ""
683 "Bypass dm-crypt internal workqueue and process write requests "
684 "synchronously\\&. The default is to queue these requests and process them "
685 "asynchronously\\&."
686 msgstr ""
687
688 #. type: Plain text
689 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
690 msgid "B<skip=>"
691 msgstr ""
692
693 #. type: Plain text
694 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
695 msgid ""
696 "How many 512-byte sectors of the encrypted data to skip at the beginning\\&. "
697 "This is different from the B<offset=> option with respect to the sector "
698 "numbers used in initialization vector (IV) calculation\\&. Using B<offset=> "
699 "will shift the IV calculation by the same negative amount\\&. Hence, if "
700 "B<offset=>I<n> is given, sector I<n> will get a sector number of 0 for the "
701 "IV calculation\\&. Using B<skip=> causes sector I<n> to also be the first "
702 "sector of the mapped device, but with its number for IV generation being "
703 "I<n>\\&."
704 msgstr ""
705
706 #. type: Plain text
707 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
708 msgid "This option is only relevant for plain devices\\&."
709 msgstr ""
710
711 #. type: Plain text
712 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
713 msgid "B<size=>"
714 msgstr ""
715
716 #. type: Plain text
717 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
718 msgid ""
719 "Specifies the key size in bits\\&. See B<cryptsetup>(8) for possible values "
720 "and the default value of this option\\&."
721 msgstr ""
722
723 #. type: Plain text
724 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
725 msgid "B<sector-size=>"
726 msgstr ""
727
728 #. type: Plain text
729 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
730 msgid ""
731 "Specifies the sector size in bytes\\&. See B<cryptsetup>(8) for possible "
732 "values and the default value of this option\\&."
733 msgstr ""
734
735 #. type: Plain text
736 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
737 msgid "Added in version 240\\&."
738 msgstr ""
739
740 #. type: Plain text
741 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
742 msgid "B<swap>"
743 msgstr ""
744
745 #. type: Plain text
746 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
747 msgid ""
748 "The encrypted block device will be used as a swap device, and will be "
749 "formatted accordingly after setting up the encrypted block device, with "
750 "B<mkswap>(8)\\&. This option implies B<plain>\\&."
751 msgstr ""
752
753 #. type: Plain text
754 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
755 msgid "B<Warning>"
756 msgstr ""
757
758 #. type: Plain text
759 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
760 msgid ""
761 "Using the B<swap> option will destroy the contents of the named partition "
762 "during every boot, so make sure the underlying block device is specified "
763 "correctly\\&."
764 msgstr ""
765
766 #. type: Plain text
767 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
768 msgid "B<tcrypt>"
769 msgstr ""
770
771 #. type: Plain text
772 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
773 msgid ""
774 "Use TrueCrypt encryption mode\\&. When this mode is used, the following "
775 "options are ignored since they are provided by the TrueCrypt header on the "
776 "device or do not apply: B<cipher=>, B<hash=>, B<keyfile-offset=>, B<keyfile-"
777 "size=>, B<size=>\\&."
778 msgstr ""
779
780 #. type: Plain text
781 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
782 msgid ""
783 "When this mode is used, the passphrase is read from the key file given in "
784 "the third field\\&. Only the first line of this file is read, excluding the "
785 "new line character\\&."
786 msgstr ""
787
788 #. type: Plain text
789 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
790 msgid ""
791 "Note that the TrueCrypt format uses both passphrase and key files to derive "
792 "a password for the volume\\&. Therefore, the passphrase and all key files "
793 "need to be provided\\&. Use B<tcrypt-keyfile=> to provide the absolute path "
794 "to all key files\\&. When using an empty passphrase in combination with one "
795 "or more key files, use \"/dev/null\" as the password file in the third "
796 "field\\&."
797 msgstr ""
798
799 #. type: Plain text
800 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
801 msgid "Added in version 206\\&."
802 msgstr ""
803
804 #. type: Plain text
805 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
806 msgid "B<tcrypt-hidden>"
807 msgstr ""
808
809 #. type: Plain text
810 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
811 msgid "Use the hidden TrueCrypt volume\\&. This option implies B<tcrypt>\\&."
812 msgstr ""
813
814 #. type: Plain text
815 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
816 msgid ""
817 "This will map the hidden volume that is inside of the volume provided in the "
818 "second field\\&. Please note that there is no protection for the hidden "
819 "volume if the outer volume is mounted instead\\&. See B<cryptsetup>(8) for "
820 "more information on this limitation\\&."
821 msgstr ""
822
823 #. type: Plain text
824 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
825 msgid "B<tcrypt-keyfile=>"
826 msgstr ""
827
828 #. type: Plain text
829 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
830 msgid ""
831 "Specifies the absolute path to a key file to use for a TrueCrypt volume\\&. "
832 "This implies B<tcrypt> and can be used more than once to provide several key "
833 "files\\&."
834 msgstr ""
835
836 #. type: Plain text
837 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
838 msgid ""
839 "See the entry for B<tcrypt> on the behavior of the passphrase and key files "
840 "when using TrueCrypt encryption mode\\&."
841 msgstr ""
842
843 #. type: Plain text
844 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
845 msgid "B<tcrypt-system>"
846 msgstr ""
847
848 #. type: Plain text
849 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
850 msgid ""
851 "Use TrueCrypt in system encryption mode\\&. This option implies B<tcrypt>\\&."
852 msgstr ""
853
854 #. type: Plain text
855 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
856 msgid "B<tcrypt-veracrypt>"
857 msgstr ""
858
859 #. type: Plain text
860 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
861 msgid ""
862 "Check for a VeraCrypt volume\\&. VeraCrypt is a fork of TrueCrypt that is "
863 "mostly compatible, but uses different, stronger key derivation algorithms "
864 "that cannot be detected without this flag\\&. Enabling this option could "
865 "substantially slow down unlocking, because VeraCrypt\\*(Aqs key derivation "
866 "takes much longer than TrueCrypt\\*(Aqs\\&. This option implies B<tcrypt>\\&."
867 msgstr ""
868
869 #. type: Plain text
870 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
871 msgid "Added in version 232\\&."
872 msgstr ""
873
874 #. type: Plain text
875 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
876 msgid "B<veracrypt-pim=>"
877 msgstr ""
878
879 #. type: Plain text
880 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
881 msgid ""
882 "Specifies a custom Personal Iteration Multiplier (PIM) value, which can "
883 "range from 0\\&.\\&.2147468 for standard veracrypt volumes and 0\\&."
884 "\\&.65535 for veracrypt system volumes\\&. A value of 0 will imply the "
885 "VeraCrypt default\\&. This option is only effective when B<tcrypt-veracrypt> "
886 "is set\\&."
887 msgstr ""
888
889 #. type: Plain text
890 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
891 msgid ""
892 "Note that VeraCrypt enforces a minimal allowed PIM value depending on the "
893 "password strength and the hash algorithm used for key derivation, however "
894 "B<veracrypt-pim=> is not checked against these bounds\\&. See "
895 "\\m[blue]B<Veracrypt Personal Iterations Multiplier>\\m[]"
896 "\\&\\s-2\\u[1]\\d\\s+2 documentation for more information\\&."
897 msgstr ""
898
899 #. type: Plain text
900 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
901 msgid "Added in version 254\\&."
902 msgstr ""
903
904 #. type: Plain text
905 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
906 msgid "B<timeout=>"
907 msgstr ""
908
909 #. type: Plain text
910 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
911 msgid ""
912 "Specifies the timeout for querying for a password\\&. If no unit is "
913 "specified, seconds is used\\&. Supported units are s, ms, us, min, h, d\\&. "
914 "A timeout of 0 waits indefinitely (which is the default)\\&."
915 msgstr ""
916
917 #. type: Plain text
918 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
919 msgid "B<tmp=>"
920 msgstr ""
921
922 #. type: Plain text
923 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
924 msgid ""
925 "The encrypted block device will be prepared for using it as /tmp/; it will "
926 "be formatted using B<mkfs>(8)\\&. Takes a file system type as argument, such "
927 "as \"ext4\", \"xfs\" or \"btrfs\"\\&. If no argument is specified defaults "
928 "to \"ext4\"\\&. This option implies B<plain>\\&."
929 msgstr ""
930
931 #. type: Plain text
932 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
933 msgid ""
934 "Using the B<tmp> option will destroy the contents of the named partition "
935 "during every boot, so make sure the underlying block device is specified "
936 "correctly\\&."
937 msgstr ""
938
939 #. type: Plain text
940 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
941 msgid "B<tries=>"
942 msgstr ""
943
944 #. type: Plain text
945 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
946 msgid ""
947 "Specifies the maximum number of times the user is queried for a password\\&. "
948 "The default is 3\\&. If set to 0, the user is queried for a password "
949 "indefinitely\\&."
950 msgstr ""
951
952 #. type: Plain text
953 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
954 msgid "B<headless=>"
955 msgstr ""
956
957 #. type: Plain text
958 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
959 msgid ""
960 "Takes a boolean argument, defaults to false\\&. If true, never query "
961 "interactively for the password/PIN\\&. Useful for headless systems\\&."
962 msgstr ""
963
964 #. type: Plain text
965 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
966 msgid "Added in version 249\\&."
967 msgstr ""
968
969 #. type: Plain text
970 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
971 msgid "B<verify>"
972 msgstr ""
973
974 #. type: Plain text
975 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
976 msgid ""
977 "If the encryption password is read from console, it has to be entered twice "
978 "to prevent typos\\&."
979 msgstr ""
980
981 #. type: Plain text
982 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
983 msgid "B<password-echo=yes|no|masked>"
984 msgstr ""
985
986 #. type: Plain text
987 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
988 msgid ""
989 "Controls whether to echo passwords or security token PINs that are read from "
990 "console\\&. Takes a boolean or the special string \"masked\"\\&. The default "
991 "is B<password-echo=masked>\\&."
992 msgstr ""
993
994 #. type: Plain text
995 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
996 msgid ""
997 "If enabled, the typed characters are echoed literally\\&. If disabled, the "
998 "typed characters are not echoed in any form, the user will not get feedback "
999 "on their input\\&. If set to \"masked\", an asterisk (\"*\") is echoed for "
1000 "each character typed\\&. Regardless of which mode is chosen, if the user "
1001 "hits the tabulator key (\"↹\") at any time, or the backspace key (\"⌫\") "
1002 "before any other data has been entered, then echo is turned off\\&."
1003 msgstr ""
1004
1005 #. type: Plain text
1006 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1007 msgid "B<password-cache=yes|no|read-only>"
1008 msgstr ""
1009
1010 #. type: Plain text
1011 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1012 msgid ""
1013 "Controls whether to use cache for passwords or security token PINs\\&. Takes "
1014 "a boolean or the special string \"read-only\"\\&. Defaults to \"yes\"\\&."
1015 msgstr ""
1016
1017 #. type: Plain text
1018 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1019 msgid ""
1020 "If set to \"read-only\", the kernel keyring is checked for a password/PIN "
1021 "before requesting one interactively\\&. If set to \"yes\", in addition to "
1022 "checking the keyring, any password/PIN entered interactively is cached in "
1023 "the keyring with a 2\\&.5-minute timeout before being purged\\&."
1024 msgstr ""
1025
1026 #. type: Plain text
1027 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1028 msgid ""
1029 "Note that this option is not permitted for PKCS#11 security tokens\\&. The "
1030 "reasoning behind this is that PKCS#11 security tokens are usually configured "
1031 "to lock after being supplied an invalid PIN multiple times, so using the "
1032 "cache might inadvertently lock the token\\&."
1033 msgstr ""
1034
1035 #. type: Plain text
1036 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1037 msgid "Added in version 257\\&."
1038 msgstr ""
1039
1040 #. type: Plain text
1041 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1042 msgid "B<pkcs11-uri=>"
1043 msgstr ""
1044
1045 #. type: Plain text
1046 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1047 msgid ""
1048 "Takes either the special value \"auto\" or an \\m[blue]B<RFC7512 PKCS#11 "
1049 "URI>\\m[]\\&\\s-2\\u[2]\\d\\s+2 pointing to a private key which is used to "
1050 "decrypt the encrypted key specified in the third column of the line\\&. This "
1051 "is useful for unlocking encrypted volumes through PKCS#11 compatible "
1052 "security tokens or smartcards\\&. See below for an example how to set up "
1053 "this mechanism for unlocking a LUKS2 volume with a YubiKey security token\\&."
1054 msgstr ""
1055
1056 #. type: Plain text
1057 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1058 msgid ""
1059 "If specified as \"auto\" the volume must be of type LUKS2 and must carry "
1060 "PKCS#11 security token metadata in its LUKS2 JSON token section\\&. In this "
1061 "mode the URI and the encrypted key are automatically read from the LUKS2 "
1062 "JSON token header\\&. Use B<systemd-cryptenroll>(1) as a simple tool for "
1063 "enrolling PKCS#11 security tokens or smartcards in a way compatible with "
1064 "\"auto\"\\&. In this mode the third column of the line should remain empty "
1065 "(that is, specified as \"-\")\\&."
1066 msgstr ""
1067
1068 #. type: Plain text
1069 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1070 msgid ""
1071 "The specified URI can refer directly to a private key stored on a token or "
1072 "alternatively just to a slot or token, in which case a search for a suitable "
1073 "private key will be performed\\&. In this case, if multiple suitable objects "
1074 "are found, the token is refused\\&. The keyfile configured in the third "
1075 "column of the line is used as is (i\\&.e\\&. in binary form, unprocessed)"
1076 "\\&. The resulting decrypted key (for RSA) or derived shared secret (for "
1077 "ECC) is then Base64 encoded before it is used to unlock the LUKS volume\\&."
1078 msgstr ""
1079
1080 #. type: Plain text
1081 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1082 msgid ""
1083 "Use B<systemd-cryptenroll --pkcs11-token-uri=list> to list all suitable "
1084 "PKCS#11 security tokens currently plugged in, along with their URIs\\&."
1085 msgstr ""
1086
1087 #. type: Plain text
1088 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1089 msgid ""
1090 "Note that many newer security tokens that may be used as PKCS#11 security "
1091 "token typically also implement the newer and simpler FIDO2 standard\\&. "
1092 "Consider using B<fido2-device=> (described below) to enroll it via FIDO2 "
1093 "instead\\&. Note that a security token enrolled via PKCS#11 cannot be used "
1094 "to unlock the volume via FIDO2, unless also enrolled via FIDO2, and vice "
1095 "versa\\&."
1096 msgstr ""
1097
1098 #. type: Plain text
1099 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1100 msgid "Added in version 245\\&."
1101 msgstr ""
1102
1103 #. type: Plain text
1104 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1105 msgid "B<fido2-device=>"
1106 msgstr ""
1107
1108 #. type: Plain text
1109 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1110 msgid ""
1111 "Takes either the special value \"auto\" or the path to a \"hidraw\" device "
1112 "node (e\\&.g\\&. /dev/hidraw1) referring to a FIDO2 security token that "
1113 "implements the \"hmac-secret\" extension (most current hardware security "
1114 "tokens do)\\&. See below for an example how to set up this mechanism for "
1115 "unlocking an encrypted volume with a FIDO2 security token\\&."
1116 msgstr ""
1117
1118 #. type: Plain text
1119 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1120 msgid ""
1121 "If specified as \"auto\" the FIDO2 token device is automatically discovered, "
1122 "as it is plugged in\\&."
1123 msgstr ""
1124
1125 #. type: Plain text
1126 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1127 msgid ""
1128 "FIDO2 volume unlocking requires a client ID hash (CID) to be configured via "
1129 "B<fido2-cid=> (see below) and a key to pass to the security token\\*(Aqs "
1130 "HMAC functionality (configured in the line\\*(Aqs third column) to "
1131 "operate\\&. If not configured and the volume is of type LUKS2, the CID and "
1132 "the key are read from LUKS2 JSON token metadata instead\\&. Use B<systemd-"
1133 "cryptenroll>(1) as simple tool for enrolling FIDO2 security tokens for "
1134 "LUKS2 volumes\\&."
1135 msgstr ""
1136
1137 #. type: Plain text
1138 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1139 msgid ""
1140 "Use B<systemd-cryptenroll --fido2-device=list> to list all suitable FIDO2 "
1141 "security tokens currently plugged in, along with their device nodes\\&."
1142 msgstr ""
1143
1144 #. type: Plain text
1145 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1146 msgid ""
1147 "This option implements the following mechanism: the configured key is hashed "
1148 "via they HMAC keyed hash function the FIDO2 device implements, keyed by a "
1149 "secret key embedded on the device\\&. The resulting hash value is Base64 "
1150 "encoded and used to unlock the LUKS2 volume\\&. As it should not be possible "
1151 "to extract the secret from the hardware token, it should not be possible to "
1152 "retrieve the hashed key given the configured key \\(em without possessing "
1153 "the hardware token\\&."
1154 msgstr ""
1155
1156 #. type: Plain text
1157 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1158 msgid ""
1159 "Note that many security tokens that implement FIDO2 also implement PKCS#11, "
1160 "suitable for unlocking volumes via the B<pkcs11-uri=> option described "
1161 "above\\&. Typically the newer, simpler FIDO2 standard is preferable\\&."
1162 msgstr ""
1163
1164 #. type: Plain text
1165 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1166 msgid "B<fido2-cid=>"
1167 msgstr ""
1168
1169 #. type: Plain text
1170 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1171 msgid ""
1172 "Takes a Base64 encoded FIDO2 client ID to use for the FIDO2 unlock "
1173 "operation\\&. If specified, but B<fido2-device=> is not, B<fido2-"
1174 "device=auto> is implied\\&. If B<fido2-device=> is used but B<fido2-cid=> is "
1175 "not, the volume must be of LUKS2 type, and the CID is read from the LUKS2 "
1176 "JSON token header\\&. Use B<systemd-cryptenroll>(1) for enrolling a FIDO2 "
1177 "token in the LUKS2 header compatible with this automatic mode\\&."
1178 msgstr ""
1179
1180 #. type: Plain text
1181 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1182 msgid "B<fido2-rp=>"
1183 msgstr ""
1184
1185 #. type: Plain text
1186 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1187 msgid ""
1188 "Takes a string, configuring the FIDO2 Relying Party (rp) for the FIDO2 "
1189 "unlock operation\\&. If not specified, \"io\\&.systemd\\&.cryptsetup\" is "
1190 "used, except if the LUKS2 JSON token header contains a different value\\&. "
1191 "It should normally not be necessary to override this\\&."
1192 msgstr ""
1193
1194 #. type: Plain text
1195 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1196 msgid "B<fido2-pin=>"
1197 msgstr ""
1198
1199 #. type: Plain text
1200 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1201 msgid ""
1202 "Controls whether to require the user to enter a PIN when unlocking the "
1203 "volume (the FIDO2 \"clientPin\" feature)\\&. This option only applies when "
1204 "in manual mode, i\\&.e\\&. when B<fido2-cid=> option is set\\&. Defaults to "
1205 "neither true or false, but rather to B<v248> behavior, that is: try with no "
1206 "PIN first, but if token reports that PIN is required, try again asking for "
1207 "PIN\\&."
1208 msgstr ""
1209
1210 #. type: Plain text
1211 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1212 msgid "B<fido2-up=>"
1213 msgstr ""
1214
1215 #. type: Plain text
1216 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1217 msgid ""
1218 "Controls whether to require the user to verify presence (tap the token, the "
1219 "FIDO2 \"up\" feature) when unlocking the volume\\&. This option only applies "
1220 "when in manual mode, i\\&.e\\&. when B<fido2-cid=> option is set\\&. "
1221 "Defaults to neither true or false, but rather to B<v248> behavior, that is: "
1222 "try with no UP first, but if token reports that UP is required, try again "
1223 "with UP enabled\\&."
1224 msgstr ""
1225
1226 #. type: Plain text
1227 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1228 msgid "B<fido2-uv=>"
1229 msgstr ""
1230
1231 #. type: Plain text
1232 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1233 msgid ""
1234 "Controls whether to require user verification (the FIDO2 \"uv\" feature) "
1235 "when unlocking the volume\\&. This option only applies when in manual mode, "
1236 "i\\&.e\\&. when B<fido2-cid=> option is set\\&. Defaults to neither true or "
1237 "false, but rather to B<v248> behavior, that is: omit configuring UV "
1238 "whatsoever\\&."
1239 msgstr ""
1240
1241 #. type: Plain text
1242 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1243 msgid "B<tpm2-device=>"
1244 msgstr ""
1245
1246 #. type: Plain text
1247 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1248 msgid ""
1249 "Takes either the special value \"auto\" or the path to a device node "
1250 "(e\\&.g\\&. /dev/tpmrm0) referring to a TPM2 security chip\\&. See below "
1251 "for an example how to set up this mechanism for unlocking an encrypted "
1252 "volume with a TPM2 chip\\&."
1253 msgstr ""
1254
1255 #. type: Plain text
1256 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1257 msgid ""
1258 "Use B<tpm2-pcrs=> (see below) to configure the set of TPM2 PCRs to bind the "
1259 "volume unlocking to\\&. Use B<systemd-cryptenroll>(1) as simple tool for "
1260 "enrolling TPM2 security chips in LUKS2 volumes\\&."
1261 msgstr ""
1262
1263 #. type: Plain text
1264 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1265 msgid ""
1266 "If specified as \"auto\" the TPM2 device is automatically discovered\\&. Use "
1267 "B<systemd-cryptenroll --tpm2-device=list> to list all suitable TPM2 devices "
1268 "currently available, along with their device nodes\\&."
1269 msgstr ""
1270
1271 #. type: Plain text
1272 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1273 msgid ""
1274 "This option implements the following mechanism: when enrolling a TPM2 device "
1275 "via B<systemd-cryptenroll> on a LUKS2 volume, a randomized key unlocking the "
1276 "volume is generated on the host and loaded into the TPM2 chip where it is "
1277 "encrypted with an asymmetric \"primary\" key pair derived from the "
1278 "TPM2\\*(Aqs internal \"seed\" key\\&. Neither the seed key nor the primary "
1279 "key are permitted to ever leave the TPM2 chip \\(em however, the now "
1280 "encrypted randomized key may\\&. It is saved in the LUKS2 volume JSON token "
1281 "header\\&. When unlocking the encrypted volume, the primary key pair is "
1282 "generated on the TPM2 chip again (which works as long as the chip\\*(Aqs "
1283 "seed key is correctly maintained by the TPM2 chip), which is then used to "
1284 "decrypt (on the TPM2 chip) the encrypted key from the LUKS2 volume JSON "
1285 "token header saved there during enrollment\\&. The resulting decrypted key "
1286 "is then used to unlock the volume\\&. When the randomized key is encrypted "
1287 "the current values of the selected PCRs (see below) are included in the "
1288 "operation, so that different PCR state results in different encrypted keys "
1289 "and the decrypted key can only be recovered if the same PCR state is "
1290 "reproduced\\&."
1291 msgstr ""
1292
1293 #. type: Plain text
1294 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1295 msgid "B<tpm2-pcrs=>"
1296 msgstr ""
1297
1298 #. type: Plain text
1299 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1300 msgid ""
1301 "Takes a \"+\" separated list of numeric TPM2 PCR (i\\&.e\\&. \"Platform "
1302 "Configuration Register\") indexes to bind the TPM2 volume unlocking to\\&. "
1303 "This option is only useful when TPM2 enrollment metadata is not available in "
1304 "the LUKS2 JSON token header already, the way B<systemd-cryptenroll> writes "
1305 "it there\\&. If not used (and no metadata in the LUKS2 JSON token header "
1306 "defines it), defaults to a list of a single entry: PCR 7\\&. Assign an empty "
1307 "string to encode a policy that binds the key to no PCRs, making the key "
1308 "accessible to local programs regardless of the current PCR state\\&."
1309 msgstr ""
1310
1311 #. type: Plain text
1312 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1313 msgid "B<tpm2-pin=>"
1314 msgstr ""
1315
1316 #. type: Plain text
1317 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1318 msgid ""
1319 "Takes a boolean argument, defaults to \"false\"\\&. Controls whether TPM2 "
1320 "volume unlocking is bound to a PIN in addition to PCRs\\&. Similarly, this "
1321 "option is only useful when TPM2 enrollment metadata is not available\\&."
1322 msgstr ""
1323
1324 #. type: Plain text
1325 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1326 msgid "Added in version 251\\&."
1327 msgstr ""
1328
1329 #. type: Plain text
1330 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1331 msgid "B<tpm2-signature=>"
1332 msgstr ""
1333
1334 #. type: Plain text
1335 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1336 msgid ""
1337 "Takes an absolute path to a TPM2 PCR JSON signature file, as produced by the "
1338 "B<systemd-measure>(1) tool\\&. This permits locking LUKS2 volumes to any "
1339 "PCR values for which a valid signature matching a public key specified at "
1340 "key enrollment time can be provided\\&. See B<systemd-cryptenroll>(1) for "
1341 "details on enrolling TPM2 PCR public keys\\&. If this option is not "
1342 "specified but it is attempted to unlock a LUKS2 volume with a signed TPM2 "
1343 "PCR enrollment, a suitable signature file tpm2-pcr-signature\\&.json is "
1344 "searched for in /etc/systemd/, /run/systemd/, /usr/lib/systemd/ (in this "
1345 "order)\\&."
1346 msgstr ""
1347
1348 #. type: Plain text
1349 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1350 msgid "Added in version 252\\&."
1351 msgstr ""
1352
1353 #. type: Plain text
1354 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1355 msgid "B<tpm2-pcrlock=>"
1356 msgstr ""
1357
1358 #. type: Plain text
1359 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1360 msgid ""
1361 "Takes an absolute path to a TPM2 pcrlock policy file, as produced by the "
1362 "B<systemd-pcrlock>(8) tool\\&. This permits locking LUKS2 volumes to a "
1363 "local policy of allowed PCR values with variants\\&. See B<systemd-"
1364 "cryptenroll>(1) for details on enrolling TPM2 pcrlock policies\\&. If this "
1365 "option is not specified but it is attempted to unlock a LUKS2 volume with a "
1366 "TPM2 pcrlock enrollment, a suitable signature file pcrlock\\&.json is "
1367 "searched for in /run/systemd/ and /var/lib/systemd/ (in this order)\\&."
1368 msgstr ""
1369
1370 #. type: Plain text
1371 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1372 msgid "Added in version 255\\&."
1373 msgstr ""
1374
1375 #. type: Plain text
1376 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1377 msgid "B<tpm2-measure-pcr=>"
1378 msgstr ""
1379
1380 #. type: Plain text
1381 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1382 msgid ""
1383 "Controls whether to measure the volume key of the encrypted volume to a TPM2 "
1384 "PCR\\&. If set to \"no\" (which is the default) no PCR extension is done\\&. "
1385 "If set to \"yes\" the volume key is measured into PCR 15\\&. If set to a "
1386 "decimal integer in the range 0\\&...23 the volume key is measured into the "
1387 "specified PCR\\&. The volume key is measured along with the activated volume "
1388 "name and its UUID\\&. This functionality is particularly useful for the "
1389 "encrypted volume backing the root file system, as it then allows later TPM "
1390 "objects to be securely bound to the root file system and hence the specific "
1391 "installation\\&."
1392 msgstr ""
1393
1394 #. type: Plain text
1395 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1396 msgid "Added in version 253\\&."
1397 msgstr ""
1398
1399 #. type: Plain text
1400 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1401 msgid "B<tpm2-measure-bank=>"
1402 msgstr ""
1403
1404 #. type: Plain text
1405 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1406 msgid ""
1407 "Selects one or more TPM2 PCR banks to measure the volume key into, as "
1408 "configured with B<tpm2-measure-pcr=> above\\&. Multiple banks may be "
1409 "specified, separated by a colon character\\&. If not specified, "
1410 "automatically determines available and used banks\\&. Expects a message "
1411 "digest name (e\\&.g\\&. \"sha1\", \"sha256\", \\&...) as argument, to "
1412 "identify the bank\\&."
1413 msgstr ""
1414
1415 #. type: Plain text
1416 #: archlinux fedora-44 fedora-rawhide
1417 msgid "B<tpm2-measure-keyslot-nvpcr=>"
1418 msgstr ""
1419
1420 #. type: Plain text
1421 #: archlinux fedora-rawhide
1422 msgid ""
1423 "Controls whether to measure information about the used LUKS unlock keyslot "
1424 "to a TPM2 non-volatile index (nvindex in PCR mode)\\&. Takes a boolean "
1425 "argument, or an NvPCR name\\&. If set to false or an empty string (which is "
1426 "the default) no TPM2 nvindex extension is done, otherwise keyslot "
1427 "information is measured to an nvindex of the specified name, which is "
1428 "allocated if needed\\&. If set to true the recommended default of "
1429 "\"cryptsetup\" is selected as NvPCR\\&. The slot index and the used unlock "
1430 "mechanism (i\\&.e\\&. \"tpm2\", \"fido2\", \"pkcs11\") are measured along "
1431 "with the activated volume name and its UUID\\&."
1432 msgstr ""
1433
1434 #. type: Plain text
1435 #: archlinux fedora-44 fedora-rawhide
1436 msgid "Added in version 259\\&."
1437 msgstr ""
1438
1439 #. type: Plain text
1440 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1441 msgid "B<token-timeout=>"
1442 msgstr ""
1443
1444 #. type: Plain text
1445 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1446 msgid ""
1447 "Specifies how long to wait at most for configured security devices "
1448 "(i\\&.e\\&. FIDO2, PKCS#11, TPM2) to show up\\&. Takes a time value in "
1449 "seconds (but other time units may be specified too, see B<systemd.time>(7) "
1450 "for supported formats)\\&. Defaults to 30s\\&. Once the specified timeout "
1451 "elapsed authentication via password is attempted\\&. Note that this timeout "
1452 "applies to waiting for the security device to show up \\(em it does not "
1453 "apply to the PIN prompt for the device (should one be needed) or similar\\&. "
1454 "Pass 0 to turn off the timeout and wait forever\\&."
1455 msgstr ""
1456
1457 #. type: Plain text
1458 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1459 msgid "Added in version 250\\&."
1460 msgstr ""
1461
1462 #. type: Plain text
1463 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1464 msgid "B<try-empty-password=>"
1465 msgstr ""
1466
1467 #. type: Plain text
1468 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1469 msgid ""
1470 "Takes a boolean argument\\&. If enabled, right before asking the user for a "
1471 "password it is first attempted to unlock the volume with an empty "
1472 "password\\&. This is useful for systems that are initialized with an "
1473 "encrypted volume with only an empty password set, which shall be replaced "
1474 "with a suitable password during first boot, but after activation\\&."
1475 msgstr ""
1476
1477 #. type: Plain text
1478 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1479 msgid "B<x-systemd\\&.device-timeout=>"
1480 msgstr ""
1481
1482 #. type: Plain text
1483 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1484 msgid ""
1485 "Specifies how long systemd should wait for a block device to show up before "
1486 "giving up on the entry\\&. The argument is a time in seconds or explicitly "
1487 "specified units of \"s\", \"min\", \"h\", \"ms\"\\&."
1488 msgstr ""
1489
1490 #. type: Plain text
1491 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1492 msgid "Added in version 216\\&."
1493 msgstr ""
1494
1495 #. type: Plain text
1496 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1497 msgid "B<x-initrd\\&.attach>"
1498 msgstr ""
1499
1500 #. type: Plain text
1501 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1502 msgid ""
1503 "Setup this encrypted block device in the initrd, similarly to "
1504 "B<systemd.mount>(5) units marked with B<x-initrd\\&.mount>\\&."
1505 msgstr ""
1506
1507 #. type: Plain text
1508 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1509 msgid ""
1510 "Although it is not necessary to mark the mount entry for the root file "
1511 "system with B<x-initrd\\&.mount>, B<x-initrd\\&.attach> is still recommended "
1512 "with the encrypted block device containing the root file system as otherwise "
1513 "systemd will attempt to detach the device during the regular system shutdown "
1514 "while it is still in use\\&. With this option the device will still be "
1515 "detached but later after the root file system is unmounted\\&."
1516 msgstr ""
1517
1518 #. type: Plain text
1519 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1520 msgid ""
1521 "All other encrypted block devices that contain file systems mounted in the "
1522 "initrd should use this option\\&."
1523 msgstr ""
1524
1525 #. type: Plain text
1526 #: archlinux fedora-rawhide
1527 msgid "B<fixate-volume-key=>"
1528 msgstr ""
1529
1530 #. type: Plain text
1531 #: archlinux fedora-rawhide
1532 msgid "Pin the expected hash of the volume key\\&."
1533 msgstr ""
1534
1535 #. type: Plain text
1536 #: archlinux fedora-rawhide
1537 msgid ""
1538 "In certain cases, e\\&.g\\&. for LUKS volumes where the key is sealed to the "
1539 "TPM2, this may be required to provide a guarantee that the volume being "
1540 "attached is the volume which was previously created\\&. B<fixate-volume-"
1541 "key=> can be used to set the expected volume key hash and refuse to attach "
1542 "the volume if it has a different one\\&. The expected hash matches the "
1543 "digest which is measured to the sha256 PCR bank of the TPM2 when B<tpm2-"
1544 "measure-pcr=> is used\\&."
1545 msgstr ""
1546
1547 #. type: Plain text
1548 #: archlinux fedora-rawhide
1549 msgid ""
1550 "For newly created LUKS volumes, the expected hash can be generated by "
1551 "B<systemd-repart>(8)\\&. For additional details, see the B<EncryptedVolume=> "
1552 "description at B<repart.d>(5)\\&."
1553 msgstr ""
1554
1555 #. type: Plain text
1556 #: archlinux fedora-rawhide
1557 msgid "Added in version 260\\&."
1558 msgstr ""
1559
1560 #. type: Plain text
1561 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1562 msgid ""
1563 "At early boot and when the system manager configuration is reloaded, this "
1564 "file is translated into native systemd units by B<systemd-cryptsetup-"
1565 "generator>(8)\\&."
1566 msgstr ""
1567
1568 #. type: SH
1569 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1570 #, no-wrap
1571 msgid "AF_UNIX KEY FILES"
1572 msgstr ""
1573
1574 #. type: Plain text
1575 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1576 msgid ""
1577 "If the key file path (as specified in the third column of /etc/crypttab "
1578 "entries, see above) refers to an B<AF_UNIX> stream socket in the file "
1579 "system, the key is acquired by connecting to the socket and reading the key "
1580 "from the connection\\&. The connection is made from an B<AF_UNIX> socket "
1581 "name in the abstract namespace, see B<unix>(7) for details\\&. The source "
1582 "socket name is chosen according to the following format:"
1583 msgstr ""
1584
1585 #. type: Plain text
1586 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1587 #, no-wrap
1588 msgid "B<NUL> I<RANDOM> /cryptsetup/ I<VOLUME>\n"
1589 msgstr ""
1590
1591 #. type: Plain text
1592 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1593 msgid ""
1594 "In other words: a B<NUL> byte (as required for abstract namespace sockets), "
1595 "followed by a random string (consisting of alphanumeric characters only), "
1596 "followed by the literal string \"/cryptsetup/\", followed by the name of the "
1597 "volume to acquire they key for\\&. For example, for the volume \"myvol\":"
1598 msgstr ""
1599
1600 #. type: Plain text
1601 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1602 #, no-wrap
1603 msgid "\\e0d7067f78d9827418/cryptsetup/myvol\n"
1604 msgstr ""
1605
1606 #. type: Plain text
1607 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1608 msgid ""
1609 "Services listening on the B<AF_UNIX> stream socket may query the source "
1610 "socket name with B<getpeername>(2), and use this to determine which key to "
1611 "send, allowing a single listening socket to serve keys for multiple "
1612 "volumes\\&. If the PKCS#11 logic is used (see above), the socket source name "
1613 "is picked in similar fashion, except that the literal string \"/cryptsetup-"
1614 "pkcs11/\" is used\\&. And similarly for FIDO2 (\"/cryptsetup-fido2-salt/\") "
1615 "and TPM2 (\"/cryptsetup-tpm2/\")\\&. A different path component is used so "
1616 "that services providing key material know that the secret key was not "
1617 "requested directly, but instead an encrypted key that will be decrypted via "
1618 "the PKCS#11/FIDO2/TPM2 logic to acquire the final secret key\\&."
1619 msgstr ""
1620
1621 #. type: SH
1622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1623 #: mageia-cauldron
1624 #, no-wrap
1625 msgid "EXAMPLES"
1626 msgstr ""
1627
1628 #. type: Plain text
1629 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1630 msgid "B<Example\\ \\&1.\\ \\&/etc/crypttab example>"
1631 msgstr ""
1632
1633 #. type: Plain text
1634 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1635 msgid ""
1636 "Set up four encrypted block devices\\&. One using LUKS for normal storage, "
1637 "another one for usage as a swap device and two TrueCrypt volumes\\&. For the "
1638 "fourth device, the option string is interpreted as two options "
1639 "\"cipher=xchacha12,aes-adiantum-plain64\", \"keyfile-timeout=10s\"\\&."
1640 msgstr ""
1641
1642 #. type: Plain text
1643 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1644 #, no-wrap
1645 msgid ""
1646 "luks UUID=2505567a-9e27-4efe-a4d5-15ad146c258b\n"
1647 "swap /dev/sda7 /dev/urandom swap\n"
1648 "truecrypt /dev/sda2 /etc/container_password tcrypt\n"
1649 "hidden /mnt/tc_hidden /dev/null tcrypt-hidden,tcrypt-keyfile=/etc/keyfile\n"
1650 "external /dev/sda3 keyfile:LABEL=keydev keyfile-timeout=10s,cipher=xchacha12\\e,aes-adiantum-plain64\n"
1651 msgstr ""
1652
1653 #. type: Plain text
1654 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1655 msgid "B<Example\\ \\&2.\\ \\&Yubikey-based PKCS#11 Volume Unlocking Example>"
1656 msgstr ""
1657
1658 #. type: Plain text
1659 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1660 msgid ""
1661 "The PKCS#11 logic allows hooking up any compatible security token that is "
1662 "capable of storing RSA or EC cryptographic keys for unlocking an encrypted "
1663 "volume\\&. Here\\*(Aqs an example how to set up a Yubikey security token for "
1664 "this purpose on a LUKS2 volume, using B<ykmap>(1) from the yubikey-manager "
1665 "project to initialize the token and B<systemd-cryptenroll>(1) to add it in "
1666 "the LUKS2 volume:"
1667 msgstr ""
1668
1669 #. type: Plain text
1670 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1671 #, no-wrap
1672 msgid "# SPDX-License-Identifier: MIT-0\n"
1673 msgstr ""
1674
1675 #. type: Plain text
1676 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1677 #, no-wrap
1678 msgid ""
1679 "# Destroy any old key on the Yubikey (careful!)\n"
1680 "ykman piv reset\n"
1681 msgstr ""
1682
1683 #. type: Plain text
1684 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1685 #, no-wrap
1686 msgid ""
1687 "# Generate a new private/public key pair on the device, store the public key in\n"
1688 "# \\*(Aqpubkey\\&.pem\\*(Aq\\&.\n"
1689 "ykman piv generate-key -a RSA2048 9d pubkey\\&.pem\n"
1690 msgstr ""
1691
1692 #. type: Plain text
1693 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1694 #, no-wrap
1695 msgid ""
1696 "# Create a self-signed certificate from this public key, and store it on the\n"
1697 "# device\\&. The \"subject\" should be an arbitrary user-chosen string to identify\n"
1698 "# the token with\\&.\n"
1699 "ykman piv generate-certificate --subject \"Knobelei\" 9d pubkey\\&.pem\n"
1700 msgstr ""
1701
1702 #. type: Plain text
1703 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1704 #, no-wrap
1705 msgid ""
1706 "# We do not need the public key anymore, let\\*(Aqs remove it\\&. Since it is not\n"
1707 "# security sensitive we just do a regular \"rm\" here\\&.\n"
1708 "rm pubkey\\&.pem\n"
1709 msgstr ""
1710
1711 #. type: Plain text
1712 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1713 #, no-wrap
1714 msgid ""
1715 "# Enroll the freshly initialized security token in the LUKS2 volume\\&. Replace\n"
1716 "# /dev/sdXn by the partition to use (e\\&.g\\&. /dev/sda1)\\&.\n"
1717 "sudo systemd-cryptenroll --pkcs11-token-uri=auto /dev/sdXn\n"
1718 msgstr ""
1719
1720 #. type: Plain text
1721 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1722 #, no-wrap
1723 msgid ""
1724 "# Test: Let\\*(Aqs run systemd-cryptsetup to test if this all worked\\&.\n"
1725 "sudo systemd-cryptsetup attach mytest /dev/sdXn none pkcs11-uri=auto\n"
1726 msgstr ""
1727
1728 #. type: Plain text
1729 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1730 #, no-wrap
1731 msgid ""
1732 "# If that worked, let\\*(Aqs now add the same line persistently to /etc/crypttab,\n"
1733 "# for the future\\&. We do not want to use the (unstable) /dev/sdX name, so let\\*(Aqs\n"
1734 "# figure out a stable link:\n"
1735 "udevadm info -q symlink -r /dev/sdXn\n"
1736 msgstr ""
1737
1738 #. type: Plain text
1739 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1740 #, no-wrap
1741 msgid ""
1742 "# Now add the line using the by-uuid symlink to /etc/crypttab:\n"
1743 "sudo bash -c \\*(Aqecho \"mytest /dev/disk/by-uuid/\\&.\\&.\\&. none pkcs11-uri=auto\" E<gt>E<gt>/etc/crypttab\\*(Aq\n"
1744 msgstr ""
1745
1746 #. type: Plain text
1747 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1748 #, no-wrap
1749 msgid ""
1750 "# Depending on your distribution and encryption setup, you may need to manually\n"
1751 "# regenerate your initramfs to be able to use a Yubikey / PKCS#11 token to\n"
1752 "# unlock the partition during early boot\\&.\n"
1753 "# More information at https://unix\\&.stackexchange\\&.com/a/705809\\&.\n"
1754 "# On Fedora based systems:\n"
1755 "sudo dracut --force\n"
1756 "# On Debian based systems:\n"
1757 "sudo update-initramfs -u\n"
1758 msgstr ""
1759
1760 #. type: Plain text
1761 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1762 msgid "A few notes on the above:"
1763 msgstr ""
1764
1765 #. type: Plain text
1766 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1767 msgid "We use RSA2048, which is the longest key size current Yubikeys support"
1768 msgstr ""
1769
1770 #. type: Plain text
1771 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1772 msgid ""
1773 "We use Yubikey key slot 9d, since that\\*(Aqs apparently the keyslot to use "
1774 "for decryption purposes, see \\m[blue]B<Yubico PIV certificate slots>\\m[]"
1775 "\\&\\s-2\\u[3]\\d\\s+2\\&."
1776 msgstr ""
1777
1778 #. type: Plain text
1779 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1780 msgid "B<Example\\ \\&3.\\ \\&FIDO2 Volume Unlocking Example>"
1781 msgstr ""
1782
1783 #. type: Plain text
1784 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1785 msgid ""
1786 "The FIDO2 logic allows using any compatible FIDO2 security token that "
1787 "implements the \"hmac-secret\" extension for unlocking an encrypted "
1788 "volume\\&. Here\\*(Aqs an example how to set up a FIDO2 security token for "
1789 "this purpose for a LUKS2 volume, using B<systemd-cryptenroll>(1):"
1790 msgstr ""
1791
1792 #. type: Plain text
1793 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1794 #, no-wrap
1795 msgid ""
1796 "# Enroll the security token in the LUKS2 volume\\&. Replace /dev/sdXn by the\n"
1797 "# partition to use (e\\&.g\\&. /dev/sda1)\\&.\n"
1798 "sudo systemd-cryptenroll --fido2-device=auto /dev/sdXn\n"
1799 msgstr ""
1800
1801 #. type: Plain text
1802 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1803 #, no-wrap
1804 msgid ""
1805 "# Test: Let\\*(Aqs run systemd-cryptsetup to test if this worked\\&.\n"
1806 "sudo systemd-cryptsetup attach mytest /dev/sdXn none fido2-device=auto\n"
1807 msgstr ""
1808
1809 #. type: Plain text
1810 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1811 #, no-wrap
1812 msgid ""
1813 "# Now add the line using the by-uuid symlink to /etc/crypttab:\n"
1814 "sudo bash -c \\*(Aqecho \"mytest /dev/disk/by-uuid/\\&.\\&.\\&. none fido2-device=auto\" E<gt>E<gt>/etc/crypttab\\*(Aq\n"
1815 msgstr ""
1816
1817 #. type: Plain text
1818 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1819 #, no-wrap
1820 msgid ""
1821 "# Depending on your distribution and encryption setup, you may need to manually\n"
1822 "# regenerate your initramfs to be able to use a FIDO2 device to unlock the\n"
1823 "# partition during early boot\\&.\n"
1824 "# More information at https://unix\\&.stackexchange\\&.com/a/705809\\&.\n"
1825 "# On Fedora based systems:\n"
1826 "sudo dracut --force\n"
1827 "# On Debian based systems:\n"
1828 "sudo update-initramfs -u\n"
1829 msgstr ""
1830
1831 #. type: Plain text
1832 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1833 msgid "B<Example\\ \\&4.\\ \\&TPM2 Volume Unlocking Example>"
1834 msgstr ""
1835
1836 #. type: Plain text
1837 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1838 msgid ""
1839 "The TPM2 logic allows using any TPM2 chip supported by the Linux kernel for "
1840 "unlocking an encrypted volume\\&. Here\\*(Aqs an example how to set up a "
1841 "TPM2 chip for this purpose for a LUKS2 volume, using B<systemd-"
1842 "cryptenroll>(1):"
1843 msgstr ""
1844
1845 #. type: Plain text
1846 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1847 #, no-wrap
1848 msgid ""
1849 "# Enroll the TPM2 security chip in the LUKS2 volume, and bind it to PCR 7\n"
1850 "# only\\&. Replace /dev/sdXn by the partition to use (e\\&.g\\&. /dev/sda1)\\&.\n"
1851 "sudo systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=7 /dev/sdXn\n"
1852 msgstr ""
1853
1854 #. type: Plain text
1855 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1856 #, no-wrap
1857 msgid ""
1858 "# Test: Let\\*(Aqs run systemd-cryptsetup to test if this worked\\&.\n"
1859 "sudo systemd-cryptsetup attach mytest /dev/sdXn none tpm2-device=auto\n"
1860 msgstr ""
1861
1862 #. type: Plain text
1863 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1864 #, no-wrap
1865 msgid ""
1866 "# Now add the line using the by-uuid symlink to /etc/crypttab:\n"
1867 "sudo bash -c \\*(Aqecho \"mytest /dev/disk/by-uuid/\\&.\\&.\\&. none tpm2-device=auto\" E<gt>E<gt>/etc/crypttab\\*(Aq\n"
1868 msgstr ""
1869
1870 #. type: Plain text
1871 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1872 #, no-wrap
1873 msgid ""
1874 "# And now let\\*(Aqs check that automatic unlocking works:\n"
1875 "sudo systemd-cryptsetup detach mytest\n"
1876 "sudo systemctl daemon-reload\n"
1877 "sudo systemctl start cryptsetup\\&.target\n"
1878 "systemctl is-active systemd-cryptsetup@mytest\\&.service\n"
1879 msgstr ""
1880
1881 #. type: Plain text
1882 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1883 #, no-wrap
1884 msgid ""
1885 "# Once we have the device which will be unlocked automatically, we can use it\\&.\n"
1886 "# Usually we would create a file system and add it to /etc/fstab:\n"
1887 "sudo mkfs\\&.ext4 /dev/mapper/mytest\n"
1888 "# This prints a \\*(AqFilesystem UUID\\*(Aq, which we can use as a stable name:\n"
1889 "sudo bash -c \\*(Aqecho \"/dev/disk/by-uuid/\\&.\\&.\\&. /var/mytest ext4 defaults,x-systemd\\&.mkdir 0 2\" E<gt>E<gt>/etc/fstab\\*(Aq\n"
1890 "# And now let\\*(Aqs check that the mounting works:\n"
1891 "sudo systemctl daemon-reload\n"
1892 "sudo systemctl start /var/mytest\n"
1893 "systemctl status /var/mytest\n"
1894 msgstr ""
1895
1896 #. type: Plain text
1897 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1898 #, no-wrap
1899 msgid ""
1900 "# Depending on your distribution and encryption setup, you may need to manually\n"
1901 "# regenerate your initramfs to be able to use a TPM2 security chip to unlock\n"
1902 "# the partition during early boot\\&.\n"
1903 "# More information at https://unix\\&.stackexchange\\&.com/a/705809\\&.\n"
1904 "# On Fedora based systems:\n"
1905 "sudo dracut --force\n"
1906 "# On Debian based systems:\n"
1907 "sudo update-initramfs -u\n"
1908 msgstr ""
1909
1910 #. type: SH
1911 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1912 #: mageia-cauldron
1913 #, no-wrap
1914 msgid "SEE ALSO"
1915 msgstr ""
1916
1917 #. type: Plain text
1918 #: archlinux fedora-rawhide
1919 msgid ""
1920 "B<systemd>(1), B<[email protected]>(8), B<systemd-cryptsetup-"
1921 "generator>(8), B<systemd-cryptenroll>(1), B<systemd-repart>(8), "
1922 "B<repart.d>(5), B<fstab>(5), B<cryptsetup>(8), B<mkswap>(8), B<mke2fs>(8)"
1923 msgstr ""
1924
1925 #. type: SH
1926 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1927 #, no-wrap
1928 msgid "NOTES"
1929 msgstr ""
1930
1931 #. type: IP
1932 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1933 #, no-wrap
1934 msgid " 1."
1935 msgstr ""
1936
1937 #. type: Plain text
1938 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1939 msgid "Veracrypt Personal Iterations Multiplier"
1940 msgstr ""
1941
1942 #. type: Plain text
1943 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1944 msgid ""
1945 "\\%https://www.veracrypt.fr/en/"
1946 "Personal%20Iterations%20Multiplier%20%28PIM%29.html"
1947 msgstr ""
1948
1949 #. type: IP
1950 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1951 #, no-wrap
1952 msgid " 2."
1953 msgstr ""
1954
1955 #. type: Plain text
1956 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1957 msgid "RFC7512 PKCS#11 URI"
1958 msgstr ""
1959
1960 #. type: Plain text
1961 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1962 msgid "\\%https://tools.ietf.org/html/rfc7512"
1963 msgstr ""
1964
1965 #. type: IP
1966 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1967 #, no-wrap
1968 msgid " 3."
1969 msgstr ""
1970
1971 #. type: Plain text
1972 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1973 msgid "Yubico PIV certificate slots"
1974 msgstr ""
1975
1976 #. type: Plain text
1977 #: archlinux fedora-44 fedora-rawhide mageia-cauldron
1978 msgid ""
1979 "\\%https://developers.yubico.com/PIV/Introduction/Certificate_slots.html"
1980 msgstr ""
1981
1982 #. type: TH
1983 #: debian-trixie
1984 #, no-wrap
1985 msgid "2025-05-04"
1986 msgstr ""
1987
1988 #. type: TH
1989 #: debian-trixie
1990 #, no-wrap
1991 msgid "cryptsetup 2:2\\&.7\\&.5-2"
1992 msgstr ""
1993
1994 #. type: TH
1995 #: debian-trixie debian-unstable
1996 #, no-wrap
1997 msgid "cryptsetup manual"
1998 msgstr ""
1999
2000 #. type: Plain text
2001 #: debian-trixie debian-unstable
2002 msgid "crypttab - static information about encrypted filesystems"
2003 msgstr ""
2004
2005 #. type: Plain text
2006 #: debian-trixie debian-unstable
2007 msgid ""
2008 "The file /etc/crypttab contains descriptive information about encrypted "
2009 "devices\\&. crypttab is only read by programs (e\\&.g\\&. "
2010 "B<cryptdisks_start> and B<cryptdisks_stop>), and not written; it is the duty "
2011 "of the system administrator to properly create and maintain this file\\&. "
2012 "crypttab entries are treated sequentially, so their order matters "
2013 "(dependencies need to listed first)\\&."
2014 msgstr ""
2015
2016 #. type: Plain text
2017 #: debian-trixie debian-unstable
2018 msgid ""
2019 "Each encrypted device is described on a separate line\\&. Fields on each "
2020 "line are separated by tabs or spaces\\&. Lines starting with \\*(Aq#\\*(Aq "
2021 "are comments, and blank lines are ignored\\&. Octal sequences \\e0I<num> "
2022 "within a field are decoded, which can be used for values containing spaces "
2023 "or special characters\\&. A backslash which doesn\\*(Aqt start an octal "
2024 "sequence yields undefined behavior\\&."
2025 msgstr ""
2026
2027 #. type: Plain text
2028 #: debian-trixie debian-unstable
2029 msgid ""
2030 "The first field, I<target>, describes the mapped device name\\&. It must be "
2031 "a plain filename without any directory components\\&. A mapped device which "
2032 "encrypts/decrypts data to/from the I<source device> will be created at /dev/"
2033 "mapper/target by B<cryptsetup>\\&."
2034 msgstr ""
2035
2036 #. type: Plain text
2037 #: debian-trixie debian-unstable
2038 msgid ""
2039 "The second field, I<source device>, describes either the block special "
2040 "device or file that contains the encrypted data\\&. Instead of giving the "
2041 "I<source device> explicitly, the UUID (resp\\&. LABEL, PARTUUID and "
2042 "PARTLABEL) is supported as well, using \\(lqUUID=E<lt>uuidE<gt>\\(rq "
2043 "(resp\\&. \\(lqLABEL=E<lt>labelE<gt>\\(rq, \\(lqPARTUUID=E<lt>partuuidE<gt>\\"
2044 "(rq and \\(lqPARTLABEL=E<lt>partlabelE<gt>\\(rq)\\&."
2045 msgstr ""
2046
2047 #. type: Plain text
2048 #: debian-trixie debian-unstable
2049 msgid ""
2050 "The third field, I<key file>, describes the file to use as a key for "
2051 "decrypting the data of the I<source device>\\&. In case of a I<keyscript>, "
2052 "the value of this field is given as argument to the keyscript\\&. Note that "
2053 "the I<entire> key file will be used as the passphrase; the passphrase must "
2054 "I<not> be followed by a newline character\\&."
2055 msgstr ""
2056
2057 #. type: Plain text
2058 #: debian-trixie debian-unstable
2059 msgid ""
2060 "It can also be a device name (e\\&.g\\&. /dev/urandom), note however that "
2061 "LUKS requires a persistent key and therefore does I<not> support random data "
2062 "keys\\&."
2063 msgstr ""
2064
2065 #. type: Plain text
2066 #: debian-trixie debian-unstable
2067 msgid ""
2068 "If the I<key file> is the string I<none>, a passphrase will be read "
2069 "interactively from the console\\&. In this case, the options check, "
2070 "checkargs and tries may be useful\\&."
2071 msgstr ""
2072
2073 #. type: Plain text
2074 #: debian-trixie debian-unstable
2075 msgid ""
2076 "The fourth field, I<options>, is an optional comma-separated list of options "
2077 "and/or flags describing the device type (I<luks>, I<tcrypt>, I<bitlk>, "
2078 "I<fvault2>, or I<plain> which is also the default) and cryptsetup options "
2079 "associated with the encryption process\\&. The supported options are "
2080 "described below\\&. For plain dm-crypt devices the I<cipher>, I<hash> and "
2081 "I<size> options are required\\&. Some options can be changed on active "
2082 "mappings using B<cryptsetup refresh [E<lt>optionsE<gt>] E<lt>nameE<gt>>\\&. "
2083 "Furthermore some options can be permanently written into metadata of LUKS2 "
2084 "headers using cryptsetup\\*(Aqs I<--persistent> flag\\&."
2085 msgstr ""
2086
2087 #. type: Plain text
2088 #: debian-trixie debian-unstable
2089 msgid ""
2090 "Note that the first three fields are required and that a missing field will "
2091 "lead to unspecified behaviour\\&."
2092 msgstr ""
2093
2094 #. type: SH
2095 #: debian-trixie debian-unstable
2096 #, no-wrap
2097 msgid "ON DIFFERENT CRYPTTAB FORMATS"
2098 msgstr ""
2099
2100 #. type: Plain text
2101 #: debian-trixie debian-unstable
2102 msgid ""
2103 "Please note that there are several independent cryptsetup wrappers with "
2104 "their own I<crypttab> format\\&. This manpage covers Debian\\*(Aqs "
2105 "implementation for I<initramfs> scripts and I<SysVinit> init scripts\\&. "
2106 "I<systemd> brings its own I<crypttab> implementation\\&. We try to cover the "
2107 "differences between the I<systemd> and our implementation in this manpage, "
2108 "but if in doubt, better check the I<systemd> B<crypttab>(5) manpage, "
2109 "e\\&.g\\&. online at \\m[blue]B<\\%https://www.freedesktop.org/software/"
2110 "systemd/man/crypttab.html>\\m[]\\&."
2111 msgstr ""
2112
2113 #. type: SH
2114 #: debian-trixie debian-unstable
2115 #, no-wrap
2116 msgid "OPTIONS"
2117 msgstr ""
2118
2119 #. type: Plain text
2120 #: debian-trixie debian-unstable
2121 msgid "I<cipher>=E<lt>cipherE<gt>"
2122 msgstr ""
2123
2124 #. type: Plain text
2125 #: debian-trixie debian-unstable
2126 msgid ""
2127 "Encryption algorithm (ignored for LUKS and TCRYPT devices)\\&. See "
2128 "B<cryptsetup -c>\\&."
2129 msgstr ""
2130
2131 #. type: Plain text
2132 #: debian-trixie debian-unstable
2133 msgid "I<size>=E<lt>sizeE<gt>"
2134 msgstr ""
2135
2136 #. type: Plain text
2137 #: debian-trixie debian-unstable
2138 msgid ""
2139 "Encryption key size (ignored for LUKS and TCRYPT devices)\\&. See "
2140 "B<cryptsetup -s>\\&."
2141 msgstr ""
2142
2143 #. type: Plain text
2144 #: debian-trixie debian-unstable
2145 msgid "I<sector-size>=E<lt>bytesE<gt>"
2146 msgstr ""
2147
2148 #. type: Plain text
2149 #: debian-trixie debian-unstable
2150 msgid ""
2151 "Sector size\\&. See B<cryptsetup>(8) for possible values and the default "
2152 "value of this option\\&."
2153 msgstr ""
2154
2155 #. type: Plain text
2156 #: debian-trixie debian-unstable
2157 msgid "I<hash>=E<lt>hashE<gt>"
2158 msgstr ""
2159
2160 #. type: Plain text
2161 #: debian-trixie debian-unstable
2162 msgid ""
2163 "Hash algorithm (ignored for LUKS and TCRYPT devices)\\&. See B<cryptsetup "
2164 "-h>\\&."
2165 msgstr ""
2166
2167 #. type: Plain text
2168 #: debian-trixie debian-unstable
2169 msgid "I<offset>=E<lt>offsetE<gt>"
2170 msgstr ""
2171
2172 #. type: Plain text
2173 #: debian-trixie debian-unstable
2174 msgid ""
2175 "Start offset (ignored for LUKS and TCRYPT devices)\\&. Uses B<cryptsetup "
2176 "-o>\\&."
2177 msgstr ""
2178
2179 #. type: Plain text
2180 #: debian-trixie debian-unstable
2181 msgid "I<skip>=E<lt>skipE<gt>"
2182 msgstr ""
2183
2184 #. type: Plain text
2185 #: debian-trixie debian-unstable
2186 msgid ""
2187 "Skip sectors at the beginning (ignored for LUKS and TCRYPT devices)\\&. Uses "
2188 "B<cryptsetup -p>\\&."
2189 msgstr ""
2190
2191 #. type: Plain text
2192 #: debian-trixie debian-unstable
2193 msgid "I<keyfile-offset>=E<lt>keyfile-offsetE<gt>"
2194 msgstr ""
2195
2196 #. type: Plain text
2197 #: debian-trixie debian-unstable
2198 msgid "Specifies the number of bytes to skip at the start of the key file\\&."
2199 msgstr ""
2200
2201 #. type: Plain text
2202 #: debian-trixie debian-unstable
2203 msgid "I<keyfile-size>=E<lt>keyfile-sizeE<gt>"
2204 msgstr ""
2205
2206 #. type: Plain text
2207 #: debian-trixie debian-unstable
2208 msgid ""
2209 "Specifies the maximum number of bytes to read from the key file\\&. The "
2210 "default is to read the whole file up to the compiled-in maximum, that can be "
2211 "queried with B<cryptsetup --help>\\&. This option is ignored for plain dm-"
2212 "crypt devices, as the key file size is then given by the encryption key size "
2213 "(option I<size>)\\&."
2214 msgstr ""
2215
2216 #. type: Plain text
2217 #: debian-trixie debian-unstable
2218 msgid "I<keyslot>=E<lt>slotE<gt>, I<key-slot>=E<lt>slotE<gt>"
2219 msgstr ""
2220
2221 #. type: Plain text
2222 #: debian-trixie debian-unstable
2223 msgid "Key slot (ignored for non-LUKS devices)\\&. See B<cryptsetup -S>\\&."
2224 msgstr ""
2225
2226 #. type: Plain text
2227 #: debian-trixie debian-unstable
2228 msgid "I<header>=E<lt>pathE<gt>"
2229 msgstr ""
2230
2231 #. type: Plain text
2232 #: debian-trixie debian-unstable
2233 msgid ""
2234 "Detached header file (ignored for plain dm-crypt devices)\\&. See "
2235 "B<cryptsetup --header>\\&."
2236 msgstr ""
2237
2238 #. type: Plain text
2239 #: debian-trixie debian-unstable
2240 msgid "I<verify>"
2241 msgstr ""
2242
2243 #. type: Plain text
2244 #: debian-trixie debian-unstable
2245 msgid "Verify password\\&. Uses B<cryptsetup -y>\\&."
2246 msgstr ""
2247
2248 #. type: Plain text
2249 #: debian-trixie debian-unstable
2250 msgid "I<readonly>, I<read-only>"
2251 msgstr ""
2252
2253 #. type: Plain text
2254 #: debian-trixie debian-unstable
2255 msgid "Set up a read-only mapping\\&."
2256 msgstr ""
2257
2258 #. type: Plain text
2259 #: debian-trixie debian-unstable
2260 msgid "I<tries>=E<lt>numE<gt>"
2261 msgstr ""
2262
2263 #. type: Plain text
2264 #: debian-trixie debian-unstable
2265 msgid ""
2266 "Try to unlock the device E<lt>numE<gt> before failing\\&. It\\*(Aqs "
2267 "particularly useful when using a passphrase or a I<keyscript> that asks for "
2268 "interactive input\\&. If you want to disable retries, pass \\(lqtries=1\\"
2269 "(rq\\&. Default is \\(lq3\\(rq\\&. Setting \\(lqtries=0\\(rq means "
2270 "infinitive retries\\&."
2271 msgstr ""
2272
2273 #. type: Plain text
2274 #: debian-trixie debian-unstable
2275 msgid "I<discard>"
2276 msgstr ""
2277
2278 #. type: Plain text
2279 #: debian-trixie debian-unstable
2280 msgid "Allow using of discards (TRIM) requests for device\\&."
2281 msgstr ""
2282
2283 #. type: Plain text
2284 #: debian-trixie debian-unstable
2285 msgid ""
2286 "Starting with Debian 10 (Buster), this option is added per default to new dm-"
2287 "crypt devices by the Debian Installer\\&. If you don\\*(Aqt care about "
2288 "leaking access patterns (filesystem type, used space) and don\\*(Aqt have "
2289 "hidden truecrypt volumes inside this volume, then it should be safe to "
2290 "enable this option\\&. See the following warning for further information\\&."
2291 msgstr ""
2292
2293 #. type: Plain text
2294 #: debian-trixie debian-unstable
2295 msgid ""
2296 "B<WARNING>: Assess the specific security risks carefully before enabling "
2297 "this option\\&. For example, allowing discards on encrypted devices may lead "
2298 "to the leak of information about the ciphertext device (filesystem type, "
2299 "used space etc\\&.) if the discarded blocks can be located easily on the "
2300 "device later\\&."
2301 msgstr ""
2302
2303 #. type: Plain text
2304 #: debian-trixie debian-unstable
2305 msgid "I<luks>"
2306 msgstr ""
2307
2308 #. type: Plain text
2309 #: debian-trixie debian-unstable
2310 msgid ""
2311 "Force LUKS mode\\&. When this mode is used, the following options are "
2312 "ignored since they are provided by the LUKS header on the device: "
2313 "I<cipher=>, I<hash=>, I<size=>"
2314 msgstr ""
2315
2316 #. type: Plain text
2317 #: debian-trixie debian-unstable
2318 msgid "I<plain>"
2319 msgstr ""
2320
2321 #. type: Plain text
2322 #: debian-trixie debian-unstable
2323 msgid "I<bitlk>"
2324 msgstr ""
2325
2326 #. type: Plain text
2327 #: debian-trixie debian-unstable
2328 msgid ""
2329 "Force BITLK (Windows BitLocker-compatible) mode\\&. WARNING: I<crypttab> "
2330 "support is currently experimental\\&."
2331 msgstr ""
2332
2333 #. type: Plain text
2334 #: debian-trixie debian-unstable
2335 msgid "I<fvault2>"
2336 msgstr ""
2337
2338 #. type: Plain text
2339 #: debian-trixie debian-unstable
2340 msgid ""
2341 "Force Apple\\*(Aqs FileVault2 mode\\&. Only the (legacy) FileVault2 format "
2342 "based on Core Storage and HFS+ filesystem (introduced in MacOS X 10\\&.7 "
2343 "Lion) is currently supported; the new version of FileVault based on the APFS "
2344 "filesystem used in recent macOS versions is not supported\\&."
2345 msgstr ""
2346
2347 #. type: Plain text
2348 #: debian-trixie debian-unstable
2349 msgid "I<tcrypt>"
2350 msgstr ""
2351
2352 #. type: Plain text
2353 #: debian-trixie debian-unstable
2354 msgid ""
2355 "Use TrueCrypt encryption mode\\&. When this mode is used, the following "
2356 "options are ignored since they are provided by the TrueCrypt header on the "
2357 "device or do not apply: I<cipher=>, I<hash=>, I<keyfile-offset=>, I<keyfile-"
2358 "size=>, I<size=>"
2359 msgstr ""
2360
2361 #. type: Plain text
2362 #: debian-trixie debian-unstable
2363 msgid "I<veracrypt>, I<tcrypt-veracrypt>"
2364 msgstr ""
2365
2366 #. type: Plain text
2367 #: debian-trixie debian-unstable
2368 msgid ""
2369 "Use VeraCrypt extension to TrueCrypt device\\&. Only useful in conjunction "
2370 "with I<tcrypt> option (ignored for non-TrueCrypt devices)\\&."
2371 msgstr ""
2372
2373 #. type: Plain text
2374 #: debian-trixie debian-unstable
2375 msgid "I<tcrypthidden>, I<tcrypt-hidden>"
2376 msgstr ""
2377
2378 #. type: Plain text
2379 #: debian-trixie debian-unstable
2380 msgid "Use hidden TCRYPT header (ignored for non-TCRYPT devices)\\&."
2381 msgstr ""
2382
2383 #. type: Plain text
2384 #: debian-trixie debian-unstable
2385 msgid "I<same-cpu-crypt>"
2386 msgstr ""
2387
2388 #. type: Plain text
2389 #: debian-trixie debian-unstable
2390 msgid "Perform encryption using the same cpu that IO was submitted on\\&."
2391 msgstr ""
2392
2393 #. type: Plain text
2394 #: debian-trixie debian-unstable
2395 msgid "I<submit-from-crypt-cpus>"
2396 msgstr ""
2397
2398 #. type: Plain text
2399 #: debian-trixie debian-unstable
2400 msgid "Disable offloading writes to a separate thread after encryption\\&."
2401 msgstr ""
2402
2403 #. type: Plain text
2404 #: debian-trixie debian-unstable
2405 msgid "I<no-read-workqueue>, I<no-write-workqueue>"
2406 msgstr ""
2407
2408 #. type: Plain text
2409 #: debian-trixie debian-unstable
2410 msgid ""
2411 "Bypass dm-crypt internal workqueue and process read or write requests "
2412 "synchronously\\&."
2413 msgstr ""
2414
2415 #. type: Plain text
2416 #: debian-trixie debian-unstable
2417 msgid "I<swap>"
2418 msgstr ""
2419
2420 #. type: Plain text
2421 #: debian-trixie debian-unstable
2422 msgid "Run B<mkswap> on the created device\\&."
2423 msgstr ""
2424
2425 #. type: Plain text
2426 #: debian-trixie debian-unstable
2427 msgid "This option is ignored for I<initramfs> devices\\&."
2428 msgstr ""
2429
2430 #. type: Plain text
2431 #: debian-trixie debian-unstable
2432 msgid "I<tmp>[=E<lt>tmpfsE<gt>]"
2433 msgstr ""
2434
2435 #. type: Plain text
2436 #: debian-trixie debian-unstable
2437 msgid ""
2438 "Run B<mkfs> with filesystem type E<lt>tmpfsE<gt> (or ext4 if omitted) on the "
2439 "created device\\&."
2440 msgstr ""
2441
2442 #. type: Plain text
2443 #: debian-trixie debian-unstable
2444 msgid "I<check>[=E<lt>checkE<gt>]"
2445 msgstr ""
2446
2447 #. type: Plain text
2448 #: debian-trixie debian-unstable
2449 msgid ""
2450 "Check the content of the target device by a suitable program; if the check "
2451 "fails, the device is closed immediately\\&. The program is being run with "
2452 "decrypted volume (target device) as first positional argument and, if the "
2453 "I<checkargs> option is used, its value as second argument\\&. See the "
2454 "CHECKSCRIPTS section for more information\\&."
2455 msgstr ""
2456
2457 #. type: Plain text
2458 #: debian-trixie debian-unstable
2459 msgid ""
2460 "The program is either specified by full path or relative to /lib/cryptsetup/"
2461 "checks/\\&. If omitted, then the value of $CRYPTDISKS_CHECK set in /etc/"
2462 "default/cryptdisks is used (blkid by default)\\&."
2463 msgstr ""
2464
2465 #. type: Plain text
2466 #: debian-trixie debian-unstable
2467 msgid ""
2468 "This option is specific to the Debian I<crypttab> format\\&. It\\*(Aqs not "
2469 "supported by I<systemd>\\&."
2470 msgstr ""
2471
2472 #. type: Plain text
2473 #: debian-trixie debian-unstable
2474 msgid "I<checkargs>=E<lt>argumentsE<gt>"
2475 msgstr ""
2476
2477 #. type: Plain text
2478 #: debian-trixie debian-unstable
2479 msgid ""
2480 "Give E<lt>argumentsE<gt> as the second argument to the check script\\&. See "
2481 "the CHECKSCRIPTS section for more information\\&."
2482 msgstr ""
2483
2484 #. type: Plain text
2485 #: debian-trixie debian-unstable
2486 msgid "I<initramfs>"
2487 msgstr ""
2488
2489 #. type: Plain text
2490 #: debian-trixie debian-unstable
2491 msgid ""
2492 "The initramfs hook processes the root device, any resume devices and any "
2493 "devices with the I<initramfs> option set\\&. These devices are processed "
2494 "within the initramfs stage of boot\\&. As an example, that allows the use of "
2495 "remote unlocking using dropbear\\&."
2496 msgstr ""
2497
2498 #. type: Plain text
2499 #: debian-trixie debian-unstable
2500 msgid "I<noearly>"
2501 msgstr ""
2502
2503 #. type: Plain text
2504 #: debian-trixie debian-unstable
2505 msgid ""
2506 "The cryptsetup init scripts are invoked twice during the boot process - once "
2507 "before lvm, raid, etc\\&. are started and once again after that\\&. "
2508 "Sometimes you need to start your encrypted disks in a special order\\&. With "
2509 "this option the device is ignored during the first invocation of the "
2510 "cryptsetup init scripts\\&."
2511 msgstr ""
2512
2513 #. type: Plain text
2514 #: debian-trixie debian-unstable
2515 msgid ""
2516 "This option is ignored for I<initramfs> devices and specific to the Debian "
2517 "I<crypttab> format\\&. It\\*(Aqs not supported by I<systemd>\\&."
2518 msgstr ""
2519
2520 #. type: Plain text
2521 #: debian-trixie debian-unstable
2522 msgid "I<noauto>"
2523 msgstr ""
2524
2525 #. type: Plain text
2526 #: debian-trixie debian-unstable
2527 msgid ""
2528 "Entirely ignore the device at the boot process\\&. It\\*(Aqs still possible "
2529 "to map the device manually using cryptdisks_start\\&."
2530 msgstr ""
2531
2532 #. type: Plain text
2533 #: debian-trixie debian-unstable
2534 msgid ""
2535 "This option is ignored for I<initramfs> devices and specific to the Debian "
2536 "I<crypttab> format\\&."
2537 msgstr ""
2538
2539 #. type: Plain text
2540 #: debian-trixie debian-unstable
2541 msgid "I<loud>"
2542 msgstr ""
2543
2544 #. type: Plain text
2545 #: debian-trixie debian-unstable
2546 msgid ""
2547 "Be loud\\&. Print warnings if a device does not exist\\&. This option "
2548 "overrides the option I<quiet>\\&."
2549 msgstr ""
2550
2551 #. type: Plain text
2552 #: debian-trixie debian-unstable
2553 msgid "I<quiet>"
2554 msgstr ""
2555
2556 #. type: Plain text
2557 #: debian-trixie debian-unstable
2558 msgid ""
2559 "Be quiet\\&. Don\\*(Aqt print warnings if a device does not exist\\&. This "
2560 "option overrides the option I<loud>\\&."
2561 msgstr ""
2562
2563 #. type: Plain text
2564 #: debian-trixie debian-unstable
2565 msgid "I<keyscript>=E<lt>pathE<gt>"
2566 msgstr ""
2567
2568 #. type: Plain text
2569 #: debian-trixie debian-unstable
2570 msgid ""
2571 "The executable at the indicated path is executed with the value of the "
2572 "I<third field> as only argument\\&. The keyscript\\*(Aqs standard output is "
2573 "passed to cryptsetup as decyption key\\&. Its exit status is currently "
2574 "ignored, but no assumption should be made in that regard\\&. When used in "
2575 "initramfs, the executable either needs to be self-contained (i\\&.e\\&. "
2576 "doesn\\*(Aqt rely on any external program which is not present in the "
2577 "initramfs environment) or the dependencies have to added to the initramfs "
2578 "image by other means\\&. The program is either specified by full path or "
2579 "relative to /lib/cryptsetup/scripts/\\&."
2580 msgstr ""
2581
2582 #. type: Plain text
2583 #: debian-trixie debian-unstable
2584 msgid ""
2585 "LIMITATIONS: All binaries and files on which the keyscript depends must be "
2586 "available at the time of execution\\&. Special care needs to be taken for "
2587 "encrypted filesystems like /usr or /var\\&. As an example, unlocking "
2588 "encrypted /usr must not depend on binaries from /usr/(s)bin\\&."
2589 msgstr ""
2590
2591 #. type: Plain text
2592 #: debian-trixie debian-unstable
2593 msgid ""
2594 "WARNING: With systemd as init system, this option might be ignored\\&. At "
2595 "the time this is written (December 2016), the systemd cryptsetup helper "
2596 "doesn\\*(Aqt support the keyscript option to /etc/crypttab\\&. For the time "
2597 "being, the only option to use keyscripts along with systemd is to force "
2598 "processing of the corresponding crypto devices in the initramfs\\&. See the "
2599 "\\*(Aqinitramfs\\*(Aq option for further information\\&."
2600 msgstr ""
2601
2602 #. type: Plain text
2603 #: debian-trixie debian-unstable
2604 msgid ""
2605 "All fields of the appropriate crypttab entry are available to the keyscript "
2606 "as exported environment variables:"
2607 msgstr ""
2608
2609 #. type: Plain text
2610 #: debian-trixie debian-unstable
2611 msgid "CRYPTTAB_NAME, _CRYPTTAB_NAME"
2612 msgstr ""
2613
2614 #. type: Plain text
2615 #: debian-trixie debian-unstable
2616 msgid "The target name (after resp\\&. before octal sequence decoding)\\&."
2617 msgstr ""
2618
2619 #. type: Plain text
2620 #: debian-trixie debian-unstable
2621 msgid "CRYPTTAB_SOURCE, _CRYPTTAB_SOURCE"
2622 msgstr ""
2623
2624 #. type: Plain text
2625 #: debian-trixie debian-unstable
2626 msgid ""
2627 "The source device (after resp\\&. before octal sequence decoding and device "
2628 "resolution)\\&."
2629 msgstr ""
2630
2631 #. type: Plain text
2632 #: debian-trixie debian-unstable
2633 msgid "CRYPTTAB_KEY, _CRYPTTAB_KEY"
2634 msgstr ""
2635
2636 #. type: Plain text
2637 #: debian-trixie debian-unstable
2638 msgid ""
2639 "The value of the third field (after resp\\&. before octal sequence decoding)"
2640 "\\&."
2641 msgstr ""
2642
2643 #. type: Plain text
2644 #: debian-trixie debian-unstable
2645 msgid "CRYPTTAB_OPTIONS, _CRYPTTAB_OPTIONS"
2646 msgstr ""
2647
2648 #. type: Plain text
2649 #: debian-trixie debian-unstable
2650 msgid ""
2651 "A list of exported crypttab options (after resp\\&. before octal sequence "
2652 "decoding)\\&."
2653 msgstr ""
2654
2655 #. type: Plain text
2656 #: debian-trixie debian-unstable
2657 msgid "CRYPTTAB_OPTION_E<lt>optionE<gt>"
2658 msgstr ""
2659
2660 #. type: Plain text
2661 #: debian-trixie debian-unstable
2662 msgid ""
2663 "The value of the appropriate crypttab option, with value set to "
2664 "\\*(Aqyes\\*(Aq in case the option is merely a flag\\&. For option aliases, "
2665 "such as \\*(Aqreadonly\\*(Aq and \\*(Aqread-only\\*(Aq, the variable name "
2666 "refers to the first alternative listed (thus "
2667 "\\*(AqCRYPTTAB_OPTION_readonly\\*(Aq in that case)\\&. If the crypttab "
2668 "option name contains \\*(Aq-\\*(Aq characters, then they are replaced with "
2669 "\\*(Aq_\\*(Aq in the exported variable name\\&. For instance, the value of "
2670 "the \\*(AqCRYPTTAB_OPTION_keyfile_offset\\*(Aq environment variable is set "
2671 "to the value of the \\*(Aqkeyfile-offset\\*(Aq crypttab option\\&."
2672 msgstr ""
2673
2674 #. type: Plain text
2675 #: debian-trixie debian-unstable
2676 msgid "CRYPTTAB_TRIED"
2677 msgstr ""
2678
2679 #. type: Plain text
2680 #: debian-trixie debian-unstable
2681 msgid ""
2682 "Number of previous tries since start of cryptdisks (counts until maximum "
2683 "number of tries is reached)\\&."
2684 msgstr ""
2685
2686 #. type: SH
2687 #: debian-trixie debian-unstable
2688 #, no-wrap
2689 msgid "CHECKSCRIPTS"
2690 msgstr ""
2691
2692 #. type: Plain text
2693 #: debian-trixie debian-unstable
2694 msgid "I<blkid>"
2695 msgstr ""
2696
2697 #. type: Plain text
2698 #: debian-trixie debian-unstable
2699 msgid ""
2700 "Checks for any known filesystem\\&. Supports a filesystem type as argument "
2701 "via E<lt>checkargsE<gt>:"
2702 msgstr ""
2703
2704 #. type: Plain text
2705 #: debian-trixie debian-unstable
2706 msgid ""
2707 "no checkargs - succeeds if any valid filesystem is found on the device\\&."
2708 msgstr ""
2709
2710 #. type: Plain text
2711 #: debian-trixie debian-unstable
2712 msgid "\"none\" - succeeds if no valid filesystem is found on the device\\&."
2713 msgstr ""
2714
2715 #. type: Plain text
2716 #: debian-trixie debian-unstable
2717 msgid ""
2718 "\"ext4\" [or another filesystem type like xfs, swap, crypto_LUKS, \\&.\\&."
2719 "\\&.] - succeeds if ext4 filesystem is found on the device\\&."
2720 msgstr ""
2721
2722 #. type: Plain text
2723 #: debian-trixie debian-unstable
2724 msgid "I<un_blkid>"
2725 msgstr ""
2726
2727 #. type: Plain text
2728 #: debian-trixie debian-unstable
2729 msgid ""
2730 "Checks for no known filesystem\\&. Supports a filesystem type as argument "
2731 "via E<lt>checkargsE<gt>:"
2732 msgstr ""
2733
2734 #. type: Plain text
2735 #: debian-trixie debian-unstable
2736 msgid ""
2737 "no checkargs - succeeds if no valid filesystem is found on the device\\&."
2738 msgstr ""
2739
2740 #. type: Plain text
2741 #: debian-trixie debian-unstable
2742 msgid ""
2743 "\"ext4\" [or another filesystem type like xfs, swap, crypto_LUKS, \\&.\\&."
2744 "\\&.] - succeeds if no ext4 filesystem is found on the device\\&."
2745 msgstr ""
2746
2747 #. type: Plain text
2748 #: debian-trixie debian-unstable
2749 #, no-wrap
2750 msgid ""
2751 "# Encrypted swap device\n"
2752 "cswap /dev/sda6 /dev/urandom plain,cipher=aes-xts-plain64,size=256,hash=sha1,swap\n"
2753 msgstr ""
2754
2755 #. type: Plain text
2756 #: debian-trixie debian-unstable
2757 #, no-wrap
2758 msgid ""
2759 "# Encrypted LUKS disk with interactive password, identified by its UUID, discard enabled\n"
2760 "cdisk0 UUID=12345678-9abc-def012345-6789abcdef01 none luks,discard\n"
2761 msgstr ""
2762
2763 #. type: Plain text
2764 #: debian-trixie debian-unstable
2765 #, no-wrap
2766 msgid ""
2767 "# Encrypted TCRYPT disk with interactive password, discard enabled\n"
2768 "tdisk0 /dev/sr0 none tcrypt,discard\n"
2769 msgstr ""
2770
2771 #. type: Plain text
2772 #: debian-trixie debian-unstable
2773 #, no-wrap
2774 msgid ""
2775 "# Encrypted ext4 disk with interactive password, discard enabled\n"
2776 "# - retry 5 times if the check fails\n"
2777 "cdisk1 /dev/sda2 none plain,cipher=aes-xts-plain64,size=256,hash=sha1,check,checkargs=ext4,tries=5,discard\n"
2778 msgstr ""
2779
2780 #. type: Plain text
2781 #: debian-trixie debian-unstable
2782 #, no-wrap
2783 msgid ""
2784 "# Encrypted disk with interactive password, discard enabled\n"
2785 "# - use a nondefault check script\n"
2786 "# - no retries\n"
2787 "cdisk2 /dev/sdc1 none plain,cipher=aes-xts-plain64,size=256,hash=sha1,check=customscript,tries=1,discard\n"
2788 msgstr ""
2789
2790 #. type: Plain text
2791 #: debian-trixie debian-unstable
2792 #, no-wrap
2793 msgid ""
2794 "# Encrypted disk with interactive password, discard enabled\n"
2795 "# - Twofish as the cipher, RIPEMD-160 as the hash\n"
2796 "cdisk3 /dev/sda3 none plain,cipher=twofish,size=256,hash=ripemd160,discard\n"
2797 msgstr ""
2798
2799 #. type: SH
2800 #: debian-trixie debian-unstable
2801 #, no-wrap
2802 msgid "ENVIRONMENT"
2803 msgstr ""
2804
2805 #. type: Plain text
2806 #: debian-trixie debian-unstable
2807 msgid "I<CRYPTDISKS_ENABLE>"
2808 msgstr ""
2809
2810 #. type: Plain text
2811 #: debian-trixie debian-unstable
2812 msgid ""
2813 "Set to I<yes> to run cryptdisks initscripts at startup\\&. Set to I<no> to "
2814 "disable cryptdisks initscripts\\&. Default is I<yes>\\&."
2815 msgstr ""
2816
2817 #. type: Plain text
2818 #: debian-trixie debian-unstable
2819 msgid "I<CRYPTDISKS_MOUNT>"
2820 msgstr ""
2821
2822 #. type: Plain text
2823 #: debian-trixie debian-unstable
2824 msgid ""
2825 "Specifies the mountpoints that are mounted before cryptdisks is invoked\\&. "
2826 "Takes mountpoints configured in /etc/fstab as arguments\\&. Separate "
2827 "mountpoints by space\\&. This is useful for keys on removable devices, such "
2828 "as cdrom, usbstick, flashcard, etc\\&. Default is unset\\&."
2829 msgstr ""
2830
2831 #. type: Plain text
2832 #: debian-trixie debian-unstable
2833 msgid "I<CRYPTDISKS_CHECK>"
2834 msgstr ""
2835
2836 #. type: Plain text
2837 #: debian-trixie debian-unstable
2838 msgid ""
2839 "Specifies the default checkscript to be run against the target device, after "
2840 "cryptdisks has been invoked\\&. The target device is passed as the first and "
2841 "only argument to the checkscript\\&. Takes effect if the I<check> option is "
2842 "given in crypttab with no value\\&. See documentation for I<check> option "
2843 "above for more information\\&."
2844 msgstr ""
2845
2846 #. type: SH
2847 #: debian-trixie debian-unstable
2848 #, no-wrap
2849 msgid "KNOWN UPGRADE ISSUES"
2850 msgstr ""
2851
2852 #. type: Plain text
2853 #: debian-trixie debian-unstable
2854 msgid ""
2855 "The upstream defaults for encryption cipher, hash and keysize have changed "
2856 "several times in the past, and they\\*(Aqre expected to change again in "
2857 "future, for example if security issues arise\\&. On LUKS devices, the used "
2858 "settings are stored in the LUKS header, and thus don\\*(Aqt need to be "
2859 "configured in /etc/crypttab\\&. For plain dm-crypt devices, no information "
2860 "about used cipher, hash and keysize are available at all\\&. Therefore we "
2861 "strongly suggest to configure the cipher, hash and keysize in /etc/crypttab "
2862 "for plain dm-crypt devices, even if they match the current default\\&."
2863 msgstr ""
2864
2865 #. type: Plain text
2866 #: debian-trixie debian-unstable
2867 msgid ""
2868 "B<cryptsetup>(8), B<cryptdisks_start>(8), B<cryptdisks_stop>(8), /usr/share/"
2869 "doc/cryptsetup-initramfs/README\\&.initramfs\\&.gz"
2870 msgstr ""
2871
2872 #. type: SH
2873 #: debian-trixie debian-unstable
2874 #, no-wrap
2875 msgid "AUTHOR"
2876 msgstr ""
2877
2878 #. type: Plain text
2879 #: debian-trixie debian-unstable
2880 msgid ""
2881 "This manual page was originally written by Bastian Kleineidam "
2882 "E<lt>calvin@debian\\&.orgE<gt> for the Debian distribution of cryptsetup\\&. "
2883 "It has been further improved by Michael Gebetsroither "
2884 "E<lt>michael\\&.geb@gmx\\&.atE<gt>, David Härdeman "
2885 "E<lt>david@hardeman\\&.nuE<gt> and Jonas Meurer "
2886 "E<lt>jonas@freesources\\&.orgE<gt>\\&."
2887 msgstr ""
2888
2889 #. type: TH
2890 #: debian-unstable
2891 #, no-wrap
2892 msgid "2026-05-03"
2893 msgstr ""
2894
2895 #. type: TH
2896 #: debian-unstable
2897 #, no-wrap
2898 msgid "cryptsetup 2:2\\&.8\\&.6-2"
2899 msgstr ""
2900
2901 #. type: TH
2902 #: fedora-44
2903 #, no-wrap
2904 msgid "systemd 259.5"
2905 msgstr ""
2906
2907 #. type: Plain text
2908 #: fedora-44
2909 msgid ""
2910 "Controls whether to measure information about the used LUKS unlock keyslot "
2911 "to a TPM2 non-volatile index (nvindex in PCR mode)\\&. If set to to an empty "
2912 "string (which is the default) no TPM2 nvindex extension is done, otherwise "
2913 "keyslot information is measured to an nvindex of the specified name, which "
2914 "is allocated if needed\\&. It is recommended to set this to \"cryptsetup\" "
2915 "to enable this logic\\&. The slot index and the used unlock mechanism "
2916 "(i\\&.e\\&. \"tpm2\", \"fido2\", \"pkcs11\") is measured along with the "
2917 "activated volume name and its UUID\\&."
2918 msgstr ""
2919
2920 #. type: Plain text
2921 #: fedora-44 mageia-cauldron
2922 msgid ""
2923 "B<systemd>(1), B<[email protected]>(8), B<systemd-cryptsetup-"
2924 "generator>(8), B<systemd-cryptenroll>(1), B<fstab>(5), B<cryptsetup>(8), "
2925 "B<mkswap>(8), B<mke2fs>(8)"
2926 msgstr ""
2927
2928 #. type: TH
2929 #: fedora-rawhide
2930 #, no-wrap
2931 msgid "systemd 261~rc2"
2932 msgstr ""
2933
2934 #. type: TH
2935 #: mageia-cauldron
2936 #, no-wrap
2937 msgid "systemd 258.7"
2938 msgstr ""