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?hp=f5ec0b4b91687c7a34d4760381f6e7424f981127 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