logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

clevis-luks-pass - Extracts the passphrase used for binding a particular slot in a LUKS device

Example

           clevis luks pass -d /dev/sda1 -s 1
           <passphrase here>

       Note that the output of clevislukspass 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:

           clevis luks pass -d /dev/sda1 -s 1 > slot1-passphrase

       And the file slot1-passphrase will contain the passphrase associated with slot #1 in /dev/sda1.

Name

       clevis-luks-pass - Extracts the passphrase used for binding a particular slot in a LUKS device

Options

-dDEV : The LUKS device on which to extract a passphrase from

       •   -sSLT : The slot to use for extracting the passphrase

Overview

       The clevislukspass command extracts the passphrase used for binding a particular slot in a LUKS device.
       For example:

           clevis luks pass -d /dev/sda1 -s 1

See Also

clevis-luks-unlock(1) <clevis-luks-unlock.1.adoc>,

                                                                                             CLEVIS-LUKS-PASS(1)

Synopsis

clevislukspass -d DEV -s SLT

See Also