Uploaded image for project: 'Maven GPG Plugin'
  1. Maven GPG Plugin
  2. MGPG-90

Signing fails with 3.0.1: "no pinentry"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Blocker
    • Resolution: Unresolved
    • 3.0.1
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              ctron Jens Reimann
              Votes:
              4 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated: