This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch fix-build
in repository https://gitbox.apache.org/repos/asf/maven-gpg-plugin.git


The following commit(s) were added to refs/heads/fix-build by this push:
     new 73a925f  Fix #322: Restore pinentry-non-existent alongside 
allow-loopback-pinentry
73a925f is described below

commit 73a925f64b33d364909596771a023f045d4e90f9
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Tue Jun 30 01:01:14 2026 +0200

    Fix #322: Restore pinentry-non-existent alongside allow-loopback-pinentry
    
    The allow-loopback-pinentry enables --pinentry-mode loopback for automated
    signing, but the pinentry-program pinentry-non-existent must be kept to
    ensure interactive signing (without passphrase) still fails as expected by
    GpgSignAttachedMojoIT.interactiveWithoutPassphrase.
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
---
 src/test/resources/gnupg/gpg-agent.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/test/resources/gnupg/gpg-agent.conf 
b/src/test/resources/gnupg/gpg-agent.conf
index ce88a39..b49d679 100644
--- a/src/test/resources/gnupg/gpg-agent.conf
+++ b/src/test/resources/gnupg/gpg-agent.conf
@@ -3,3 +3,6 @@ ignore-cache-for-signing
 
 # Allow loopback pinentry mode required for --pinentry-mode loopback (GPG 2.1+)
 allow-loopback-pinentry
+
+# Prevent pinentry input prompts from blocking integration tests
+pinentry-program pinentry-non-existent

Reply via email to