GNU bug report logs - #18842
24.4; gnus not handling passwords with double quotes in .authinfo

Previous Next

Packages: emacs, gnus;

Reported by: David SpÄngberg <david <at> tunna.org>

Date: Sun, 26 Oct 2014 14:14:02 UTC

Severity: normal

Tags: notabug

Found in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 18842 <at> debbugs.gnu.org (full text, mbox):

From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: david <at> tunna.org
Cc: 18842 <at> debbugs.gnu.org
Subject: Re: bug#18842: 24.4;
 gnus not handling passwords with double quotes in .authinfo
Date: Mon, 27 Oct 2014 08:40:09 +0900
On Sun, 26 Oct 2014 12:54:29 +0100, David SpÄngberg 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 12345

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?
(auth-source.el supports it of course.)

[1] <http://www-01.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.halu001/netftp.htm>




This bug report was last modified 10 years and 207 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.