1CLEVIS-LUKS-PASS(1) CLEVIS-LUKS-PASS(1)
2
3
4
6 clevis-luks-pass - Extracts the passphrase used for binding a
7 particular slot in a LUKS device
8
10 clevis luks pass -d DEV -s SLT
11
13 The clevis luks pass command extracts the passphrase used for binding a
14 particular slot in a LUKS device. For example:
15
16 clevis luks pass -d /dev/sda1 -s 1
17
19 • -d DEV : The LUKS device on which to extract a passphrase from
20
21 • -s SLT : The slot to use for extracting the passphrase
22
24 clevis luks pass -d /dev/sda1 -s 1
25 <passphrase here>
26
27 Note that the output of clevis luks pass might be non-printable, in
28 which case it would be better to redirect its output to a file and use
29 it as a key file together with cryptsetup. For instance:
30
31 clevis luks pass -d /dev/sda1 -s 1 > slot1-passphrase
32
33 And the file slot1-passphrase will contain the passphrase associated
34 with slot #1 in /dev/sda1.
35
37 clevis-luks-unlock(1),
38
39
40
41 07/08/2022 CLEVIS-LUKS-PASS(1)