Sending a patch with git-email and a gmail account

Wayne Porter wporter82 at gmail.com
Tue Dec 20 13:55:07 EST 2016


Hi Kevin,

Gmail uses authentication that makes connecting web apps simple. The user's
credentials are not stored and you can go in to Gmail's settings at any time
and revoke access. Since this is done with a webpage and callback, it's not
ideal for use with things like command line tools. Enabling the option to
use "Less secure apps" requires you to set up a unique password for that
particular app. While this is indeed less secure than the normal
authentication, the user still has the ability to revoke access to that
particular app.

You will find that setting up many apps that are not web based will
require this same setting to be turned on and I personally use it for git,
trillian, mutt and many other apps.

I hope this helps.

Wayne

On Sun, Dec 18, 2016 at 09:36:30PM +0200, Kevin Wilson wrote:
> Hi,
> I tried to send a patch with git-email account following tutorials I
> found on the web.
> 
> I got and error saying "Unable to initialize SMTP..."
> 
> I saw that many others get this error.
> 
> I tried many solutions, but the only thing that worked was by going
> the gmail account setting, to "Sign-in & security" and to
> set "Allow less secure apps: " to be on.
> 
> see in the "Answers" section in:
> http://stackoverflow.com/questions/28038662/unable-to-initialize-smtp-properly-using-git
> 
> Did anyone encounter this issue ?
> 
> My question is: is there another way ? I am not happy to set "Allow
> less secure apps:" to be on, as this
> makes the security of my email account less strong, so it seems.
> 
> Regards,
> Kevin
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20161220/ed11f782/attachment.bin 


More information about the Kernelnewbies mailing list