Re: git send-email and gmail smtp

Siddh Raman Pant <[email protected]>
Newsgroups gmane.linux.kernel.kernelnewbies
Message-ID <[email protected]>
On Wed, 17 Apr 2024 22:00:56 +0530, Jim Cromie wrote:
> so I tried to submit a patchset via sendemail,
> and ran aground on authorization.
> 
> its been a while since I sent from this computer,
> laptop power cord is cut :-(
> but failure wording is ambiguous
> 
> 5.7.8 Username and Password not accepted. For more information, go to
> 5.7.8  https://support.google.com/mail/?p=BadCredentials
> j15-20020a0566022ccf00b007d6905cc017sm3758492iow.4 - gsmtp
> 
> Essentially, google is changing policy,
> and 2FA is coming (or just arrived)
> 
> is there a well-travelled path to work around this issue?
> 
> something like ssh-key-agent ?

You can use app-passwords and store them in a keyring.

https://support.google.com/accounts/answer/185833?hl=en

Thanks,
Siddh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.