aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authordrduh <github@duh.to>2019-11-13 16:26:01 +0000
committerGitHub <noreply@github.com>2019-11-13 16:26:01 +0000
commiteed8c3dd8ced375208fbc87c437c901f3660234d (patch)
tree255e60ec45e5064c5d16896362353679c66f1234 /README.md
parentMerge pull request #138 from ezekiel/patch-1 (diff)
parentAdded a fix for failing ssh / GUI pinentry (diff)
downloadYubiKey-Guide-eed8c3dd8ced375208fbc87c437c901f3660234d.tar.gz
Merge pull request #140 from iMilnb/master
Added a fix for failing ssh / GUI pinentry
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 2cf1ee9..56c9e63 100644
--- a/README.md
+++ b/README.md
@@ -1580,7 +1580,7 @@ pinentry-program /usr/bin/pinentry-curses
**Important** The `cache-ttl` options do **NOT** apply when using a YubiKey as a smartcard as the PIN is [cached by the smartcard itself](https://dev.gnupg.org/T3362). Therefore, in order to clear the PIN from cache (smartcard equivalent to `default-cache-ttl` and `max-cache-ttl`), you need to unplug the YubiKey.
-**Tip** Set `pinentry-program /usr/bin/pinentry-gnome3` for a GUI-based prompt.
+**Tip** Set `pinentry-program /usr/bin/pinentry-gnome3` for a GUI-based prompt. If the _pinentry_ graphical dialog doesn't show and you get this error: `sign_and_send_pubkey: signing failed: agent refused operation`, you probably need to install the `dbus-user-session` package and might have to restart the computer for the `dbus` user session to be fully inherited; this is because behind the scenes, `pinentry` complains about `No $DBUS_SESSION_BUS_ADDRESS found`, falls back to `curses` but doesn't find the expected `tty`.
On macOS, use `brew install pinentry-mac` and adjust the program path to suit.