aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-02 19:09:52 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-02 19:09:52 +1300
commitdff803a898aec46de16b449261fc49cef923dbf5 (patch)
tree0b15bd3e02da47f8c3738a5d06befcf3ec7b4032 /bin
parentSoothe shellcheck about new marked dirs funcs (diff)
downloaddotfiles-dff803a898aec46de16b449261fc49cef923dbf5.tar.gz
dotfiles-dff803a898aec46de16b449261fc49cef923dbf5.zip
Get 16-char passwords from pwg(1df)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pwg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pwg b/bin/pwg
index 219de003..97af3df4 100755
--- a/bin/pwg
+++ b/bin/pwg
@@ -2,6 +2,6 @@
# Shortcut to generate just one strong password with pwgen(1)
# If any arguments are provided, those are used instead
if [ "$#" -eq 0 ] ; then
- set -- --secure -- "${PWGEN_LENGTH:-15}" "${PWGEN_COUNT:-1}"
+ set -- --secure -- "${PWGEN_LENGTH:-16}" "${PWGEN_COUNT:-1}"
fi
pwgen "$@"