docs: Update provenance guide for modern GnuPG keybox/armored keyring verification#2162
Draft
promptless-for-oss wants to merge 1 commit into
Draft
Conversation
…verification Helm now auto-detects keybox (pubring.kbx) and ASCII-armored public keyrings during verification, so converting to the legacy pubring.gpg format is no longer required. Signing still needs a binary secret keyring. Reflects helm/helm#32281. Signed-off-by: promptless[bot] <promptless[bot]@users.noreply.github.com>
| **Warning:** the GnuPG v2 store your secret keyring using a new format `kbx` on | ||
| the default location `~/.gnupg/pubring.kbx`. Please use the following command | ||
| to convert your keyring to the legacy gpg format: | ||
| **Note:** Since GnuPG v2.1, public keys are stored in a keybox file |
Contributor
Author
There was a problem hiding this comment.
Rewrote the note based on PR #32281, which makes loadKeyRing (pkg/provenance/sign.go) format-aware so verification auto-detects keybox (pubring.kbx), ASCII-armored (gpg --export --armor), and legacy binary keyrings — removing the need to convert to pubring.gpg. defaultKeyring() in pkg/cmd/dependency_build.go now falls back to pubring.kbx. The PR scope is public-keyring reads (verification) only; the --sign secret-key path is unchanged, so the guidance to export a binary secret keyring for signing stays.
Source: helm/helm#32281
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open this suggestion in Promptless to view citations and reasoning process
Replaces the stale warning in the provenance guide that told users to convert their modern GnuPG keybox (
pubring.kbx) to the legacypubring.gpgformat. Helm now auto-detects keybox and ASCII-armored public keyrings during verification, so no conversion is required; only the signing side still needs a binary secret keyring. Reflects helm/helm#32281.Trigger Events
Tip: Connect Jira, Linear, Confluence, and more in Integrations to enrich suggestion quality 🔗