nmh-workers
[Top] [All Lists]

Re: PGP & MH

1996-02-04 11:34:33
The following message is a courtesy copy of an article
that has been posted as well.

-----BEGIN PGP SIGNED MESSAGE-----

Our friend, goodwid(_at_)komodo(_dot_)CS(_dot_)ORST(_dot_)EDU (David Goodwin), 
wrote:

In article <xcd4tt8dszd(_dot_)fsf(_at_)woodlawn(_dot_)uchicago(_dot_)edu>,
Soren Dayton <csdayton+usenet(_at_)midway(_dot_)uchicago(_dot_)edu> wrote:
I'm not an MH user, but you should be able to use my PGP/MIME toolkit
to _read_ messages in that format.

I set up my mh stuff to read anything coming down the pipeline labelled as
application/pgp..

  Sure.  That is no problem.  But according to the pgp-mime draft, this
is  not going to be the name of the pgp type.  This is not going to be
the _structure_ of the pgp-mime types.  It is going to be very similar
to the MOSS stuff.  Signed and encrypted things will be multiparts (I
think).

  In fact, someone submitted a draft that would have made
application/pgp a type and it expired after getting a vigourous shaking
of a head.

I just encode the file with a filename such as "mh.pgp.asc" and put this line
in the components file for it..
#application/pgp [comment] /.../.../mh.pgp.asc

  *yuck*  Sounds _icky_.  :)

That seems to take care of things.. of course, you have to manually edit and
encode things, but that's not a big deal, since I don't use it THAT often.
However, if someone were to come up with a better way of doing things, I'm
flexible. :)

  what I _want_ to be able to do is something like:

#|application/pgp
...
#

which would pipe the content to the relevant thing.  In BNF ('cause this
is going to mh-workers :)

"#|" type "/" subtype
0*( ";"  attribute "=" value)
[ "(" comment ")" ]
[ "[" description "]" ]
EOL
1*line
[ "#" EOL ]

and the 1*line gets shoved off to mhn-compose-type/subtype or whatever.

Thoughts on this?  It would make it _much_ easier to add support for the
pgp-mime draft and things like that

Soren Dayton

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMRTgjFc7vV5umWRdAQEM2AQA7WnCobQm+l9ejf+eZjVGxBDNuWx9X6w6
o4PP2Xiqsz/gPqf2cnxgR9ENo3kcpchjSQIFJnA5J8QI5Y1NZPXSf4a92804SnPr
IbvyauwI9ORX2N4+RvGwp6uCqCsYSdPBY2Vtuwo2n+lRiMJP7pm5WeFO3VIm6ZUh
UNLnk0VlJag=
=Mdyq
-----END PGP SIGNATURE-----


<Prev in Thread] Current Thread [Next in Thread>
  • Re: PGP & MH, Soren Dayton <=