all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: authentification with url-retrieve
Date: Thu, 29 Jan 2009 23:05:01 +0100	[thread overview]
Message-ID: <874ozhlqeq.fsf@tux.homenetwork> (raw)
In-Reply-To: 86wscdc1qy.fsf@lifelogs.com

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





  reply	other threads:[~2009-01-29 22:05 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
2009-01-29 22:05                           ` Thierry Volpiatto [this message]
     [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=874ozhlqeq.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.