aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-05-23 15:07:48 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-05-23 15:07:48 -0300
commit3488be50ec671c4e082766893f2ba6178716b978 (patch)
tree83c533e38e9e29df83997cbb33a1fb3fbaa7d52f /lib
parent1cacdb5a0293f512b5ce49537f40f1359c9626ce (diff)
downloadkeyringer-3488be50ec671c4e082766893f2ba6178716b978.tar.gz
keyringer-3488be50ec671c4e082766893f2ba6178716b978.tar.bz2
Increase default password size at pwgen
Diffstat (limited to 'lib')
-rwxr-xr-xlib/keyringer/actions/pwgen2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/keyringer/actions/pwgen b/lib/keyringer/actions/pwgen
index 3c03681..5f25447 100755
--- a/lib/keyringer/actions/pwgen
+++ b/lib/keyringer/actions/pwgen
@@ -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.