Skip to content

Commit

Permalink
luksFormat: drop --hash=sha512 argument
Browse files Browse the repository at this point in the history
The default (sha256) seems fine for LUKS2 where the hash algorithm has a
limited role anyway - it's not used for key stretching like in LUKS1.
  • Loading branch information
rustybird committed Dec 20, 2024
1 parent 4fb0f0c commit 65e0511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/advanced-topics/secondary-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ In theory, you can still use file-based disk images ("file" pool driver), but it
Assuming the secondary hard disk is at /dev/sdb (it will be completely erased), you can set it up for encryption by doing in a dom0 terminal (use the same passphrase as the main Qubes disk to avoid a second password prompt at boot):

```
sudo cryptsetup luksFormat --sector-size=512 --hash=sha512 /dev/sdb
sudo cryptsetup luksFormat --sector-size=512 /dev/sdb
sudo blkid /dev/sdb
```

Expand Down

0 comments on commit 65e0511

Please sign in to comment.