Skip to content

Instantly share code, notes, and snippets.

@EdwardPrentice
Last active March 28, 2021 17:26
Show Gist options
  • Save EdwardPrentice/cc49c094bd324aa4156f14a25b0621cb to your computer and use it in GitHub Desktop.
Save EdwardPrentice/cc49c094bd324aa4156f14a25b0621cb to your computer and use it in GitHub Desktop.
#!/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