Last active
October 11, 2022 20:22
-
-
Save massahud/aa7ecc45319ab0555d1da4dd0a8db069 to your computer and use it in GitHub Desktop.
gpg ncurses prompt
This file contains 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
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