From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David =?UTF-8?Q?Sp=C3=A5ngberg?= Newsgroups: gmane.emacs.bugs Subject: bug#18842: 24.4; gnus not handling passwords with double quotes in .authinfo Date: Mon, 27 Oct 2014 20:28:32 +0100 Message-ID: <87ppdd71nj.fsf@laptop.roflmf> References: <87ioj7avwq.fsf@laptop.roflmf> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1414438164 25225 80.91.229.3 (27 Oct 2014 19:29:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Oct 2014 19:29:24 +0000 (UTC) Cc: 18842@debbugs.gnu.org, Katsumi Yamaoka To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 27 20:29:16 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xipye-0002HF-KQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Oct 2014 20:29:16 +0100 Original-Received: from localhost ([::1]:35621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xipye-0004My-89 for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Oct 2014 15:29:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XipyW-0004LK-CO for bug-gnu-emacs@gnu.org; Mon, 27 Oct 2014 15:29:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XipyQ-0001cR-Tz for bug-gnu-emacs@gnu.org; Mon, 27 Oct 2014 15:29:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XipyQ-0001cM-Qr for bug-gnu-emacs@gnu.org; Mon, 27 Oct 2014 15:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XipyQ-0002lo-3z; Mon, 27 Oct 2014 15:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David =?UTF-8?Q?Sp=C3=A5ngberg?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Mon, 27 Oct 2014 19:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18842 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 18842-submit@debbugs.gnu.org id=B18842.141443812210604 (code B ref 18842); Mon, 27 Oct 2014 19:29:02 +0000 Original-Received: (at 18842) by debbugs.gnu.org; 27 Oct 2014 19:28:42 +0000 Original-Received: from localhost ([127.0.0.1]:36965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xipy5-0002kx-PW for submit@debbugs.gnu.org; Mon, 27 Oct 2014 15:28:42 -0400 Original-Received: from tunna.org ([91.205.62.186]:55251) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xipy2-0002kg-VG for 18842@debbugs.gnu.org; Mon, 27 Oct 2014 15:28:39 -0400 Original-Received: from laptop.roflmf (unknown [83.254.7.91]) by tunna.org (Postfix) with ESMTPSA id C37D547D12; Mon, 27 Oct 2014 20:28:32 +0100 (CET) In-Reply-To: (Andreas Schwab's message of "Mon, 27 Oct 2014 11:15:13 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95170 Andreas Schwab writes: > Katsumi Yamaoka writes: > >> On Sun, 26 Oct 2014 12:54:29 +0100, David Sp=C3=A5ngberg wrote: >>> After a recent update of emacs gnus fails to connect to a mail server >>> with login information listed in one of the "~/.authinfo" or >>> "~/.authinfo.gpg" files. The password in the file is quoted and contains >>> an escaped double quote. Something like this: >> >>> machine example.org login testuser password "test\"password" port 123= 45 >> >> IBM says[1]: >> If the password phrase itself contains a quotation mark, use >> the other style of quotation mark to enclose the password phrase. >> >> I.e.: 'test"password' >> >> The rule is enough to handle such a case, isn't it? This solves the problem for me at least. > Until you start using both. :-) IBM further bans using both forms at the same time so I guess it's a problem with the specification rather than the implementation in "auth-source.el". Thanks for the help :) Best regards, David