Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have the keyless cosign sign flow use a single 3LO. #665

Merged
merged 2 commits into from
Sep 14, 2021

Conversation

mattmoor
Copy link
Member

With this change, the keyless flow builds a single signer for all of the images, which means a single key and 3LO for all of the references we sign:

$ COSIGN_EXPERIMENTAL=true cosign sign ghcr.io/mattmoor/controller ghcr.io/mattmoor/webhook
Generating ephemeral keys...
Retrieving signed certificate...
Your browser will now be opened to:
https://oauth2.sigstore.dev/auth/auth?REDACTED
Successfully verified SCT...
tlog entry created with index: 693418
Pushing signature to: ghcr.io/mattmoor/controller:sha256-b10f4b2e04cde2e799e080068f162ef668c4db3099382798b5fe1a208023105d.sig
tlog entry created with index: 693420
Pushing signature to: ghcr.io/mattmoor/webhook:sha256-ed1b1c778685ae0739cd4c6354fa2d724351b01e998a019d1ddc2909c377483d.sig

Fixes: #658
Signed-off-by: Matt Moore [email protected]

cc @dekkagaijin @dlorenc

With this change, the keyless flow builds a single signer for all of the images, which means a single key and 3LO for all of the references we sign:

```shell
$ COSIGN_EXPERIMENTAL=true cosign sign ghcr.io/mattmoor/controller ghcr.io/mattmoor/webhook
Generating ephemeral keys...
Retrieving signed certificate...
Your browser will now be opened to:
https://oauth2.sigstore.dev/auth/auth?REDACTED
Successfully verified SCT...
tlog entry created with index: 693418
Pushing signature to: ghcr.io/mattmoor/controller:sha256-b10f4b2e04cde2e799e080068f162ef668c4db3099382798b5fe1a208023105d.sig
tlog entry created with index: 693420
Pushing signature to: ghcr.io/mattmoor/webhook:sha256-ed1b1c778685ae0739cd4c6354fa2d724351b01e998a019d1ddc2909c377483d.sig
```

Fixes: sigstore#658
Signed-off-by: Matt Moore <[email protected]>
@dekkagaijin
Copy link
Member

LGTM once e2e_test.go is updated

@mattmoor
Copy link
Member Author

Whoops done

@dekkagaijin
Copy link
Member

Also once the latest commit is signed off on 😮‍💨

@mattmoor
Copy link
Member Author

Whoops

@priyawadhwa priyawadhwa merged commit 275e015 into sigstore:main Sep 14, 2021
@cpanato cpanato added this to the v1.2.0 milestone Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keyless cosign sign should do a single 3LO
4 participants