export SSH_AUTH_SOCK=$sock
export SSH_AGENT_PID=$pid
else
# TODO: ensure ssh-agent path looks legit
# to avoid unsafe eval?
export SSH_AUTH_SOCK=$sock
export SSH_AGENT_PID=$pid
else
# TODO: ensure ssh-agent path looks legit
# to avoid unsafe eval?
export GPG_TTY=$(tty)
export PINENTRY_USER_DATA=USE_TTY=$((!${+DISPLAY}))
gpg-connect-agent UPDATESTARTUPTTY /bye >/dev/null 2>&1
export GPG_TTY=$(tty)
export PINENTRY_USER_DATA=USE_TTY=$((!${+DISPLAY}))
gpg-connect-agent UPDATESTARTUPTTY /bye >/dev/null 2>&1
'/echo GPG agent pid ${get serverpid}' /bye
[[ ! -v SSH_AUTH_SOCK ]] && \
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
} else {
'/echo GPG agent pid ${get serverpid}' /bye
[[ ! -v SSH_AUTH_SOCK ]] && \
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
} else {