[
https://issues.apache.org/jira/browse/MGPG-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy closed MGPG-76.
-----------------------------
Resolution: Duplicate
> 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)