From: Ted Zlatanov <tzz@lifelogs.com>
To: help-gnu-emacs@gnu.org
Subject: Re: authentification with url-retrieve
Date: Thu, 29 Jan 2009 14:10:13 -0600 [thread overview]
Message-ID: <86wscdc1qy.fsf@lifelogs.com> (raw)
In-Reply-To: mailman.6157.1233227128.26697.help-gnu-emacs@gnu.org
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.
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
next prev parent reply other threads:[~2009-01-29 20:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.4912.1232012759.26697.help-gnu-emacs@gnu.org>
2009-01-15 17:34 ` authentification with url-retrieve Ted Zlatanov
2009-01-15 19:07 ` Thierry Volpiatto
2009-01-16 9:21 ` Thierry Volpiatto
[not found] ` <mailman.5022.1232098102.26697.help-gnu-emacs@gnu.org>
2009-01-16 19:06 ` Ted Zlatanov
2009-01-16 22:22 ` Thierry Volpiatto
[not found] ` <mailman.5088.1232144955.26697.help-gnu-emacs@gnu.org>
2009-01-20 18:34 ` Ted Zlatanov
2009-01-20 20:19 ` Thierry Volpiatto
[not found] ` <mailman.5394.1232483138.26697.help-gnu-emacs@gnu.org>
2009-01-21 21:52 ` Ted Zlatanov
2009-01-22 14:19 ` Thierry Volpiatto
[not found] ` <mailman.5513.1232634379.26697.help-gnu-emacs@gnu.org>
2009-01-26 15:31 ` Ted Zlatanov
2009-01-26 19:03 ` Thierry Volpiatto
2009-01-29 10:58 ` Thierry Volpiatto
[not found] ` <mailman.6157.1233227128.26697.help-gnu-emacs@gnu.org>
2009-01-29 20:10 ` Ted Zlatanov [this message]
2009-01-29 22:05 ` Thierry Volpiatto
[not found] ` <mailman.6196.1233267107.26697.help-gnu-emacs@gnu.org>
2009-01-30 15:39 ` Ted Zlatanov
2009-01-15 9:39 Thierry Volpiatto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86wscdc1qy.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).