sbt / sbt-pgp

PGP plugin for sbt
Other
144 stars 56 forks source link

Missleading error "gpg-agent is not available" #177

Closed ignasi35 closed 4 years ago

ignasi35 commented 4 years ago

steps

sbt-pgp version: 2.0.0 sbt version: 1.3.3

problem

The error [error] gpg: gpg-agent is not available in this session is displayed even though the gpg-agent binary is installed and accessible for the particular user and the artifacts seems to be properly signed.

expectation

The error message should not be displayed when the signing process succeeds.

eed3si9n commented 4 years ago

I think this is a duplicate of https://github.com/sbt/sbt-pgp/issues/174. sbt's log wrapper reports stderr output as error.

asakaev commented 4 years ago
[error] gpg: gpg-agent is not available in this session
[error] gpg: gpg-agent is not available in this session
[error] gpg: gpg-agent is not available in this session
[error] gpg: gpg-agent is not available in this session

https://github.com/asakaev/leftpad/runs/1436631932?check_suite_focus=true#step:5:266

@eed3si9n Maybe there is a way to configure pgp to hide these reports?