Skip to content

feat(sign): support loading --cert/--cert-chain from URL and env variable#4260

Open
ummetcivi wants to merge 1 commit intosigstore:mainfrom
ummetcivi:feat/sign-fetch-cert-chain-from-url
Open

feat(sign): support loading --cert/--cert-chain from URL and env variable#4260
ummetcivi wants to merge 1 commit intosigstore:mainfrom
ummetcivi:feat/sign-fetch-cert-chain-from-url

Conversation

@ummetcivi
Copy link

… well

Summary

When using cosign sign, --cert and --certificate-chain parameters only accept file path. Same parameters for cosign verify supports loading from URL as well, using blob.LoadFileOrURL(fileRef) instead of os.ReadFile(path). This PR aims to add URL/env support to sign operation as well.

Release Note

  • cosign sign now supports --cert and --certificate-chain to be loaded from URL and environment variable as well as from a file.

Documentation

…able

Signed-off-by: Çivi <ummet.civi@siemens.com>
@ummetcivi ummetcivi requested a review from a team as a code owner June 24, 2025 19:39
Copy link
Contributor

@cmurphy cmurphy left a comment

Choose a reason for hiding this comment

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

Sorry this went unreviewed for so long! Could you rebase it so I can approve it? The place you'll need to change is now in the cmd/cosign/cli/signcommon/common.go file.

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.

2 participants