You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Marwell (Jira)" <ji...@apache.org> on 2020/01/27 09:48:00 UTC

[jira] [Updated] (MGPG-76) need different defaults for mac os

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

Benjamin Marwell updated MGPG-76:
---------------------------------
    Description: 
Dear devs,
h2. Problem description

on travis-ci, this plugin will only work with the two additional arguments {{--pinentry-mode}} followed by {{loopback}}.

I think this plugin should autodetect macosx and set this parameter automatically, if {{-Dgpg.passphrase}} was given on MacOS X.

This is especially non-trivial because on older versions of linux, you cannot supply gpg with these parameters.
h2. Workaround

Define two empty properties, {{gpg.pinentrymode}} and {{gpg.pinentrymode.loopback}}. Add those empty properties as parameters to your {{gpg-plugin}}.

Then create a mac osx profile with auto activion and set the empty properties to {{--pinentry-mode}} and {{loopback}} respectively.

 

  was:
Dear devs,

on travis-ci, this plugin will only work with the two additional arguments {{--pinentry-mode}} followed by {{loopback}}.

I think this plugin should autodetect macosx and set this parameter automatically, if {{-Dgpg.passphrase}} was given on MacOS X.

This is especially non-trivial because on older versions of linux, you cannot supply gpg with these parameters.


> need different defaults for mac os
> ----------------------------------
>
>                 Key: MGPG-76
>                 URL: https://issues.apache.org/jira/browse/MGPG-76
>             Project: Maven GPG Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>         Environment: - travis-ci.com
> - macos homebrew gnupg
> - Linux Ubuntu Bionic with preinstalled gpg
>            Reporter: Benjamin Marwell
>            Priority: Major
>              Labels: command-line
>
> Dear devs,
> h2. Problem description
> on travis-ci, this plugin will only work with the two additional arguments {{--pinentry-mode}} followed by {{loopback}}.
> I think this plugin should autodetect macosx and set this parameter automatically, if {{-Dgpg.passphrase}} was given on MacOS X.
> This is especially non-trivial because on older versions of linux, you cannot supply gpg with these parameters.
> h2. Workaround
> Define two empty properties, {{gpg.pinentrymode}} and {{gpg.pinentrymode.loopback}}. Add those empty properties as parameters to your {{gpg-plugin}}.
> Then create a mac osx profile with auto activion and set the empty properties to {{--pinentry-mode}} and {{loopback}} respectively.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)