Yubikey: Difference between revisions
imported>Craigem m Added missing word. |
imported>Flyfloh Add a hint to set up pinentry properly |
||
Line 44: | Line 44: | ||
}; | }; | ||
</syntaxHighlight> | </syntaxHighlight> | ||
If you do not have a graphical user interface installed make sure to set | |||
<syntaxHighlight lang=nix> | |||
programs.gnupg.agent.pinentryFlavor = "curses"; | |||
</syntaxHighlight> | |||
otherwise the pinentry program will not be properly set up and GnuPG cannot ask for the pin of your Yubikey as a result. | |||
Alternatively, <code>SSH_AUTH_SOCK</code> can be set more generally as | Alternatively, <code>SSH_AUTH_SOCK</code> can be set more generally as |