Re: [openpgp] "OpenPGP Simple"

Werner Koch <wk@gnupg.org> Tue, 17 March 2015 20:51 UTC

Return-Path: <wk@gnupg.org>
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 1DB761A88EA for <openpgp@ietfa.amsl.com>; Tue, 17 Mar 2015 13:51:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] 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 u9zECX2yhqzo for <openpgp@ietfa.amsl.com>; Tue, 17 Mar 2015 13:51:23 -0700 (PDT)
Received: from kerckhoffs.g10code.com (kerckhoffs.g10code.com [217.69.77.222]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 372D91A88E4 for <openpgp@ietf.org>; Tue, 17 Mar 2015 13:51:23 -0700 (PDT)
Received: from uucp by kerckhoffs.g10code.com with local-rmail (Exim 4.80 #2 (Debian)) id 1YXySP-0000DD-Da for <openpgp@ietf.org>; Tue, 17 Mar 2015 21:51:21 +0100
Received: from wk by vigenere.g10code.de with local (Exim 4.84 #3 (Debian)) id 1YXyOo-0002wc-Mm; Tue, 17 Mar 2015 21:47:38 +0100
From: Werner Koch <wk@gnupg.org>
To: David Leon Gil <coruus@gmail.com>
References: <20150315175744.GG2978@singpolyma-liberty> <34C550CB-11A0-4D25-A5CF-78D265FE2435@callas.org> <20150316181213.GF2944@singpolyma-liberty> <87d2484tg4.fsf@vigenere.g10code.de> <CAA7UWsUYFJUWo5Pk4gUZn_qQvMWmhgaiDpZUC7p+FKH8c15TXQ@mail.gmail.com>
Organisation: g10 Code GmbH
X-message-flag: Mails containing HTML will not be read! Please send only plain text.
OpenPGP: id=F2AD85AC1E42B367; url=finger:wk@g10code.com
Mail-Followup-To: David Leon Gil <coruus@gmail.com>, Stephen Paul Weber <singpolyma@singpolyma.net>, gnupg-devel@gnupg.org, "openpgp\@ietf.org" <openpgp@ietf.org>, Jon Callas <jon@callas.org>
Date: Tue, 17 Mar 2015 21:47:38 +0100
In-Reply-To: <CAA7UWsUYFJUWo5Pk4gUZn_qQvMWmhgaiDpZUC7p+FKH8c15TXQ@mail.gmail.com> (David Leon Gil's message of "Mon, 16 Mar 2015 14:15:28 -0700")
Message-ID: <87pp871hcl.fsf@vigenere.g10code.de>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Archived-At: <http://mailarchive.ietf.org/arch/msg/openpgp/Mf27qseTo1EUGLKHAzfDAdzCTAc>
Cc: Stephen Paul Weber <singpolyma@singpolyma.net>, gnupg-devel@gnupg.org, "openpgp@ietf.org" <openpgp@ietf.org>, Jon Callas <jon@callas.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: Tue, 17 Mar 2015 20:51:25 -0000

On Mon, 16 Mar 2015 22:15, coruus@gmail.com said:

> Is there an option to completely disable this? Relatedly, is there any
> option to not use new-format partial lengths?

No.  In fact I started with GnuPG before OpenPGP and one of the first
additions to the RFC-1991 PGP-2 format was my own version of partial
lengths.  This has been removed in favor of the OpenPGP and PGP-5
partial length format.  

You really really want partial length.  A major problem with PGP-2 was
that it required large temporary files for certain operations - you
can't do backups this way.

Up until DKIM all Internet protocols have been carefully designed to
allow streaming of data (ie. the Unix way) and the IETF should continue
to stress the importance of this.

> Partial lengths are really a nuisance to parse.

Yeah the OpenPGP encoding is a bit over-engineered to save octets.  But
even its partial format is easier to implement than the HTTP
counterpart.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.