Skip to content

[Bug] Sigstore keyless documentation contains broken examples #2093

Description

@kastl-ars

Page link

https://kyverno.io/docs/policy-types/cluster-policy/verify-images/sigstore/#keyless-signing-and-verification

Description

The Keyless signing and verification section contains two examples.

The first one uses the ghcr.io/kyverno/test-verify-image:signed-keyless image and correctly references the subject as *@nirmata.com.

The second one uses the same image, but uses a subjectRegExp that has github.com instead of the *@nirmata.com email address. Also the issuerRegExp is using Github instead of accounts.google.com.

Expected behavior

The examples should be consistent, i.e. using the same image they should both use the same subject and issuer values.

Slack discussion

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions