linux: improved luks encryption parameters

master
tiyn 22 hours ago
parent d94a6b9b7e
commit 8faf4bc4ec

@ -84,7 +84,7 @@ The right partition has the label `Linux filesystem`.
For this guide this partition is assumed to be `/dev/sda2`. For this guide this partition is assumed to be `/dev/sda2`.
```sh ```sh
cryptsetup -c aes-xts-plain -y -s 512 luksFormat /dev/sda2 cryptsetup -c aes-xts-plain -s 512 -y -v luksFormat /dev/sda2
``` ```
Afterwards confirm with `YES`. Afterwards confirm with `YES`.
Now you can assign a passphrase. Now you can assign a passphrase.

@ -7,7 +7,7 @@ DM-Crypt can create and manage encrypted devices.
### Creating an Encrypted Devices ### Creating an Encrypted Devices
To create a encrypted device simply run: To create a encrypted device simply run:
`cryptsetup -y -v luksFormat /dev/sda2`. `cryptsetup -c aes-xts-plain -s 512 -y -v luksFormat /dev/sda2`.
Where `/dev/sda2` is the device to be created. Where `/dev/sda2` is the device to be created.
### Create/Add a Key File to an encrypted volume ### Create/Add a Key File to an encrypted volume

Loading…
Cancel
Save