Skip to content

ci: fix GPG pinentry for headless signing#42

Merged
saurabhjain1592 merged 1 commit into
mainfrom
fix/gpg-headless-signing
Jan 6, 2026
Merged

ci: fix GPG pinentry for headless signing#42
saurabhjain1592 merged 1 commit into
mainfrom
fix/gpg-headless-signing

Conversation

@saurabhjain1592

Copy link
Copy Markdown
Member

Summary

Fix GPG signing failure in release workflow that was causing "No pinentry" error.

Changes

  1. Configure GPG for headless operation:

    • Add allow-loopback-pinentry to gpg-agent.conf
    • Add pinentry-mode loopback to gpg.conf
    • Reload gpg-agent
  2. Pass GPG passphrase explicitly:

    • Add -Dgpg.passphrase to mvn deploy command

Error Fixed

gpg: signing failed: No pinentry

Test Plan

  • Merge and trigger release with new tag

@saurabhjain1592 saurabhjain1592 merged commit 9e606f2 into main Jan 6, 2026
9 checks passed
@saurabhjain1592 saurabhjain1592 deleted the fix/gpg-headless-signing branch January 11, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant