Re: [openpgp] "OpenPGP Simple"

Phillip Hallam-Baker <hallam@gmail.com> Mon, 23 March 2015 19:57 UTC

Return-Path: <hallam@gmail.com>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C83091A065C for <openpgp@ietfa.amsl.com>; Mon, 23 Mar 2015 12:57:20 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 aVX3KHIJWQBa for <openpgp@ietfa.amsl.com>; Mon, 23 Mar 2015 12:57:18 -0700 (PDT)
Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 650711A1A28 for <openpgp@ietf.org>; Mon, 23 Mar 2015 12:57:14 -0700 (PDT)
Received: by wibgn9 with SMTP id gn9so73703636wib.1 for <openpgp@ietf.org>; Mon, 23 Mar 2015 12:57:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=yVurbbxvLfAzPznHsen0UunX/aI7MIpSYenbaR2UxyU=; b=nDvEVMHuG9ogyce66Yfl5IPiv7oaDZucMjV06lIsVgx9wxhSifhl2EsmBNrg7Q/c0E 78Q4GQYUakNPf+nXBJL2CT7Y6ionlwzQ+K4P5oBIO6n4hVzF52rDfPLUpGY6QsKC8JIb 2gTc1qVy+JEr+0p+AWGwlgUdg/zZSKpEnMidhMtb3DHIVHAOwg0erMtkjUYjk8WWmSk4 +tUYhycBEeQVEdLN2OvJclCWOSmiuyWqcOzVoiqtYO6XxqMUz/epXVFxWjqt5u3ynf4n kKjNsGWqp9Y9vFh2DbDwI0JEcPUgMQlbhY+ijv3yoaEXNYSOFj2mBxCUd9S/ibX+reu8 j4Zg==
X-Received: by 10.194.133.101 with SMTP id pb5mr1638828wjb.40.1427140633198; Mon, 23 Mar 2015 12:57:13 -0700 (PDT)
Received: from ?IPv6:2001:67c:370:136:3c9d:f65a:5519:d0c7? ([2001:67c:370:136:3c9d:f65a:5519:d0c7]) by mx.google.com with ESMTPSA id ew13sm12623100wid.1.2015.03.23.12.57.11 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Mar 2015 12:57:11 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (1.0)
From: Phillip Hallam-Baker <hallam@gmail.com>
X-Mailer: iPhone Mail (12B436)
In-Reply-To: <55106EE1.5060404@iang.org>
Date: Mon, 23 Mar 2015 14:57:12 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <D99D3324-7899-438A-A8F0-03AA203F1B52@gmail.com>
References: <9A043F3CF02CD34C8E74AC1594475C73AAFB3823@uxcn10-5.UoA.auckland.ac.nz> <55106EE1.5060404@iang.org>
To: ianG <iang@iang.org>
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/4L2bU6Y1JSExT-rjW08WaZo5Y3I>
Cc: "openpgp@ietf.org" <openpgp@ietf.org>
Subject: Re: [openpgp] "OpenPGP Simple"
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Mon, 23 Mar 2015 19:57:20 -0000

One of the thing I really hate in asinine one is the way they managed to take a bunch of good ideas and trash them.... 

Yes one integer format that expands as needed would be the way to go IFF this is reopened.



Sent from my difference engine


> On Mar 23, 2015, at 14:52, ianG <iang@iang.org> wrote:
> 
>> On 17/03/2015 02:10 am, Peter Gutmann wrote:
>> David Shaw <dshaw@jabberwocky.com> writes:
>>>> On Mar 16, 2015, at 5:15 PM, David Leon Gil <coruus@gmail.com> wrote:
>>>> Partial lengths are really a nuisance to parse.
>>> 
>>> No argument there...
>> 
>> The whole bizarro sort-of-fixed-point encoding of lengths is a pain (this is a
>> cue for Jon to do his "every bit is sacred" dance).  If the format is revised,
>> there should be only two lengths, a 16-bit one for almost everything (keyring
>> data, signatures, etc), and a 32-bit one for payloads and partial lengths that
>> are going to exceed 16-bit lengths.
> 
> 
> Crazy * 2 :)
> 
> One int is good enough for anyone.  Just use an expanding 7 bit form, where the hi bit says, grab the following byte.
> 
> 
>> Length-decoding shouldn't be any more
>> complicated than:
>> 
>> read tag;
>> if( tag & length_32_flag )
>>   length = read32();
>> else
>>   length = read16();
>> 
>> While I'm venting, shall I get started on the MDC kludge?
> 
> 
> Simplify!  Simplify!
> 
> 
> iang
> 
> _______________________________________________
> openpgp mailing list
> openpgp@ietf.org
> https://www.ietf.org/mailman/listinfo/openpgp