Skip to content

Commit

Permalink
JPAR-182 Check our Distributions for consistency
Browse files Browse the repository at this point in the history
https://shibboleth.atlassian.net/browse/JPAR-182

Wire in the IdP enforcer
  - Add a complete set of keyRings
  - Change the pom file appropriately
  - Delete the old installer tests.
  • Loading branch information
rodwiddowson committed Sep 23, 2021
1 parent 87f5213 commit 7851372
Show file tree
Hide file tree
Showing 68 changed files with 38 additions and 1,534 deletions.
32 changes: 32 additions & 0 deletions idp-distribution/pom.xml
Expand Up @@ -246,6 +246,38 @@
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<dependencies>
<dependency>
<groupId>net.shibboleth.maven.enforcer.rules</groupId>
<artifactId>maven-dist-enforcer</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>idp-enforce</id>
<phase>verify</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<idpEnforcer implementation="net.shibboleth.idp.enforcer.impl.IdPEnforcer">
<enforcerData>${basedir}/src/main/enforcer</enforcerData>
<parentPomDir>../idp-parent</parentPomDir>
<jarDirs>${project.build.directory}/${idp.finalName}/bin/lib ${project.build.directory}/${idp.finalName}/webapp/WEB-INF/lib</jarDirs>
<checkSignatures>true</checkSignatures>
<checkDependencies>true</checkDependencies>
<listJarSources>false</listJarSources>
</idpEnforcer>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
6 changes: 6 additions & 0 deletions idp-distribution/src/main/enforcer/keyRings/addingAKey.txt
@@ -0,0 +1,6 @@
1) Download the new key as foo.asc
2) copy empty.gpg to ./<GroupName>.gpg (which makes sure its old style)
2) gpg --no-default-keyring --keyring ./<GroupName>.gpg --import foo.asc
3) rm ./<GroupName>.bak
4) rm ./<GroupName>.gpg.lock

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

0 comments on commit 7851372

Please sign in to comment.