Cryptsetup

Aus WIKI
Zur Navigation springen Zur Suche springen

Vorhandene keys anzeigen

cryptsetup luksDump <device>

key hinzufügen

cryptsetup luksAddKey <device> [<keyfile>]

partition verschlüsseln -> alte Variante: cryptsetup luksFormat -c aes-xts-plain64 -s 512 -h sha512 -y <partition>

cryptsetup luksFormat --type luks2 --cipher aes-xts-plain64 --hash sha256 --iter-time 2000 --key-size 256 --pbkdf argon2id --use-urandom --verify-passphrase <device>

verschlüsselte Partition einbinden

cryptsetup luksOpen <partition> usb-crypt

belegte Slots die mit einem Passwort anzeigen lassen

cryptsetup luksDump <device>

Passwort hinzufügen

cryptsetup luksAddKey <device>

Passwort entfernen

cryptsetup luksRemoveKey <device>