grimoire

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

commit 54366f85e10da2a2d924ad04d43f85b34882d881
parent 8bb8938d23648189b37ba99594f8c71a14a9e2c9
Author: pyratebeard <root@pyratebeard.net>
Date:   Mon, 16 Mar 2026 16:10:51 +0000

updates
updates

Diffstat:
Mglossary.md | 1+
Msoftware/index.md | 1+
Asoftware/luks.md | 15+++++++++++++++
3 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/glossary.md b/glossary.md @@ -76,6 +76,7 @@ * [ldap](/software/ldap) * [linux](/linux/index) * [logrotate](/linux/logrotate) +* [luks](/software/luks) * [lvm](/linux/lvm) * [lxc](/virtualisation/lxc) diff --git a/software/index.md b/software/index.md @@ -24,6 +24,7 @@ ## cryptography * [gpg](gpg) +* [luks](luks) * [openssl](openssl) * [veracrypt](veracrypt) diff --git a/software/luks.md b/software/luks.md @@ -0,0 +1,15 @@ +# luks + +# change luks passphrase +* check which slots have passphrases +``` +cryptsetup luksDump /dev/<device> +``` +* test passphrase if unsure which slot +``` +cryptsetup luksOpen --test-passphrase --key-slot <slot_num> /dev/<device> +``` +* change passphrase +``` +cryptsetup luksChangeKey /dev/<device> -S <slot_num> +```