From: Scott Worley Date: Sun, 22 Oct 2017 00:14:18 +0000 (-0700) Subject: Skip the sleep; rely on /dev/random to block. X-Git-Url: http://git.scottworley.com/overonion/commitdiff_plain/d778dfea549bb736863c6b24b6fd1950577b0a5c Skip the sleep; rely on /dev/random to block. --- diff --git a/overonion-make-key b/overonion-make-key index 3b0289f..b909d97 100755 --- a/overonion-make-key +++ b/overonion-make-key @@ -30,7 +30,6 @@ fi i=0 while read -r cipher;do echo -n $'\r'"Generating key $((++i))/${#ciphers[*]}" - sleep 10 cat >> "$keyfile" <<< "$cipher $(head -c 99 /dev/random | base64 --wrap=0 )" done < <( IFS=$'\n'; shuf <<< "${ciphers[*]}"; ) echo