Created
April 15, 2019 07:00
-
-
Save peterromfeldhk/b7c37924b42abe9164a4645c636a3c54 to your computer and use it in GitHub Desktop.
(yubikey) ssh with gpg in fish
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
## ~/.config/fish/conf.d/gnupg.fish | |
# Start or re-use a gpg-agent. | |
# | |
gpgconf --launch gpg-agent | |
# Ensure that GPG Agent is used as the SSH agent | |
set -xg SSH_AUTH_SOCK ~/.gnupg/S.gpg-agent.ssh |
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
## ~/.gnupg/gpg-agent.conf | |
pinentry-program /usr/local/bin/pinentry-mac | |
#gpg-connect-agent updatestartuptty /bye | |
#use-standard-socket | |
enable-ssh-support | |
#default-cache-ttl 600 | |
#max-cache-ttl 7200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
brew install gpg pinentry-mac