sigstore / sigstore-maven-plugin

sigstore maven plugin
https://sigstore.github.io/sigstore-maven-plugin/
Other
18 stars 11 forks source link

sigstore-maven-plugin

[!IMPORTANT] This project has moved -- development and release has been merged into sigstore-java

Maven Central

This is a Maven plugin that can be used to use the "keyless" signing paradigm supported by Sigstore. This plugin is still in early phases, then has known limitations described below.

sign

      <plugin>
        <groupId>dev.sigstore</groupId>
        <artifactId>sigstore-maven-plugin</artifactId>
        <version>0.4.0</version>
        <executions>
          <execution>
            <id>sign</id>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

Notes:

Known limitations:

jarsign

You can sign JAR file with Sigstore and jarsigner.

Full jarsign goal documentation is available here, but you can quickly take advantage of the plugin by adding the following configuration into your Maven pom.xml file:

      <plugin>
        <groupId>dev.sigstore</groupId>
        <artifactId>sigstore-maven-plugin</artifactId>
        <version>0.4.0</version>
        <executions>
          <execution>
            <id>sigstore-jarsign</id>
            <goals>
              <goal>jarsign</goal>
            </goals>
            <!-- optional configuration parameters; sensible defaults are chosen
            <configuration>
              <emailAddress>YOUR-EMAIL-ADDRESS-HERE</emailAddress>
              <outputSigningCert>signingCert.pem</outputSigningCert>
              <sslVerification>false</sslVerification>
            </configuration>
            -->
          </execution>
        </executions>
      </plugin>