54366f85e10da2a2d924ad04d43f85b34882d881
glossary.md
| ... | ... | @@ -76,6 +76,7 @@ |
| 76 | 76 | * [ldap](/software/ldap) |
| 77 | 77 | * [linux](/linux/index) |
| 78 | 78 | * [logrotate](/linux/logrotate) |
| 79 | +* [luks](/software/luks) |
|
| 79 | 80 | * [lvm](/linux/lvm) |
| 80 | 81 | * [lxc](/virtualisation/lxc) |
| 81 | 82 |
software/index.md
| ... | ... | @@ -24,6 +24,7 @@ |
| 24 | 24 | |
| 25 | 25 | ## cryptography |
| 26 | 26 | * [gpg](gpg) |
| 27 | +* [luks](luks) |
|
| 27 | 28 | * [openssl](openssl) |
| 28 | 29 | * [veracrypt](veracrypt) |
| 29 | 30 |
software/luks.md
| ... | ... | @@ -0,0 +1,15 @@ |
| 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 | +``` |