Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify enc.disk size as 20M #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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