Tweak gpg pinentry mode by disabling standard TTY mode

This commit is contained in:
Ben Kreeger 2025-07-20 20:26:14 -05:00
parent 0fa09222e1
commit 88663cb864
Signed by: kreeger
GPG Key ID: D5CF8683D4BE4B50
2 changed files with 2 additions and 6 deletions

View File

@ -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

View File

@ -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