Skip to content

Add --ignore-pkcs11-certificate sign option#4787

Open
kholmanskikh wants to merge 1 commit intosigstore:mainfrom
kholmanskikh:ignore-pkcs11-certificate
Open

Add --ignore-pkcs11-certificate sign option#4787
kholmanskikh wants to merge 1 commit intosigstore:mainfrom
kholmanskikh:ignore-pkcs11-certificate

Conversation

@kholmanskikh
Copy link
Copy Markdown

@kholmanskikh kholmanskikh commented Apr 1, 2026

Summary

When cosign sign operates with a PKCS11 token, and the token contains a certificate (along with keys), cosign uncoditionally puts the certificate to the verification material in the sigstore bundle.

This option allows us to have the public key identifier (not the certificate) in the produced sigstore bundle. It may be useful in scenarios when a token is used for signing, and verification is performed with a public key file extracted from the token.

Release Note

Documentation

cosign sign gets the --ignore-pkcs11-certificate option.

When `cosign sign` operates with a PKCS11 token, and the token
contains a certificate (along with keys), cosign uncoditionally
puts the certificate to the verification material in the sigstore
bundle.

This option allows us to have the public key identifier (not the
certificate) in the produced sigstore bundle. It may be useful
in scenarios when a token is used for signing, and verification
is performed with a public key file extracted from the token.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@bell-sw.com>
@kholmanskikh kholmanskikh requested a review from a team as a code owner April 1, 2026 18:41
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