Skip to content

Conversation

@crazy-max
Copy link
Member

const signedEntity = toSignedEntity(bundle, fs.readFileSync(binPath));
const verifier = new Verifier(trustMaterial);
const signer = verifier.verify(signedEntity, {
subjectAlternativeName: /^https:\/\/github\.com\/docker\/(github-builder-experimental|github-builder)\/\.github\/workflows\/build\.yml.*$/,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regexp not supported like cosign:

'--certificate-identity-regexp', opts.certificateIdentityRegexp

Opened sigstore/sigstore-js#1556

@crazy-max crazy-max force-pushed the buildx-verify branch 2 times, most recently from 716027e to 6ec757f Compare January 13, 2026 12:42
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the buildx-verify branch 2 times, most recently from 66f5d8c to eace984 Compare January 14, 2026 23:30
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
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.

1 participant