Re: [openpgp] Tag indicating a MIME content
Daniel Kahn Gillmor <dkg@fifthhorseman.net> Thu, 07 July 2016 14:35 UTC
Return-Path: <dkg@fifthhorseman.net>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE15612D759 for <openpgp@ietfa.amsl.com>; Thu, 7 Jul 2016 07:35:29 -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] 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 eRoFxxVrdz03 for <openpgp@ietfa.amsl.com>; Thu, 7 Jul 2016 07:35:28 -0700 (PDT)
Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by ietfa.amsl.com (Postfix) with ESMTP id 937B112D7C1 for <openpgp@ietf.org>; Thu, 7 Jul 2016 07:35:19 -0700 (PDT)
Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id 87BE4F98B; Thu, 7 Jul 2016 10:35:18 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id 675A41FFD5; Thu, 7 Jul 2016 10:35:17 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Werner Koch <wk@gnupg.org>, openpgp@ietf.org
In-Reply-To: <87r3b5q2zq.fsf@wheatstone.g10code.de>
References: <87r3b5q2zq.fsf@wheatstone.g10code.de>
User-Agent: Notmuch/0.22+69~gd812194 (https://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu)
Date: Thu, 07 Jul 2016 10:35:17 -0400
Message-ID: <87wpkxfrdm.fsf@alice.fifthhorseman.net>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/MA7MI8pu2plrF4Vi2bPNwRTxCkI>
Subject: Re: [openpgp] Tag indicating a MIME content
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp/>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Jul 2016 14:35:30 -0000
On Thu 2016-07-07 04:14:17 -0400, Werner Koch <wk@gnupg.org> wrote: > I recall that an indication for a MIME content has been proposed many > years ago but might have been forgotten. Thus I propose this small > change for 4880bis: > > --8<---------------cut here---------------start------------->8--- > diff --git a/middle.mkd b/middle.mkd > index 033f11f..5519be3 100644 > --- a/middle.mkd > +++ b/middle.mkd > @@ -2156,7 +2156,8 @@ ## {5.9} Literal Data Packet (Tag 11) > may need line ends converted to local form, or other text-mode > changes. The tag 'u' (0x75) means the same as 't', but also > indicates that implementation believes that the literal data > - contains UTF-8 text. > + contains UTF-8 text. If it is a 'm' (0x6d), then it contains a > + MIME message body part [](#RFC2045). > > Early versions of PGP also defined a value of 'l' as a 'local' > mode for machine-local conversions. RFC 1991 [](#RFC1991) > --8<---------------cut here---------------end--------------->8--- > > > MIME has several advantages: Interpretation of the plaintext can be done > without considering the context (e.g. part of a PGP/MIME message or > standalone). The encoding of the message can be described without > resorting to the unprotected armor header. <nohats> I support this proposal. Should we also be deprecating 't' in favor of 'u' now that UTF-8 support is ubiquitous, and charset munging can be problematic? --dkg
- Re: [openpgp] Tag indicating a MIME content Werner Koch
- Re: [openpgp] Tag indicating a MIME content David Shaw
- Re: [openpgp] Tag indicating a MIME content David Shaw
- Re: [openpgp] Tag indicating a MIME content Jon Callas
- Re: [openpgp] Tag indicating a MIME content Derek Atkins
- Re: [openpgp] Tag indicating a MIME content Daniel Kahn Gillmor
- Re: [openpgp] Tag indicating a MIME content Wyllys Ingersoll
- Re: [openpgp] Tag indicating a MIME content Vincent Breitmoser
- [openpgp] Tag indicating a MIME content Werner Koch