Merge pull request #9 from ragusa-it/optimize-random-source-3769705395637556964

 Replace blocking /dev/random with non-blocking /dev/urandom
This commit was merged in pull request #9.
This commit is contained in:
Melvin Ragusa
2026-02-12 18:41:11 +01:00
committed by GitHub

View File

@@ -85,7 +85,7 @@ echo "LUKS encryption configured."
echo "" echo ""
echo "═══ Phase 4: Generating swap keyfile ═══" echo "═══ Phase 4: Generating swap keyfile ═══"
dd bs=4096 count=1 if=/dev/random of=/tmp/swap.key iflag=fullblock dd bs=4096 count=1 if=/dev/urandom of=/tmp/swap.key iflag=fullblock
chmod 600 /tmp/swap.key chmod 600 /tmp/swap.key
echo "Adding keyfile to swap LUKS volume..." echo "Adding keyfile to swap LUKS volume..."