Hi Ian,

On Mon, Sep 12, 2016 at 1:52 PM, Ian Boston <[email protected]> wrote:
> ...gpg signing fails if I use an encrypted passphrase in setting.xml...

I'm using gpg-agent, with this in my settings.xml:

<profile>
  <id>gpg-profile</id>
  <properties>
    <gpg.useagent>true</gpg.useagent>
  </properties>
</profile>

and then this in my bash login file (macosx):

export GPGF=$HOME/.gpg-agent-info
export GPG_OK=0
export GPG_TTY=$(tty)
if [[ -f $GPGF ]]
then
  eval $(cat $GPGF)
  export GPG_AGENT_INFO
  gpg-agent && GPG_OK=1
fi
if [[ $GPG_OK -eq 0 ]]
then
  echo "starting gpg-agent"
  eval $(gpg-agent --daemon --no-grab --write-env-file $GPGF)
  export GPG_AGENT_INFO
  gpg-agent
fi

> ...mvn deploy fails for a snapshot with a 401. I can login to the UI at
> https://repository.apache.org/ with no issues...

I can't help with that one.

-Bertrand

Reply via email to