Skip to content

Instantly share code, notes, and snippets.

@massahud
Last active October 11, 2022 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save massahud/aa7ecc45319ab0555d1da4dd0a8db069 to your computer and use it in GitHub Desktop.
Save massahud/aa7ecc45319ab0555d1da4dd0a8db069 to your computer and use it in GitHub Desktop.
gpg ncurses prompt
echo "export GPG_TTY=$(tty)" >> ~/.zshrc
echo "pinentry-program $(which pinentry-curses)" >> ~/.gnupg/gpg-agent.conf
killall gpg-agent
source ~/.zshrc
echo test | gpg --clearsign
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment