git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: [DISCUSS] validation on git config user.email

From
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
Date
Sep 12, 2025, 17:23 UTC
Message-ID
<071e01dc2409$f9785230$ec68f690$@nexbridge.com>
In-Reply-To
<CAJKmQvcqLzJDnpYg5K7_eUNCUdLCkkFse-wB+4R8KGxKo_e+0w@mail.gmail.com>
On September 12, 2025 12:52 PM, usharerose wrote:
Show 19 quoted lines
>On Fri, Sep 12, 2025 at 11:00 PM <rsbecker@nexbridge.com> wrote:
>> Some customers integrate single sign-on (SSO) via the user.email
>> value. In the case of one customer I helped, the value is an SSO token
>> used by GitHub for their integration. The token value does not conform to any
>valid email address format.
>> Adding an email validation will lock them out of using git.
>
>Thanks for your reply, Randall.
>
>I've fully understood the scenario you described. My follow-up question is: was this
>use case something that was discovered and utilized later because people found
>that Git doesn't validate the email format, or was it a scenario that the architects
>anticipated early on in the project's history, leading to the deliberate decision to skip
>the validation for flexibility?
>
>In other words, is this more of a case of "exploiting a perceived backdoor that later
>became justified" or "a thoughtfully made design decision from the beginning"?
>
>Thanks again for sharing your insight.

I cannot answer decisively. The functionality was first used in this customer about four years ago. I do not think any changes were required in git to accomplish this. It is possible GitHub had to have an enhancement but only they can answer that.

Previous: ushareroseNext: usharerose
Message 6 of 14 in “[DISCUSS] validation on git config user.email”
  1. ushareroseSep 12, 2025
  2. rsbecker@nexbridge.comSep 12, 2025
  3. Junio C HamanoSep 12, 2025
  4. ushareroseSep 12, 2025
  5. ushareroseSep 12, 2025
  6. rsbecker@nexbridge.comSep 12, 2025
  7. ushareroseSep 12, 2025
  8. Kristoffer HaugsbakkSep 14, 2025
  9. rsbecker@nexbridge.comSep 14, 2025
  10. Konstantin RyabitsevSep 12, 2025
  11. Thomas GuyotSep 12, 2025
  12. ushareroseSep 12, 2025
  13. Kristoffer HaugsbakkSep 14, 2025
  14. ushareroseSep 15, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.