From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: authentification with url-retrieve
Date: Tue, 20 Jan 2009 21:19:06 +0100 [thread overview]
Message-ID: <87y6x5spc5.fsf@tux.homenetwork> (raw)
In-Reply-To: 86hc3tg725.fsf@lifelogs.com
Hi Ted!
Ted Zlatanov <tzz@lifelogs.com> writes:
> On Fri, 16 Jan 2009 23:22:15 +0100 Thierry Volpiatto <thierry.volpiatto@gmail.com> wrote:
>
> TV> When i use encryption, (epa settings) i am prompt two times for
> TV> passphrase, is it normal?
>
>> Ted Z wrote:
>>> No, if you're caching the passphrase
>>> (epa-file-cache-passphrase-for-symmetric-encryption should be t). Can
>>> you check?
>
> TV> It is set to t, and it always prompt two times for passphrase.
>
> TV> One problem also is that passphrase is required for things that
> TV> doesn't need it: For example with gnus i am prompt for passphrase
> TV> when i start gnus to read my mails but i use fetchmail to retrieve
> TV> my mails. No password is set in gnus to contact pop service. Is it
> TV> possible to write in authinfo a pop entry with a dummy password or a
> TV> password set to nil?
>
> Sure, but let's be clear on what's happening.
>
So i am speaking about the use of a .authinfo.gpg.
About reading mails/news in gnus:
When i call gnus , i do not need any authentification because at this
moment, my mails are already retrieved by fetchmail. gnus have only to
bring my mails from my incoming directory to his directory (Mail).
But gnus try to read .authinfo.gpg if it exist.
> You start up Gnus. Then you are asked for what password? You enter it;
I am asked a first time for my gpg passphrase.
> what's in *Messages*?
/home/thierry/.authi: 0% (0/721)
/home/thierry/.authi: 100% (721/721)
> You are asked again for what password? You enter it again, what's new
I am asked a second time for my gpg passphrase.
> in *Messages*?
/home/thierry/.authi: 0% (0/721)
/home/thierry/.authi: 100% (721/721)
Now gnus start normally.
NOTE: actually i don't know why i, when i start again gnus i am prompt
again (two times) for my passphrase like if :
,----
| (setq epa-file-cache-passphrase-for-symmetric-encryption t)
`----
have no effect.
> The exact prompts and sequence of events are important. I also need to
> know your authinfo contents, suitably edited to keep your info private.
My .authinfo.gpg:
,----
| machine api.del.icio.us:443 port https login xxxxxx password xxxxxxx
| machine smtp.gmail.com port 587 login xxxxxx password xxxxxxxxx
`----
The smtp line replace the old settings in .gnus.el:
,----
| ;; (setq smtpmail-auth-credentials '(("smtp.gmail.com" 587
| ;; "my_email_as_login" "My_password")))
`----
My authinfo config in .emacs:
,----
| (require 'auth-source)
| (require 'epa-file)
| (epa-file-enable)
| (setq epa-file-cache-passphrase-for-symmetric-encryption t) ; VERY important
| (setq auth-sources '((:source "~/.authinfo.gpg" :host t :protocol t)))
`----
I hope i was clear, feel free to ask me more infos.
Thank you.
--
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France
next prev parent reply other threads:[~2009-01-20 20:19 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 [this message]
[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
[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=87y6x5spc5.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.