commit f3cb6e921d415f1089af84dae6352868ead87959
parent 632bad68240228f04694ada353f4d81d52614b3e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 20 May 2020 14:52:15 +0200
Use gpg2(1) instead of pass(1)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/auvpn b/.local/bin/auvpn
@@ -6,7 +6,7 @@ if [ "$(id -u)" = 0 ]; then
exit 1
fi
-pass="$(pass Uni/mit.au.dk-217756)"
+pass="$(gpg2 -q -d ~/.password-store/Uni/mit.au.dk-217756.gpg)"
doas sh -c "printf '%s' '$pass' | \
openconnect -u au217756@uni.au.dk --passwd-on-stdin \