-
Notifications
You must be signed in to change notification settings - Fork 61.1k
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
Documentation gap regarding email address verification #36551
Comments
Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
@jpw Thanks for raising an issue and providing such detail, and I'm sorry you had that experience Just to set expectations appropriately, we're only able to fix confirmed issues with the content on docs.github.com, and it seems like there are a few things going on here—primarily with the UI—that I can feed back to relevant teams about internally on your behalf. I'm afraid, since we're not GitHub Support, I can't guarantee a timeframe for a response, though. If we do identify some kind of specific issue, we can look at adding or fixing docs if necessary, but I think it's more likely this is an edge case (that's not to say for definite that it's not a bug). It would help if you could either raise a ticket with GitHub Support themselves if your plan includes it, or if not, you could consider opening a community discussion to see if other users have experienced this to confirm or deny my suspicion about the edge case factor (I know you linked to a Stack Overflow post). |
Thanks for opening an issue! We've triaged this issue for technical review by a subject matter expert 👀 |
Hi @subatoi thanks very much for your message, and I agree with your assessment of the matter. As suggested, I have raised an issue with GH Support. |
👍
|
Many thanks @jpw — as you've opened a Support ticket we've closed this one out (we're confident it's not an issue with the documentation). Please feel free to add a new comment if it transpires there is a documentation issue, and we can reopen this. Thank you for your help! |
Code of Conduct
What article on docs.github.com is affected?
This is the closest relevant article I could find:
https://github.com/github/docs/blob/main/content/authentication/troubleshooting-commit-signature-verification/index.md
What part(s) of the article would you like to see updated?
This may require updates to a few related pages, as it relates to what I feel are documentation gaps around the issue I hit, which I will describe below.
I don't have good enough knowledge of GH or the docs to be able to suggest specific edits, sorry.
Additional information
I was trying to ensure my commits were signed and verified. I am pretty sure I had this set up years ago, when GH anonymous email addresses were of the form
username@users.noreply.github.com
notID+username@users.noreply.github.com
I created a new GPG key, uploaded that to GH, all seems fine. Signing commits locally was working:
But when looking at the verification status in my list of commits on GH, when I clicked on the "Unverified" badge thingy, the UI popup said: "The email is this signature does not match the committer email".
Looking at my local git config I had:
So I looked again my the associated GPG key on my machine, and in the GH UI:
Email addresses look the same, in my mind, contrary to the previous "does not match" message. As it was not clear to me at this stage what addresses were being referred to.
However the GPG key bit of the settings page (as per the image) hints that the email address was Unverified. And they have to be verified for signing I think, so I am now guessing that is the problem.
So I click "Unverifed" on that button in the screengrab. That leads to the email address settings page. All the docs I saw say that to verify the email address there should be a "verify" link, but this appears not to exist for
@users.noreply.github.com
addresses. All my (private) addresses are verified.Now I was stuck. Some web searching revealed the problem:
https://superuser.com/questions/1512137/which-email-to-sign-commits-with-for-github-and-retain-privacy
I am guessing that because I had this set up ages ago, before the anon email format changes, on the email page I still had:
So turning privacy on and off again updated that value in the page to the
ID+username@users.noreply.github.com
format, so now the email addresses "matched" and victory was mine and my commits were Verified. The fix was rather unintuitive though, IMO.It's entirely possible I missed some documentation somewhere! But there's a few possible issues here:
@users.noreply.github.com
address is "Unverified"jpw@users.noreply.github.com
will be used for web-based Git operations, e.g., edits and merges." said something about signing commits, this might have been a useful clue for me.I expect this issue will affect users with older accounts migrating to the newer key? address? formats. Not sure why my setup stopped working. Possibly because they were old keys, or in a no longer supported format.
Sorry for the rather long and rambling issue! But as you can see it was a tricky one to fix, and could potentially touch several areas of the GH UI and pages in the docs. Thanks for having a look.
The text was updated successfully, but these errors were encountered: