From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Amin Bandali Newsgroups: gmane.emacs.bugs Subject: bug#34458: 27.0.50; Gnus's nnimap truncates password Date: Tue, 12 Feb 2019 11:49:43 -0500 Message-ID: <875ztplzo8.fsf@aminb.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="233661"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 34458@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 12 17:50:24 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtbGI-000yd2-Lu for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Feb 2019 17:50:23 +0100 Original-Received: from localhost ([127.0.0.1]:42431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtbGH-0007Xf-Hw for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Feb 2019 11:50:21 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtbG0-0007WM-ET for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2019 11:50:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtbFy-00081z-Oa for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2019 11:50:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45814) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gtbFy-00081S-KP for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2019 11:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gtbFy-0006ca-74 for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2019 11:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Amin Bandali Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Feb 2019 16:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34458 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.154999017925406 (code B ref -1); Tue, 12 Feb 2019 16:50:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Feb 2019 16:49:39 +0000 Original-Received: from localhost ([127.0.0.1]:45095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtbFa-0006bh-Gk for submit@debbugs.gnu.org; Tue, 12 Feb 2019 11:49:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtbFZ-0006bR-7i for submit@debbugs.gnu.org; Tue, 12 Feb 2019 11:49:37 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:50825) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtbFS-0007Q4-Qc for submit@debbugs.gnu.org; Tue, 12 Feb 2019 11:49:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtbFR-0007FF-W6 for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2019 11:49:30 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtbFQ-0007N5-I9 for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2019 11:49:28 -0500 Original-Received: from [2607:fea8:3b80:184::2] (port=58300 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gtbFQ-0005W5-D9 for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2019 11:49:28 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155374 Archived-At: It seems that when the combined length of username + password for an imap login exceeds certain length, nnimap tries to log into the server with a truncated password. Example: Say I have the following line in ~/.authinfo.gpg: machine mymchn login myuserid@hereis.alongaddr.ca password VAdlmhgtPX3RQpV2= bfr8ilj6Qptr0Omz I was wondering why Gnus wasn=E2=80=99t able to log into the server, though= I had made sure I was using the correct username and password. Upon looking into server logs, I noticed that the login attempts were made using VAdlmhgtPX3RQpV2bfr8ilj6Qpt as the password (notice that r0Omz is missing at the end) instead of the correct full password. Then I tried with a shorter username like below and it worked just fine: machine mymchn login myuserid@hereis.ca password VAdlmhgtPX3RQpV2bfr8ilj6Qp= tr0Omz If I recall correctly, this issue also happens without adding a machine entry to ~/.authinfo.gpg (i.e. by filling out the username and password prompt); which leads me to think that the issue is not with auth-source.