From: Jens Schmidt Date: Sat, 17 Feb 2024 22:51:43 GMT Subject: Calling "gpg --sign" with loopback pinentry in some scenarios, but not always Message-ID: Hi. I'd like to use gpg loopback pinentry mode when signing commits or tags through Emacs/Magit but default, non-loopback pinentry for all other cases. In particular, configuring "pinentry-mode loopback" in "gpg.conf" is not really an option for me. It seems that "git" does not have any hooks to pass arbitrary additional parameters to "gpg", right? So my only reasonable option would be a Emacs/Magit-specific "gpg"-wrapper that adds command line parameter "--pinentry-mode loopback" to the wrapped "gpg" executable. Any other options? Thanks!