Skip to content

Instantly share code, notes, and snippets.

@aaronjanse
Created August 21, 2017 14:37
Show Gist options
  • Save aaronjanse/049e913029c282508934fbfae48a7d7d to your computer and use it in GitHub Desktop.
Save aaronjanse/049e913029c282508934fbfae48a7d7d to your computer and use it in GitHub Desktop.
Magical command to make gpg work with YubiKey smartcard
killall gpg-agent && gpg-agent --daemon --use-standard-socket --pinentry-program /usr/local/bin/pinentry
@zhangyoufu
Copy link

/usr/local/bin/pinentry does not work well for me. It appears on wrong tty, and key input was interfered.

brew install pinentry-mac and set pinentry-program /usr/local/bin/pinentry-mac in ~/.gnupg/gpg-agent.conf works well for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment