From 77c42375cac533368c9c15283af2bb7c0cd01e5d Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Wed, 6 Oct 2021 20:55:50 +0300 Subject: [PATCH] Fix gpg pinentry on ssh --- home/.config/zsh/01-env.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/.config/zsh/01-env.zsh b/home/.config/zsh/01-env.zsh index a32de6b8..f07a9207 100644 --- a/home/.config/zsh/01-env.zsh +++ b/home/.config/zsh/01-env.zsh @@ -62,6 +62,8 @@ export MANPAGER="nvim +Man!" # Use GPG for SSH authentication export GPG_TTY="$(tty)" +# Fix for pinentry not working for ssh +gpg-connect-agent updatestartuptty /bye >/dev/null # set SSH_AUTH_SOCK if not logging in over SSH if [ "$SSH_CONNECTION" -eq "" ]; then