Re: [openpgp] Tag indicating a MIME content

Derek Atkins <derek@ihtfp.com> Thu, 07 July 2016 14:51 UTC

Return-Path: <derek@ihtfp.com>
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 AFC4A12D7CD for <openpgp@ietfa.amsl.com>; Thu, 7 Jul 2016 07:51:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ihtfp.com
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 C89XZqGWPyzz for <openpgp@ietfa.amsl.com>; Thu, 7 Jul 2016 07:51:08 -0700 (PDT)
Received: from mail2.ihtfp.org (MAIL2.IHTFP.ORG [204.107.200.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 400AB12D7CA for <openpgp@ietf.org>; Thu, 7 Jul 2016 07:51:07 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 0C540E2039; Thu, 7 Jul 2016 10:50:36 -0400 (EDT)
Received: from mail2.ihtfp.org ([127.0.0.1]) by localhost (mail2.ihtfp.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 16282-01; Thu, 7 Jul 2016 10:50:33 -0400 (EDT)
Received: from securerf.ihtfp.org (IHTFP-DHCP-159.IHTFP.ORG [192.168.248.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mocana.ihtfp.org", Issuer "IHTFP Consulting Certification Authority" (verified OK)) by mail2.ihtfp.org (Postfix) with ESMTPS id 52E1DE2030; Thu, 7 Jul 2016 10:50:33 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1467903033; bh=zOpKEa5yPAw4kcVL2o7A1EFCNqrlN9HdeUGtEUDbhgs=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=Wq0Yfo0EVghzx2D9NPk2bsrRhHzfyEYItTNBycbxeBopC1xBeok0gdIXXLM0M3Gp3 gOXGY6YWQUV1HlfgFuXVm3kL2eoZ4PxH77hCnW4ctdHc3nEBpBofgInOvGoS9/iogq h6binmp3fp7kV9PJjw/v4KHC/AVhBbo0IRav6aoQ=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.15.2/8.14.8/Submit) id u67EoWKm009294; Thu, 7 Jul 2016 10:50:32 -0400
From: Derek Atkins <derek@ihtfp.com>
To: Vincent Breitmoser <look@my.amazin.horse>
References: <87r3b5q2zq.fsf@wheatstone.g10code.de> <20160707103506.GA29299@littlepip.fritz.box>
Date: Thu, 07 Jul 2016 10:50:32 -0400
In-Reply-To: <20160707103506.GA29299@littlepip.fritz.box> (Vincent Breitmoser's message of "Thu, 7 Jul 2016 12:35:06 +0200")
Message-ID: <sjmeg75pknb.fsf@securerf.ihtfp.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/pMJg-2He5d5tLI2oq36AKcHHl68>
Cc: openpgp@ietf.org
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:51:10 -0000

Hi,

+1 on this proposal, but in response to Vincent I would propose that we
just remove the article completely, so it reads:

  ...  If it is 'm' (0x6d), then ....

-derek

Vincent Breitmoser <look@my.amazin.horse> writes:

> I support this.
>
> Nitpick, should this be "an" rather than "a" m?
>
>  - V
>
> Werner Koch(wk@gnupg.org)@Thu, Jul 07, 2016 at 10:14:17AM +0200:
>> Hi,
>> 
>> 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.
>> 
>> 
>> Shalom-Salam,
>> 
>>    Werner
>> 
>> -- 
>> Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
>>  /* Join us at OpenPGP.conf  <https://openpgp-conf.org> */
>> 
>> _______________________________________________
>> openpgp mailing list
>> openpgp@ietf.org
>> https://www.ietf.org/mailman/listinfo/openpgp
> _______________________________________________
> openpgp mailing list
> openpgp@ietf.org
> https://www.ietf.org/mailman/listinfo/openpgp

-- 
       Derek Atkins                 617-623-3745
       derek@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant