1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/cli/args
Divy Srivastava 9b5d2f8c1b
feat(publish): provenance attestation (#22573)
Supply chain security for JSR.

```
$ deno publish --provenance

Successfully published @divy/test_provenance@0.0.3
Provenance transparency log available at https://search.sigstore.dev/?logIndex=73657418
```

0. Package has been published.
1. Fetches the version manifest and verifies it's matching with uploaded
files and exports.
2. Builds the attestation SLSA payload using Github actions env.
3. Creates an ephemeral key pair for signing the github token
(aud=sigstore) and DSSE pre authentication tag.
4. Requests a X.509 signing certificate from Fulcio using the challenge
and ephemeral public key PEM.
5. Prepares a DSSE envelop for Rekor to witness. Posts an intoto entry
to Rekor and gets back the transparency log index.
6. Builds the provenance bundle and posts it to JSR.
2024-02-28 07:58:02 +05:30
..
flags.rs feat(publish): provenance attestation (#22573) 2024-02-28 07:58:02 +05:30
flags_net.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
import_map.rs fix(lsp): import map expansion (#22553) 2024-02-24 00:21:09 -05:00
lockfile.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
mod.rs feat(publish): discover jsr.json and jsr.jsonc files (#22587) 2024-02-27 08:27:21 +00:00
package_json.rs feat(lockfile): track JSR and npm dependencies in config file (#22004) 2024-01-22 22:31:12 +01:00