From 88663cb8640c81212363acb6db0535608fbaa43a Mon Sep 17 00:00:00 2001 From: Ben Kreeger Date: Sun, 20 Jul 2025 20:26:14 -0500 Subject: [PATCH] Tweak gpg pinentry mode by disabling standard TTY mode --- gnupg/gpg-agent.conf | 4 ++-- gnupg/gpg.conf | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/gnupg/gpg-agent.conf b/gnupg/gpg-agent.conf index 39372fd..7c3bef8 100644 --- a/gnupg/gpg-agent.conf +++ b/gnupg/gpg-agent.conf @@ -6,6 +6,6 @@ ttyname $GPG_TTY default-cache-ttl 60 max-cache-ttl 120 -pinentry-program /usr/bin/pinentry-tty +# allow-loopback-pinentry +# pinentry-program /usr/bin/pinentry-tty pinentry-program /opt/homebrew/bin/pinentry-mac -allow-loopback-pinentry diff --git a/gnupg/gpg.conf b/gnupg/gpg.conf index 5844cc0..fe406f9 100644 --- a/gnupg/gpg.conf +++ b/gnupg/gpg.conf @@ -30,8 +30,6 @@ list-options show-uid-validity verify-options show-uid-validity # Display all keys and their fingerprints with-fingerprint -# Display key origins and updates -#with-key-origin # Cross-certify subkeys are present and valid require-cross-certification # Enforce memory locking to avoid accidentally swapping GPG memory to disk @@ -68,5 +66,3 @@ throw-keyids #list-options show-unusable-subkeys # Verbose output #verbose -# Password entry mode -pinentry-mode loopback