Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _posts/2020-04-13-Disk-Encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ provided as a password just in time (default) and or specified as key file
managing LUKS volumes.<br>

Let's setup a new LUKS volume with a simple passphrase as key protector:<br>
12. `dd if=/dev/zero of=enc.disk bs=1M count=10`<br>
12. `dd if=/dev/zero of=enc.disk bs=1M count=20`<br>
13. `dd if=/dev/urandom of=disk.key bs=1 count=32`<br>
14. `loopdevice=$(losetup -f) && sudo losetup $loopdevice enc.disk`<br>
15. `sudo cryptsetup luksFormat --key-file=disk.key $loopdevice`<br>
Expand Down