From cd37a818269efb42cf8ac0ceb087deee36921d45 Mon Sep 17 00:00:00 2001 From: Franz-Stefan Preiss Date: Tue, 21 Sep 2021 15:45:34 +0200 Subject: [PATCH] Use correct cryptsetup key size parameter name --- index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.md b/index.md index c577c9b..9a81bc0 100644 --- a/index.md +++ b/index.md @@ -234,7 +234,7 @@ time dd bs=4k count=XXXXX if=/dev/sda | sha1sum ``` Assuming that the checksums are correct, now it is time to encrypt the root filesystem of the SD Card, to create the LUKS volume using ‘cryptsetup’. There are many parameters and possible values for the encryption. This is the command I have chosen: ``` -cryptsetup --type luks2 --cipher xchacha20,aes-adiantum-plain64 --hash sha256 --iter-time 5000 –keysize 256 --pbkdf argon2i luksFormat /dev/mmcblk0p2 +cryptsetup --type luks2 --cipher xchacha20,aes-adiantum-plain64 --hash sha256 --iter-time 5000 --key-size 256 --pbkdf argon2i luksFormat /dev/mmcblk0p2 ``` More information about the parameters can be found here: