-
Notifications
You must be signed in to change notification settings - Fork 5
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
Basic contributing developer PGP infrastructure. #51
base: main
Are you sure you want to change the base?
Basic contributing developer PGP infrastructure. #51
Conversation
da910e9
to
bd4f086
Compare
bd4f086
to
8334a89
Compare
291bb81
to
635b5f0
Compare
Adapted from: https://github.com/bitcoin/bitcoin/tree/master/contrib/builder-keys This commit has: contrib/dev-keys/README.md Instruction how to refresh the local PGP keys for the active developers of the project. contrib/dev-keys/pgp_key_review_protocol.md Instruction how to review additions and updates to the `keys.txt` file. contrib/dev-keys/keys.txt Blank `keys.txt` file, where developers may add their commit-signing keys.
635b5f0
to
d767d04
Compare
Hi @da2ce7 I've seen you are using your master pub key
This article from Debian: Using OpenPGP subkeys in Debian development also promotes using master/subkeys. Some more links I've been collecting about signing git commits: https://github.com/josecelano/pygithub/blob/issue-2-sign-sing-gitpython/docs/how_to_sign_commits_using_the_gitpython_package.md#links |
Hello @josecelano I do not believe I am. In fact, I would need to edit my master key to allow GPG to sign with it:
and
You can see that |
Sorry, I did not explain it well. I meant in the list of contributors keys file: https://github.com/Nautilus-Cyberneering/chinese-ideographs/pull/52/files#diff-3bc20022436593fee5298ebd4e44c4ee53b88ccaaa184854169e22436ea9f430R1 I suppose it makes sense to use the master key there otherwise you have to change it every time you revoke a subkey, right? |
@josecelano Yes, this is the main purpose of the Master Key, It allows you to rotate you sub-keys without everyone needing to re-trust a new key. |
OK, thanks! I still have one more question. You sign commits with your subkey (EFBC6FE31B0B95FD): But you upload the public master key to GitHub, right? So your commits will always be shown as verified even if you revoke a subkey. |
Yes, I upload my full GPG key to GitHub, that Includes both my Master Key and Subkeys. |
Relates To #50
Adapted from: https://github.com/bitcoin/bitcoin/tree/master/contrib/builder-keys
This commit has:
https://github.com/da2ce7/chinese-ideographs/blob/issue-50-contrib-dev_keys/contrib/dev-keys/README.md
Instruction how to refresh the local PGP keys for the active developers of the project.
https://github.com/da2ce7/chinese-ideographs/blob/issue-50-contrib-dev_keys/contrib/dev-keys/pgp_key_review_protocol.md
Instruction how to review additions and updates to the
keys.txt
file.https://github.com/da2ce7/chinese-ideographs/blob/issue-50-contrib-dev_keys/contrib/dev-keys/keys.txt
Blank
keys.txt
file, where developers may add their commit-signing keys.The PGP Key pull-request for da2ce7 is: #52