You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (Jira)" <ji...@apache.org> on 2023/05/03 01:16:00 UTC

[jira] [Commented] (MGPG-84) signing fails in eclipse when using gpg-agent

    [ https://issues.apache.org/jira/browse/MGPG-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17718764#comment-17718764 ] 

Herve Boutemy commented on MGPG-84:
-----------------------------------

on the use case with maven-release-plugin, see MRELEASE-1114

on the use case with Eclipse, I suppose it's another topic... thanks Konrad for the workaround :)

> signing fails in eclipse when using gpg-agent
> ---------------------------------------------
>
>                 Key: MGPG-84
>                 URL: https://issues.apache.org/jira/browse/MGPG-84
>             Project: Maven GPG Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Piotr Morgwai Kotarbinski
>            Priority: Minor
>              Labels: regression
>
> after update from 1.6 to 3.0.1 signing started to fail when running maven from eclipse with the following message:
> {noformat}gpg: signing failed: No pinentry{noformat}
> 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
> {noformat}
> $ echo $GPG_AGENT_INFO 
> /run/user/1000/gnupg/S.gpg-agent:0:1
> {noformat}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)