Re: [dispatch] Improve UX in Encrypted Email (distinguish between forwarded and otherwise wrapped messages)

Bernie Hoeneisen <bernie@ietf.hoeneisen.ch> Tue, 13 October 2020 21:56 UTC

Return-Path: <bernie@ietf.hoeneisen.ch>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD0103A1197 for <dispatch@ietfa.amsl.com>; Tue, 13 Oct 2020 14:56:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1iNX2nRBsJ02 for <dispatch@ietfa.amsl.com>; Tue, 13 Oct 2020 14:56:30 -0700 (PDT)
Received: from softronics.hoeneisen.ch (softronics.hoeneisen.ch [IPv6:2a01:4f8:c0c:15fc::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0A8B23A1196 for <dispatch@ietf.org>; Tue, 13 Oct 2020 14:56:29 -0700 (PDT)
Received: from localhost ([127.0.0.1]) by softronics.hoeneisen.ch with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from <bernie@ietf.hoeneisen.ch>) id 1kSSHT-0008ow-4u; Tue, 13 Oct 2020 23:56:27 +0200
Date: Tue, 13 Oct 2020 23:56:27 +0200
From: Bernie Hoeneisen <bernie@ietf.hoeneisen.ch>
X-X-Sender: bhoeneis@softronics.hoeneisen.ch
To: "Dale R. Worley" <worley@ariadne.com>
cc: dispatch@ietf.org
In-Reply-To: <875z7s55xo.fsf@hobgoblin.ariadne.com>
Message-ID: <alpine.DEB.2.22.394.2010132324520.18261@softronics.hoeneisen.ch>
References: <875z7s55xo.fsf@hobgoblin.ariadne.com>
User-Agent: Alpine 2.22 (DEB 394 2020-01-19)
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Mail-From: bernie@ietf.hoeneisen.ch
X-SA-Exim-Scanned: No (on softronics.hoeneisen.ch); SAEximRunCond expanded to false
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/2eF06YkVsksLnT9jT8wh3k0dNFk>
Subject: Re: [dispatch] Improve UX in Encrypted Email (distinguish between forwarded and otherwise wrapped messages)
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dispatch/>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Oct 2020 21:56:32 -0000

Hi Dale

On Fri, 2 Oct 2020, Dale R. Worley wrote:

> Bernie Hoeneisen <bernie@ietf.hoeneisen.ch> writes:
>> This I-D suggests a new Content-Type Header Field Parameter "forwarded":
>> If set to "yes", the contained message was forwarded; if set to "no", the
>> message was "wrapped" for signature/encryption with Header Protection.
>
> There's a category problem:  What you're trying to capture is "What is
> the significance of this body part within the whole structure?"  It does
> not describe the *type* of the contents of the body part.
>
> I've noticed this before in SIP, the idea that if you know the *type* of
> a body part, then you know its *significance*.  That works in the
> simplest cases, but it's like saying that you can always tell which
> parameter in a function call means what if you know their types.
>
> What we need is a new "Content-Semantics" header for parts of multipart
> bodies which describes the semantics of this part within the whole.
> E.g., "contained encrypted content" or "forwarded message".

No sure how exactely you suggest to apply such a header. The use case 
also includes situations that are not multipart, such as
Content-Type: message/RFC822.


In the following example, the upper part with Content-Type: message/rfc822 
is an "outer" message containing a forwarded message with Content-Type: 
text/plain (lower part). The suggestion in the I-D would look as follows:

   [...]
   Content-Type: message/rfc822; forwarded=yes

   Content-Type: text/plain; charset="us-ascii"
   [...]


Can you please clarify whether your suggestion would be to use:

   [...]
   Content-Type: message/rfc822
   Content-Semantics: forwarded

   Content-Type: text/plain; charset="us-ascii"
   [...]

or:

   [...]
   Content-Type: message/rfc822

   Content-Type: text/plain; charset="us-ascii"
   Content-Semantics: forwarded
   [...]

?

cheers,
  Bernie