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 11 times, most recently from 89fb65e to e58e309 Compare January 15, 2026 09:10
@crazy-max crazy-max force-pushed the buildx-verify branch 2 times, most recently from 13330f9 to 01bd355 Compare January 15, 2026 09:29
@crazy-max crazy-max marked this pull request as ready for review January 15, 2026 09:35
@crazy-max crazy-max requested a review from tonistiigi January 15, 2026 09:35
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