unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "David Spångberg" <david@tunna.org>
To: Andreas Schwab <schwab@suse.de>
Cc: 18842@debbugs.gnu.org, Katsumi Yamaoka <yamaoka@jpl.org>
Subject: bug#18842: 24.4; gnus not handling passwords with double quotes in .authinfo
Date: Mon, 27 Oct 2014 20:28:32 +0100	[thread overview]
Message-ID: <87ppdd71nj.fsf@laptop.roflmf> (raw)
In-Reply-To: <mvmoasxrf7y.fsf@hawking.suse.de> (Andreas Schwab's message of "Mon, 27 Oct 2014 11:15:13 +0100")

Andreas Schwab <schwab@suse.de> writes:

> Katsumi Yamaoka <yamaoka@jpl.org> writes:
>
>> 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?

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





  reply	other threads:[~2014-10-27 19:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-26 11:54 bug#18842: 24.4; gnus not handling passwords with double quotes in .authinfo David Spångberg
2014-10-26 23:40 ` Katsumi Yamaoka
2014-10-27 10:15   ` Andreas Schwab
2014-10-27 19:28     ` David Spångberg [this message]
2014-11-02 20:58       ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ppdd71nj.fsf@laptop.roflmf \
    --to=david@tunna.org \
    --cc=18842@debbugs.gnu.org \
    --cc=schwab@suse.de \
    --cc=yamaoka@jpl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).