Re: exmh and gnupg
Brent Welch <[email protected]>
| Newsgroups | gmane.mail.exmh.devel |
|---|---|
| Message-ID | <[email protected]> |
>>>[email protected] said: > > Don't forget the various pgp(*,path) entries in the exmh/exmh-bg > scripts. Make sure the pgp(gpg,path) is set to where the gpg > binary lives. > > Kevin All of those paths are set in the initial installation wish exmh.install > In message <[email protected]>, Brent Welch wr ites: > > I'm not a big expert on exmh/pgp integration, but I will see what I > > can do to help - I'm also cc'ing exmh-workers. If you have the > > "gpg" program on your PATH, and a keyring, then "it should just work". > > > > The "existence" criteria > > for a PGP subsystem is in the extrasInit.tcl function Pgp_Init. > > > > if { [file exists [set pgp($v,pubring)]] && > > [file isdirectory [set pgp($v,path)]] && > > [file exists $pgp($v,path)/$pgp($v,executable,version)]} { > > > > catch {exec $pgp($v,path)/$pgp($v,executable,version) > > $pgp($v,executable,versionflags)} voutput > > > > ExmhLog "exec returned $voutput" > > > > if {[regexp $pgp($v,executable,versionregexp) $voutput]} { > > > > The various gpg settings are in pgpBase.tcl > > > > set pgp(supportedversions) [list pgp pgp5 gpg pgp6] > > set pgp(gpg,enabled) 0 > > set pgp(gpg,fullName) "GnuPG" > > set pgp(gpg,executable,key) gpg > > set pgp(gpg,executable,verify) gpg > > set pgp(gpg,executable,encrypt) gpg > > set pgp(gpg,executable,sign) gpg > > set pgp(gpg,executable,version) gpg > > set pgp(gpg,executable,versionflags) "--version" > > set pgp(gpg,executable,versionregexp) "^gpg" > > set pgp(gpg,defaultPath) "$env(GNUPGHOME)" > > set pgp(gpg,defaultPath) "$env(HOME)/.gnupg" > > set pgp(gpg,configFile) "$pgp(gpg,defaultPath)/options" > > set pgp(gpg,pubring) "$pgp(gpg,defaultPath)/pubring.gpg" > > set pgp(gpg,secring) "$pgp(gpg,defaultPath)/secring.gpg" > > set pgp(gpg,pubringBkp) "$pgp(gpg,defaultPath)/pubring.gpg~" > > set pgp(gpg,keyGenCmd) "rm -f $pgp(gpg,pubringBkp) && gpg --gen-key" > > set pgp(gpg,ownPattern) "" > > set pgp(gpg,pat_MenuInner) {GPG} > > set pgp(gpg,pat_Version) "Version:\[ \t\]*(GNUPG|GnuPG).*" > > set pgp(gpg,list_Alien) {pgp5 pgp6 pgp} > > set pgp(pgp,list_Alien) {pgp5 pgp6 gpg} > > set pgp(pgp5,list_Alien) {gpg pgp pgp6} > > set pgp(pgp6,list_Alien) {pgp pgp5 gpg} > > > > >>>"Stephen P. Cohen" said: > > > Dear Brent, > > > > > > Just a quick question. I'm desperate to integrate my *working* GnuPG pro gram > > > with a good MH-style mailer like exmh. However Exmh seems unable to reco gnise > > > that I have a working gpg setup already. I've tried fooling it by tempor arily > > > emptying out my ~/.gnupg/ directory, then re-creating keys using exmh's own > > > "make key" function but I still get no PGP-related menu offered to me wh en I > > > go into 'Preferences'. > > > > > > Any hints would be appreciated. I will go with the first mailer that wor ks, > > > having tried already (and failed) with Gnus, MH-E, XFMail, Sylpheed and KMail. > > > > > > I want "seamless" integration, otherwise ... back to the command line. > > > > > > Thanks. > -- Brent Welch Software Architect, Panasas Inc Delivering the World's Most Scalable and Agile Storage Network www.panasas.com [email protected]