1
0
mirror of https://github.com/drduh/YubiKey-Guide.git synced 2024-11-29 10:48:07 +00:00

Merge pull request #51 from slurms/patch-1

Use gpgconf to get the SSH auth socket.
This commit is contained in:
drduh 2018-02-25 09:45:08 -08:00 committed by GitHub
commit cf7c7d0e14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1153,7 +1153,7 @@ If you are using Linux on the desktop, you may want to use `/usr/bin/pinentry-gn
Depending on how your environment is set up, you might need to add these to your shell `rc` file:
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK="${HOME}/.gnupg/S.gpg-agent.ssh"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
**Note** On some systems, for example Arch Linux-based distributions, you may need to replace the second and the third line with: