Skip to content

Commit

Permalink
Fix gpg ioctl issue (#262)
Browse files Browse the repository at this point in the history
It seems gpg tries to get passphrase from tty instead of the value
provided by maven settings.
Following suggestion from https://stackoverflow.com/questions/53992950,
change pinentry mode to loopback.
  • Loading branch information
laurentgo authored Oct 3, 2020
1 parent 6a0f783 commit ea73d2d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1128,6 +1128,12 @@ limitations under the License.
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
Expand Down

0 comments on commit ea73d2d

Please sign in to comment.