gpg-agent: explicitly use pinentry-gtk-2

This commit is contained in:
Henrik Lissner 2018-04-26 22:59:29 -04:00
parent 55ada7c794
commit 6c1c75fe08
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -11,6 +11,6 @@ if [[ -z $SSH_AGENT_PID ]] || ! ps $SSH_AGENT_PID >/dev/null; then
fi fi
_is_running gpg-agent || { _is_running gpg-agent || {
gpg-agent --daemon >"$XDG_RUNTIME_DIR/gpg-agent-env" gpg-agent --pinentry-program /usr/bin/pinentry-gtk-2 --daemon >"$XDG_RUNTIME_DIR/gpg-agent-env"
} }
_source "$XDG_RUNTIME_DIR/gpg-agent-env" >/dev/null _source "$XDG_RUNTIME_DIR/gpg-agent-env" >/dev/null