Re: [Acme] Signature misuse vulnerability in draft-barnes-acme-04

Phillip Hallam-Baker <phill@hallambaker.com> Thu, 13 August 2015 14:27 UTC

Return-Path: <hallam@gmail.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 56F941B2DD4 for <acme@ietfa.amsl.com>; Thu, 13 Aug 2015 07:27:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level:
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
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 65oZSyrO0_16 for <acme@ietfa.amsl.com>; Thu, 13 Aug 2015 07:27:12 -0700 (PDT)
Received: from mail-lb0-x232.google.com (mail-lb0-x232.google.com [IPv6:2a00:1450:4010:c04::232]) (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 B71701B2DCD for <acme@ietf.org>; Thu, 13 Aug 2015 07:27:11 -0700 (PDT)
Received: by lbcbn3 with SMTP id bn3so27919178lbc.2 for <acme@ietf.org>; Thu, 13 Aug 2015 07:27:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ea1Q2EV4rryM0xrTnoIlxLP3w6Y2X8QJQ3j9tDE8rfY=; b=XLIfVgMPYB1dFbOD1Ov2f4HaV/VOK5YSd7rPePsgKyICjt4vvs3uKGGlBLM7j8jsGz fLeG2ivQlYPNmcphIaeg6JxSO8Fp701BitVxqkspBs2/1PudocsPONzSMAkw5I1IVlm1 5WwbsJapDO6GfShsO6ivug8Lxvs3N/bamYFoswxt2Umlwb4nTxXqI6+NOb2InaKETnxK YkzZ+j/mGyD3jKyjbOUbGeky/SW3YEkHXlGzgtLOPAY+iRxUkKqmOAAmhWYL0JkaCmyK 75LGLDRz1DCz4EXkDXxFgYw8z6KXmlxRJUIflyHnFMNkfQU/qF1mSUK2WuA1BeUNqhT0 rxAA==
MIME-Version: 1.0
X-Received: by 10.112.234.197 with SMTP id ug5mr22532820lbc.79.1439476030091; Thu, 13 Aug 2015 07:27:10 -0700 (PDT)
Sender: hallam@gmail.com
Received: by 10.112.203.163 with HTTP; Thu, 13 Aug 2015 07:27:09 -0700 (PDT)
In-Reply-To: <55CC6BEC.6050706@cs.tcd.ie>
References: <20150811085205.bbcd37b3b0bb0482f6522b1a@andrewayer.name> <CAL02cgRf2M0Gkqymif-=rmNG0v9hhaMC2SBiXf-n5aYiRKBnmQ@mail.gmail.com> <20150812160405.b824b673ad9b139a4fd9446f@andrewayer.name> <CAL02cgReCTMZ+ECiZVtv2=sNDng3mvEmGv4w6V_REbZ6xf75dw@mail.gmail.com> <55CC6BEC.6050706@cs.tcd.ie>
Date: Thu, 13 Aug 2015 10:27:09 -0400
X-Google-Sender-Auth: qBVTqAwe9l83gSN56hYbg8YOrX0
Message-ID: <CAMm+Lwi4Y5J2w2TB=n78KQnRvS7f171k8rUjcD3RRu5PMNPPMQ@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Content-Type: multipart/alternative; boundary="001a11c3db246fba71051d3221b9"
Archived-At: <http://mailarchive.ietf.org/arch/msg/acme/wt0WMHh-tZ10dMKaV-WFbwR--cc>
Cc: Richard Barnes <rlb@ipv.sx>, "acme@ietf.org" <acme@ietf.org>, Andrew Ayer <agwa@andrewayer.name>
Subject: Re: [Acme] Signature misuse vulnerability in draft-barnes-acme-04
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Automated Certificate Management Environment <acme.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/acme>, <mailto:acme-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/acme/>
List-Post: <mailto:acme@ietf.org>
List-Help: <mailto:acme-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/acme>, <mailto:acme-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Aug 2015 14:27:13 -0000

+1

I would much rather block the entire class of attacks rather than spend any
time working out if there is a way to do this with ECC based keys.

On Thu, Aug 13, 2015 at 6:05 AM, Stephen Farrell <stephen.farrell@cs.tcd.ie>
wrote:

>
>
> On 13/08/15 06:21, Richard Barnes wrote:
> > I would note, though that in practice, e=65537 pretty much always, and
> > the attack would almost never produce that value.  So this could still
> > be prevented by checks on account public keys.
>
> I know you're not suggesting we do, but depending on special values
> or patterns for keys would be risky. I think it has often turned out
> that application developers are unaware of the details of what their
> crypto libraries do or do not support at that level. So it could be
> quite easy to recommend something that'd fall between the cracks.
>
> Cheers,
> S.
>
> _______________________________________________
> Acme mailing list
> Acme@ietf.org
> https://www.ietf.org/mailman/listinfo/acme
>