Re: [openpgp] call for adoption of draft-koch-openpgp-rfc4880bis

Jon Callas <joncallas@icloud.com> Mon, 27 June 2016 17:41 UTC

Return-Path: <joncallas@icloud.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 E158012D62C for <openpgp@ietfa.amsl.com>; Mon, 27 Jun 2016 10:41:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.702
X-Spam-Level:
X-Spam-Status: No, score=-2.702 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=icloud.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 XYXA2B_RqZFz for <openpgp@ietfa.amsl.com>; Mon, 27 Jun 2016 10:41:39 -0700 (PDT)
Received: from st13p27im-asmtp003.me.com (st13p27im-asmtp003.me.com [17.162.190.112]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1F6CF12D0E4 for <openpgp@ietf.org>; Mon, 27 Jun 2016 10:41:39 -0700 (PDT)
Received: from process-dkim-sign-daemon.st13p27im-asmtp003.me.com by st13p27im-asmtp003.me.com (Oracle Communications Messaging Server 7.0.5.36.0 64bit (built Sep 8 2015)) id <0O9F00B00YB17L00@st13p27im-asmtp003.me.com> for openpgp@ietf.org; Mon, 27 Jun 2016 17:41:38 +0000 (GMT)
Received: from [10.0.23.24] (media.merrymeet.com [173.164.244.98]) by st13p27im-asmtp003.me.com (Oracle Communications Messaging Server 7.0.5.36.0 64bit (built Sep 8 2015)) with ESMTPSA id <0O9F000VMYHB8E40@st13p27im-asmtp003.me.com>; Mon, 27 Jun 2016 17:41:38 +0000 (GMT)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-06-27_12:,, signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1011 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1510270003 definitions=main-1606270181
Content-type: text/plain; charset="us-ascii"
MIME-version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Jon Callas <joncallas@icloud.com>
In-reply-to: <8b0200bf-16a9-76e6-71e7-b2fe445257d2@sumptuouscapital.com>
Date: Mon, 27 Jun 2016 10:41:35 -0700
Content-transfer-encoding: quoted-printable
Message-id: <89ED178E-039B-498A-B201-C9C159A669DD@icloud.com>
References: <878txtjnf6.fsf@alice.fifthhorseman.net> <sjmeg7ivbuu.fsf@securerf.ihtfp.org> <8b0200bf-16a9-76e6-71e7-b2fe445257d2@sumptuouscapital.com>
To: Kristian Fiskerstrand <kristian.fiskerstrand@sumptuouscapital.com>
X-Mailer: Apple Mail (2.3124)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=4d515a; t=1467049298; bh=g0XGGveAYp1Bri8hZSke8277Y+6sNHbiD99rCyWs03k=; h=Content-type:MIME-version:Subject:From:Date:Message-id:To; b=nnYp4yXFMI4ZG9r+uAQbx+LNCd3CvRnsGa8n/qgi1nhDRgtLkMCd/i8R5HjaGQutM dXip8YZjuPZQ7BFmyDzBtkY3dwCx+2FGmo+bYn9voWlC6hXfj+cyfMNHmozc4QFjjM 0uq2TZxuUnWxvFkFN68Rl8rsHJIg5tHhOwy82tSuerDh+nazeEM0MrKxmJPwvB5WEg ElTs1zIp9iRi5wpU+LAxSghRWjJnSg31YGvZmm7FvO2r87B9A3g8lc1h5feZvYBtlh tkjfFFEIomqs3kkVq7PhK+12cdwRdU9hHWLnrOJGpeCGEVsI+vkLffjUdL04FaFuHH m7j2/gS1ea2Ew==
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/GHyEzRXPCUg1u6z55zh3ltncSvE>
Cc: IETF OpenPGP <openpgp@ietf.org>, Derek Atkins <derek@ihtfp.com>, Jon Callas <joncallas@icloud.com>
Subject: Re: [openpgp] call for adoption of draft-koch-openpgp-rfc4880bis
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: Mon, 27 Jun 2016 17:41:41 -0000

> On Jun 27, 2016, at 9:45 AM, Kristian Fiskerstrand <kristian.fiskerstrand@sumptuouscapital.com> wrote:
> 
> There seems to be a lot of doubt about the security of Algebraic Eraser
> protocols (at least controversy) and little research compared to other
> key exchange methods,  without much gain from implementing it. What
> would be the rationale for adding it?

Let me give two answers -- one a crypto answer and the other a standards answer.

Crypto-wise, Algebraic Eraser is a bit out there, but the issues with it are far more issues with the ways it can be used badly than fundamental ways it is horrible. Every major crypto mechanism we have, particularly public-key ones, has major failure modes -- encoding and padding, parameter selection, and many of those are nuanced as well. (Like using an RSA exponent of 3, which you can do either wrong or right.) It is outre in some ways, but it's also fascinating and useful.

Standards-wise, to quote Jeff Schiller from long ago, the purpose of a standard is interoperability. A standard exists so that you know what an object *means*, so you can quickly accept things you like and reject things you don't like. Ironically, if you don't like Algebraic Eraser, you *want* it to get an identifier so you can quickly reject its use in an implementation.

Yes, on the one hand, you don't want your standard to be cluttered, but on the other hand you want to encourage its use. You can give pejorative terms to either side of it, but I think it's worse for a standard to be overly-restrictive than overly-inclusive. 

Traditionally in OpenPGP, we've gone towards being inclusive because we didn't want people to either (1) just grab an identifier in the experimental/private region or out in IANA space or (2) go use some other standard where all they need is an OID.

We've put in identifiers for controversial hash functions, Elgamal signatures, X9.42 DH, symmetric crypto, and in many cases gone and removed them later. Look at the differences between section 9 of 2440 and section 9 of 4880. It's an interesting commentary on where thought was in 1998 and 2007.

Moreover, we survived! Nothing bad happened. We learned that OpenPGP is amazingly resilient to the downsides of being inclusive. The worst issue we had to deal with was Elgamal signatures -- controversial from the start, tetchy to use, and there were flawed implementations. But it ended up being retired because its proponents moved on.

There is little risk to giving Derek what he wants. It's just an identifier. In fact, the biggest risk in my opinion is that we tell him no, he goes off and is successful using X.509.

	Jon