From c9ef1f948efb0d5409f22951aa80a34463ff7ae5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik@tjaders.com>
Date: Thu, 12 Jan 2023 10:28:50 +0100
Subject: [PATCH] Try to add the full path, remember sh

---
 .gnupg/gpg-agent.conf   | 2 +-
 .gnupg/pinentry-auto.sh | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 mode change 100644 => 100755 .gnupg/pinentry-auto.sh

diff --git a/.gnupg/gpg-agent.conf b/.gnupg/gpg-agent.conf
index ea69a24..01cd7e8 100644
--- a/.gnupg/gpg-agent.conf
+++ b/.gnupg/gpg-agent.conf
@@ -2,7 +2,7 @@ default-cache-ttl 3600
 max-cache-ttl 7200
 enable-ssh-support
 # pinentry-program /usr/bin/pinentry-tty
-pinentry-program pinentry-auto
+pinentry-program $HOME/.gnupg/pinentry-auto.sh
 
 # 3 Hours cache on SSH-keys
 default-cache-ttl-ssh 10800
diff --git a/.gnupg/pinentry-auto.sh b/.gnupg/pinentry-auto.sh
old mode 100644
new mode 100755
-- 
GitLab