mirror of
				https://github.com/tiyn/wiki.git
				synced 2025-10-31 18:31:15 +01:00 
			
		
		
		
	linux: improved luks encryption parameters
This commit is contained in:
		| @@ -84,7 +84,7 @@ The right partition has the label `Linux filesystem`. | ||||
| For this guide this partition is assumed to be `/dev/sda2`. | ||||
|  | ||||
| ```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`. | ||||
| Now you can assign a passphrase. | ||||
|   | ||||
| @@ -7,7 +7,7 @@ DM-Crypt can create and manage encrypted devices. | ||||
| ### Creating an Encrypted Devices | ||||
|  | ||||
| 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. | ||||
|  | ||||
| ### Create/Add a Key File to an encrypted volume | ||||
|   | ||||
		Reference in New Issue
	
	Block a user