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

signing fails in eclipse when using gpg-agent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.1
    • None

    Description

      after update from 1.6 to 3.0.1 signing started to fail when running maven from eclipse with the following message:

      gpg: signing failed: No pinentry

      When running from terminal, everything works ok.
      Furthermore, after running from terminal, it also works ok in eclipse for about 1 minute. After about 1 minute it starts to fail again with the same error.

      System info:
      Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739)
      openjdk 11.0.11 2021-04-20
      gpg (GnuPG) 2.2.4
      Eclipse 2021-12 and 2021-03
      ubuntu-18.04 amd64

      $ echo $GPG_AGENT_INFO 
      /run/user/1000/gnupg/S.gpg-agent:0:1
      

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              morgwai Piotr Morgwai Kotarbinski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: