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.

Full log


View this message in rfc822 format

From: Daniel Gerber <dg <at> atufi.org>
To: 33826 <at> debbugs.gnu.org
Subject: bug#33826: 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
---




This bug report was last modified 5 years and 313 days ago.

Previous Next


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