[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: authentification with url-retrieve
From: |
Thierry Volpiatto |
Subject: |
Re: authentification with url-retrieve |
Date: |
Thu, 29 Jan 2009 23:05:01 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) |
Ted, another thing:
Is there something to set to avoid tramp trying to read authinfo file in
the case we use ssh-agent and/or we /su(do)::/some_files?
Ted Zlatanov <tzz@lifelogs.com> writes:
> On Thu, 29 Jan 2009 11:58:37 +0100 Thierry Volpiatto
> <thierry.volpiatto@gmail.com> wrote:
>
> TV> (epa should have a time-out to cache passphrase, but i didn't find it)
>
> That's actually in a patch I will submit to Emacs once it's out of
> pretest and the CVS tree is open. You can find it in the emacs-devel
> archives if you want it sooner, let me know if you need a specific
> pointer.
I have it, i will try it and tell you how it work here.
Thank you.
http://article.gmane.org/gmane.emacs.devel/106168/match=epa
> TV> In my config, i use variables that are not supported by the authinfo
> TV> scheme (e.g emms-lastfm...) so i fetch the login/password like that:
> TV> (don't call gpg one time for user and one time for password)
>
> TV> ,----
> TV> | (setq emms-lastfm-user-pwd
> TV> | (auth-source-user-or-password '("login" "password")
> TV> | "ws.audioscrobbler.com:80"
> TV> | "http"))
> TV> |
> TV> | (setq emms-lastfm-username (car emms-lastfm-user-pwd))
> TV> | (setq emms-lastfm-password (cadr emms-lastfm-user-pwd))
> TV> `----
>
> TV> The same for anything-delicious.el that use actually curl and wget to
> TV> post.
>
> TV> So now when i start emacs, i am prompted only once for gpg
> TV> passphrase. :)
>
> Yeah, that's nice! It's exactly why I wrote it, and I want auth-source
> to be hooked into every package that can use it. So if you want, tell
> the emms-* maintainer about auth-source and maybe they will support it
> so you don't have to do this kind of specific customization. I can help
> with a patch if necessary.
>
> Thanks
> Ted
>
--
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France
- Re: authentification with url-retrieve, (continued)
- Message not available
- Re: authentification with url-retrieve, Ted Zlatanov, 2009/01/16
- Re: authentification with url-retrieve, Thierry Volpiatto, 2009/01/16
- Message not available
- Re: authentification with url-retrieve, Ted Zlatanov, 2009/01/20
- Re: authentification with url-retrieve, Thierry Volpiatto, 2009/01/20
- Message not available
- Re: authentification with url-retrieve, Ted Zlatanov, 2009/01/21
- Re: authentification with url-retrieve, Thierry Volpiatto, 2009/01/22
- Message not available
- Re: authentification with url-retrieve, Ted Zlatanov, 2009/01/26
- Message not available
- Message not available
- Re: authentification with url-retrieve, Thierry Volpiatto, 2009/01/26
- Re: authentification with url-retrieve, Thierry Volpiatto, 2009/01/29
- Message not available
- Re: authentification with url-retrieve, Ted Zlatanov, 2009/01/29
- Re: authentification with url-retrieve,
Thierry Volpiatto <=
- Message not available
- Re: authentification with url-retrieve, Ted Zlatanov, 2009/01/30