Gnus development mailing list
 help / color / mirror / Atom feed
* Mime PGP for pgnus
@ 1999-03-03 19:54 James H. Cloos Jr.
  1999-03-04  3:18 ` Anil B. Somayaji
  1999-03-05 19:52 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 4+ messages in thread
From: James H. Cloos Jr. @ 1999-03-03 19:54 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This was originally written as an aside on another post, but I think
it deserves its own thread.

Right now, in order to sign a MIME message with, eg mailcrypt, one
must first run mml-to-mime on the buffer.  

The arguably proper approach is of course to use MML to indicate that
the enclosed part should be signed a/o encrypted.  A message body
might look like (leaving out the octothorpes so it gets posted as is):

<multipart type=signed>
<part type=text/plain>
This is the message
<part type=application/pgp-signature elisp=mc-gen-detatched-sig></part>
</multipart>

where mc-gen-detatched-sig would be a function for mml-generate-mime
to call when processing that part.  Perhaps it should be in the
multipart/signed tag rather than the application/pgp-signature tag,
though.

Or, a new tag could be defined:

<mc-sign>
This is the message
</mc-sign>

In this case, mml would need to have support for other packages to
register tags and the functions that implement them.

Any thoughts on which syntax is better from the UI perspective?  In
either case, there would be mc-sign and mc-encrypt equivilents which
insert the necessary mml, so the only question is how things should
look in the buffer....

P.S.  I'd have used mml-quote-region on the mml examples so that the
      octothorpes could be left in, but then the signature wouldn't
      be valid....  Another example of why this is needed.

- -JimC
- -- 
James H. Cloos, Jr.  <http://www.jhcloos.com/cloos/public_key> 1024D/ED7DAEA6 
<cloos@jhcloos.com>     E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.2 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE23ZNWmXqfF+19rqYRAih3AJ9+LZkRoq8vFLNv0RPjE8nRZe0csACfeuQF
8YPli+TKUdMA7R8+psFT/2s=
=bGbk
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-03-05 19:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-03 19:54 Mime PGP for pgnus James H. Cloos Jr.
1999-03-04  3:18 ` Anil B. Somayaji
1999-03-04 21:52   ` James H. Cloos Jr.
1999-03-05 19:52 ` Lars Magne Ingebrigtsen

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