Subject: GnuPG filter not displaying message

From: "Greg Rolling" <[email-masked]>
Date: Mon, 15 Apr 2002 20:33:14 +0000

Hello,

I am using Pine 4.44 with GnuPG 1.06 on a RedHat 7.2 PC.  When using GnuPG 
to display incoming messages, Pine looks as though it verifies the message 
correctly, but then none of the message body displays.  I have tried pinepg, 
pgp4pine, and my current display filters are:

_LEADING("-----BEGIN PGP SIGNED MESSAGE-----")_ /usr/bin/gpg --verify
_LEADING("-----BEGIN PGP MESSAGE-----")_ /usr/bin/gpg -d

When I copy the message from my /var/spool/mail file, I am able to verify 
and decrypt correctly.  I have searched the internet and google for days, 
read man pages but am coming up somewhat unlucky.  Has anyone else seen this 
and have any suggestions?

Thanks,

Greg

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Richard Stevenson <[email-masked]>
Date: Tue, 16 Apr 2002 10:33:24 +1200 (NZST)

> and have any suggestions?

One:  pgpenvelope <http://pgpenvelope.sourceforge.net/>.  It works
flawlessly for me here :)

Cheers

Richard

-- 
Richard Stevenson, Systems Specialist, Xtra Limited
Phone: +64 9 355 5231   Mobile: +64 25 290 3101   Pager: +64 26 100 155

  In any given problem, Joe Monk will search his or her own memory first for
  an answer, analyse the problem, and eventually RTFM. Joe Luser will start
  flailing his or her hands wildly, bleating 'help me, help me!'.
    -- Queen Of Swords, in the Monastery

---

From: Edo Chappa <[email-masked]>
Date: Mon, 15 Apr 2002 15:41:30 -0700 (PDT)

*** Greg Rolling ([email-masked]) wrote in the pine-info list today:

:) I am using Pine 4.44 with GnuPG 1.06 on a RedHat 7.2 PC.  When using
:) GnuPG to display incoming messages, Pine looks as though it verifies
:) the message correctly, but then none of the message body displays.  I
:) have tried pinepg, pgp4pine, and my current display filters are:
:)
:) _LEADING("-----BEGIN PGP SIGNED MESSAGE-----")_ /usr/bin/gpg --verify
:) _LEADING("-----BEGIN PGP MESSAGE-----")_ /usr/bin/gpg -d
:)
:) When I copy the message from my /var/spool/mail file, I am able to
:) verify and decrypt correctly.  I have searched the internet and google
:) for days, read man pages but am coming up somewhat unlucky.  Has anyone
:) else seen this and have any suggestions?

You are missing the _TMPFILE_ entry in your definition of the filter.
The _TMPFILE_ must be the input and output and your filter. You should
define your filters to be something like

_LEADING("something")_ /path/to/script _TMPFILE_

and script be something like

/usr/bin/gpg --verify $1 > something; mv something $1

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/