GNU bug report logs - #12097
"password" is not a valid password to auth-source.el

Previous Next

Package: gnus;

Reported by: "John Wiegley" <jwiegley <at> gmail.com>

Date: Tue, 31 Jul 2012 02:41:02 UTC

Severity: normal

Tags: fixed

Found in version 5.130006

Fixed in version 24.4

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12097 in the body.
You can then email your comments to 12097 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bugs <at> gnus.org:
bug#12097; Package gnus. (Tue, 31 Jul 2012 02:41:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "John Wiegley" <jwiegley <at> gmail.com>:
New bug report received and forwarded. Copy sent to bugs <at> gnus.org. (Tue, 31 Jul 2012 02:41:02 GMT) Full text and rfc822 format available.

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

From: "John Wiegley" <jwiegley <at> gmail.com>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: "password" is not a valid password to auth-source.el
Date: Mon, 30 Jul 2012 21:32:34 -0500
I have the following in my ~/.authinfo:

machine 172.16.56.146 login Administrator password password port smb

The auth-source parser can't handle a password which is password.  I fixed
this rather stupidly with:

                   ((and (member elem tokens) (null pair))

In `auth-source-netrc-parse'.  But really the parser should be made a bit more
intelligent.  It's very hard code to read at the moment.

John


Ma Gnus v0.6
GNU Emacs 24.1.1 (x86_64-apple-darwin11.4.0, Carbon Version 1.6.0 AppKit 1138.47)
 of 2012-06-28 on vulcan.local
200 Leafnode NNTP daemon, version 2.0.0.alpha20110815a.luascript at newartisans.com 
500 Unknown command




Information forwarded to bugs <at> gnus.org:
bug#12097; Package gnus. (Wed, 05 Sep 2012 19:27:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "John Wiegley" <jwiegley <at> gmail.com>
Cc: 12097 <at> debbugs.gnu.org
Subject: Re: bug#12097: "password" is not a valid password to auth-source.el
Date: Wed, 05 Sep 2012 21:26:05 +0200
"John Wiegley" <jwiegley <at> gmail.com> writes:

> machine 172.16.56.146 login Administrator password password port smb
>
> The auth-source parser can't handle a password which is password.  I fixed
> this rather stupidly with:
>
>                    ((and (member elem tokens) (null pair))
>
> In `auth-source-netrc-parse'.

Could you send a patch?

> But really the parser should be made a bit more intelligent.  It's
> very hard code to read at the moment.

Yes, it could be clearer.

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen




Information forwarded to bugs <at> gnus.org:
bug#12097; Package gnus. (Tue, 25 Dec 2012 17:34:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "John Wiegley" <jwiegley <at> gmail.com>
Cc: 12097 <at> debbugs.gnu.org
Subject: Re: bug#12097: "password" is not a valid password to auth-source.el
Date: Tue, 25 Dec 2012 18:32:11 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

>> The auth-source parser can't handle a password which is password.  I fixed
>> this rather stupidly with:
>>
>>                    ((and (member elem tokens) (null pair))
>>
>> In `auth-source-netrc-parse'.
>
> Could you send a patch?

I've now added that code to the place I thought was most likely.

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 25 Dec 2012 17:34:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 24.4, send any further explanations to 12097 <at> debbugs.gnu.org and "John Wiegley" <jwiegley <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 25 Dec 2012 17:34:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 23 Jan 2013 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 229 days ago.

Previous Next


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