From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: gmail+imap+smtp (oauth2) Date: Thu, 05 May 2022 02:45:36 +1000 Message-ID: <87ilql4546.fsf@gmail.com> References: <871qxbdulc.fsf@mat.ucm.es> <877d72nf3h.fsf@gmail.com> <87zgjx9upa.fsf@telefonica.net> <87zgjx5mek.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2613"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.13; emacs 28.1.50 Cc: =?utf-8?Q?=C3=93scar?= Fuentes , emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 04 18:51:27 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nmIDn-0000S0-C5 for ged-emacs-devel@m.gmane-mx.org; Wed, 04 May 2022 18:51:27 +0200 Original-Received: from localhost ([::1]:50474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmIDm-0006pv-1t for ged-emacs-devel@m.gmane-mx.org; Wed, 04 May 2022 12:51:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmI9x-0000ZP-2W for emacs-devel@gnu.org; Wed, 04 May 2022 12:47:29 -0400 Original-Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]:36690) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmI9v-0001W8-CF for emacs-devel@gnu.org; Wed, 04 May 2022 12:47:28 -0400 Original-Received: by mail-pg1-x532.google.com with SMTP id g3so1608387pgg.3 for ; Wed, 04 May 2022 09:47:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=yPMho0jJ9mf6lGW47uo2rTGV+IWH8JI0LrG1zX7gARY=; b=Z6+p13D32COW+68g62l1PRC4JesXDrcQL4qCJZhUveEPzh232md+ebyV77hmsOWDw3 nVu2ElzH8RShEbg20EqiWymnsXnM9txFGy+uTOiurzdj/bn08FHsLTcz90FUxbfucR4K gYR3ABaKpBG/LP/s0NCR3mb24zTPdUZ/MvZirI3i/VbGr4EoSuUqD038jUFVV10ABvt0 a9u5N2kfHPcDeRj4KmRpWfgYC67d9ufGAqg3EaUHpNLOV04UgsyfsnxtnhCQ/DXBHlbo RxHU5LYka6/iLPQCwmMvBgn/Fc1VrQgSdYLUyuE24m0SnIiLwZosZs4B7LIOFvbmm+jd p4Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=yPMho0jJ9mf6lGW47uo2rTGV+IWH8JI0LrG1zX7gARY=; b=1TXYWfn6vKJz5zeYVXeto5HqV2B1XOYwIEePJz+3i88JNA63DjnJnv/jC4TYbqbFHT 9VQDGBnm9LXFgJJz2S698W2b4zpTj21cadNhLPX4Vhb2mu9eGWtLUxvMfnaHeL+EUbUx 1boK6XX6wm751XDOtsG2Lhk900qlZyrbV3mCe1O3Ka4fZA9jEfL1nknn1rIWX8jKTyw3 5DhfPN6EvN8LedP5Yx3WgRjHIYlwqhuBIgdRbZcQlIXgew4VMvfufd/8eo73H4TzIQ6f Dd0NFU61FfYNPJGm2hMtiWBpYta9AwHfpacfaMa6lFES18Z/XB6kXn26CaVGlUJGaLfc a09A== X-Gm-Message-State: AOAM531fqKsWg0k1n9Z9eF0XoXl4O/UqYN0TAhAbjT1BP3tHsOW2MOKr eHx5IqmPp0xcT8MepEKA84HyPB2NedM= X-Google-Smtp-Source: ABdhPJyi58HfUYZr+VnBxK4Wlq+ppKzjyiUGN/tpTNluNXBsD4CPmOq+8h3UaqaghxRXzW1R/TdbZw== X-Received: by 2002:a65:6498:0:b0:3c5:fc22:abbc with SMTP id e24-20020a656498000000b003c5fc22abbcmr1610598pgv.64.1651682845708; Wed, 04 May 2022 09:47:25 -0700 (PDT) Original-Received: from dingbat (220-235-29-41.dyn.iinet.net.au. [220.235.29.41]) by smtp.gmail.com with ESMTPSA id z26-20020aa785da000000b0050dc762819csm8426151pfn.118.2022.05.04.09.47.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 09:47:25 -0700 (PDT) In-reply-to: <87zgjx5mek.fsf@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::532; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x532.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:289196 Archived-At: Robert Pluim writes: >>>>>> On Wed, 04 May 2022 17:35:45 +0200, =C3=93scar Fuentes said: > > =C3=93scar> Tim Cross writes: > >> Google introduced the concept of app passwords back when they first > >> implemented 2FA. Basically, they are just a password based > >> authentication workflow which can be used with applications that d= o not > >> support 2FA or oauth2 based authentication and authorisation. > > =C3=93scar> [snip] > > >> Google is removing access to imap/smtp using your main google > >> login/password and will require 2FA and oauth2 for all web based > >> authn/authz. However, their documentation implies that app passwor= ds > >> will remain as the standad solution for applications which cannot = do 2FA > >> or oauth2.=20 > > =C3=93scar> If I read this right: > > =C3=93scar> https://support.google.com/accounts/answer/185833?hl=3Den > > =C3=93scar> app passwords require to have 2FA turned on. So you have = to go through > =C3=93scar> the 2FA process anyway with app passwords. > > When creating the app password, maybe (it=CA=BCs been so long since I > created my app password for Gnus that I don=CA=BCt remember). But *using* > the app password just requires presenting it using the normal > IMAP/SMTP/etc authentication protocols. > 2FA has nothing to do with the application passwords (at least not directly). You just need to have enabled it in order to enable application passwords for your account.=20