From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: authentification with url-retrieve
Date: Thu, 29 Jan 2009 11:58:37 +0100 [thread overview]
Message-ID: <871vume5uq.fsf@tux.homenetwork> (raw)
In-Reply-To: 87eiypyjnv.fsf@tux.homenetwork
Hi Ted!
Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
> Ted Zlatanov <tzz@lifelogs.com> writes:
>
>> On Thu, 22 Jan 2009 15:19:36 +0100 Thierry Volpiatto <thierry.volpiatto@gmail.com> wrote:
>>
>> TV> ,----
>> TV> | auth-source-user-or-password: get login for news.gmane.org (nntp)
>> TV> | /home/thierry/.authi: 0% (0/724)
>> TV> | /home/thierry/.authi: 100% (724/724)
>> TV> | auth-source-user-or-password: get password for news.gmane.org (nntp)
>> TV> | /home/thierry/.authi: 0% (0/724)
>> TV> | /home/thierry/.authi: 100% (724/724)
>>
>> Ah, I see it. It's parsing that file twice, once to get the login name
>> and again to get the password.
>>
>> The current auth-source API didn't allow me to batch this operation, so
>> I had to modify the API. You'll have to get the latest Gnus from CVS
>> (auth-source.el plus the files that use the new API, including
>> nntp.el). The changes will make their way into Emacs CVS as well, but I
>> don't know when.
>>
>> I tried it and it works for me, so please try it out and let me know if
>> you find any problems.
>
> Ok i will pull last Gnus as soon as possible.
> Thank you.
I have installed "No Gnus v0.11" and it seem to work fine.
My emacs version is:
,----
| GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.14.7)
| of 2009-01-26 on tux
`----
I have also enabled gpg-agent to avoid beeing prompted many time.
I start it with keychain.
(epa should have a time-out to cache passphrase, but i didn't find it)
In my config, i use variables that are not supported by the authinfo
scheme (e.g emms-lastfm...) so i fetch the login/password like that:
(don't call gpg one time for user and one time for password)
,----
| (setq emms-lastfm-user-pwd
| (auth-source-user-or-password '("login" "password")
| "ws.audioscrobbler.com:80"
| "http"))
|
| (setq emms-lastfm-username (car emms-lastfm-user-pwd))
| (setq emms-lastfm-password (cadr emms-lastfm-user-pwd))
`----
The same for anything-delicious.el that use actually curl and wget to
post.
So now when i start emacs, i am prompted only once for gpg
passphrase. :)
--
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France
next prev parent reply other threads:[~2009-01-29 10:58 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 [this message]
[not found] ` <mailman.6157.1233227128.26697.help-gnu-emacs@gnu.org>
2009-01-29 20:10 ` Ted Zlatanov
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871vume5uq.fsf@tux.homenetwork \
--to=thierry.volpiatto@gmail.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.