Skip to content

Commit

Permalink
Prevent GPG from using pinentry programs (#10771)
Browse files Browse the repository at this point in the history
  • Loading branch information
stianst committed Mar 16, 2022
1 parent db6621c commit 842218a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pom.xml
Expand Up @@ -2089,5 +2089,30 @@
</build>
</profile>

<profile>
<id>gpg-sign</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
<executions>
<execution>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

</profiles>
</project>

0 comments on commit 842218a

Please sign in to comment.