Does GnuPG implement MIME support?

Nathan Thompson-Amato ndt at
Sat Jul 15 10:39:26 CEST 2000

Thomas Roessler wrote:
> On 2000-07-14 20:43:47 -0700, Nathan Thompson-Amato wrote:
> > I'm wondering if GnuPG implements MIME support, as in
> > RFC 2015 (, or if
> > this is left to the MUA.
> As far as I know, it's left to the MUA, and that's
> actually a good thing: As soon as you have a MUA whith
> reasonably decent MIME support, you don't want the crypto
> back-end to get into your way, MIME-wise.

Yes, and Evolution has pretty good MIME support.  Good call.

My major concern at this point is that it'll make a mess of the current
code if I decrypt a MIME'd PGP message, then have to send the results
back through the MIME decoder to handle other MIME types.  But that's my
problem. :-)

> Just write the complete MIME-formatted body (including
> MIME headers!) out to the back-end, and let the back-end
> create the signature or encrypted data.

Totally.  Output should be cake.

[ caveats about forwarded messages snipped ]

> Note, BTW, that forwarding messages as message/rfc822 body
> parts can get kind of tough when you are signing: With
> PGP/MIME, you have to make sure that you stick with
> _strict_ MIME, and avoid _any_ 8bit encodings.

I'm a bit confused.  RFC 822 says it only allows ASCII characters, and I
could've sworn ASCII was 7-bit.  Do you just mean that I need to make
sure that restriction is enforced?

> > I ask because I'm going to try my hand at implementing
> > transparent GnuPG/PGP support in Evolution
> > (, and I'd
> > like to clarify just how much work I should expect
> > GnuPG to do for me.
> What's on your web pages looks nice, though _very_
> Outlook-like. ;-)

Thanks, though at this point none of it's my work.  Please forward your
lauds to the good folks at Helix Code. :-)

> Will Evolution's calendar be able to read ical ~/.calendar
> files? (Not iCalendar, you say that, but ical, like in
> /usr/bin/ical.)

I doubt it.  I'm sure the Evolution people wouldn't mind it if somebody
added support, though.  ;-)

Thanks again for your advice,


More information about the Gnupg-devel mailing list