clevis-luks-pass.1.adoc 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. CLEVIS-LUKS-PASS(1)
  2. ===================
  3. :doctype: manpage
  4. == NAME
  5. clevis-luks-pass - Extracts the passphrase used for binding a particular slot in a LUKS device
  6. == SYNOPSIS
  7. *clevis luks pass* -d DEV -s SLT
  8. == OVERVIEW
  9. The *clevis luks pass* command extracts the passphrase used for binding a particular slot in a LUKS device.
  10. For example:
  11. clevis luks pass -d /dev/sda1 -s 1
  12. == OPTIONS
  13. * *-d* _DEV_ :
  14. The LUKS device on which to extract a passphrase from
  15. * *-s* _SLT_ :
  16. The slot to use for extracting the passphrase
  17. == EXAMPLE
  18. clevis luks pass -d /dev/sda1 -s 1
  19. <passphrase here>
  20. Note that the output of *clevis luks pass* might be non-printable, in which case it would be better to redirect its output to a file and use it as a key file together with cryptsetup. For instance:
  21. clevis luks pass -d /dev/sda1 -s 1 > slot1-passphrase
  22. And the file slot1-passphrase will contain the passphrase associated with slot #1 in /dev/sda1.
  23. == SEE ALSO
  24. link:clevis-luks-unlock.1.adoc[*clevis-luks-unlock*(1)],