Gnus development mailing list
 help / color / mirror / Atom feed
* Re: gnus-PGP
  1999-09-24 14:57 gnus-PGP psadhukhan
@ 1999-09-24 11:54 ` Jaap-Henk Hoepman
  0 siblings, 0 replies; 7+ messages in thread
From: Jaap-Henk Hoepman @ 1999-09-24 11:54 UTC (permalink / raw)
  Cc: ding, xemacs


Which version of mailcrypt are you using? (and which version of pgp)?

Jaap-Henk

On 24 Sep 1999 14:57:28 +0000 psadhukhan@hss.hns.com writes:
> Hi all PGP users,
> I use GNUS 5.5 on Xemacs 20.4 on redhat 6.0 linux.
> I have configured PGPi on my PC. It works fine on the commandline.
> I have not been able to make it work thru GNUS. I have read all faqs
> and info. I am using mailcrypt to connect PGP to gnus.
> The problem is as follows.
>           when i say encrypt, gnus prompts me that it will be encrypted
> and then asks me if i want to sign it, irrespective of my answer it
> says PGP exits with status 127. And if i send it now it says
> translation error.
> Please help me ,as i am stuck in this for a fews days now.
> Thanks in advance
> Regards
> Prateek
> 
> 
> 
> 
> --------------------------------------------------------------------------
>   *** There is never a can or a can't but always a will or a won't ***    
> Prateek Sadhukhan, [Software Engineer],                                   
> Hughes Software Systems Ltd.,INDIA.[Off.Tel.:+91-124-346666(Ext:2924)].   
> --------------------------------------------------------------------------
> 
> 

-- 
Jaap-Henk Hoepman             | Come sail your ships around me
Dept. of Computer Science     | And burn these bridges down
University of Twente          |       Nick Cave - "Ship Song"
Email: hoepman@cs.utwente.nl === WWW: www.cs.utwente.nl/~hoepman
Phone: +31 53 4893795 === Secr: +31 53 4893770 === Fax: +31 53 4894590
PGP ID: 0xF52E26DD  Fingerprint: 1AED DDEB C7F1 DBB3  0556 4732 4217 ABEF


^ permalink raw reply	[flat|nested] 7+ messages in thread

* gnus-PGP
@ 1999-09-24 14:57 psadhukhan
  1999-09-24 11:54 ` gnus-PGP Jaap-Henk Hoepman
  0 siblings, 1 reply; 7+ messages in thread
From: psadhukhan @ 1999-09-24 14:57 UTC (permalink / raw)



Hi all PGP users,
I use GNUS 5.5 on Xemacs 20.4 on redhat 6.0 linux.
I have configured PGPi on my PC. It works fine on the commandline.
I have not been able to make it work thru GNUS. I have read all faqs
and info. I am using mailcrypt to connect PGP to gnus.
The problem is as follows.
          when i say encrypt, gnus prompts me that it will be encrypted
and then asks me if i want to sign it, irrespective of my answer it
says PGP exits with status 127. And if i send it now it says
translation error.
Please help me ,as i am stuck in this for a fews days now.
Thanks in advance
Regards
Prateek




--------------------------------------------------------------------------
  *** There is never a can or a can't but always a will or a won't ***    
Prateek Sadhukhan, [Software Engineer],                                   
Hughes Software Systems Ltd.,INDIA.[Off.Tel.:+91-124-346666(Ext:2924)].   
--------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Gnus-PGP
@ 1999-09-27 12:03 psadhukhan
  0 siblings, 0 replies; 7+ messages in thread
From: psadhukhan @ 1999-09-27 12:03 UTC (permalink / raw)



Hi,
Thanks to all of u who helped me, Jaanp,Rupa,Nathan. I am trying out
the things told by you.
Let me see if I can make it to work.
I will get back to you people.
thanks and regards
prateek

--------------------------------------------------------------------------
  *** There is never a can or a can't but always a will or a won't ***    
Prateek Sadhukhan, [Software Engineer],                                   
Hughes Software Systems Ltd.,INDIA.[Off.Tel.:+91-124-346666(Ext:2924)].   
--------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnus-PGP
  1999-09-24 17:54 ` gnus-PGP psadhukhan
  1999-09-24 15:12   ` gnus-PGP Rupa Schomaker (list)
@ 1999-09-24 18:24   ` Nathan Williams
  1 sibling, 0 replies; 7+ messages in thread
From: Nathan Williams @ 1999-09-24 18:24 UTC (permalink / raw)
  Cc: ding, hoepman

[-- Attachment #1: Type: text/plain, Size: 1225 bytes --]

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):


[-- Attachment #2: Fix to mailcrypt that avoids -f/+BATCHMODE lossage in 6.5.1 --]
[-- Type: text/plain, Size: 1106 bytes --]

*** 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)))))

[-- Attachment #3: Type: text/plain, Size: 674 bytes --]


 - 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; <insert flame about start-process not having a way
       to handle stderr separately from stdout and depending on
       unreliable mixing semantics>). 
       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               

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnus-PGP
       [not found] <652567F6.00416332.00@sandesh.hss.hns.com>
@ 1999-09-24 17:54 ` psadhukhan
  1999-09-24 15:12   ` gnus-PGP Rupa Schomaker (list)
  1999-09-24 18:24   ` gnus-PGP Nathan Williams
  0 siblings, 2 replies; 7+ messages in thread
