Subject: Re: PGP as attachment - how?

From: Daniel Albuschat <[email-masked]>
Date: Sat, 1 Feb 2003 23:16:36 +0100 (CET)

On Fri, 31 Jan 2003, Erik Parker wrote:

> 
> 
> 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.

Mh.. that puts the pgp sig inline, but the BEGIN PGP SIGNED MESSAGE
block is missing that way and so pinepg does not work.
Is there probably a way, I can get as nice pgp signed messages from
mutt users as these I get from other pine users? (i mean the
pinepgp preprocessed messages with invoked gpg)

cu, Daniel

--
eat(this); // delicious suicide

---

From: Pierre-Philipp Braun <[email-masked]>
Date: Wed, 5 Feb 2003 18:10:38 +0100 (CET)

Friday 2003-01-31 @15:55 (-0600), Erik Parker wrote,
> | formail -i "Content-Type: text/plain; charset=US-ASCII"

Thanks for this. I don't mind recieving signatures into body since pine
is now able to understand those inline.

> send back and forth with, mostly in the security industry, use inline.

But most of the people don't have any PGP enabled email client, so i
would like my pine to send signatures as attachments.

I'm wondering if either PinePG, pgp4pine, pgpenvelope or PinePgp would be
able to do that.

Any advice would be appreciated.
Thanks in advance.

-- 
Pierre-Philipp

---

From: Pierre-Philipp Braun <[email-masked]>
Date: Wed, 5 Feb 2003 19:09:13 +0100 (CET)

Wednesday 2003-02-05 @18:10 (+0100), Pierre-Philipp Braun wrote,
> I'm wondering if either PinePG, pgp4pine, pgpenvelope or PinePgp would be

I believe i need to tweek my patched Pine configuration do that. Kind of
automatic attachment rule (could i use Eduardo's rules.patch for that?).

The MIME format should be something like Application/PGP-SIGNATURE or
something BTW.

I would like my Pine to allways attach a PGP signature (by default if
possible).

There's probably there's a way to do that, combining existing features.

Any idea about combining Pine with some pine*pg scritps to join the
scripts output automaticly as attachments would be appreciated.

Thanks in advance.
-- 
Pierre-Philipp

---

From: Tim Baur <[email-masked]>
Date: Sat, 15 Feb 2003 03:47:07 -0800 (PST)

On Thu, 30 Jan 2003, Daniel Albuschat wrote:

> So, my first question is, does anybody know, how I
> can set up either gpg or pine to attach the signature?
[...]
> Does anybody know a solution for _clean_ gpg signing
> and encrypting?

ppf, pine-pgp-filters written by Doug Barton.

	http://dougbarton.net/FreeBSD/Downloads/

	===== Features

	In addition to the standard functions of encrypt/decrypt and
	sign/verify, I've also added a pseudo-filter to verify messages
	that were sent using MIME encoding to attach the signature. See
	INSTALL for how to use it. It's not possible for a sending filter
	to create these kinds of MIME messages, since Pine does not give
	the user the ability to twiddle attachments.

|^W

tbaur@arbor~/pine-pgp-filters-1.0: tail INSTALL
Pipe RAW message 1 to : ppf_mime
^G Help                       ^W Shown Text   ^R With Delimiter
^C Cancel      Ret Accept     ^Y Free Output

While this procedure is a little cumbersome the first time through, the
good news is that Pine will offer these choices as the defaults for
subsequent invocations of the | command during that same session. Once
you've viewed the processed message output, just type E (Exit Viewer) and
you're back to the message view you were in previously.

Overall, I'm pretty content with ppf. Quick clean code.

-tbaur