aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authorNick Sandford <nick@sandford.id.au>2018-02-25 19:43:36 +1100
committerGitHub <noreply@github.com>2018-02-25 19:43:36 +1100
commit71b5e69cf1168fc324053e6cbee371fcf1cf2902 (patch)
treefefb5d4564a794924f235d1dcc43e182727e6c53 /README.md
parentMerge pull request #50 from peckeltw/master (diff)
downloadYubiKey-Guide-71b5e69cf1168fc324053e6cbee371fcf1cf2902.tar.gz
Use gpgconf to get the ssh auth sock.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8fa8d86..fcf2f2b 100644
--- a/README.md
+++ b/README.md
@@ -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: