maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Hammant (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MGPG-59) GPG Plugin: "gpg: signing failed: Inappropriate ioctl for device"
Date Sun, 18 Jun 2017 14:04:00 GMT

     [ https://issues.apache.org/jira/browse/MGPG-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul Hammant updated MGPG-59:
-----------------------------
    Description: 
Some versions and configurations of GPG want to pop an interactive UI, which the maven-gpg-plugin
cannot handle.  This appears in the log, before Maven quits without much advice.

    "gpg: signing failed: Inappropriate ioctl for device"  

*The remedy is for the user to do something with gpg on the command line before going into
mvn-release:prepare*. Something that will allow gpg to remember (for a period of time) the
passphrase entered in that interactive UI, that the maven invocation of gpg can take advantage
of afterwards.

Historically there was a gpg option '--no-use-agent', but not all gpg implementations support
that today, not will going forwards as it is being removed.

Suggestion: On command error, System.out.println the remedy above.

  was:
Some versions and configurations of GPG want to pop an interactive UI, which the maven-gpg-plugin
cannot handle.  This appears in the log, before Maven quits without much advice.

    "gpg: signing failed: Inappropriate ioctl for device"  

*The remedy *is for the user to do something with gpg on the command line *before* going into
mvn-release:prepare. Something that will allow gpg to remember (for a period of time) the
passphrase entered in that interactive UI, that the maven invocation of gpg can take advantage
of afterwards.

Historically there was a gpg option '--no-use-agent', but not all gpg implementations support
that today, not will going forwards as it is being removed.

Suggestion: On command error, System.out.println the remedy above.


> GPG Plugin: "gpg: signing failed: Inappropriate ioctl for device"
> -----------------------------------------------------------------
>
>                 Key: MGPG-59
>                 URL: https://issues.apache.org/jira/browse/MGPG-59
>             Project: Maven GPG Plugin
>          Issue Type: Bug
>    Affects Versions: 1.6
>            Reporter: Paul Hammant
>
> Some versions and configurations of GPG want to pop an interactive UI, which the maven-gpg-plugin
cannot handle.  This appears in the log, before Maven quits without much advice.
>     "gpg: signing failed: Inappropriate ioctl for device"  
> *The remedy is for the user to do something with gpg on the command line before going
into mvn-release:prepare*. Something that will allow gpg to remember (for a period of time)
the passphrase entered in that interactive UI, that the maven invocation of gpg can take advantage
of afterwards.
> Historically there was a gpg option '--no-use-agent', but not all gpg implementations
support that today, not will going forwards as it is being removed.
> Suggestion: On command error, System.out.println the remedy above.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message