Skip to content

Commit 3734309

Browse files
committed
Update GPG pin entry mode.
See gh-774
1 parent 49523ce commit 3734309

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

pom.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
23
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
34
<modelVersion>4.0.0</modelVersion>
45

@@ -542,7 +543,7 @@
542543
<plugin>
543544
<groupId>org.apache.maven.plugins</groupId>
544545
<artifactId>maven-gpg-plugin</artifactId>
545-
<version>1.6</version>
546+
<version>3.0.1</version>
546547
</plugin>
547548

548549
<plugin>
@@ -772,6 +773,12 @@
772773
<goals>
773774
<goal>sign</goal>
774775
</goals>
776+
<configuration>
777+
<gpgArguments>
778+
<arg>--pinentry-mode</arg>
779+
<arg>loopback</arg>
780+
</gpgArguments>
781+
</configuration>
775782
</execution>
776783
</executions>
777784
</plugin>

spring-vault-dependencies/pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,14 +282,20 @@
282282
<plugin>
283283
<groupId>org.apache.maven.plugins</groupId>
284284
<artifactId>maven-gpg-plugin</artifactId>
285-
<version>1.6</version>
285+
<version>3.0.1</version>
286286
<executions>
287287
<execution>
288288
<id>sign-artifacts</id>
289289
<phase>verify</phase>
290290
<goals>
291291
<goal>sign</goal>
292292
</goals>
293+
<configuration>
294+
<gpgArguments>
295+
<arg>--pinentry-mode</arg>
296+
<arg>loopback</arg>
297+
</gpgArguments>
298+
</configuration>
293299
</execution>
294300
</executions>
295301
</plugin>

0 commit comments

Comments
 (0)