mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-08-09 23:12:54 -04:00
replace urandom with random
These both use the same CSPRNG on modern kernels, but random waits for CSPRNG initialization instead of only attempting to initialize it.
This commit is contained in:
parent
ce1fef8c0e
commit
750cd5e985
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ cd /etc/nginx/session-ticket-keys
|
|||
rsync -I 2.key 1.key
|
||||
rsync -I 3.key 2.key
|
||||
rsync -I 4.key 3.key
|
||||
head -c 80 </dev/urandom >new.key
|
||||
head -c 80 </dev/random >new.key
|
||||
rsync -I new.key 4.key
|
||||
rm new.key
|
||||
nginx -s reload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue