]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Increase default password size at pwgen
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 23 May 2018 18:07:48 +0000 (15:07 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 23 May 2018 18:07:48 +0000 (15:07 -0300)
lib/keyringer/actions/pwgen

index 3c036815e251ab6cc95d68452ab3a0f5ed286870..5f254473091b44c1fb8c36720c6f710e91b42aa6 100755 (executable)
@@ -13,7 +13,7 @@ FILE="$2"
 
 # Generates a random passphrase
 function keyringer_pwgen {
-  ENTROPY_BYTES=${1:-20} # in bytes
+  ENTROPY_BYTES=${1:-40} # in bytes
   ENTROPY_SOURCE="${ENTROPY_SOURCE:-/dev/urandom}"
 
   # Strip possible newlines if output is wrapped.