Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: pgp 6.5.8 and gnus
Date: Tue, 27 Jul 2004 01:07:31 +0200	[thread overview]
Message-ID: <iluk6wqtljg.fsf@latte.josefsson.org> (raw)
In-Reply-To: <u8z658a78tx.fsf@mm117419-pc.MITRE.ORG>

David S Goldberg <david.goldberg6@verizon.net> writes:

> I haven't used pgp in years now that my company standardized on
> s/mime.  I have to deal with a customer who uses pgp.  So I built pgp
> 6.5.8 on a Sun box and would like to use gnus with it.  I assume I'm
> supposed to use mml-secure-message-encrypt-pgp to send him an
> encrypted message.  I looked at the pgg documentation and it seems
> that setting pgg-default-scheme to pgp5 is necessary.  But when I do
> that, I get an error that pgg-pgp5-encrypt-region is being called with
> a wrong number of arguments.  It looks like something is sticking a t
> at the end of it.  Am I doing something wrong?  Is there a bug?  Is
> there a better way to do this?

You could try GnuPG.  Or the patch below.  Do you know whether PGP
6.5.8 support encryption with signatures?  If so, how do you request
it on the command line?  As comparison, GnuPG has --encrypt --sign.

--- pgg-pgp5.el	20 May 2004 23:57:59 +0200	7.2
+++ pgg-pgp5.el	27 Jul 2004 01:05:08 +0200	
@@ -1,6 +1,6 @@
 ;;; pgg-pgp5.el --- PGP 5.* support for PGG.
 
-;; Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc.
+;; Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Created: 1999/11/02
@@ -142,7 +142,7 @@
 		 (buffer-substring (match-end 0)(progn (end-of-line)(point)))))
 	 2)))))
 
-(defun pgg-pgp5-encrypt-region (start end recipients)
+(defun pgg-pgp5-encrypt-region (start end recipients &optional sign)
   "Encrypt the current region between START and END."
   (let* ((pgg-pgp5-user-id (or pgg-pgp5-user-id pgg-default-user-id))
 	 (args




  reply	other threads:[~2004-07-26 23:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-26 21:32 David S Goldberg
2004-07-26 23:07 ` Simon Josefsson [this message]
2004-07-27 15:35   ` David S Goldberg
2004-07-27 16:55     ` Simon Josefsson
2004-07-27 17:01       ` David S Goldberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=iluk6wqtljg.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).