-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Improve documentation for gpg subkey creation #102
Conversation
gpg --list-keys
tip for finding existing GPG keys to README.md
I'm confused here, "s" is supposed to be key to type? i have only numeric answers:
|
Next, I also get asked about bits:
So what's the recommendation here for git signing in github? From https://en.wikipedia.org/wiki/Key_size I read:
|
Signed-off-by: Elan Ruusamäe <[email protected]> Signed-off-by: Marco Pivetta <[email protected]>
gpg --list-keys
tip for finding existing GPG keys to README.md
Looks like something that has changed on newer releases: certainly want a key with signing capabilities (used to be
The default of 3072 works: bigger values lead to some overhead, but overall not noticeable. My old key is still 2048, for example. |
I've added an example commit with 2048, change to 3072? |
Probably better to keep it the default suggested one: that's really up to GnuPG to endorse, while we're mostly only asking for a key, rather than endorsing values to configure one (security-sensitive stuff that we shouldn't touch) |
If I attempt to remove password, I end up with a confusing error:
but in reality password was removed after |
Signed-off-by: Elan Ruusamäe <[email protected]>
Signed-off-by: Elan Ruusamäe <[email protected]>
This may be paranoid, but also avoids unwanted surprises of multi-user systems. Signed-off-by: Elan Ruusamäe <[email protected]>
Signed-off-by: Elan Ruusamäe <[email protected]>
Signed-off-by: Elan Ruusamäe <[email protected]>
@Ocramius I have nothing more to add here at this point. |
Another ping! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@glensc thanks for improving the docs here - sorry for the massive delay!
@Ocramius sure, we have our own distraction demons. I planned to check out the "new key" section too but never got there. |
Description
This updates GPG section to match my system (
gpg (GnuPG) 2.2.25
from brew).