Re: Enabling GPG Crypt & Key lookup on EXMH 2.7.2
"Julian Stacey" <[email protected]>
| Newsgroups | gmane.mail.exmh.user |
|---|---|
| Organization | http://berklix.com BSD Unix Linux Consultancy, Munich Germany |
| Message-ID | <[email protected]> |
[email protected] wrote: > > On Mon, 09 Jun 2008 23:28:32 +0200, Julian Stacey said: > > > Thanks both, I've got it working now. > > Well, nearly, with the exception that I have to keep typing passphrase. > > q-client is manually running, & I exported the env before calling exmh, > > & q-client is callable, but but "q-client list" show empty. > > That's probably at least partially due to the fact that the last time I touched > the PGP code (and I think I was the last to do so), I'm running exmh-2.7.2 on FreeBSD-6.2 > q-client didn't exist yet. After cd /usr/ports/mail/exmh2 ; make extract ie at architercture neutral level before any customising for FreeBSD specific as in 'make patch' called by macros of 'make all' There are just 2 q-client strings: lib/extrasInit.tcl: {pgp(getextcmd) pgpGetExtCmd {/usr/bin/q-client get %s} {Method to query external passphrase cache} lib/extrasInit.tcl: {pgp(delextcmd) pgpDelExtCmd {/usr/bin/q-client delete %s} {Method to invalidate external passphrase cache} & no more q-client dtrings after make patch. I would guess Exmh is missing some "q-client put" calls to load the socket the first time the passphrase is typed in gor gpg -d ? > Look under 'preferences' / 'General PGP Interface' - is the 'Keep PGP > passphrase' button what you're looking for? Harvey Eneman <[email protected]> wrote: > I think you need to set your pgpKeepPass to 1. Thanks, Yes I'd tried that before, but it had locked up, When I changed pgpKeepPass to 1, & then clicked in body on " Decrypt and verify with GnuPG" the display reduced from: This is a GnuPG signed and encrypted message Decrypt and verify with GnuPG This is a application/pgp It might be displayable with metamail. (Invoke menu with right button.) charset = US-ASCII format = text To just: PGP execution produced no messages. Now I realise the code needs extending to use eg "q-client put", I must abandon external till then, so I have also set Use external passphrase cache Off. & now all works. Valdis, If you fancy adding some TCL to call q-client put to load the values sometime, I can be a tester (though busy next few days). Thanks all for you advice. (BTW off topic I believe gpg-agent worked with claws-mail to load passphrases, but I got stuck with other problems there, so reverted to exmh :-) Julian -- Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www .berklix.com Mail just Ascii plain text. HTML & Base64 text are spam.