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

Re: [PATCH v3 3/3] send-email: add option to generate passswords like OAuth2 tokens

From
Aditya Garg <gargaditya08@live.com>
Date
Apr 23, 2025, 03:10 UTC
Message-ID
<PN3PR01MB95972EA90559852F9F8328C3B8BA2@PN3PR01MB9597.INDPRD01.PROD.OUTLOOK.COM>
In-Reply-To
<xmqqh62f3kji.fsf@gitster.g>
Show 16 quoted lines
> On 23 Apr 2025, at 3:50 AM, Junio C Hamano <gitster@pobox.com> wrote:
> 
> Aditya Garg <gargaditya08@live.com> writes:
> 
>> +--smtp-passeval[=<command>]::
>> +    Generate password or OAuth2 token for SMTP AUTH. The argument is
>> +    optional. If specified, it will use the output of any password
>> +    or OAuth2 token generated using the command specified.
>> ++
>> +Note that it will override any existing password specified using
>> +`--smtp-user` or a `sendemail.smtpUser`.
> 
> If the argument is optional, we should explain what the behaviour is
> when the optional argument is omitted, as well as how the given
> argument is used.  You are doing only the latter, but not the former.
> 
Argument is not optional. It's a left over line I had copied from above for the sake of formatting. My bad here.
Show 7 quoted lines
> Shouldn't the "command" be mandatory, if the option is used?  I do
> not quite see how these invocations
> 
>    git-send-email ... --smtp-passeval ...
>    git-send-email ... --smtp-passeval= ...
> 
> that do not specify the command to be used is useful.
Previous: Junio C Hamano
Message 10 of 10 in “send-email: add oauth2 support and fix outlook breaking threads”
  1. 0/3 send-email: add oauth2 support and fix outlook breaking threadsAditya Garg, Apr 22, 2025
  2. 1/3 send-email: implement SMTP bearer authenticationAditya Garg, Apr 22, 2025
  3. 2/3 send-email: retrieve Message-ID from outlook SMTP serverAditya Garg, Apr 22, 2025
  4. Junio C HamanoApr 22, 2025
  5. Aditya GargApr 23, 2025
  6. Junio C HamanoApr 23, 2025
  7. Aditya GargApr 23, 2025
  8. 3/3 send-email: add option to generate passswords like OAuth2 tokensAditya Garg, Apr 22, 2025
  9. Junio C HamanoApr 22, 2025
  10. Aditya GargApr 23, 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.