-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document the process of creating a subkey #32
Comments
if anyone can confirm that this is correct, please give me a thumbs up, or send a patch to include the guide in Here's how I did it:
Now there is a subkey under your master key. Remove password protection from the subkeyIf your master key is password-protected (typical, and generally endorsed), we need to un-protect the sub-key. To do that, as far as I know, the only reliable way is to delete your master key and import only the subkey:
Export the secret subkey
|
A couple of notes (still testing this):
|
After having exported the signing key and created the secret in the repository, is there a way to check that the action will be able to use the secret to sign the release w/o going through the entire release cycle (i.e. create a milestone, associate an issue, resolve and close the milestone)? |
@morozov there's no "preflight check" feature, but that's an interesting thing that could possibly be added to the action installation. Worst case scenario, you get a failed CI task and no changes on the repository. |
Good to know! I don't have any keys installed on my system anymore, and I only import my master key from a secure (detached) storage when creating new subkeys. Otherwise, my only subkeys are on yubikeys, hence I never noticed this behavior, in which gpg switches the default key used for signing 🤔 |
When we need to test the release process, we leverage the OT: it's 2020 and GPG is still a PITA even for ninja devops 🤕 |
The instructions worked for me. Thank you 🙏 |
Ok, so next up is for someone to put this stuff in a Note: I don't think this should be in |
…ection for using a subkey of an existing key as per laminas#32 Signed-off-by: Carnage <[email protected]>
This ("So next up is for someone to put this stuff in a .md file and send a patch to the repo") looks to be done with #77 Issue close time? |
For non-experienced in GnuPG users like myself, it will be helpful to have more detailed documentation on creating the signing subkey and exporting it to GitHub.
The text was updated successfully, but these errors were encountered: