You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project requires a minimum of Java 11 and is current in pre-release,
11
-
apis and dependencies are likely to change
12
-
13
-
You can files issues directly on this project or if you have any questions
14
-
message us on the [sigstore#java](https://sigstore.slack.com/archives/C03239XUL92) slack channel
12
+
You can file [issues directly](https://github.com/sigstore/sigstore-java/issues) on this project or
13
+
if you have any questions message us on the [sigstore#java](https://sigstore.slack.com/archives/C03239XUL92)
14
+
slack channel
15
15
16
16
## Usage
17
17
18
+
### Build plugins
19
+
20
+
For use directly with your java build. See [maven](https://github.com/sigstore/sigstore-java/tree/main/sigstore-maven-plugin) or [gradle](https://github.com/sigstore/sigstore-java/tree/main/sigstore-gradle)
A Gradle plugin for signing artifacts with Sigstore.
4
6
5
-
`dev.sigstore.sign` is available on the gradle plugin portal.
6
7
Signature format uses [Sigstore bundle](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) JSON as the output format.
7
8
8
9
## Requirements
@@ -18,11 +19,14 @@ plugins {
18
19
id("dev.sigstore.sign")
19
20
}
20
21
21
-
// It would automatically sign all Maven publications
22
-
// By default, it would use GitHub Actions OIDC when available,
23
-
// and it would resort to Web Browser OIDC otherwise.
22
+
// Automatically sign all Maven publications, using GitHub Actions OIDC when available,
23
+
// and browser based OIDC otherwise.
24
24
```
25
25
26
+
### Outputs
27
+
28
+
For each file to be published an associated `<filename>.sigstore.json` signature file will be generated
29
+
26
30
### GitHub Actions OIDC support
27
31
28
32
In order for the required environment variables to be available, the workflow requires the following permissions:
@@ -35,6 +39,7 @@ permissions:
35
39
36
40
See [GitHub documentation](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers#adding-permissions-settings) for details.
0 commit comments