1CRYPTSETUP-TCRYPTDUMP(8)     Maintenance Commands     CRYPTSETUP-TCRYPTDUMP(8)
2
3
4

NAME

6       cryptsetup-tcryptDump - dump the header information of a TCRYPT
7       (TrueCrypt or VeraCrypt compatible) device
8

SYNOPSIS

10       cryptsetup tcryptDump [<options>] <device>
11

DESCRIPTION

13       Dump the header information of a TCRYPT (TrueCrypt or VeraCrypt
14       compatible) device.
15
16       If the --dump-volume-key option is used, the TCRYPT device volume key
17       is dumped instead of TCRYPT header info. Beware that the volume key (or
18       concatenated volume keys if cipher chain is used) can be used to
19       decrypt the data stored in the TCRYPT container without a passphrase.
20       This means that if the volume key is compromised, the whole device has
21       to be erased to prevent further access. Use this option carefully.
22
23       <options> can be [--dump-volume-key, --key-file, --tcrypt-hidden,
24       --tcrypt-system, --tcrypt-backup, --veracrypt (ignored),
25       --disable-veracrypt, --veracrypt-pim, --veracrypt-query-pim, --cipher,
26       --hash, --header, --verify-passphrase, --timeout].
27
28       The keyfile parameter allows a combination of file content with the
29       passphrase and can be repeated.
30

OPTIONS

32       --hash, -h <hash-spec>
33           Specifies the passphrase hash. Applies to plain and loopaes device
34           types only.
35
36           For tcrypt device type, it restricts checked PBKDF2 variants when
37           looking for header.
38
39       --cipher, -c <cipher-spec>
40           Set the cipher specification string for plain device type.
41
42           For tcrypt device type it restricts checked cipher chains when
43           looking for header.
44
45       --verify-passphrase, -y
46           When interactively asking for a passphrase, ask for it twice and
47           complain if both inputs do not match. Ignored on input from file or
48           stdin.
49
50       --key-file, -d name
51           Read the passphrase from file.
52
53           If the name given is "-", then the passphrase will be read from
54           stdin. In this case, reading will not stop at newline characters.
55
56           See section NOTES ON PASSPHRASE PROCESSING in cryptsetup(8) for
57           more information.
58
59       --dump-volume-key, --dump-master-key (OBSOLETE alias)
60           Print the volume key in the displayed information. Use with care,
61           as the volume key can be used to bypass the passphrases, see also
62           option --volume-key-file.
63
64       --timeout, -t <number of seconds>
65           The number of seconds to wait before timeout on passphrase input
66           via terminal. It is relevant every time a passphrase is asked. It
67           has no effect if used in conjunction with --key-file.
68
69           This option is useful when the system should not stall if the user
70           does not input a passphrase, e.g. during boot. The default is a
71           value of 0 seconds, which means to wait forever.
72
73       --header <device or file storing the LUKS header>
74           Use a detached (separated) metadata device or file where the LUKS
75           header is stored. This option allows one to store ciphertext and
76           LUKS header on different devices.
77
78           For commands that change the LUKS header (e.g. luksAddKey), specify
79           the device or file with the LUKS header directly as the LUKS
80           device.
81
82       --tcrypt-hidden, --tcrypt-system, --tcrypt-backup
83           Specify which TrueCrypt on-disk header will be used to open the
84           device. See TCRYPT section in cryptsetup(8) for more info.
85
86       --veracrypt
87           This option is ignored as VeraCrypt compatible mode is supported by
88           default.
89
90       --disable-veracrypt
91           This option can be used to disable VeraCrypt compatible mode (only
92           TrueCrypt devices are recognized). Only for TCRYPT extension. See
93           TCRYPT section in cryptsetup(8) for more info.
94
95       --veracrypt-pim, --veracrypt-query-pim
96           Use a custom Personal Iteration Multiplier (PIM) for VeraCrypt
97           device. See TCRYPT section in cryptsetup(8) for more info.
98
99       --batch-mode, -q
100           Suppresses all confirmation questions. Use with care!
101
102           If the --verify-passphrase option is not specified, this option
103           also switches off the passphrase verification.
104
105       --debug or --debug-json
106           Run in debug mode with full diagnostic logs. Debug output lines are
107           always prefixed by #.
108
109           If --debug-json is used, additional LUKS2 JSON data structures are
110           printed.
111
112       --version, -V
113           Show the program version.
114
115       --usage
116           Show short option help.
117
118       --help, -?
119           Show help text and default parameters.
120

REPORTING BUGS

122       Report bugs at cryptsetup mailing list <cryptsetup@lists.linux.dev> or
123       in Issues project section
124       <https://gitlab.com/cryptsetup/cryptsetup/-/issues/new>.
125
126       Please attach output of the failed command with --debug option added.
127

SEE ALSO

129       Cryptsetup FAQ
130       <https://gitlab.com/cryptsetup/cryptsetup/wikis/FrequentlyAskedQuestions>
131
132       cryptsetup(8), integritysetup(8) and veritysetup(8)
133

CRYPTSETUP

135       Part of cryptsetup project <https://gitlab.com/cryptsetup/cryptsetup/>.
136
137
138
139cryptsetup 2.6.1                  2023-02-10          CRYPTSETUP-TCRYPTDUMP(8)
Impressum