VK
Size: a a a
VK
AZ
G
VK
AZ
DK
G
DK
VK
AZ
G
AZ
AZ
G
VK
W
МЧ
МЧ
МЧ
M
root@dockervm:~# cryptsetup luksDump /dev/sdb
LUKS header information for /dev/sdb
Version: 1
Cipher name: aes
Cipher mode: xts-plain64
Hash spec: sha256
Payload offset: 4096
MK bits: 256
dd if=/dev/urandom of=/etc/crypt-new.keyfile count=32 bs=1
32+0 records in
32+0 records out
32 bytes copied, 0.000972579 s, 32.9 kB/s
root@dockervm:~# cryptsetup luksAddKey /dev/sdb /etc/crypt-new.keyfile
Enter any existing passphrase:
root@dockervm:~# cryptsetup --key-file /etc/crypt-new.keyfile luksOpen /dev/sdb 8T
Device 8T already exists.
root@dockervm:~# cryptsetup luksClose 8T
root@dockervm:~# cryptsetup --key-file /etc/crypt-new.keyfile luksOpen /dev/sdb 8T
No key available with this passphrase.