From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Adri=C3=A0?= Garriga-Alonso Newsgroups: gmane.emacs.bugs Subject: bug#54913: OAuth2 ELPA package: out-of-band authentication deprecated Date: Wed, 13 Apr 2022 10:14:17 +0200 Message-ID: <87k0btl6xq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33586"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 29.0.50 To: 54913@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 13 17:31:44 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1neey6-0008Z7-CR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Apr 2022 17:31:42 +0200 Original-Received: from localhost ([::1]:49196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1neey5-0006W3-5t for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Apr 2022 11:31:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neexT-00066N-Mf for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2022 11:31:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neexS-0008Lh-9y for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2022 11:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1neexS-0006Ut-76 for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2022 11:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Adri=C3=A0?= Garriga-Alonso Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Apr 2022 15:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54913 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164986385624937 (code B ref -1); Wed, 13 Apr 2022 15:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Apr 2022 15:30:56 +0000 Original-Received: from localhost ([127.0.0.1]:53659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neexL-0006U8-Jt for submit@debbugs.gnu.org; Wed, 13 Apr 2022 11:30:55 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:34520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neYQf-0001wQ-N5 for submit@debbugs.gnu.org; Wed, 13 Apr 2022 04:32:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neYQf-0005lv-EL for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2022 04:32:45 -0400 Original-Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:45975) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neYQd-0004HN-4i for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2022 04:32:45 -0400 Original-Received: by mail-wr1-x42b.google.com with SMTP id w4so1479595wrg.12 for ; Wed, 13 Apr 2022 01:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:user-agent:message-id:mime-version; bh=xxRMgviViIvydo/mcpd0MhTZGVjY4cUh1k4K/uGjC3o=; b=pDQKYivp21nzazlLd8q1LcMzBhZif1oZtlAk9TFDWIg0eR8oT1+mCIVE6L9k842pPY BzSjkdwECvKdN+dWpPzj77L6VxTgOluh5FCYcMwOFefsWJB6cw281+hk5APzMpo+wo4F WtshKJxXHCB5BHXarwFyNNEmLNBDtXYTX2mAjLqrJdGGPL5TGVLlFiUkG8vvr7qYsh32 UW96ZJlrCwm9NpZxERxevpz+hFLFO0F5wLA4IV71sxRixXSgeedjQF2JiK3n0Ypw01Wd GJ2xI9ADUP4zSwmy1tI0XLvOaopjhBBb1B0ENemT1OOxBBpNLg+nXxTZJ01z7p+Kz+LS eXVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:user-agent:message-id :mime-version; bh=xxRMgviViIvydo/mcpd0MhTZGVjY4cUh1k4K/uGjC3o=; b=tBZljFZ1zMUrO6CNY0rcPgZuoKelK8USzdQtbBK+rrrA+opPaKyX6Vjt/48p9obouf vgl1FzL8nMt4+PW9HfpMpYtkL5JyVZrUBPw2CEE5AylDjt4uTqOYfEzsLwoDrFuxncuJ lpcUvNJaLcZqNg+WIsOgB+ClmH25aHP/p/KEimOIHP5HkEJMMHDdC53EuTqfeMlBODBn GDgEe63WrjSR9ChOlHmGd6ZxCkM+6beTPb+2MK0uZ5JntOWF5aHKaLty4tM//GMDVWHW 1Ef9TQwrirUATjhI06eIglhPIFOWO9AxTGIYAr/QYM3szLppkoHNq6DgsDZTmU3qLRvv T1mA== X-Gm-Message-State: AOAM5308ZGp06SaQ0b+aJU7CNuSLDyKNjCyo4H7DNV3pfPU0jqsXt8Q7 CevbUSEdf4HcWLUYoqSnKF8cC63Ls76jnQUi X-Google-Smtp-Source: ABdhPJzXrzNmvQmqHOblwjzu+xazE6LjUgYYewoIlKT9+q/YX+pntjtNwAOIIMY6qKCEfHwzuZEnMA== X-Received: by 2002:a05:6000:1c02:b0:207:98bd:c5d0 with SMTP id ba2-20020a0560001c0200b0020798bdc5d0mr19550896wrb.25.1649838760762; Wed, 13 Apr 2022 01:32:40 -0700 (PDT) Original-Received: from localhost ([2a02:2e02:99b1:c00:b778:fa02:759b:2b51]) by smtp.gmail.com with ESMTPSA id f13-20020a5d64cd000000b0020787751295sm16419273wri.35.2022.04.13.01.32.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Apr 2022 01:32:40 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=adria.garriga@gmail.com; helo=mail-wr1-x42b.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, HTML_MESSAGE=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-Mailman-Approved-At: Wed, 13 Apr 2022 11:30:54 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:229833 Archived-At: --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This report concerns the [oauth2 package on ELPA]. Hope that=E2=80=99s OK. = It affects downstream users of it such as `org-gcal' and `org-caldav'. The authentication scheme used by `oauth2' has been deprecated by Google services. I have a patch to update to the newer, recommended way. The OAuth2 maintainer said it would be a good addition, but I should find someone on E= LPA that is happy to review it in order to contribute. Is there someone willing to review and merge a potential patch? More details: The current authentication scheme is out-of-band authentication; a code is displayed in the browser and the user copies it into Emacs. The new scheme involves spinning up an (extremely simple) HTTP server on Emacs to handle a redirect in the browser. I have an [implementation of the HTTP authentication handler], and emailed = Julien Danjou (the `oauth2' maintainer) about it. Julien said it would be a good incorporation to the package but they don=E2=80=99t have time to review it. Thank you for your time. Adri=C3=A0 Garriga-Alonso [oauth2 package on ELPA] [implementation of the HTTP authentication handler] --==-=-= Content-Type: text/html; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable

This report concerns the oauth2 package on ELPA. Hope that=E2=80=99= s OK. It affects downstream users of it such as org-gcal and org-caldav.

The authentication scheme used by oauth2 has been= deprecated by Google services. I have a patch to update to the newer, recommended way. The OAuth2 maintainer said it would be a good addition, but I should find someone on E= LPA that is happy to review it in order to contribute.

Is there someone willing to review and merge a potential patch?

More details:

The current authentication scheme is out-of-band authentication; a code is displayed in the browser and the user copies it into Emacs. The new scheme involves spinning up an (extremely simple) HTTP server on Emacs to handle a redirect in the browser.

I have an implementation of the HTTP authentication handler, a= nd emailed Julien Danjou (the oauth2 maintainer) about it. Julien s= aid it would be a good incorporation to the package but they don=E2=80=99t have time to review it.

Thank you for your time.

Adri=C3=A0 Garriga-Alonso

--==-=-=-- --=-=-=--