grimoire

personal wiki
git clone git://git.pyratebeard.net/grimoire.git
Log | Files | Refs

luks.md (314B)


      1 # luks
      2 
      3 # change luks passphrase
      4 * check which slots have passphrases
      5 ```
      6 cryptsetup luksDump /dev/<device>
      7 ```
      8 * test passphrase if unsure which slot
      9 ```
     10 cryptsetup luksOpen --test-passphrase --key-slot <slot_num> /dev/<device>
     11 ```
     12 * change passphrase
     13 ```
     14 cryptsetup luksChangeKey /dev/<device> -S <slot_num>
     15 ```