From 1b8b8dc135cb4756a78ebaf7e65bbead72e7a8b3 Mon Sep 17 00:00:00 2001 From: Evans Castonguay Date: Sun, 4 Mar 2018 09:37:37 -0500 Subject: [PATCH 1/2] Update instruction to support latest GPG version The latest GnuGP tool (https://gnupg.org/download/) is now storing keyring in a new format file 'kbx' instead of 'gpg' which make the current documentation incomplete for a new user. The propose pull request consists of adding documentation to explain how to generate a gpg using the latest GnuGP tool --- docs/provenance.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/provenance.md b/docs/provenance.md index 1f1361513..58290275e 100644 --- a/docs/provenance.md +++ b/docs/provenance.md @@ -52,6 +52,12 @@ $ helm package --sign --key 'helm signing key' --keyring path/to/keyring.secret **TIP:** for GnuPG users, your secret keyring is in `~/.gnupg/secring.gpg`. You can use `gpg --list-secret-keys` to list the keys you have. +**Important Note:** the latest GnuPG version 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: + +``` +$ gpg --export-secret-keys >~/.gnupg/secring.gpg +``` + At this point, you should see both `mychart-0.1.0.tgz` and `mychart-0.1.0.tgz.prov`. Both files should eventually be uploaded to your desired chart repository. From 30b3e4b3896f37d0cddf9da2f1966f22d2a38952 Mon Sep 17 00:00:00 2001 From: Evans Castonguay Date: Sun, 4 Mar 2018 09:56:12 -0500 Subject: [PATCH 2/2] Update provenance.md --- docs/provenance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/provenance.md b/docs/provenance.md index 58290275e..fd7552657 100644 --- a/docs/provenance.md +++ b/docs/provenance.md @@ -52,7 +52,7 @@ $ helm package --sign --key 'helm signing key' --keyring path/to/keyring.secret **TIP:** for GnuPG users, your secret keyring is in `~/.gnupg/secring.gpg`. You can use `gpg --list-secret-keys` to list the keys you have. -**Important Note:** the latest GnuPG version 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: +**Warning:** the latest GnuPG version 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: ``` $ gpg --export-secret-keys >~/.gnupg/secring.gpg