Last active
March 28, 2021 17:26
-
-
Save EdwardPrentice/cc49c094bd324aa4156f14a25b0621cb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -eu | |
if [[ $# -eq 0 ]] ; then | |
echo "No argument supplied" | |
exit 1 | |
fi | |
gpgconf --reload gpg-agent | |
gpg --cipher-algo AES256 --symmetric $1 | |
gpgconf --reload gpg-agent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment