summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorrysiek <rysiek@example.org>2017-11-03 10:29:40 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-03 10:29:40 -0200
commit171a0799e7d57bc121b0efe766a2e215c7afccba (patch)
tree90ad662e4e8d3d761b490fde3c6e30504b8ef012 /lib
parent7f134279b78d6fa66e6ca271f95ba3633163edf8 (diff)
downloadkeyringer-171a0799e7d57bc121b0efe766a2e215c7afccba.tar.gz
keyringer-171a0799e7d57bc121b0efe766a2e215c7afccba.tar.bz2
pwgen action now uses encrypt-batch, informs user of success
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 1ca3829..3c03681 100755
--- a/lib/keyringer/actions/pwgen
+++ b/lib/keyringer/actions/pwgen
@@ -32,4 +32,4 @@ elif [ ! -z "$SIZE" ] && ! echo $SIZE | egrep -q '^[0-9]+$'; then
fi
# Encrypt and store a randomly-generated secret
-keyringer_pwgen $SIZE | keyringer_exec encrypt "$BASEDIR" "$FILE"
+keyringer_pwgen $SIZE | keyringer_exec encrypt-batch "$BASEDIR" "$FILE" && echo "Secret generated and stored."