Mutt 1.20. --GPG--

2009-07-02 Thread Jan-Herbert Damm
Hello,

Testing Mutt 1.20.

GPG asks my passphrase but doesn't accept it.

I don't really know where to start looking for figuring this out.

from config.log:
---
  $ ./configure -C --prefix=/opt/mutt --enable-pop --enable-imap\
--enable-smtp --enable-debug --with-gss --with-gnutls --with-sasl --with-idn
--enable-hcache
---

output of version:
-
 $ /opt/mutt/bin/mutt -version
Mutt 1.5.20hg (2009-06-26)
[...]
System: Linux 2.6.27-14-generic (i686)
ncurses: ncurses 5.6.20071124 (compiled with 5.6)
libidn: 1.8 (compiled with 1.8)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Jun 15 2006 21:19:27)
Einstellungen bei der Compilierung:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  +USE_FCNTL  -USE_FLOCK   
+USE_POP  +USE_IMAP  +USE_SMTP  
-USE_SSL_OPENSSL  +USE_SSL_GNUTLS  +USE_SASL  +USE_GSS  +HAVE_GETADDRINFO  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  -CRYPT_BACKEND_GPGME  
-EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
+HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE  
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/opt/mutt/share/mutt"
SYSCONFDIR="/opt/mutt/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
--snip---

PS: after "make install" i manually changed permissions and group of
/opt/mutt/bin/mutt_dotlock, because install failed at it:

--
$  ls -l mutt_dotlock 
-rwxr-sr-x 1 jan mail 24118 2009-06-27 16:13 mutt_dotlock
--

hints greatly appreciated

jan


Re: Mutt 1.20. --GPG--

2009-07-02 Thread Rocco Rutte
Hi,

* Jan-Herbert Damm wrote:

> GPG asks my passphrase but doesn't accept it.

What gpg setup did you use? contrib/gpg.rc? It's not gpg that's asking
but mutt.  So maybe mutt doesn't call gpg at all or in a wrong way...

Rocco


pgp7cJuKZz5L7.pgp
Description: PGP signature


Re: Mutt 1.20. --GPG--

2009-07-02 Thread Jan-Herbert Damm
Rocco Rutte wrote on 02.07.09:
> Hi,
> 
> * Jan-Herbert Damm wrote:
> 
> > GPG asks my passphrase but doesn't accept it.
> 
> What gpg setup did you use? contrib/gpg.rc? It's not gpg that's asking
> but mutt.  So maybe mutt doesn't call gpg at all or in a wrong way...

I guess I'm running into the same trap as just a few days ago: the ubuntu
set up with the /etc/Muttrc.d/* files being sourced from /etc/Muttrc. Whereas
my /opt/mutt/etc/Muttrc does something else.

-
$ locate gpg.rc
/etc/Muttrc.d/gpg.rc
/home/jan/SRC/mutt-1.5.20hg/contrib/gpg.rc
/opt/mutt/share/doc/mutt/samples/gpg.rc
/usr/share/doc/mutt/examples/gpg.rc
- 

Let me fumble with this for a while. I am sure the answer resides in there
somewhere.

jan, and thanks!



Re: Mutt 1.20. --GPG--

2009-07-03 Thread Jan-Herbert Damm
Hi, 

> > * Jan-Herbert Damm wrote:
> > 
> > > GPG asks my passphrase but doesn't accept it.
> > 
> > What gpg setup did you use? contrib/gpg.rc? It's not gpg that's asking
> > but mutt.  So maybe mutt doesn't call gpg at all or in a wrong way...

Ok, it works fine now. The problem was in the direction pointed to by Rocco:
I aktually wasn't telling mutt at all how to call gpg. I copied the run
commands from the samples/gpg.rc into my ".muttrc" with only slightly
detailing the path to "pgpewrap".

I find that building my own mutt improved my understanding a lot because i was
forced to figure out the workings in detail. With the custom mutt install of
ubuntu on the other hand it seems that these workings are being hidden from
the user, which can lead to "selling him for dumb" (as the literal 
translation of a german figure of speech would phrase it).


greetings 

jan

> 
> I guess I'm running into the same trap as just a few days ago: the ubuntu
> set up with the /etc/Muttrc.d/* files being sourced from /etc/Muttrc. Whereas
> my /opt/mutt/etc/Muttrc does something else.
> 
> -
> $ locate gpg.rc
> /etc/Muttrc.d/gpg.rc
> /home/jan/SRC/mutt-1.5.20hg/contrib/gpg.rc
> /opt/mutt/share/doc/mutt/samples/gpg.rc
> /usr/share/doc/mutt/examples/gpg.rc
> - 
> 
> Let me fumble with this for a while. I am sure the answer resides in there
> somewhere.
> 
> jan, and thanks!

-- 
Bitte beachten Sie auch die Rückseite dieses Schreibens!