Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: MML multipart tag -- what does it do?
Date: Sat, 04 Aug 2001 19:00:18 +0200	[thread overview]
Message-ID: <ilu1ymriwv1.fsf@barbar.josefsson.org> (raw)
In-Reply-To: <87zo9fq1az.fsf@deneb.enyo.de> (Florian Weimer's message of "Sat, 04 Aug 2001 17:42:28 +0200")

Florian Weimer <fw@deneb.enyo.de> writes:

> Personally, I consider the '<#!part sign=pgpmime>' stuff a completely
> broken design.  IMHO, MML should as closely as possible match the MIME
> structure of a message.  I still don't know why the initial proposal
> for something like this:
> 
>    <#multipart type=signed>
>    <#part>
>    This is a signed multipart.
>    </#part>
>    <#part type="text/plain" filename="~/file2"
>      disposition=attachment description="signed attachment">
>    <#/part>
>    <#/multipart>
> 
> was superseded by this odd construct.

This requires users to know how the sign/encrypt mechanism they use
are implemented in MIME.  E.g., if you want to sign using PGP/MIME you
must write the above, if you want to encrypt with S/MIME you need to
write something completely different because S/MIME encryption doesn't
use RFC 1847.  Maybe users shouldn't need to know that.

To me it feels more user friendly that you specify that a certain part
should be signed/encrypted in the definition of that part.  OTOH users
probably never need this level of fine control anyway, they want the
whole message signed or encrypted.

OTTH I agree it's a step away from having the MML structure closely
match the MIME structure, and that might be bad.  But Gnus already
creates MIME parts implicitely (by leaving out a top-level
<multipart>, or simply using two different and non-unifiable character
sets in one part) so the rule is already broken, and I think it's for
the better.

Btw, the following works:

<multipart sign=smime>
<part>
This is a signed multipart
<part filename=~/file2 description="signed attachment">
</multipart>



  reply	other threads:[~2001-08-04 17:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-03 16:44 Kai Großjohann
2001-08-03 17:35 ` Simon Josefsson
2001-08-03 18:16   ` ShengHuo ZHU
2001-08-03 17:52 ` ShengHuo ZHU
2001-08-03 19:21   ` Kai Großjohann
2001-08-03 21:05     ` Nuutti Kotivuori
2001-08-04 15:42       ` Florian Weimer
2001-08-04 17:00         ` Simon Josefsson [this message]
2001-08-05 16:06           ` Florian Weimer
2001-08-05 19:54             ` Simon Josefsson
2001-08-17 10:57           ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ilu1ymriwv1.fsf@barbar.josefsson.org \
    --to=jas@extundo.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).