[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus and pgp

From: Ted Zlatanov
Subject: Re: Gnus and pgp
Date: Thu, 14 Jan 2010 08:22:35 -0600
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.90 (gnu/linux)

On Thu, 14 Jan 2010 01:19:38 +0100 Richard Riley <> wrote: 

RR> Ted Zlatanov <> writes:
>> On Wed, 06 Jan 2010 01:42:48 +0100 Richard Riley <> 
>> wrote: 
RR> Ted Zlatanov <> writes:
>>>> Let's debug it.  Run the following in a clean (emacs -q) instance:
>>>> (require 'epa-file)
>>>> (require 'auth-source)
>>>> (require 'cl)
>>>> (epa-file-enable)
>>>> (setq auth-source-debug t ; use `message' to log messages
>>>> epa-file-cache-passphrase-for-symmetric-encryption t
>>>> auth-sources '((:source "~/.authinfo.gpg" :host t :protocol t)))
>>>> (auth-source-user-or-password "login" "" "imap")
>>>> What does the last call return (should be your login name)?  What's in
>>>> *Messages*?
RR> It returns my login name ok. 
RR> *Messages* just has
RR> auth-source-user-or-password: found (login)=(shamrock) for 
RR> "shamrock"
RR> I also got prompted for a symmetric password to unlock the authinfo.gpg
RR> Note that my login name for the remote host is, in this case, the same
RR> as my local login id.
>> If this works, it should work for all other IMAP cases as well.  Look at
>> nnimap.el, it has the same call in nnimap-open-connection.  Can you try
>> the auth-source-user-or-password call inside your regular sessions
>> (instead of `emacs -q'), where auth-source.el doesn't work for you?  Is
>> there something you see that might hint what the problem is?
>> Ted

RR> The issue was with nntp selects not other IMAPS as  recall.

Can you try the call with "nntp" as the protocol and the right host name?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]