2012-02-14 03:26:15

by chetan L

[permalink] [raw]
Subject: Making gmail 2 step verification work with git send-email

Hello,

Ok, I know this is not a kernel question. So apologies...
While sending a patch to linux-scsi yesterday I had to disable the
2-step gmail verification just to send the patch and then enabled it
again.

How do we make git work in the 2 step gmail mode?

Chetan


2012-02-14 03:51:37

by Yang Bai

[permalink] [raw]
Subject: Re: Making gmail 2 step verification work with git send-email

On Tue, Feb 14, 2012 at 11:26 AM, chetan loke <[email protected]> wrote:
> Hello,
>
> Ok, I know this is not a kernel question. So apologies...
> While sending a patch to linux-scsi yesterday I had to disable the
> 2-step gmail verification just to send the patch and then enabled it
> again.
>
> How do we make git work in the 2 step gmail mode?
>

+1.
Now, I use base64 to encode my application-specific password and save
this encoded password. But it is not very safe. Any good idea?

> Chetan
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/



--
    """
    Keep It Simple,Stupid.
    """

Chinese Name: 白杨
Nick Name: Hamo
Homepage: http://hamobai.com/
GPG KEY ID: 0xA4691A33
Key fingerprint = 09D5 2D78 8E2B 0995 CF8E  4331 33C4 3D24 A469 1A33

2012-02-14 06:27:46

by Cong Wang

[permalink] [raw]
Subject: Re: Making gmail 2 step verification work with git send-email

On 02/14/2012 11:26 AM, chetan loke wrote:
> Hello,
>
> Ok, I know this is not a kernel question. So apologies...
> While sending a patch to linux-scsi yesterday I had to disable the
> 2-step gmail verification just to send the patch and then enabled it
> again.
>
> How do we make git work in the 2 step gmail mode?

Create a new password, and use --smtp-pass[=<password>].