shell-things/gpg/gpg-agent.conf

18 lines
690 B
Plaintext

enable-ssh-support
pinentry-program /usr/bin/pinentry-curses
## Tell the pinentry not to grab the keyboard and mouse.
## This option should in general not be used to avoid X-sniffing attacks.
# This is the behaviour which I want, the default is annoying.
no-grab
# Remember passwords for two hours which is the default maximum. This might
# be somewhat insecure, but I usually lock screen when I am AFK and I don't
# want to type my password so often just to see encrypted facebook emails.
default-cache-ttl 7200
default-cache-ttl-ssh 7200
# FINEID, Fedora: gnupg-pkcs11-scd
# https://gist.github.com/pyllyukko/a1ed6baa6b638b805a30b16960399e94
scdaemon-program /usr/bin/gnupg-pkcs11-scd