Hello list, when using *netrc-lookup* with multiple login accounts for a (wildcard) host but without *user* (or *user-HOST*) set, then instead of failing because of the ambiguity (which login on the host shall actually be used?) the first entry of the host seen would yet have been used.
Also, because of a logically false check a rather random password would have been chosen if *netrc-lookup* was used to lookup only the password for an account on a host that has multiple .netrc entries _and_ the account itself has not an entry itself. I.e., instead of requiring that only a fallback entry (without a "login" name but only with a "password") will be chosen in that case, the first seen entry for that host would have been used. This fix is on [master]. Back on July 14th Mantas said is there a debug mode or something that would show where exactly s-nail is looking for the password? (variable names, agent, netrc...) and now i think that at least with -vv there should be some kind of "live-log" showing what is going on, because in the case mentioned first above the ambiguous case will silently be rejected, effectively resulting in $USER/-u/getpwuid(getuid()) being used, but which is rather likely not what is desired. I'll have to add that. Also on [master] there is a fix for verbose logging (-v) of SSL certificate chains: S-nail sofar used a time print routine that i had taken from curl(1), but it turned out that this only deals with UTC time objects, whereas i encountered a certificate with a GENERALIZEDTIME time object, resulting in a "Bogus certificate date" message (what we did). Now we use an undocumented but omnipresent (and terribly expensive) function from the OpenSSL library instead. This however means that the datetime shown is no longer in ISO 8601 form. (But it seems noone parsed the output :.) Finally [next] is stable, provides nice mailing list handling, stuff, and has some smoothening fixes too, like being able to write true/false not 1/0, visibly nicer I/O flushing before entering the editor etc. I think i try to spend one more week or so and create a new minor release for christmas. I mean, why not, we are not as mature as less(1) is -- at least not yet -- so let's stay in the rhythm... :) Ciao, --steffen ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ S-nail-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/s-nail-users
