From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: gmail+imap+smtp (oauth2) Date: Wed, 04 May 2022 17:48:35 +0200 Message-ID: <87zgjx5mek.fsf@gmail.com> References: <871qxbdulc.fsf@mat.ucm.es> <877d72nf3h.fsf@gmail.com> <87zgjx9upa.fsf@telefonica.net> 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="38696"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 04 17:49:34 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 1nmHFu-0009ra-QK for ged-emacs-devel@m.gmane-mx.org; Wed, 04 May 2022 17:49:34 +0200 Original-Received: from localhost ([::1]:47876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmHFt-00059O-4n for ged-emacs-devel@m.gmane-mx.org; Wed, 04 May 2022 11:49:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmHF2-0004SN-Ol for emacs-devel@gnu.org; Wed, 04 May 2022 11:48:40 -0400 Original-Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:46903) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmHF0-0003vo-M3 for emacs-devel@gnu.org; Wed, 04 May 2022 11:48:40 -0400 Original-Received: by mail-wr1-x429.google.com with SMTP id i5so2581596wrc.13 for ; Wed, 04 May 2022 08:48:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=7LkANQBXeZC404bITtuSSr6gMT4JiHRMiOs7sAD0vNs=; b=kT373pPBcbE05uKYmOi/g2D1I8OaHgRtWINPVMZ9Abf7qrpr3my2EAzMOJi5L1eNNK MwjzEEyjCGOmaaK9FB3eygRGtLj5nicyhzq21Q7a5/orvuxY/t/FLJK8XddgaEHBKqNu +XEEs5fcx9Zy9ahLtteaLBDPPUa7bkuBrDuunDwlVnEmEhjfzy8kUY7364C6yNU9ux1V 0Q/Z79BWKeoxQII246d4ISMGo7EQEfXIWvZrMDJLZa1PiS0OLowStzl9n0rlW50O3TDD /XglkVBV5JpR07+HmgU+xjmyGtgBMc00DUuEW+9hb871reSv5zma4Cc+fOD+hbRQXI5Z 57+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=7LkANQBXeZC404bITtuSSr6gMT4JiHRMiOs7sAD0vNs=; b=usLqpdTC5nWdlTg9DpJHb3bV2ScWX1GTURrjCXdd3OIxq5sgm9fat5PfdWkqMOg/2b 4pFOF/sTVWLNvaH+0f/aj/VFiAh6ntBZQck3vTMzCXrtWycliOrU3WhPZHRaCdWRT/Ye BlYxCkcOSbOiR4zwvqMQSZUJNYCygX7zASKRv/5H6Xo/AejfMiXL3j9UfaWzVutt3bzY Hvuoy7u1S/CtBJ+G9x7qIGWPzE4D1BH/Bn9otqBGyUN8ML0jB2jrs8rldNCExio+W8uU DNX8ekd1cfxkWHSiHOuKLiA+5sVVCk6rf5+PgeOTU8ocAUxU8QczK9cg8VbleyWogZXa 81iw== X-Gm-Message-State: AOAM531e1aIt2hTXSw6BGNxhK7SWhhqzzidPvaaUVLF7BzVgxUXLlZNN TE6c/mEnibxVylCpZ1AAzwa2wqCTctQfWA== X-Google-Smtp-Source: ABdhPJxjnG00Ef8QgEZxaFeSZZtfl13/Jm9QQdGxCLERfDbbcurlnB45IVatBAZNdoYSsLBT7m2Ecg== X-Received: by 2002:adf:d234:0:b0:20a:d063:e48 with SMTP id k20-20020adfd234000000b0020ad0630e48mr17036259wrh.112.1651679316923; Wed, 04 May 2022 08:48:36 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:7623:b433:37be:1f20]) by smtp.gmail.com with ESMTPSA id l2-20020a1ced02000000b003942a244ec4sm4207789wmh.9.2022.05.04.08.48.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 08:48:36 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <87zgjx9upa.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Wed, 04 May 2022 17:35:45 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=rpluim@gmail.com; helo=mail-wr1-x429.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:289189 Archived-At: >>>>> 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 do = 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 passwords >> 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. Robert --=20