Subject: PGP as attachment - how?

From: Daniel Albuschat <[email-masked]>
Date: Thu, 30 Jan 2003 23:16:02 +0100 (CET)

Hi,

It could be that I've ask this question already
on this list but I have problems with pine
right now related to the pgp (using gnupg) signing/
encrypting.
I've discovered that I've send mails with pgp
signature only, but without body, sometimes...

I'm using the filters created by pinepgp right
now, but that's not satisfying since it is 
the standard procedure to send the pgp signature
as an attachment and not inlined, what the pinegpg
filter does.

I've looked at the created filter and saw that it
only was a /usr/bin/gpg-sign entry... so it was clear
that i'll have to check gpg command line options for
creating an attached signature. I found the -b
switch, but it turned out that it was the opposite
of what i wanted. :-)

So, my first question is, does anybody know, how I 
can set up either gpg or pine to attach the signature?

But that not all:
I can't read mails with signatures/encrypted messages
as attachment. I only can read pgp-inlined messages,
at best created with pine.

So I need to filter the whole mail, including the
attachment... or so.

Does anybody know a solution for _clean_ gpg signing
and encrypting?

Thanks, Daniel

--
eat(this); // delicious suicide
-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Joel Boonstra <[email-masked]>
Date: Fri, 31 Jan 2003 09:52:51 -0500 (EST)

<snip>
> So I need to filter the whole mail, including the

Try:

  http://www.washington.edu/pine/pine-info/2001.10/msg00028.html

for the second part of your question.  As to the first, I can't be of
much help there...

-- 
[ joel boonstra | [email-masked] ]

---

From: Erik Parker <[email-masked]>
Date: Fri, 31 Jan 2003 15:55:08 -0600 (CST)

That is the best way I've found.. I use:

:0 fw
* ^Content-Type: multipart/encrypted
| formail -i "Content-Type: text/plain; charset=US-ASCII"
##

:0 fw
* ^Content-Type: Application/PGP
| formail -i "Content-Type: text/plain; charset=US-ASCII"
##

## to handle multipart crapola from stuff
:0 fw
* ^Content-Type: application/pgp-signature
| formail -i "Content-Type: text/plain; charset=US-ASCII"
##

As for sending.. I use PinePG.. and it works fine for sending and recieving. I
send signature and messages in body. I'm not sure where you found that it is
standard to send them as an attachment.. but the only people I Email with GPG
that use attachments, are Mutt users. All the winlusers, and unix people i
send back and forth with, mostly in the security industry, use inline.