* [PATCH v4] git-send-email.txt: mention less secure app access with Gmail
@ 2021-01-08 4:17 Denton Liu
2021-01-08 6:45 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Denton Liu @ 2021-01-08 4:17 UTC (permalink / raw
To: Git Mailing List; +Cc: Vasyl Vavrychuk, Eric Sunshine, Junio C Hamano
From: Vasyl Vavrychuk <vvavrychuk@gmail.com>
Google may have changed Gmail security and now less secure app access
needs to be explicitly enabled if two-factor authentication is not in
place, otherwise send-email fails with:
5.7.8 Username and Password not accepted. Learn more at
5.7.8 https://support.google.com/mail/?p=BadCredentials
Document steps required to make this work.
Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
[dl: Clean up commit message and incorporate suggestions into patch.]
Signed-off-by: Denton Liu <liu.denton@gmail.com>
---
Range-diff against v3:
1: 274475559a ! 1: 4303fab303 git-send-email.txt: mention less secure app access with Gmail
@@
## Metadata ##
-Author: Denton Liu <liu.denton@gmail.com>
+Author: Vasyl Vavrychuk <vvavrychuk@gmail.com>
## Commit message ##
git-send-email.txt: mention less secure app access with Gmail
@@ Commit message
Document steps required to make this work.
- Original-patch-by: Vasyl Vavrychuk <vvavrychuk@gmail.com>
+ Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com>
+ Signed-off-by: Junio C Hamano <gitster@pobox.com>
+ [dl: Clean up commit message and incorporate suggestions into patch.]
## Documentation/git-send-email.txt ##
@@ Documentation/git-send-email.txt: edit ~/.gitconfig to specify your account settings:
Documentation/git-send-email.txt | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 0a69810147..0db0783f2f 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -494,10 +494,14 @@ edit ~/.gitconfig to specify your account settings:
smtpServerPort = 587
----
-If you have multifactor authentication setup on your gmail account, you will
+If you have multi-factor authentication set up on your Gmail account, you will
need to generate an app-specific password for use with 'git send-email'. Visit
https://security.google.com/settings/security/apppasswords to create it.
+If you do not have multi-factor authentication set up on your Gmail account,
+you will need to allow less secure app access. Visit
+https://myaccount.google.com/lesssecureapps to enable it.
+
Once your commits are ready to be sent to the mailing list, run the
following commands:
--
2.30.0.284.gd98b1dd5ea
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v4] git-send-email.txt: mention less secure app access with Gmail
2021-01-08 4:17 [PATCH v4] git-send-email.txt: mention less secure app access with Gmail Denton Liu
@ 2021-01-08 6:45 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2021-01-08 6:45 UTC (permalink / raw
To: Denton Liu; +Cc: Git Mailing List, Vasyl Vavrychuk, Eric Sunshine
Denton Liu <liu.denton@gmail.com> writes:
> From: Vasyl Vavrychuk <vvavrychuk@gmail.com>
>
> Google may have changed Gmail security and now less secure app access
> needs to be explicitly enabled if two-factor authentication is not in
> place, otherwise send-email fails with:
>
> 5.7.8 Username and Password not accepted. Learn more at
> 5.7.8 https://support.google.com/mail/?p=BadCredentials
>
> Document steps required to make this work.
>
> Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
> [dl: Clean up commit message and incorporate suggestions into patch.]
> Signed-off-by: Denton Liu <liu.denton@gmail.com>
> ---
Thanks for tying loose ends. Will replace.
> Range-diff against v3:
> 1: 274475559a ! 1: 4303fab303 git-send-email.txt: mention less secure app access with Gmail
> @@
> ## Metadata ##
> -Author: Denton Liu <liu.denton@gmail.com>
> +Author: Vasyl Vavrychuk <vvavrychuk@gmail.com>
>
> ## Commit message ##
> git-send-email.txt: mention less secure app access with Gmail
> @@ Commit message
>
> Document steps required to make this work.
>
> - Original-patch-by: Vasyl Vavrychuk <vvavrychuk@gmail.com>
> + Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com>
> + Signed-off-by: Junio C Hamano <gitster@pobox.com>
> + [dl: Clean up commit message and incorporate suggestions into patch.]
>
> ## Documentation/git-send-email.txt ##
> @@ Documentation/git-send-email.txt: edit ~/.gitconfig to specify your account settings:
>
> Documentation/git-send-email.txt | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
> index 0a69810147..0db0783f2f 100644
> --- a/Documentation/git-send-email.txt
> +++ b/Documentation/git-send-email.txt
> @@ -494,10 +494,14 @@ edit ~/.gitconfig to specify your account settings:
> smtpServerPort = 587
> ----
>
> -If you have multifactor authentication setup on your gmail account, you will
> +If you have multi-factor authentication set up on your Gmail account, you will
> need to generate an app-specific password for use with 'git send-email'. Visit
> https://security.google.com/settings/security/apppasswords to create it.
>
> +If you do not have multi-factor authentication set up on your Gmail account,
> +you will need to allow less secure app access. Visit
> +https://myaccount.google.com/lesssecureapps to enable it.
> +
> Once your commits are ready to be sent to the mailing list, run the
> following commands:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-08 6:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-08 4:17 [PATCH v4] git-send-email.txt: mention less secure app access with Gmail Denton Liu
2021-01-08 6:45 ` Junio C Hamano
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).