Re: [jose] comments on draft-jones-json-web-signature and draft-jones-json-web-encryption

Matthew Green <matthewdgreen@gmail.com> Mon, 13 February 2012 13:46 UTC

Return-Path: <matthewdgreen@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1131D21F8594 for <jose@ietfa.amsl.com>; Mon, 13 Feb 2012 05:46:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S8W60fret-9V for <jose@ietfa.amsl.com>; Mon, 13 Feb 2012 05:46:11 -0800 (PST)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by ietfa.amsl.com (Postfix) with ESMTP id 5EC5B21F8591 for <jose@ietf.org>; Mon, 13 Feb 2012 05:46:11 -0800 (PST)
Received: by qafi29 with SMTP id i29so1567318qaf.10 for <jose@ietf.org>; Mon, 13 Feb 2012 05:46:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=HXN6tqA9bOn4Q7bG0fHc/0LHQTQLOvQBcAPWII0KuLw=; b=KTNQ44TpVXYOE+n4Z4RNYZUo00y1UGGUtztBpgZtaYwKYy61IFr9ChvyxgkADnJoeg 74+YeEe2ItaC/EzKNL9OAOqd3+Yx2YjPA6z9K1CA9xeysxR5ZvFT+4ga7ZwinrYKS7b+ PtHt0rJvJ3qzwP9UsMg50OYtmoFMo43WHpHWQ=
Received: by 10.229.111.228 with SMTP id t36mr9576313qcp.73.1329140770081; Mon, 13 Feb 2012 05:46:10 -0800 (PST)
Received: from [192.168.1.11] (c-76-21-153-251.hsd1.md.comcast.net. [76.21.153.251]) by mx.google.com with ESMTPS id fi8sm34146559qab.21.2012.02.13.05.46.08 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Feb 2012 05:46:09 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Apple Message framework v1251.1)
From: Matthew Green <matthewdgreen@gmail.com>
In-Reply-To: <0BBBE883-7C70-4A7D-979C-A11418ED91F5@ve7jtb.com>
Date: Mon, 13 Feb 2012 08:46:13 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <D8CC4F72-434E-4E0A-95B0-BDCA0A6C391C@gmail.com>
References: <193BB50D-89DF-43DD-93A1-9483217BC5A1@gmail.com> <0BBBE883-7C70-4A7D-979C-A11418ED91F5@ve7jtb.com>
To: jose@ietf.org
X-Mailer: Apple Mail (2.1251.1)
Subject: Re: [jose] comments on draft-jones-json-web-signature and draft-jones-json-web-encryption
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Feb 2012 13:46:12 -0000

Thanks John and Nat, I'm glad to see that the WG is considering the issue. Please count me as strongly in favor of this protection.

John, I agree with your concerns re: GCM and platform dependence. CBC with a MAC on the ciphertext would be a perfectly good alternative. I understand that this requires key derivation for the MAC key, but this shouldn't be too bad.

Finally -- if a first version of the spec does ship without authentication I would advocate putting a strongly-worded warning in the "Security Considerations" section and elsewhere throughout the document!

Regards,

Matt

On Feb 12, 2012, at 2:58 PM, John Bradley wrote:

> While it would be nice to have GWC on all platforms it is not currently.   openssl is a prime culprit at the moment.