From: psadhukhan @ 1999-09-24 17:54 UTC (permalink / raw)
  Cc: xemacs


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?
thanks and regards
prateek

>>>>> "Jaap-Henk" == Jaap-Henk Hoepman <hoepman@cs.utwente.nl> writes:

    Jaap-Henk> Which version of mailcrypt are you using? (and which
    Jaap-Henk> version of pgp)?

    Jaap-Henk> Jaap-Henk





--------------------------------------------------------------------------
  *** There is never a can or a can't but always a will or a won't ***    
Prateek Sadhukhan, [Software Engineer],                                   
Hughes Software Systems Ltd.,INDIA.[Off.Tel.:+91-124-346666(Ext:2924)].   
--------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: gnus-PGP
  1999-09-24 17:54 ` gnus-PGP psadhukhan
@ 1999-09-24 15:12   ` Rupa Schomaker (list)
  1999-09-24 18:24   ` gnus-PGP Nathan Williams
  1 sibling, 0 replies; 7+ messages in thread
From: Rupa Schomaker (list) @ 1999-09-24 15:12 UTC (permalink / raw)
  Cc: ding, hoepman, xemacs

psadhukhan@hss.hns.com writes:

> Hi,
> I am using PGPi 6.5.1

Thats your problem.  mailcrypt as shipped only knows the 2.x series,
the 5.x series, and some support for gpg (use mc-version to choose).
I've been hacking mailcrypt to support 6.5.1 but there are some *VERY*
braindead stuff in the batchmode of pgp 6.5.1 that forces ugly hacks
in the parsing code.

You can try setting pgp 6.x to compatability mode (read the pdf that
comes with pgp) and see if it works.  I got far enough into my hacks
before disconvering the flag that I didn't bother testing the
compatability. 

> 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?
> thanks and regards
> prateek
> 
> >>>>> "Jaap-Henk" == Jaap-Henk Hoepman <hoepman@cs.utwente.nl> writes:
> 
>     Jaap-Henk> Which version of mailcrypt are you using? (and which
>     Jaap-Henk> version of pgp)?
> 
>     Jaap-Henk> Jaap-Henk
> 
> 
> 
> 
> 
> --------------------------------------------------------------------------
>   *** There is never a can or a can't but always a will or a won't ***    
> Prateek Sadhukhan, [Software Engineer],                                   
> Hughes Software Systems Ltd.,INDIA.[Off.Tel.:+91-124-346666(Ext:2924)].   
> --------------------------------------------------------------------------
> 

-- 
Rupa (rupa@rupa.com for normal email)
Please don't email duplicate replies.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* gnus-PGP
@ 1999-09-13 18:59 psadhukhan
  0 siblings, 0 replies; 7+ messages in thread
From: psadhukhan @ 1999-09-13 18:59 UTC (permalink / raw)



Hi all,
I use GNUS 5.5 on Xemacs 20.4 on redhat 6.0 linux.
I have configured PGPi on my PC. It works fine on the commandline.
I have not been able to make it work thru GNUS. I have read all faqs
and info. I am using mailcrypt to connect PGP to gnus.
The problem is as follows.
		when i say encrypt, gnus prompts me that it will be encrypted
and then asks me if i want to sign it, irrespective of my answer it
says PGP exits with status 127. And if i send it now it says
translation error.
Please help me ,as i am stuck in this for a fews days now. 
Thanks in advance
Regards
Prateek


--------------------------------------------------------------------------
  *** There is never a can or a can't but always a will or a won't ***    
Prateek Sadhukhan, [Software Engineer],                                   
Hughes Software Systems Ltd.,INDIA.[Off.Tel.:+91-124-346666(Ext:2924)].   
--------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-09-27 12:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-24 14:57 gnus-PGP psadhukhan
1999-09-24 11:54 ` gnus-PGP Jaap-Henk Hoepman
  -- strict thread matches above, loose matches on Subject: below --
1999-09-27 12:03 Gnus-PGP psadhukhan
     [not found] <652567F6.00416332.00@sandesh.hss.hns.com>
1999-09-24 17:54 ` gnus-PGP psadhukhan
1999-09-24 15:12   ` gnus-PGP Rupa Schomaker (list)
1999-09-24 18:24   ` gnus-PGP Nathan Williams
1999-09-13 18:59 gnus-PGP psadhukhan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).