Re: Does PGP 6.5 actually work with exmh?

Neil W Rickert <[email protected]>
Newsgroups gmane.mail.exmh.user,gmane.mail.exmh.devel
Message-ID <[email protected]>
Neil W Rickert <[email protected]> wrote:

>  exmh seems to work adequately with pgp2, pgp5 or gnupg.

>  It does not work with 6.5.8 as best I can tell.

I reported that to exmh-users.  I guess I should also send this
to exmh-workers, since it contains a patch.

>...

>  4:	When starting up, exmh produces a popup window:

>			PGP 6.5 Init
>		The name specified in your PGP
>		6.5 config file couldn't be
>		unambiguously found in your
>		keyrings !

In summary, I reported that the interface with pgp-6.5.8 was broken,
and that it could not properly recognize keys.

This was apparently because I had "compatible" in my "pgp.cfg"
file.  The following patch corrects the problem:

--- pgpPgp65.tcl	2003/05/07 19:58:19	1.1
+++ pgpPgp65.tcl	2003/05/07 20:02:17
@@ -68,7 +68,7 @@
 #############
 # Exec_Batch
 # Batchmode flags
-set pgp(pgp6,flags_batch) {+armorlines=0 "+comment=$pgp(pgp6,comment)" +batchmode=on +verbose=0 +pager=cat}
+set pgp(pgp6,flags_batch) {+armorlines=0 "+comment=$pgp(pgp6,comment)" +batchmode=on +compatible=off +verbose=0 +pager=cat}
 #
 proc Pgp_pgp6_PassFdSet {} {
             global env

  --- end of patch ---

Note that it is still buggy.  There are still key recognition
problems.

When checking encrypted mail, it always asks me for the passphrase of
my DSS key, even if the message was encrypted with my RSA key.  This
happens to work, since I use the same passphrase for both.

I also have the interesting case of a message that is signed
with exmh/gnupg:

	the signature verifies correctly with exmh/gnupg

	the signature verifies correctly with pgp6 command line.

	the signature does not verify with exmh/pgp6

 -NWR
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.