From 082c1967524c48a1a45f9c1ae66bfb2ac9e2e7fa Mon Sep 17 00:00:00 2001 From: Maciej Lebiest <68295743+Szwendacz99@users.noreply.github.com> Date: Tue, 29 Jun 2021 15:09:52 +0200 Subject: [PATCH] update cryptsetup options, use luks2 and argon2id --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 34b47bc..28c45a2 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,8 @@ For setting up different locale than pl check official guide ### ----------------- encryption (optional) ------------------ ### Setup the encryption of the system, don't use letters outside en-us keyboard like ąęć etc. for password -### You can check if grub with encrypted /boot support luks2 format when you are reading it, it coud have changed, but now grub only supports luks1 ->cryptsetup -c=aes-xts-plain64 --key-size=512 --hash=sha512 --iter-time=3000 --use-random luksFormat --type=luks1 /dev/sdX2 +### Grub should now support luks2 +>cryptsetup -c=aes-xts-plain64 --key-size=512 --hash=sha512 --iter-time=3000 --pbkdf=argon2id --pbkdf-parallel=4 --use-random luksFormat --type=luks2 /dev/sdX2 >cryptsetup luksOpen /dev/sdX2 MainPart