Skip to content

[MGPG-90] Signing fails with 3.0.1: "no pinentry" #160

@jira-importer

Description

@jira-importer

Jens Reimann opened MGPG-90 and commented

Starting with 3.0.1 performing a maven release fails in the process of signing artifacts with the message: "gpg: no pinentry".

I do believe this is due to the fact that in non-interactive mode with a newer gpg version, the gpg plugin forces a "pinentry error" if no pin is provided. And the release plugin runs the gpg plugin in non-interactive mode

However, not everyone wants to store the pin in a configuration file. Assuming you have an interactive release process, you also might want an interactive pin entry.

I would suggest to allow the user to force the pin entry to interactive (not matter what the current maven context says). That way, you can keep the current behavior, but still allow a manual/interactive release process.


Affects: 3.0.1

Issue Links:

  • MRELEASE-1114 Broken interaction of maven-gpg-plugin with Gpg4win Kleopatra since 3.0.0-M6
    ("is caused by")
  • MGPG-84 signing fails in eclipse when using gpg-agent

4 votes, 14 watchers

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:blockerBlocks development and/or testing work, production could not run

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions