From 4524c116326c9333f8a8e2bd0bd5d3cff8353ee8 Mon Sep 17 00:00:00 2001 From: Sun Knudsen Date: Sat, 19 Oct 2019 14:05:49 -0400 Subject: [PATCH] Added important note about pin caching #135 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 5c5bb7c..2856177 100644 --- a/README.md +++ b/README.md @@ -1578,6 +1578,8 @@ max-cache-ttl 120 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. On macOS, use `brew install pinentry-mac` and adjust the program path to suit.