Skip to content

Instantly share code, notes, and snippets.

@EdwardPrentice
Last active March 28, 2021 16:25
#!/bin/bash -eu
if [[ $# -eq 0 ]] ; then
echo "No argument supplied"
exit 1
fi
gpgconf --reload gpg-agent # cleans out any failed attempts
gpg --decrypt $1
gpgconf --reload gpg-agent # forget the password immediately
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment