Skip to content

Commit

Permalink
Prevent GPG from using pinentry programs (keycloak#10771)
Browse files Browse the repository at this point in the history
  • Loading branch information
stianst authored and ahus1 committed Mar 18, 2022
1 parent 39fec2c commit e19df90
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 e19df90

Please sign in to comment.