Last active
March 29, 2023 18:58
-
-
Save nathiss/9a5a6b6db02ac31081ad3484da06e08e to your computer and use it in GitHub Desktop.
Setting up gpg-agent for Yubikey
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
# [...] | |
export GPG_TTY="$(tty)" | |
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) | |
gpg-connect-agent /bye > /dev/null |
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
# Add this file to "~/.gnupg" | |
pinentry-program /opt/homebrew/bin/pinentry-mac | |
enable-ssh-support |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment