Commit c68941d
authored
HACK: Sign with witness (#12)
Here's a fairly hacky way to get the VSA signed by Sigstore during the workflow.
This (ab)uses testifysec/witness-run-action to get witness installed so that it can then sign an arbitrary blob with witness's Sigstore support.
The result is a signed VSA that attests to this workflows determination of the SLSA Source Level (for whatever good that is).
In the future:
We still want to store this attestation someplace reasonable.
We might want to pivot to gitsign once we're able to sign stuff with it.
We'd definitely want to remove the hack...
Thanks to @jkjell for telling me how to get this working. :)1 parent 81f80f0 commit c68941d
File tree
3 files changed
+22
-0
lines changed- .github/workflows
- actions/vsa_creator
3 files changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
27 | 47 | | |
28 | 48 | | |
29 | 49 | | |
| |||
0 commit comments