From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Cesar Crusius Newsgroups: gmane.emacs.devel Subject: Re: Making GNUS continue to work with Gmail Date: Fri, 14 Aug 2020 10:39:58 -0700 Message-ID: References: <87v9ienz6c.fsf@gnus.org> <878sf9c69y.fsf@gnus.org> <871rkw62t3.fsf@gnus.org> <87bljki71n.fsf@mat.ucm.es> <87364wxlec.fsf@gnus.org> <87imdsgmlw.fsf@mat.ucm.es> <871rkfhkhc.fsf@mat.ucm.es> <875z9p5hnc.fsf@mat.ucm.es> <87364pbkn0.fsf@gnus.org> <87lfihe0zf.fsf@mat.ucm.es> <874kp55l8t.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24966"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 14 19:41:22 2020 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 1k6dhi-0006Nt-8Z for ged-emacs-devel@m.gmane-mx.org; Fri, 14 Aug 2020 19:41:22 +0200 Original-Received: from localhost ([::1]:57062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6dhh-0004Hh-AO for ged-emacs-devel@m.gmane-mx.org; Fri, 14 Aug 2020 13:41:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6dgY-0003Rg-56 for emacs-devel@gnu.org; Fri, 14 Aug 2020 13:40:11 -0400 Original-Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]:39641) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k6dgV-0001Fz-QY for emacs-devel@gnu.org; Fri, 14 Aug 2020 13:40:09 -0400 Original-Received: by mail-pl1-x62f.google.com with SMTP id g15so586803plj.6 for ; Fri, 14 Aug 2020 10:40:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Ek2d+opGb6ZG+CvfXNHdLItbK8rQHGt4Jc44DRONXJU=; b=JD9UBdCvDO7Fa1oDKL2n0A0wdZWNaGrbiXd3/qRruVvXlbdbLxK3eDXP88VhOXZzaq FeJyHy7jltl/CyaFx/dMsfaRbjpekkje09Sc98fBbh4uvgawZGArWXbFPRIv8OE4vh4a rOtbEq8t3qCimJ0oQuW4SG7iK10jPhIURLg0CWkoPS3HvETHMWqeuCJlfvuDmkhU+BZU m7nCkzwWTNKrC1RelpqNtP6gz7m1znu4GxELKqtLTmawbuDYMwWDnwW3Likda/LyOuta KfDbNCAPANJmnjzMzaLlED0/imb/7426qMABqDs4I6uimLJV4JvWMlYXZ2iyiwCtnbAG ioHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Ek2d+opGb6ZG+CvfXNHdLItbK8rQHGt4Jc44DRONXJU=; b=lwaG1xAEcK+ENzskYMphx5jjlxHhs1pNvfdbuY4kW+c2rPo2DQzPrjuZSnkZ65c7/d 35ighoePrPi838yLXbGTR1fupvw3V7zCX1rutAfSFYP/5KTMN8h+5Sh6YaZcp/psEz4H 0SgKr37T/CZAtJrAqXTe3D4vS3weOSnKUwu1veGDgcybOIJ19/9paajt8pUErEewNzcM XMPER+DKB2zFZ1Uma9IJsSokapfA7FX/OgqUSIRnf+aQ3buJbxK+9CldCAntc4Rsg4KK oRroju6BC1wu2AWoXSfu0oXUVXPNvQr+a6O9nGLuvQD/NBZv/+5EnbfBQ/WpdEJQ5NLL ygOQ== X-Gm-Message-State: AOAM533g3BdVg6PZOIOKhG+4rIG8eGyKsoAJp0Flg3xBhMjPUYtAbTfj YsVrxSOBNM/2zEnSW3uARl2PQSdf6EE= X-Google-Smtp-Source: ABdhPJwRtQD48Ojl8/qq775chego6vF55KhVCxjXUmne/wPK9akezhTFhtHssfrdcMHXit+HdQzgjQ== X-Received: by 2002:a17:90a:fd8c:: with SMTP id cx12mr3069175pjb.157.1597426803626; Fri, 14 Aug 2020 10:40:03 -0700 (PDT) Original-Received: from ccrusius-glaptop (c-24-4-33-27.hsd1.ca.comcast.net. [24.4.33.27]) by smtp.gmail.com with ESMTPSA id a16sm10443969pfr.45.2020.08.14.10.40.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Aug 2020 10:40:02 -0700 (PDT) In-Reply-To: <874kp55l8t.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 14 Aug 2020 16:56:50 +0200") Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=cesar.crusius@gmail.com; helo=mail-pl1-x62f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:253774 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Lars Ingebrigtsen writes: > Uwe Brauer writes: > >>> Yeah, we could just use that and tell the users to "just" register their >>> own developer accounts at Google and then put the keys somewhere. It's >>> a really really horrid experience to go through, though, and Google will >>> sic an API compliancy review at the users at random. >> >> What's about the approach recommended by a mutt user >> >> https://luxing.im/mutt-integration-with-gmail-using-oauth/ >> >> Could that somehow be used for Gnus? > > That's the approach you quoted me describing. :-) ... and the approach _already implemented_ by auth-source-xoauth2, which wo= rks for Gnus and anything else using auth-source in Emacs: https://github.com/ccrusius/auth-source-xoauth2 (There is some hackery involved in `auth-source-xoauth2-enable` in order to= make the protocol work for IMAP/SMTP.) It looks like this approach keeps popping up as a "possible solution," so I= 'll just point out again that this is _already implemented_ in the package = above, and is being used by various people to make Gnus work with Gmail and= XOAuth2. The discussion here is about how to _avoid_ having to do that. =2D-=20 Cesar Crusius --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCgAdFiEEsu/ErKn7yEV7E0FU/X9qSDfQj2EFAl82zG4ACgkQ/X9qSDfQ j2HH/gv+KkaiEtp9n03bqwFpn50jG7qkBKtFQdPqVu+pj7DUNuCMBRXoPZLRZn7T JHErLDJOlACD6VMW3yiKXOdMzjiJCze1KGvcCDz+zXR6ilZT9M1DPwe4Z0tPKZrO RQ7NFgydAiLotyee3R1sW+yV21pZuwqPQYx4iNJ2RlzXHCp2ibYsXfGpqIfKIAhO kAypQYnGVU0NBqSxwmTy3kh0bUKxcFBBPzEoeh6Oc3Po6eyDoC6d10S/eQQypiay a5gyxl18pFpj/Ai+DRs4kyAClYBCO16QMpBvb6Pvx/kDH5u1fS4Ohysb1hLVyrAd dpdJtN6hko3iG7pizPCtEKX/W22Y4k8GM6SG0KBZfjrKKDskdqPTdTvP6pzfOAu9 gHg7uZvKlroEM39SxD7OJBGppljLCjRbzvokWowVtit6d5jRekskF61YIYbUD3e0 wd2q4m9qR7LFjU99nxP1SPByIVxBSWsKsZs4yVs6ja5vD73aQwb+L1b1GUeozcTP LqLwRqBE =N/zI -----END PGP SIGNATURE----- --=-=-=--