GNU bug report logs - #33826
26.1; auth-source does not parse netrc files as documented

Previous Next

Package: emacs;

Reported by: Daniel Gerber <dg <at> atufi.org>

Date: Fri, 21 Dec 2018 16:22:02 UTC

Severity: normal

Tags: fixed

Found in version 26.1

Fixed in version 27.1

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 33826 in the body.
You can then email your comments to 33826 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 bug-gnu-emacs <at> gnu.org:
bug#33826; Package emacs. (Fri, 21 Dec 2018 16:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Gerber <dg <at> atufi.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 21 Dec 2018 16:22:02 GMT) Full text and rfc822 format available.

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

From: Daniel Gerber <dg <at> atufi.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1; auth-source does not parse netrc files as documented
Date: Fri, 21 Dec 2018 14:11:58 +0100
In describing "netrc" files, (info "(auth) Help for users") says 
that "The ‘machine’ is the server [...] You can also use ‘host’".
But the code does not quite support `host`: 
`auth-source-netrc-parse-entries` starts a new entry only with the 
keyword `machine`.

Also, currently multiple lines starting with `host` are just 
merged together. The issue would have been easier to nail down if 
the parser did some validation, like warning when one entry has 
multiple values for the same key (user, port, ...).

---
In GNU Emacs 26.1
Repository revision: 132b6b71fa7388aa2b1ad113d86c485b9c461209
---




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#33826; Package emacs. (Tue, 09 Jul 2019 23:20:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Daniel Gerber <dg <at> atufi.org>
Cc: 33826 <at> debbugs.gnu.org
Subject: Re: bug#33826: 26.1;
 auth-source does not parse netrc files as documented
Date: Wed, 10 Jul 2019 01:19:03 +0200
Daniel Gerber <dg <at> atufi.org> writes:

> In describing "netrc" files, (info "(auth) Help for users") says that
> "The ‘machine’ is the server [...] You can also use ‘host’".
> But the code does not quite support `host`:
> `auth-source-netrc-parse-entries` starts a new entry only with the
> keyword `machine`.

Yup; I've now removed that mention from the documentation.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 09 Jul 2019 23:20:03 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 33826 <at> debbugs.gnu.org and Daniel Gerber <dg <at> atufi.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 09 Jul 2019 23:20: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, 07 Aug 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 262 days ago.

Previous Next


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