@@ -107,6 +107,9 @@ Example:
107
107
The `no-default-files` setting controls whether the default output files (`{input}.sig` and
108
108
` {input.crt}` ) are emitted.
109
109
110
+ These output files are necessary for verification so turning this setting on will automatically set
111
+ ` verify` to `false`.
112
+
110
113
Example :
111
114
112
115
` ` ` yaml
@@ -116,20 +119,20 @@ Example:
116
119
no-default-files: true
117
120
` ` `
118
121
119
- # ## `output- signature`
122
+ # ## `signature`
120
123
121
124
**Default**: Empty (signature files will get named as `{input}.sig`)
122
125
123
- The `output- signature` setting controls the name of the output signature file. This setting does
124
- not work when signing multiple input files.
126
+ The `signature` setting controls the name of the output signature file. This setting does not work
127
+ when signing multiple input files.
125
128
126
129
Example :
127
130
128
131
` ` ` yaml
129
132
- uses: trailofbits/[email protected]
130
133
with:
131
134
inputs: file.txt
132
- output- signature: custom-signature-filename.sig
135
+ signature: custom-signature-filename.sig
133
136
` ` `
134
137
135
138
However, this example is invalid :
@@ -138,23 +141,23 @@ However, this example is invalid:
138
141
- uses: trailofbits/[email protected]
139
142
with:
140
143
inputs: file0.txt file1.txt file2.txt
141
- output- signature: custom-signature-filename.sig
144
+ signature: custom-signature-filename.sig
142
145
` ` `
143
146
144
- # ## `output- certificate`
147
+ # ## `certificate`
145
148
146
149
**Default**: Empty (certificate files will get named as `{input}.crt`)
147
150
148
- The `output- certificate` setting controls the name of the output certificate file. This setting does
149
- not work when signing multiple input files.
151
+ The `certificate` setting controls the name of the output certificate file. This setting does not
152
+ work when signing multiple input files.
150
153
151
154
Example :
152
155
153
156
` ` ` yaml
154
157
- uses: trailofbits/[email protected]
155
158
with:
156
159
inputs: file.txt
157
- output- certificate: custom-certificate-filename.crt
160
+ certificate: custom-certificate-filename.crt
158
161
` ` `
159
162
160
163
However, this example is invalid :
@@ -163,7 +166,7 @@ However, this example is invalid:
163
166
- uses: trailofbits/[email protected]
164
167
with:
165
168
inputs: file0.txt file1.txt file2.txt
166
- output- certificate: custom-certificate-filename.crt
169
+ certificate: custom-certificate-filename.crt
167
170
` ` `
168
171
169
172
# ## `overwrite`
@@ -251,7 +254,8 @@ Example:
251
254
**Default**: `https://oauth2.sigstore.dev/auth`
252
255
253
256
The `oidc-issuer` setting controls the OpenID Connect issuer to retrieve the OpenID Connect token
254
- from.
257
+ from. If `verify` is on, the issuer extension of the signing certificate will also get
258
+ checked to ensure that it matches.
255
259
256
260
Example :
257
261
@@ -278,6 +282,43 @@ Example:
278
282
staging: true
279
283
` ` `
280
284
285
+ # ## `verify`
286
+
287
+ **Default**: `true`
288
+
289
+ The `verify` setting controls whether or not the generated signatures and certificates are
290
+ verified with the `sigstore verify` subcommand after all files have been signed.
291
+
292
+ This is not strictly necessary but can act as a smoke test to ensure that all signing artifacts were
293
+ generated properly and the signature was properly submitted to Rekor.
294
+
295
+
296
+ Example :
297
+
298
+ ` ` ` yaml
299
+ - uses: trailofbits/[email protected]
300
+ with:
301
+ inputs: file.txt
302
+ verify: false
303
+ ` ` `
304
+
305
+ # ## `verify-cert-email`
306
+
307
+ **Default**: Empty
308
+
309
+ The `verify-cert-email` setting controls whether to verify the Subject Alternative Name (SAN) of the
310
+ signing certificate after signing has taken place. If it is set, `sigstore-python` will compare the
311
+ certificate's SAN against the provided value.
312
+
313
+ This setting only applies if `verify` is set to `true`.
314
+
315
+ ` ` ` yaml
316
+ - uses: trailofbits/[email protected]
317
+ with:
318
+ inputs: file.txt
319
+ verify-cert-email: [email protected]
320
+ ` ` `
321
+
281
322
# ## `upload-signing-artifacts`
282
323
283
324
**Default**: `false`
0 commit comments