From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25264 Path: main.gmane.org!not-for-mail From: Nathan Williams Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-PGP Date: 24 Sep 1999 14:24:11 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: <652567F6.00416332.00@sandesh.hss.hns.com> Reply-To: nwilliams@primeon.com NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035162682 13098 80.91.224.250 (21 Oct 2002 01:11:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:11:22 +0000 (UTC) Cc: ding@gnus.org, hoepman@cs.utwente.nl Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA02369 for ; Fri, 24 Sep 1999 14:27:44 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id NAB19128; Fri, 24 Sep 1999 13:27:40 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 24 Sep 1999 13:27:50 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id NAA07734 for ; Fri, 24 Sep 1999 13:27:40 -0500 (CDT) Original-Received: from primeon.com ([207.138.150.75]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id OAA02347 for ; Fri, 24 Sep 1999 14:25:39 -0400 (EDT) Original-Received: from NWILLIAMS.primeon.com [172.16.25.49] by y2000.mail [127.0.0.1] with SMTP (MDaemon.v2.7.SP5.R) for ; Fri, 24 Sep 1999 14:25:43 -0400 Original-To: psadhukhan@hss.hns.com In-Reply-To: psadhukhan@hss.hns.com's message of "24 Sep 1999 17:54:51 +0000" User-Agent: Gnus/5.070092 (Pterodactyl Gnus v0.92) Emacs/20.3 Original-Lines: 46 X-MDaemon-Deliver-To: ding@gnus.org X-Return-Path: nwilliams@primeon.com Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25264 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25264 --=-=-= psadhukhan@hss.hns.com writes: > Hi, > I am using PGPi 6.5.1 > I get from the NEWS file in the /usr/lib/xemacs-20.4/lisp/mailcrypt > directory that the version is 3.4. > is there any other way of knowing the mailcrypt version? I've recently (in the last few days) been trying to make Mailcrypt 3.5.4, and PGP 6.5.1 (command line) talk to each other (with FSF Emacs 20.3.1 and pGnus 0.92, all on a Windows 98 system). Here's what I've learned: - 6.5.1 is close enough to 2.6.2 that mods should be based on mc-pgp.el rather than mc-pgp5.el. - Signing and encrypting can be made to work either by using the +COMPATIBLE flag throughout mc-pgp.el or changing key-regexp in mc-pgp-lookup-key to: "^\\(\\(DSS\\|RSA\\)\\s +\\S +\\s +0x\\(\\S *\\)\\s +\\S +\\s +\\(.*\\)\\)$" - The bug that prevents -f and +BATCHMODE from working together triggers a bug in mc-pgp-decrypt-region such that if one naievely removes +BATCHMODE, you get wedged asking for a password. This can be worked around with the following patch (which is more like what mc-pgp5.el and mc-gpg.el do; I presume that it isn't fixed here because it doesn't cause problems with PGP 2.6.2): --=-=-= Content-Disposition: attachment; filename=mc-pgp.el.patch1 Content-Description: Fix to mailcrypt that avoids -f/+BATCHMODE lossage in 6.5.1 *** src/mailcrypt-3.5.4/mc-pgp.el Tue Jul 20 10:20:56 1999 --- share/elisp/mc-pgp.el Thu Sep 23 15:28:38 1999 *************** *** 255,267 **** passwd (if key (mc-activate-passwd (cdr key) ! (and id ! (format "PGP passphrase for %s (%s): " ! (car key) (cdr key)))) (mc-activate-passwd id "PGP passphrase for conventional decryption: "))) (if passwd (setenv "PGPPASSFD" "0")) ! (setq args '("+verbose=1" "+batchmode" "+language=en" "-f")) (if mc-pgp-alternate-keyring (setq args (append args (list (format "+pubring=%s" mc-pgp-alternate-keyring))))) --- 253,264 ---- passwd (if key (mc-activate-passwd (cdr key) ! (format "PGP passphrase for %s (%s): " ! (car key) (cdr key))) (mc-activate-passwd id "PGP passphrase for conventional decryption: "))) (if passwd (setenv "PGPPASSFD" "0")) ! (setq args '("+verbose=1" "+language=en" "-f")) (if mc-pgp-alternate-keyring (setq args (append args (list (format "+pubring=%s" mc-pgp-alternate-keyring))))) --=-=-= - mc-pgp-decrypt-parser needs a lot of work. As-is, you get no data because the "Signature good" output (on stderr) from pgp ends up after the actual message, the opposite of what mc-pgp-decrypt-parser expects (This might also be a result of Windows or Emacs on Windows mixing stdout and stderr differently; ). This might be a place where ripping off from mc-pgp5.el would be productive. I'm still working on it. I hope this helps some. - Nathan --=-=-=--