summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c70fa4f)
This allows to use qt pinentry over ssh when X forwarding is enabled.
# Inform gpg-agent of the current TTY for user prompts.
export GPG_TTY="$(tty)"
# Inform gpg-agent of the current TTY for user prompts.
export GPG_TTY="$(tty)"
-if [[ -n "$SSH_CONNECTION" ]]; then
+if [[ -z "$DISPLAY" ]]; then
export PINENTRY_USER_DATA="curses"
fi
export PINENTRY_USER_DATA="curses"
fi