From ab6599a905d2ded219506a729502cb608a4fcabd Mon Sep 17 00:00:00 2001 From: Ted Chang Date: Tue, 5 Dec 2023 00:24:49 +0800 Subject: [PATCH] modify enc.disk size as 20M Signed-off-by: Ted Chang --- _posts/2020-04-13-Disk-Encryption.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2020-04-13-Disk-Encryption.md b/_posts/2020-04-13-Disk-Encryption.md index 8af1a9b..e402204 100644 --- a/_posts/2020-04-13-Disk-Encryption.md +++ b/_posts/2020-04-13-Disk-Encryption.md @@ -175,7 +175,7 @@ provided as a password just in time (default) and or specified as key file managing LUKS volumes.
Let's setup a new LUKS volume with a simple passphrase as key protector:
-12. `dd if=/dev/zero of=enc.disk bs=1M count=10`
+12. `dd if=/dev/zero of=enc.disk bs=1M count=20`
13. `dd if=/dev/urandom of=disk.key bs=1 count=32`
14. `loopdevice=$(losetup -f) && sudo losetup $loopdevice enc.disk`
15. `sudo cryptsetup luksFormat --key-file=disk.key $loopdevice`