mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-21 23:17:46 +02:00
linux: improved luks encryption parameters
This commit is contained in:
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…
x
Reference in New Issue
Block a user