From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.bugs Subject: bug#41386: 28.0.50; Gnus nnimap OAuth 2.0 support Date: Sat, 23 May 2020 11:49:34 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="33560"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41386@debbugs.gnu.org To: Richard Stallman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 23 17:50:11 2020 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 1jcWPa-0008bn-Sy for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 May 2020 17:50:11 +0200 Original-Received: from localhost ([::1]:35990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcWPZ-0000xj-Tt for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 May 2020 11:50:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcWPS-0000wT-67 for bug-gnu-emacs@gnu.org; Sat, 23 May 2020 11:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52033) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcWPR-0007Hn-SW for bug-gnu-emacs@gnu.org; Sat, 23 May 2020 11:50:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jcWPR-0008Ez-QJ for bug-gnu-emacs@gnu.org; Sat, 23 May 2020 11:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 May 2020 15:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41386 X-GNU-PR-Package: emacs Original-Received: via spool by 41386-submit@debbugs.gnu.org id=B41386.159024898331649 (code B ref 41386); Sat, 23 May 2020 15:50:01 +0000 Original-Received: (at 41386) by debbugs.gnu.org; 23 May 2020 15:49:43 +0000 Original-Received: from localhost ([127.0.0.1]:35346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcWP9-0008EP-8y for submit@debbugs.gnu.org; Sat, 23 May 2020 11:49:43 -0400 Original-Received: from mail-qk1-f180.google.com ([209.85.222.180]:44768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcWP8-0008EC-Ay for 41386@debbugs.gnu.org; Sat, 23 May 2020 11:49:42 -0400 Original-Received: by mail-qk1-f180.google.com with SMTP id b6so13709604qkh.11 for <41386@debbugs.gnu.org>; Sat, 23 May 2020 08:49:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fitzsim-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=cFF1Nqek71QGVYHdOFcgsva1FV7snq0P7e8s09+i6kk=; b=V9XRtYlR/EM8+rSr7jFXF+GlL27x4mSBhWkCZR8NOa2NJf+bpWsCXc80H1dv/XZmtD tlx2S3T30g4ZeL7B1sAqo805hXPNax2SlJWfgHpTq1OGxA90mCSdrknFALFEzevVYbdy 3nRmXfIlzpMTme0NxcjzcsayAMAbdrcMX5DTO5e0i9dqQg7wblMNjo4qH7QgoeDItbC9 ou8ig+ysGjGzMfWAdIfq4Vjz3nGmSvYzI8Jl906HiGoaQLBDvNF1HEY5AQExNxRTaYdS GClzL829KVzZfzbAEfzMBMqjCYlnxTZLpAChjnKEXlSEFvzfk2zxhj+oZF10PMcedvWS N0tw== 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=cFF1Nqek71QGVYHdOFcgsva1FV7snq0P7e8s09+i6kk=; b=MANWeEdPA+46IAzzxLLE2ZT/8hYuNDFEbznnQMaak7TjKWDVgRC/IStBUsP9rzqjA5 wOsBMVYk5evpInlAgu1QOwaey7WV22OaZDcnpSD/ci0wCtsXbH0XfL9Tr+CIkSs//gBo y+dfMCXJm/DJbdt/Jfrs7++bbt7FAbvdifjHqhk4LyGDwyWwSbNhWnINl2oAIFK94r0I t0rdCCFXud3Buym6AfKzA1vqngJ20GsJaDvfcHklsdecz6SUTlx5xE1NFRrSPzEn9HKH fWSZbrObkF6Xw1/LQvqzFEClw2htLx3iqN+RIxEkx/S9ibqA+lvH6sN3vLxbyz+Utzga +R8w== X-Gm-Message-State: AOAM532nYK6RmoJZtY6pmSMG3WjTkN+ktTR+PdyGBwJHNY2H9ZIVqWws OaZEeJ/eM/T0VDvYxwHIFE1AgKEdUuz3wg== X-Google-Smtp-Source: ABdhPJxIROd69Rr3eWQlcwJSwJqpUYAvLV85RG4zAAIbdCwDJkIprjR5Q/UaNniYHz9rAqaRZqSU6g== X-Received: by 2002:a37:a847:: with SMTP id r68mr12246635qke.45.1590248976344; Sat, 23 May 2020 08:49:36 -0700 (PDT) Original-Received: from localhost.localdomain (69-165-165-189.dsl.teksavvy.com. [69.165.165.189]) by smtp.gmail.com with ESMTPSA id d14sm802887qkg.25.2020.05.23.08.49.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 May 2020 08:49:35 -0700 (PDT) In-Reply-To: (Richard Stallman's message of "Thu, 21 May 2020 23:09:38 -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:180815 Archived-At: Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > OK, I'll try to help, but I don't know what Google or Gmail will do in > > the future, in general, obviously. > > I don't expect you to practice precognition. But it may be possible > to deduce something by putting their announcements together with other > known facts. Maybe we could figure out questions to ask them. > > > Your question reminded me that Gmail provides "basic HTML view" which > > does not require any Javascript whatsoever for sign-in or for the main > > interface, and thus is fully useable with Emacs Web Wowser (eww). > > That is a significant fact. It means that using Gmail in the free > world won't become entirely impossible. Thanks. > > So I modify the question: > > Will Gmail in the future permit access from the Free World > to read mail with a free local MUA in any manner whatsoever? > > And there is another followup question: > > Is it possible to log in on basic HTML view > passing via a proxy that will hide your actual location? Yes. Here is the recipe I tested: sudo apt install proxychains sudo sed 's/#quiet_mode/quiet_mode/' -i /etc/proxychains.conf ssh -ND 9050 & HOME=$(mktemp -d) proxychains emacs -Q -nw M-x eww RET https://gmail.com RET [Use the usual web-based log-in procedure via Emacs Web Wowser.] The log-in procedure was successful and I was able to use the basic HTML view interface. To confirm the results of the test, I also logged into the same service via Firefox and a direct connection. After I did the procedure above, the Firefox session showed: "This account is currently being used in 1 other location (
)." Where
was the IP address of . The above is just an example, other methods may be superior in various ways, but I think this proves that Gmail is useable in Emacs Web Wowser via a proxy. Thomas P.S. Prior to installing proxychains, I tried using Emacs's built-in proxy support in the same way. There are references to SOCKS in the URL manual, but I couldn't find an easy way to make EWW use localhost:9050 as a SOCKS proxy. I debugged until I got to the comment "Should check for socks" in url-default-find-proxy-for-url.