Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #105624 > unrolled thread

Re: netrc and password containing whitespace

Started byLele Gaifax <lele@metapensiero.it>
First post2016-03-24 16:03 +0100
Last post2016-03-24 16:03 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: netrc and password containing whitespace Lele Gaifax <lele@metapensiero.it> - 2016-03-24 16:03 +0100

#105624 — Re: netrc and password containing whitespace

FromLele Gaifax <lele@metapensiero.it>
Date2016-03-24 16:03 +0100
SubjectRe: netrc and password containing whitespace
Message-ID<mailman.99.1458831817.2244.python-list@python.org>
Random832 <random832@fastmail.com> writes:

> The implementation seems very basic... I ran into trouble trying to
> store entries with no password (with the idea in mind of having my
> program prompt for the password), though, out of curiosity, does ftp
> handle your quoted passwords?

Uhm, dunno :-) I think it's been more than two decades since my last use of
FTP...

I use it as a generic auths pocket, mainly for emails and IRC. I found the
glitch adding an entry for a new account in my offlineimap configuration.

> Also, I'm surprised that you're using .netrc for emacs - in my
> experience the file emacs uses is called .authinfo.

AFAICT, that's just the default file name stored in netrc-file, the format is
really the same.

Using .netrc has the advantage that other programs can use
it, like the cited offlineimap. Aside that, the functionality is exposed in
Emacs as netrc-xxx, and comes from net/netrc.el.

Cfr. also https://www.emacswiki.org/emacs/GnusAuthinfo.

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web