
From nobody Mon Aug  1 02:03:38 2016
Return-Path: <era@x500.eu>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF78712D549 for <cfrg@ietfa.amsl.com>; Mon,  1 Aug 2016 02:03:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.62
X-Spam-Level: 
X-Spam-Status: No, score=-2.62 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=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 JwhDloAz_Kdp for <cfrg@ietfa.amsl.com>; Mon,  1 Aug 2016 02:03:35 -0700 (PDT)
Received: from mail04.dandomain.dk (mail04.dandomain.dk [194.150.112.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9A1B712D0E7 for <cfrg@ietf.org>; Mon,  1 Aug 2016 02:03:34 -0700 (PDT)
Received: from Morten ([62.44.135.142]) by mail04.dandomain.dk (DanDomain Mailserver) with ASMTP id 4201608011103280804 for <cfrg@ietf.org>; Mon, 01 Aug 2016 11:03:28 +0200
From: "Erik Andersen" <era@x500.eu>
To: <cfrg@ietf.org>
References: <011001d1ebb2$14f6f510$3ee4df30$@augustcellars.com>
In-Reply-To: <011001d1ebb2$14f6f510$3ee4df30$@augustcellars.com>
Date: Mon, 1 Aug 2016 11:03:31 +0200
Message-ID: <002301d1ebd3$93ddaba0$bb9902e0$@x500.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQG8qBy0F/zFvapnrCAI5+1QiMWcp6BeVYdA
Content-Language: en-gb
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/0ezQSHWFIAoCd9BH72HquEYtm2Y>
Subject: Re: [Cfrg] Key wrap algorithm
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Aug 2016 09:03:37 -0000

Hi Jim and others,

I have a question concerning key wrapping. I my understanding right that =
it
is more difficult to break an AES key wrap algorithm than the normal =
AES-CBC
encryption algorithms?

Erik

-----Oprindelig meddelelse-----
Fra: Cfrg [mailto:cfrg-bounces@irtf.org] P=E5 vegne af Jim Schaad
Sendt: 01 August 2016 07:04
Til: cfrg@ietf.org
Emne: [Cfrg] Key wrap algorithm

We have traditionally used the AES key wrap algorithm when encrypting =
keys
for transport in the S/MIME documents.  If we move to using
ChaCha20/Poly1305 as one of the new content encryption algorithms, it =
would
make sense to have a key wrap algorithm based on ChaCha20 rather than =
AES to
match.

Has anybody looked at using ChaCha20, either with or without Poly1305 =
for
doing a key wrap.  An SIV style algorithm would be acceptable.  A =
preference
for an algorithm without the same IV requirements would be nice, but it
should be assumed that the same key will be used to encrypt multiple =
keys.
The algorithm could either be an AE or and AEAD algorithm, the current =
AES
key wrap is an AE algorithm but allowing for additional data might be =
useful
in other contexts (i.e. COSE).=20

Jim


_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From nobody Mon Aug  1 08:07:40 2016
Return-Path: <granville@inf.ufrgs.br>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6593912D62C; Tue, 26 Jul 2016 19:50:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.488
X-Spam-Level: 
X-Spam-Status: No, score=-5.488 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 tOSyZTg4Hi_q; Tue, 26 Jul 2016 19:50:30 -0700 (PDT)
Received: from smtp.inf.ufrgs.br (smtp.inf.ufrgs.br [143.54.11.23]) by ietfa.amsl.com (Postfix) with ESMTP id 9AD3812D62D; Tue, 26 Jul 2016 19:50:29 -0700 (PDT)
Received: from [192.168.1.110] (unknown [201.86.225.246]) by smtp.inf.ufrgs.br (Postfix) with ESMTPSA id 7D029120C42; Tue, 26 Jul 2016 23:50:25 -0300 (BRT)
From: Lisandro Zambenedetti Granville <granville@inf.ufrgs.br>
Content-Type: multipart/mixed; boundary="Apple-Mail=_1846C40A-DE9A-4132-A8FE-7D69F0933C7E"
Message-Id: <17AAE017-DFCD-4ADA-B9FF-70AC1D951344@inf.ufrgs.br>
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
Date: Tue, 26 Jul 2016 23:50:25 -0300
References: <574AFE49.6050807@isode.com>
To: "Internet Research Steering Group (irsg@irtf.org)" <irsg@irtf.org>, cfrg@irtf.org
In-Reply-To: <574AFE49.6050807@isode.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/b8WQyL_6J6KLeA5b1QoywM076_c>
Resent-From: <alias-bounces@ietf.org>
Resent-To: @ietf.org
X-Mailman-Approved-At: Mon, 01 Aug 2016 08:07:38 -0700
Subject: Re: [Cfrg] [irsg] IRSG review request: CFRG document draft-irtf-cfrg-eddsa-05.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Jul 2016 02:50:34 -0000

--Apple-Mail=_1846C40A-DE9A-4132-A8FE-7D69F0933C7E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Dear Kenny and Alexey

Attached you=E2=80=99ll find my review for draft-irtf-cfrg-eddsa-05 in =
the annotated PDF file. It=E2=80=99s mostly regarding editorial =
formatting.

Best regards,

Lisandro


--Apple-Mail=_1846C40A-DE9A-4132-A8FE-7D69F0933C7E
Content-Disposition: inline;
	filename=draft-irtf-cfrg-eddsa-05.pdf
Content-Type: application/pdf;
	x-unix-mode=0644;
	name="draft-irtf-cfrg-eddsa-05.pdf"
Content-Transfer-Encoding: base64

JVBERi0xLjYNJeLjz9MNCjY0NCAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvRmlyc3QgNDcw
L0xlbmd0aCAxODk3L04gNTMvVHlwZS9PYmpTdG0+PnN0cmVhbQ0KaN6kWsuOHDcM/BX9wTRfegCG
gcSJcwgCGLZvCx8MexD4sht4x4Dz92EPS2N5+hJIJ/Vo1WyKxSIpcSVtSZOqJCopMyUiTaTsvzkn
qhsnEk287X9STszFZ7QmVi6JrCXO1Rdmn2lq/gYnoewymj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ICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIC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5AepT2f7s+PgvRqJq
hXxUe8MroK5K82PH6zl7JOdbID0KyPkR6prkVey4hS9BUtkMuUz7iT7Bu3Rh1hNsKlQPI/FvgpT7
kHlymtNXeq3gXufDDki2qSAdjaj3lPRNxof9Fi8N+/Z5jki2N0LaGUp+kjjlKh1fj3KXjbcTks7L
kNYZ1GVw3/8ydi/s4RXNf3ZGslEJOX8xrWh+X1YZTGnjVUxDXZBUNUDO+ZZWwdMfSWjlz69RtCuQ
G6X1kAa/koOnP5bewnP0guVIai9BinnkwOkLsrzmCQe+LC5Fcv2iqNGo08mBcxf0Hm9iZyxHAUT/
3Qvg3FSTA+crGCWoJl6PZiR6GRDj0jpwhrSvB85UMIlpZGdw63Igpvm14AxUkwMnKJiZXOa1+mrd
kATXgNPjRg7suWARq+Q5XW+4A7EsrAbn2jlyYMcEm7MNPKfD7BEkc8+D076FHNgxwVasZ+eKygOJ
/zlwWumGJ8knTkSwX3uRzZaPPYEsSTkLpmqATMW/T1BwdKplv7HMC0lUFfhKerIl4ftyPlOjdTjD
0FcedJ/5Fvp/SXWiVMN/fIK39AwUEvEmCEuldJFS/g8R5TpEo2Pezl2lVEtdLjpEo2Pq8nEdotZJ
XS7VIq04T0ozKUfvsPq4zitUSDmmU0umqOAJms96sTY8I5FWTNMTmFZ1kILvTtnfAgwA9Xs0ag1l
bmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg05Mjg3NQ0lJUVPRg0=
--Apple-Mail=_1846C40A-DE9A-4132-A8FE-7D69F0933C7E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> Em 29 de mai de 2016, =C3=A0(s) 11:35, Alexey Melnikov =
<alexey.melnikov@isode.com> escreveu:
>=20
> Dear IRSG,
>=20
> We would like the have the CFRG document draft-irtf-cfrg-eddsa-05.txt
> reviewed by the IRSG. The document is available at:
>=20
> https://datatracker.ietf.org/doc/draft-irtf-cfrg-eddsa/
>=20
> Is there anyone that would like to volunteer to review this one? I =
think
> Russ Housley is next on the list, so this might be quite convenient =
;-).
>=20
> Best Regards,
> Kenny and Alexey
>=20


--Apple-Mail=_1846C40A-DE9A-4132-A8FE-7D69F0933C7E--


From nobody Mon Aug  1 08:07:44 2016
Return-Path: <msj@nthpermutation.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5F4F112D0DE for <cfrg@ietfa.amsl.com>; Sun, 31 Jul 2016 10:19:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=nthpermutation-com.20150623.gappssmtp.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 0qz1XdDMfdyR for <cfrg@ietfa.amsl.com>; Sun, 31 Jul 2016 10:19:30 -0700 (PDT)
Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::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 17EA312B004 for <cfrg@irtf.org>; Sun, 31 Jul 2016 10:19:30 -0700 (PDT)
Received: by mail-wm0-x22f.google.com with SMTP id o80so214096613wme.1 for <cfrg@irtf.org>; Sun, 31 Jul 2016 10:19:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nthpermutation-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=kMi7Ez4Sg9sZCnCFwifwOKZxOAJ2p0V4CxZEVtBaefo=; b=Vzyrz3ICQOQKUx0PO1caWy79sNSsqJHy7nJnI+11a1M0CmeiqF0RTaVw60XfAUAkQk vMK8CV/IwB1LONKJ3MByHoMwGCxVP27KWa9sYi3CWPznH+HD5TEH0HgCgKn/IqSTPJs3 Wvi6xlhvifmLhwApbZY7IvJiLUBHqAhju4wTzGw+vmvBHRZJNXuRfsGc3u5PbaAfB/Vn py85Dk42HuxxboPMVyv5tQuBy+YWJcy3BnWjogAjoayQGSEYaFFj/HCBcLXmWaRIwHHy IGk5DDgsWMTMN0KFt11VMYkJhwklOjlh1y5rWENyPqpN5FXFSrYpfjxqT+w2v3j+5tJi eKFg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=kMi7Ez4Sg9sZCnCFwifwOKZxOAJ2p0V4CxZEVtBaefo=; b=MYNCd0adcoP5hndZRLp44JstpUpC/shW0AHDAfFqt23S2Jxy8Twm56pdJNf66hZYez 2Ybh3WrHsVmIsAE834ishhMtlHC2UarH8YwrWYWowOrZIjPp6MPMnirpeKFbvGDMBwMI dIr6hQDtS7yxrwJNOp4LxY9oJjXA3WK2wUqUZGYBsiwyAhwkC0XSHMkooMEL0Yq2OXUl hqK1GxghkrpEqJ3WA6IEYFn8f7giiJOuSUMT4BRRWRuPmjQkcQ9T9k9Lk3Hk2+97T+Pv lpIu/fZxvJO+b2Tw7fEPT0izmZeFseJaeE4x0VBPN1bk46sblzyoyn9SdwhD5C5DIud0 4Ezg==
X-Gm-Message-State: AEkoouuojEgcl+/w+lYYU3JaqklsElpMeZhptVc8+DqZGnBSKyKiCTcJde5i3f9b83VNMBcM7rpKBp1uczT+UA==
X-Received: by 10.28.10.21 with SMTP id 21mr55338809wmk.3.1469985568483; Sun, 31 Jul 2016 10:19:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.32.8 with HTTP; Sun, 31 Jul 2016 10:19:27 -0700 (PDT)
X-Originating-IP: [208.224.8.38]
In-Reply-To: <585fcc1f-f4f2-4a78-7cd8-a59adbfcd5d0@htt-consult.com>
References: <20160724122445.5910610.13585.5799@gmail.com> <585fcc1f-f4f2-4a78-7cd8-a59adbfcd5d0@htt-consult.com>
From: "StJohns, Michael" <msj@nthpermutation.com>
Date: Sun, 31 Jul 2016 13:19:27 -0400
Message-ID: <CANeU+ZB21Uptjp6i8AD5NGNuegMhtHSJuqeBEyB+h+qLu35bpQ@mail.gmail.com>
To: Robert Moskowitz <rgm-sec@htt-consult.com>
Content-Type: multipart/alternative; boundary=001a11438e16a282b70538f1af02
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/NiUQe3U0odXK0l_g_wgH9ufzTfQ>
X-Mailman-Approved-At: Mon, 01 Aug 2016 08:07:38 -0700
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Future applications of PAKEs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 31 Jul 2016 17:19:32 -0000

--001a11438e16a282b70538f1af02
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I've been finding the following construct useful and secure:

1) use ecdhe to derive a one-time shared secret
2) prepend your password to the shared secret
3) use that concatenated value as the master key for your KDF function.

The derived keys will only match if both sides input the exact same
password value gang you the authentication piece.


Mike

On Friday, July 29, 2016, Robert Moskowitz <rgm-sec@htt-consult.com> wrote:

> I have an IoT vendor that has an ECDH KE embedded in their protocol.  The=
y
> have asked me to enhance this with a password.  Actually I have TWO such
> vendors (different industries so no conflict of interest).  I cannot
> provide details of what they do beyond there is an ECDH KE.
>
> So I need to turn their ECDH KE into a PAKE.
>
> I recognize that this is not directly an IETF problem, but if I point to
> an IETF protocol, they will be more willing to adopt change.
>
> Choices, choices...
>
> I would like to have a draft that provides the differences between the
> various proposed PAKEs.
>
> On 07/24/2016 08:24 AM, =D0=A1=D1=82=D0=B0=D0=BD=D0=B8=D1=81=D0=BB=D0=B0=
=D0=B2 =D0=A1=D0=BC=D1=8B=D1=88=D0=BB=D1=8F=D0=B5=D0=B2 wrote:
>
> Good afternoon, dear colleagues!
>
> We've had a very fruitful discussion with Watson Ladd and have both
> understood that to continue a productive work on PAKEs in CFRG (not only =
on
> SESPAKE and SPAKE2 drafts) it will be better if all of us now decide whic=
h
> PAKEs applications to consider as primary ones for IETF.
>
> The concrete questions that depend on this decision are more specific tha=
n
> the ones considered in the requirements draft (which is quite ready to be
> followed now)=E2=80=8E - they are about how the defined protocols are to =
be
> integrated. For instance, if we need a PAKE to be ready for integration i=
n
> some IoT initialization protocol (as we discussed with Hannes Tschofenig)
> or to be used separately for specific needs as securing channel between a
> key container and a CSP (as it is used in my company), we have to define =
a
> wise key confirmation part and surroundings (like the way of obtaining Q_=
PW
> in SESPAKE draft or the final key K' in Watson's SPAKE2 draft). Otherwise=
,
> if we primarily think about TLS or IKE, for example, we don't need to
> define anything except the core key exchange mechanism now - and leave al=
l
> other important questions like the countermeasures against online passwor=
d
> guessing until the future work on a corresponding TLS(/IKE/SSH/etc)-relat=
ed
> draft.
>
> Kindest regards,
> Stanislav Smyshlyaev
>
>
>
>
>
>
> _______________________________________________
> Cfrg mailing listCfrg@irtf.org <javascript:_e(%7B%7D,'cvml','Cfrg@irtf.or=
g');>https://www.irtf.org/mailman/listinfo/cfrg
>
>
>

--001a11438e16a282b70538f1af02
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I&#39;ve been finding the following construct useful and secure:<div><br></=
div><div>1) use ecdhe to derive a one-time shared secret=C2=A0</div><div>2)=
 prepend your password to the shared secret</div><div>3) use that concatena=
ted value as the master key for=C2=A0your KDF function. =C2=A0</div><div><b=
r></div><div>The derived keys will only match if both sides input the exact=
 same password value gang you the authentication piece.=C2=A0</div><div><br=
></div><div><br></div><div>Mike<br><br>On Friday, July 29, 2016, Robert Mos=
kowitz &lt;<a href=3D"mailto:rgm-sec@htt-consult.com">rgm-sec@htt-consult.c=
om</a>&gt; wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    I have an IoT vendor that has an ECDH KE embedded in their
    protocol.=C2=A0 They have asked me to enhance this with a password.=C2=
=A0
    Actually I have TWO such vendors (different industries so no
    conflict of interest).=C2=A0 I cannot provide details of what they do
    beyond there is an ECDH KE.<br>
    <br>
    So I need to turn their ECDH KE into a PAKE.<br>
    <br>
    I recognize that this is not directly an IETF problem, but if I
    point to an IETF protocol, they will be more willing to adopt
    change.<br>
    <br>
    Choices, choices...<br>
    <br>
    I would like to have a draft that provides the differences between
    the various proposed PAKEs.<br>
    <br>
    <div>On 07/24/2016 08:24 AM, =D0=A1=D1=82=D0=B0=D0=BD=D0=B8=D1=81=D0=BB=
=D0=B0=D0=B2
      =D0=A1=D0=BC=D1=8B=D1=88=D0=BB=D1=8F=D0=B5=D0=B2 wrote:<br>
    </div>
    <blockquote type=3D"cite">
     =20
     =20
      <div>Good afternoon, dear colleagues!</div>
      <div><br>
      </div>
      <div>We&#39;ve had a very fruitful discussion with Watson Ladd and
        have both understood that to continue a productive work on PAKEs
        in CFRG (not only on SESPAKE and SPAKE2 drafts) it will be
        better if all of us now decide which PAKEs applications to
        consider as primary ones for IETF.=C2=A0</div>
      <div><br>
      </div>
      <div>The concrete questions that depend on this decision are more
        specific than the ones considered in the requirements draft
        (which is quite ready to be followed now)=E2=80=8E - they are about=
 how
        the defined protocols are to be integrated. For instance, if we
        need a PAKE to be ready for integration in some IoT
        initialization protocol (as we discussed with Hannes Tschofenig)
        or to be used separately for specific needs as securing channel
        between a key container and a CSP (as it is used in my
        company),=C2=A0we have to define a wise key confirmation part and
        surroundings (like the way of obtaining Q_PW in SESPAKE draft or
        the final key K&#39; in Watson&#39;s SPAKE2 draft). Otherwise, if w=
e
        primarily think about TLS or IKE, for example, we don&#39;t need to
        define anything except the core key exchange mechanism now - and
        leave all other important questions like the countermeasures
        against online password guessing until the future work on a
        corresponding TLS(/IKE/SSH/etc)-related draft.</div>
      <div><br>
      </div>
      <div>Kindest regards,</div>
      <div>Stanislav Smyshlyaev</div>
      <div><br>
      </div>
      <br>
      <br>
      <br>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Cfrg mailing list
<a href=3D"javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;Cfrg@irtf.org&#39;);" t=
arget=3D"_blank">Cfrg@irtf.org</a>
<a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" target=3D"_blank">ht=
tps://www.irtf.org/mailman/listinfo/cfrg</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div>

--001a11438e16a282b70538f1af02--


From nobody Mon Aug  1 08:07:48 2016
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 887E512B004 for <cfrg@ietfa.amsl.com>; Sun, 31 Jul 2016 10:43:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 ZQ8UgfTm6q0W for <cfrg@ietfa.amsl.com>; Sun, 31 Jul 2016 10:43:30 -0700 (PDT)
Received: from mail-vk0-x230.google.com (mail-vk0-x230.google.com [IPv6:2607:f8b0:400c:c05::230]) (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 764DF12D0B7 for <cfrg@irtf.org>; Sun, 31 Jul 2016 10:43:30 -0700 (PDT)
Received: by mail-vk0-x230.google.com with SMTP id w127so85578659vkh.2 for <cfrg@irtf.org>; Sun, 31 Jul 2016 10:43:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ghqI68ry/q26LGAysSL2S8FoKaqQwqU05HpUFTcneFg=; b=wEIlbWZJ0uTli7gYicTmkVtrasW88O5xaVyiuHF+1h+YybU4aKPY0vXs5WfgKDZVWZ Mj1YuyYZE3aZ+xfGw6dxewq7ddrp8yVJJLDFOZGHcqeziGIwDuhLAWXUhCI0ynZoBJOi cUVg69ks4Thf0Oam98tXljwUC1xairvaDlZR9aS3xSQyovKf+28ETCMib2MtaYuNL+eB 03RKMx/IHgReBusI3ziudIifzGnSeu1/fiP2G98MMjGOVJEXqr7LQxDX1tziZfxcUUiQ a+EpKASqCOw1+Y92NeyYaT7Kzn2RBSvZMr7KO/MAU7WQWODEDG/fQxns5fG3G3qLfYN1 Pg9A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ghqI68ry/q26LGAysSL2S8FoKaqQwqU05HpUFTcneFg=; b=U+xHTCeqJzA9D+D26i40kc5rpQmXpXK1lBI9gPyfVPAx+Ew4saLXgNbmJ5ZzpvMiLb ksG/IfAfoSm29/od4uLmyH0Q1sRD8tTbol1GDYc7oZGfCfcSyHtBVoVl11/JpXZJ7DLz jg+wz1RQHojBPvclhhIyGsKr2Li+cW8lrhD1zQxlPiyHjIvoyRmu0W4oNoNeRylrX38W I7gYJq0MyOPFrusDXjHyn9qIUnPIAAqREdtFiI52QxqjH2WzZ2ehCyAw+gltjLDOIPfn mk6DCXYa/sIMiwTNe81ryTxDbVLVtVQgaEcQfrZYruSOEcWtyM+eBS2gAi2ahkPZ8wod b7/w==
X-Gm-Message-State: AEkoousDB1qTJL09UXUuiYNKGMtLETWM6JEs5JNjMvyDnUufLUOUlSOIBpw55CIHSLEetKxmCKBlgVa3XcyWug==
X-Received: by 10.31.128.80 with SMTP id b77mr16339026vkd.31.1469987009421; Sun, 31 Jul 2016 10:43:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.159.39.194 with HTTP; Sun, 31 Jul 2016 10:43:28 -0700 (PDT)
In-Reply-To: <CANeU+ZB21Uptjp6i8AD5NGNuegMhtHSJuqeBEyB+h+qLu35bpQ@mail.gmail.com>
References: <20160724122445.5910610.13585.5799@gmail.com> <585fcc1f-f4f2-4a78-7cd8-a59adbfcd5d0@htt-consult.com> <CANeU+ZB21Uptjp6i8AD5NGNuegMhtHSJuqeBEyB+h+qLu35bpQ@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Sun, 31 Jul 2016 10:43:28 -0700
Message-ID: <CACsn0c=-6LQWTsDEZxZVX1AiX6BcCHG-0mt-H1Z5D8yVLVPE5A@mail.gmail.com>
To: "StJohns, Michael" <msj@nthpermutation.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/3ZzbNCpxmmd7hXx6VRgmoSyWdnE>
X-Mailman-Approved-At: Mon, 01 Aug 2016 08:07:37 -0700
Cc: Robert Moskowitz <rgm-sec@htt-consult.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Future applications of PAKEs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 31 Jul 2016 17:43:32 -0000

On Sun, Jul 31, 2016 at 10:19 AM, StJohns, Michael
<msj@nthpermutation.com> wrote:
> I've been finding the following construct useful and secure:
>
> 1) use ecdhe to derive a one-time shared secret
> 2) prepend your password to the shared secret
> 3) use that concatenated value as the master key for your KDF function.
>
> The derived keys will only match if both sides input the exact same passw=
ord
> value gang you the authentication piece.

This is not secure. I leave it as an exercise to the reader to break.

>
>
> Mike
>
>
> On Friday, July 29, 2016, Robert Moskowitz <rgm-sec@htt-consult.com> wrot=
e:
>>
>> I have an IoT vendor that has an ECDH KE embedded in their protocol.  Th=
ey
>> have asked me to enhance this with a password.  Actually I have TWO such
>> vendors (different industries so no conflict of interest).  I cannot pro=
vide
>> details of what they do beyond there is an ECDH KE.
>>
>> So I need to turn their ECDH KE into a PAKE.
>>
>> I recognize that this is not directly an IETF problem, but if I point to
>> an IETF protocol, they will be more willing to adopt change.
>>
>> Choices, choices...
>>
>> I would like to have a draft that provides the differences between the
>> various proposed PAKEs.
>>
>> On 07/24/2016 08:24 AM, =D0=A1=D1=82=D0=B0=D0=BD=D0=B8=D1=81=D0=BB=D0=B0=
=D0=B2 =D0=A1=D0=BC=D1=8B=D1=88=D0=BB=D1=8F=D0=B5=D0=B2 wrote:
>>
>> Good afternoon, dear colleagues!
>>
>> We've had a very fruitful discussion with Watson Ladd and have both
>> understood that to continue a productive work on PAKEs in CFRG (not only=
 on
>> SESPAKE and SPAKE2 drafts) it will be better if all of us now decide whi=
ch
>> PAKEs applications to consider as primary ones for IETF.
>>
>> The concrete questions that depend on this decision are more specific th=
an
>> the ones considered in the requirements draft (which is quite ready to b=
e
>> followed now)=E2=80=8E - they are about how the defined protocols are to=
 be
>> integrated. For instance, if we need a PAKE to be ready for integration =
in
>> some IoT initialization protocol (as we discussed with Hannes Tschofenig=
) or
>> to be used separately for specific needs as securing channel between a k=
ey
>> container and a CSP (as it is used in my company), we have to define a w=
ise
>> key confirmation part and surroundings (like the way of obtaining Q_PW i=
n
>> SESPAKE draft or the final key K' in Watson's SPAKE2 draft). Otherwise, =
if
>> we primarily think about TLS or IKE, for example, we don't need to defin=
e
>> anything except the core key exchange mechanism now - and leave all othe=
r
>> important questions like the countermeasures against online password
>> guessing until the future work on a corresponding TLS(/IKE/SSH/etc)-rela=
ted
>> draft.
>>
>> Kindest regards,
>> Stanislav Smyshlyaev
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> https://www.irtf.org/mailman/listinfo/cfrg
>>
>>
>



--=20
"Man is born free, but everywhere he is in chains".
--Rousseau.


From nobody Mon Aug  1 08:07:51 2016
Return-Path: <rgm-sec@htt-consult.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7941D12D0F5 for <cfrg@ietfa.amsl.com>; Sun, 31 Jul 2016 10:45:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.487
X-Spam-Level: 
X-Spam-Status: No, score=-5.487 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 MEIo4h-IIYpI for <cfrg@ietfa.amsl.com>; Sun, 31 Jul 2016 10:45:16 -0700 (PDT)
Received: from z9m9z.htt-consult.com (z9m9z.htt-consult.com [50.253.254.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3E6A912B004 for <cfrg@irtf.org>; Sun, 31 Jul 2016 10:45:16 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by z9m9z.htt-consult.com (Postfix) with ESMTP id C2EF9621ED; Sun, 31 Jul 2016 13:45:13 -0400 (EDT)
X-Virus-Scanned: amavisd-new at htt-consult.com
Received: from z9m9z.htt-consult.com ([127.0.0.1]) by localhost (z9m9z.htt-consult.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4AS039hL9mke; Sun, 31 Jul 2016 13:45:02 -0400 (EDT)
Received: from lx120e.htt-consult.com (unknown [192.168.160.20]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by z9m9z.htt-consult.com (Postfix) with ESMTPSA id 8D4C0621D6; Sun, 31 Jul 2016 13:45:01 -0400 (EDT)
To: "StJohns, Michael" <msj@nthpermutation.com>
References: <20160724122445.5910610.13585.5799@gmail.com> <585fcc1f-f4f2-4a78-7cd8-a59adbfcd5d0@htt-consult.com> <CANeU+ZB21Uptjp6i8AD5NGNuegMhtHSJuqeBEyB+h+qLu35bpQ@mail.gmail.com>
From: Robert Moskowitz <rgm-sec@htt-consult.com>
Message-ID: <1a2c948f-c4cf-63d3-bf5c-7ff431d9d845@htt-consult.com>
Date: Sun, 31 Jul 2016 13:44:57 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <CANeU+ZB21Uptjp6i8AD5NGNuegMhtHSJuqeBEyB+h+qLu35bpQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------08D4416837D48A4082896B00"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/HL2YTpDjBoWkByw87b4hRRkxh8M>
X-Mailman-Approved-At: Mon, 01 Aug 2016 08:07:38 -0700
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Future applications of PAKEs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 31 Jul 2016 17:45:18 -0000

This is a multi-part message in MIME format.
--------------08D4416837D48A4082896B00
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

Mike,

Name it, and write it up as a PAKE draft!  Seriously!

If you want a co-author, I would work with you on it, as I have some 
thoughts on the input to the KDF...


On 07/31/2016 01:19 PM, StJohns, Michael wrote:
> I've been finding the following construct useful and secure:
>
> 1) use ecdhe to derive a one-time shared secret
> 2) prepend your password to the shared secret
> 3) use that concatenated value as the master key for your KDF function.
>
> The derived keys will only match if both sides input the exact same 
> password value gang you the authentication piece.
>
>
> Mike
>
> On Friday, July 29, 2016, Robert Moskowitz <rgm-sec@htt-consult.com 
> <mailto:rgm-sec@htt-consult.com>> wrote:
>
>     I have an IoT vendor that has an ECDH KE embedded in their
>     protocol.  They have asked me to enhance this with a password. 
>     Actually I have TWO such vendors (different industries so no
>     conflict of interest).  I cannot provide details of what they do
>     beyond there is an ECDH KE.
>
>     So I need to turn their ECDH KE into a PAKE.
>
>     I recognize that this is not directly an IETF problem, but if I
>     point to an IETF protocol, they will be more willing to adopt change.
>
>     Choices, choices...
>
>     I would like to have a draft that provides the differences between
>     the various proposed PAKEs.
>
>     On 07/24/2016 08:24 AM, Станислав Смышляев wrote:
>>     Good afternoon, dear colleagues!
>>
>>     We've had a very fruitful discussion with Watson Ladd and have
>>     both understood that to continue a productive work on PAKEs in
>>     CFRG (not only on SESPAKE and SPAKE2 drafts) it will be better if
>>     all of us now decide which PAKEs applications to consider as
>>     primary ones for IETF.
>>
>>     The concrete questions that depend on this decision are more
>>     specific than the ones considered in the requirements draft
>>     (which is quite ready to be followed now)‎ - they are about how
>>     the defined protocols are to be integrated. For instance, if we
>>     need a PAKE to be ready for integration in some IoT
>>     initialization protocol (as we discussed with Hannes Tschofenig)
>>     or to be used separately for specific needs as securing channel
>>     between a key container and a CSP (as it is used in my
>>     company), we have to define a wise key confirmation part and
>>     surroundings (like the way of obtaining Q_PW in SESPAKE draft or
>>     the final key K' in Watson's SPAKE2 draft). Otherwise, if we
>>     primarily think about TLS or IKE, for example, we don't need to
>>     define anything except the core key exchange mechanism now - and
>>     leave all other important questions like the countermeasures
>>     against online password guessing until the future work on a
>>     corresponding TLS(/IKE/SSH/etc)-related draft.
>>
>>     Kindest regards,
>>     Stanislav Smyshlyaev
>>
>>
>>
>>
>>
>>
>>     _______________________________________________
>>     Cfrg mailing list
>>     Cfrg@irtf.org <javascript:_e(%7B%7D,'cvml','Cfrg@irtf.org');>
>>     https://www.irtf.org/mailman/listinfo/cfrg
>


--------------08D4416837D48A4082896B00
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Mike,<br>
    <br>
    Name it, and write it up as a PAKE draft!  Seriously!<br>
    <br>
    If you want a co-author, I would work with you on it, as I have some
    thoughts on the input to the KDF...<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 07/31/2016 01:19 PM, StJohns,
      Michael wrote:<br>
    </div>
    <blockquote
cite="mid:CANeU+ZB21Uptjp6i8AD5NGNuegMhtHSJuqeBEyB+h+qLu35bpQ@mail.gmail.com"
      type="cite">I've been finding the following construct useful and
      secure:
      <div><br>
      </div>
      <div>1) use ecdhe to derive a one-time shared secret </div>
      <div>2) prepend your password to the shared secret</div>
      <div>3) use that concatenated value as the master key for your KDF
        function.  </div>
      <div><br>
      </div>
      <div>The derived keys will only match if both sides input the
        exact same password value gang you the authentication piece. </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>Mike<br>
        <br>
        On Friday, July 29, 2016, Robert Moskowitz &lt;<a
          moz-do-not-send="true" href="mailto:rgm-sec@htt-consult.com"><a class="moz-txt-link-abbreviated" href="mailto:rgm-sec@htt-consult.com">rgm-sec@htt-consult.com</a></a>&gt;
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> I have an IoT vendor
            that has an ECDH KE embedded in their protocol.  They have
            asked me to enhance this with a password.  Actually I have
            TWO such vendors (different industries so no conflict of
            interest).  I cannot provide details of what they do beyond
            there is an ECDH KE.<br>
            <br>
            So I need to turn their ECDH KE into a PAKE.<br>
            <br>
            I recognize that this is not directly an IETF problem, but
            if I point to an IETF protocol, they will be more willing to
            adopt change.<br>
            <br>
            Choices, choices...<br>
            <br>
            I would like to have a draft that provides the differences
            between the various proposed PAKEs.<br>
            <br>
            <div>On 07/24/2016 08:24 AM, Станислав Смышляев wrote:<br>
            </div>
            <blockquote type="cite">
              <div>Good afternoon, dear colleagues!</div>
              <div><br>
              </div>
              <div>We've had a very fruitful discussion with Watson Ladd
                and have both understood that to continue a productive
                work on PAKEs in CFRG (not only on SESPAKE and SPAKE2
                drafts) it will be better if all of us now decide which
                PAKEs applications to consider as primary ones for
                IETF. </div>
              <div><br>
              </div>
              <div>The concrete questions that depend on this decision
                are more specific than the ones considered in the
                requirements draft (which is quite ready to be followed
                now)‎ - they are about how the defined protocols are to
                be integrated. For instance, if we need a PAKE to be
                ready for integration in some IoT initialization
                protocol (as we discussed with Hannes Tschofenig) or to
                be used separately for specific needs as securing
                channel between a key container and a CSP (as it is used
                in my company), we have to define a wise key
                confirmation part and surroundings (like the way of
                obtaining Q_PW in SESPAKE draft or the final key K' in
                Watson's SPAKE2 draft). Otherwise, if we primarily think
                about TLS or IKE, for example, we don't need to define
                anything except the core key exchange mechanism now -
                and leave all other important questions like the
                countermeasures against online password guessing until
                the future work on a corresponding
                TLS(/IKE/SSH/etc)-related draft.</div>
              <div><br>
              </div>
              <div>Kindest regards,</div>
              <div>Stanislav Smyshlyaev</div>
              <div><br>
              </div>
              <br>
              <br>
              <br>
              <br>
              <fieldset></fieldset>
              <br>
              <pre>_______________________________________________
Cfrg mailing list
<a moz-do-not-send="true" href="javascript:_e(%7B%7D,'cvml','Cfrg@irtf.org');" target="_blank">Cfrg@irtf.org</a>
<a moz-do-not-send="true" href="https://www.irtf.org/mailman/listinfo/cfrg" target="_blank">https://www.irtf.org/mailman/listinfo/cfrg</a>
</pre>
            </blockquote>
            <br>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------08D4416837D48A4082896B00--


From nobody Mon Aug  1 08:07:54 2016
Return-Path: <rgm-sec@htt-consult.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 125C912D0F5 for <cfrg@ietfa.amsl.com>; Sun, 31 Jul 2016 10:45:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.488
X-Spam-Level: 
X-Spam-Status: No, score=-5.488 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 AKrcOOK7vGrL for <cfrg@ietfa.amsl.com>; Sun, 31 Jul 2016 10:45:54 -0700 (PDT)
Received: from z9m9z.htt-consult.com (z9m9z.htt-consult.com [50.253.254.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5A60112B004 for <cfrg@irtf.org>; Sun, 31 Jul 2016 10:45:54 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by z9m9z.htt-consult.com (Postfix) with ESMTP id A0D16621ED; Sun, 31 Jul 2016 13:45:53 -0400 (EDT)
X-Virus-Scanned: amavisd-new at htt-consult.com
Received: from z9m9z.htt-consult.com ([127.0.0.1]) by localhost (z9m9z.htt-consult.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3lsU8ja0n7fz; Sun, 31 Jul 2016 13:45:47 -0400 (EDT)
Received: from lx120e.htt-consult.com (unknown [192.168.160.20]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by z9m9z.htt-consult.com (Postfix) with ESMTPSA id BB6F1621D6; Sun, 31 Jul 2016 13:45:46 -0400 (EDT)
To: Watson Ladd <watsonbladd@gmail.com>, "StJohns, Michael" <msj@nthpermutation.com>
References: <20160724122445.5910610.13585.5799@gmail.com> <585fcc1f-f4f2-4a78-7cd8-a59adbfcd5d0@htt-consult.com> <CANeU+ZB21Uptjp6i8AD5NGNuegMhtHSJuqeBEyB+h+qLu35bpQ@mail.gmail.com> <CACsn0c=-6LQWTsDEZxZVX1AiX6BcCHG-0mt-H1Z5D8yVLVPE5A@mail.gmail.com>
From: Robert Moskowitz <rgm-sec@htt-consult.com>
Message-ID: <048f20f3-e558-a3c2-9338-eade68bb6a3d@htt-consult.com>
Date: Sun, 31 Jul 2016 13:45:46 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <CACsn0c=-6LQWTsDEZxZVX1AiX6BcCHG-0mt-H1Z5D8yVLVPE5A@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/KPWSMxvgkLcdbnxUPnFx9Lnm6Yw>
X-Mailman-Approved-At: Mon, 01 Aug 2016 08:07:38 -0700
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Future applications of PAKEs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 31 Jul 2016 17:45:56 -0000

On 07/31/2016 01:43 PM, Watson Ladd wrote:
> On Sun, Jul 31, 2016 at 10:19 AM, StJohns, Michael
> <msj@nthpermutation.com> wrote:
>> I've been finding the following construct useful and secure:
>>
>> 1) use ecdhe to derive a one-time shared secret
>> 2) prepend your password to the shared secret
>> 3) use that concatenated value as the master key for your KDF function.
>>
>> The derived keys will only match if both sides input the exact same password
>> value gang you the authentication piece.
> This is not secure. I leave it as an exercise to the reader to break.

Sigh.  Thought it was too easy...


>
>>
>> Mike
>>
>>
>> On Friday, July 29, 2016, Robert Moskowitz <rgm-sec@htt-consult.com> wrote:
>>> I have an IoT vendor that has an ECDH KE embedded in their protocol.  They
>>> have asked me to enhance this with a password.  Actually I have TWO such
>>> vendors (different industries so no conflict of interest).  I cannot provide
>>> details of what they do beyond there is an ECDH KE.
>>>
>>> So I need to turn their ECDH KE into a PAKE.
>>>
>>> I recognize that this is not directly an IETF problem, but if I point to
>>> an IETF protocol, they will be more willing to adopt change.
>>>
>>> Choices, choices...
>>>
>>> I would like to have a draft that provides the differences between the
>>> various proposed PAKEs.
>>>
>>> On 07/24/2016 08:24 AM, Станислав Смышляев wrote:
>>>
>>> Good afternoon, dear colleagues!
>>>
>>> We've had a very fruitful discussion with Watson Ladd and have both
>>> understood that to continue a productive work on PAKEs in CFRG (not only on
>>> SESPAKE and SPAKE2 drafts) it will be better if all of us now decide which
>>> PAKEs applications to consider as primary ones for IETF.
>>>
>>> The concrete questions that depend on this decision are more specific than
>>> the ones considered in the requirements draft (which is quite ready to be
>>> followed now)‎ - they are about how the defined protocols are to be
>>> integrated. For instance, if we need a PAKE to be ready for integration in
>>> some IoT initialization protocol (as we discussed with Hannes Tschofenig) or
>>> to be used separately for specific needs as securing channel between a key
>>> container and a CSP (as it is used in my company), we have to define a wise
>>> key confirmation part and surroundings (like the way of obtaining Q_PW in
>>> SESPAKE draft or the final key K' in Watson's SPAKE2 draft). Otherwise, if
>>> we primarily think about TLS or IKE, for example, we don't need to define
>>> anything except the core key exchange mechanism now - and leave all other
>>> important questions like the countermeasures against online password
>>> guessing until the future work on a corresponding TLS(/IKE/SSH/etc)-related
>>> draft.
>>>
>>> Kindest regards,
>>> Stanislav Smyshlyaev
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Cfrg mailing list
>>> Cfrg@irtf.org
>>> https://www.irtf.org/mailman/listinfo/cfrg
>>>
>>>
>
>


From nobody Mon Aug  1 08:07:56 2016
Return-Path: <msj@nthpermutation.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 53DCE12B02B for <cfrg@ietfa.amsl.com>; Sun, 31 Jul 2016 10:48:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=nthpermutation-com.20150623.gappssmtp.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 491R2qLU9pHp for <cfrg@ietfa.amsl.com>; Sun, 31 Jul 2016 10:48:46 -0700 (PDT)
Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (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 BAFD212B00B for <cfrg@irtf.org>; Sun, 31 Jul 2016 10:48:45 -0700 (PDT)
Received: by mail-wm0-x22b.google.com with SMTP id o80so214638847wme.1 for <cfrg@irtf.org>; Sun, 31 Jul 2016 10:48:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nthpermutation-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IeS+WB+hldy76RETfZspyJJEIm9Ev6L59wnwj9W34Rc=; b=UzrLRsMrLMKVFhk7a3Pwc2tUBqrvplosHKbqnpaBxsoGVpDk36HJlMy0+XSeKcZvy4 Nj+5nyPxfmtL0EiJ4EpydMsywjHjzt9pZW25EfyW994SHju/mhrNp+dl84ZS3dX/p7ft lsXqCbdXHCHGNlRATE4GO2PHa6cVOG1KxDbdkC8ngrKLqNrv0Spqa/xAm2Exli6NF8pJ tB0nGs//B4gwZbKBfn4DhEaOnMT1dDjELFbufosAMOVmgEeZ6/ariqiwizQaUHLuutGu Yjf+zKVOS5jc2DCJu778vcvETWacfbHzGQ9CY2I0qyQ8M8TkJBVSEmDxD3fFB3caa9jm Jbzg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IeS+WB+hldy76RETfZspyJJEIm9Ev6L59wnwj9W34Rc=; b=kwzHwxgdFJ+qjyK9oebhE/DBDVkHcD1WD1o29w9hUrCrwh8LQ8LMpc5rt2T/tstXLt Ny+HIMge2osDBnWZ5q2m3y7HrNbIUpnoe+crnXpJDGcHRrI1qkPCbKQWoRlWBAntBQkb pZIpxFrRWtLV4y5wgy0zfgmlpKWa3GlUVoPuwxSt+SINsrKOBdQAjz/3TitfqHz2HWcd k1Fr5K+FcQZGyMFP8KkyBK3FpV1eGFS6L/OGFPEJ5bS3yGQzFlkuMzg7OO5ac+Fe8BAL Q44CSqCOrzLH1NLjYuv6sS2JR7yk00SOzHAC4zgKst9mmMaFhVynUgGLpbbH+c5UcL2K k83Q==
X-Gm-Message-State: AEkoousELLIbovnfXQ+Tj35/r8Vv/KyNBv6zHEMdXL3iHhFkuvGjYrBKOTnEwjWRXco9P8eZoiboBK4VkEqm/w==
X-Received: by 10.28.1.74 with SMTP id 71mr9781977wmb.4.1469987324157; Sun, 31 Jul 2016 10:48:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.32.8 with HTTP; Sun, 31 Jul 2016 10:48:43 -0700 (PDT)
X-Originating-IP: [208.224.8.38]
In-Reply-To: <CACsn0c=-6LQWTsDEZxZVX1AiX6BcCHG-0mt-H1Z5D8yVLVPE5A@mail.gmail.com>
References: <20160724122445.5910610.13585.5799@gmail.com> <585fcc1f-f4f2-4a78-7cd8-a59adbfcd5d0@htt-consult.com> <CANeU+ZB21Uptjp6i8AD5NGNuegMhtHSJuqeBEyB+h+qLu35bpQ@mail.gmail.com> <CACsn0c=-6LQWTsDEZxZVX1AiX6BcCHG-0mt-H1Z5D8yVLVPE5A@mail.gmail.com>
From: "StJohns, Michael" <msj@nthpermutation.com>
Date: Sun, 31 Jul 2016 13:48:43 -0400
Message-ID: <CANeU+ZCMYhepjjeUMcMawxMmwY3mAztPaD20P65PdEFEPfZYNQ@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: multipart/alternative; boundary=001a113d3eae47f7c80538f218e3
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/4Ucowug5Rms48YTmsL5rVbyCvg0>
X-Mailman-Approved-At: Mon, 01 Aug 2016 08:07:38 -0700
Cc: Robert Moskowitz <rgm-sec@htt-consult.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Future applications of PAKEs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 31 Jul 2016 17:48:48 -0000

--001a113d3eae47f7c80538f218e3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Go for it.  I'm actually curious what you mean by not secure and what you
mean by break.

On Sunday, July 31, 2016, Watson Ladd <watsonbladd@gmail.com> wrote:

> On Sun, Jul 31, 2016 at 10:19 AM, StJohns, Michael
> <msj@nthpermutation.com <javascript:;>> wrote:
> > I've been finding the following construct useful and secure:
> >
> > 1) use ecdhe to derive a one-time shared secret
> > 2) prepend your password to the shared secret
> > 3) use that concatenated value as the master key for your KDF function.
> >
> > The derived keys will only match if both sides input the exact same
> password
> > value gang you the authentication piece.
>
> This is not secure. I leave it as an exercise to the reader to break.
>
> >
> >
> > Mike
> >
> >
> > On Friday, July 29, 2016, Robert Moskowitz <rgm-sec@htt-consult.com
> <javascript:;>> wrote:
> >>
> >> I have an IoT vendor that has an ECDH KE embedded in their protocol.
> They
> >> have asked me to enhance this with a password.  Actually I have TWO su=
ch
> >> vendors (different industries so no conflict of interest).  I cannot
> provide
> >> details of what they do beyond there is an ECDH KE.
> >>
> >> So I need to turn their ECDH KE into a PAKE.
> >>
> >> I recognize that this is not directly an IETF problem, but if I point =
to
> >> an IETF protocol, they will be more willing to adopt change.
> >>
> >> Choices, choices...
> >>
> >> I would like to have a draft that provides the differences between the
> >> various proposed PAKEs.
> >>
> >> On 07/24/2016 08:24 AM, =D0=A1=D1=82=D0=B0=D0=BD=D0=B8=D1=81=D0=BB=D0=
=B0=D0=B2 =D0=A1=D0=BC=D1=8B=D1=88=D0=BB=D1=8F=D0=B5=D0=B2 wrote:
> >>
> >> Good afternoon, dear colleagues!
> >>
> >> We've had a very fruitful discussion with Watson Ladd and have both
> >> understood that to continue a productive work on PAKEs in CFRG (not
> only on
> >> SESPAKE and SPAKE2 drafts) it will be better if all of us now decide
> which
> >> PAKEs applications to consider as primary ones for IETF.
> >>
> >> The concrete questions that depend on this decision are more specific
> than
> >> the ones considered in the requirements draft (which is quite ready to
> be
> >> followed now)=E2=80=8E - they are about how the defined protocols are =
to be
> >> integrated. For instance, if we need a PAKE to be ready for integratio=
n
> in
> >> some IoT initialization protocol (as we discussed with Hannes
> Tschofenig) or
> >> to be used separately for specific needs as securing channel between a
> key
> >> container and a CSP (as it is used in my company), we have to define a
> wise
> >> key confirmation part and surroundings (like the way of obtaining Q_PW
> in
> >> SESPAKE draft or the final key K' in Watson's SPAKE2 draft). Otherwise=
,
> if
> >> we primarily think about TLS or IKE, for example, we don't need to
> define
> >> anything except the core key exchange mechanism now - and leave all
> other
> >> important questions like the countermeasures against online password
> >> guessing until the future work on a corresponding
> TLS(/IKE/SSH/etc)-related
> >> draft.
> >>
> >> Kindest regards,
> >> Stanislav Smyshlyaev
> >>
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Cfrg mailing list
> >> Cfrg@irtf.org <javascript:;>
> >> https://www.irtf.org/mailman/listinfo/cfrg
> >>
> >>
> >
>
>
>
> --
> "Man is born free, but everywhere he is in chains".
> --Rousseau.
>

--001a113d3eae47f7c80538f218e3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Go for it.=C2=A0 I&#39;m actually curious what you mean by not secure and w=
hat you mean by break. =C2=A0=C2=A0<br><br>On Sunday, July 31, 2016, Watson=
 Ladd &lt;<a href=3D"mailto:watsonbladd@gmail.com">watsonbladd@gmail.com</a=
>&gt; wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">On Sun, Jul 31, 2016 at 10:1=
9 AM, StJohns, Michael<br>
&lt;<a href=3D"javascript:;" onclick=3D"_e(event, &#39;cvml&#39;, &#39;msj@=
nthpermutation.com&#39;)">msj@nthpermutation.com</a>&gt; wrote:<br>
&gt; I&#39;ve been finding the following construct useful and secure:<br>
&gt;<br>
&gt; 1) use ecdhe to derive a one-time shared secret<br>
&gt; 2) prepend your password to the shared secret<br>
&gt; 3) use that concatenated value as the master key for your KDF function=
.<br>
&gt;<br>
&gt; The derived keys will only match if both sides input the exact same pa=
ssword<br>
&gt; value gang you the authentication piece.<br>
<br>
This is not secure. I leave it as an exercise to the reader to break.<br>
<br>
&gt;<br>
&gt;<br>
&gt; Mike<br>
&gt;<br>
&gt;<br>
&gt; On Friday, July 29, 2016, Robert Moskowitz &lt;<a href=3D"javascript:;=
" onclick=3D"_e(event, &#39;cvml&#39;, &#39;rgm-sec@htt-consult.com&#39;)">=
rgm-sec@htt-consult.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I have an IoT vendor that has an ECDH KE embedded in their protoco=
l.=C2=A0 They<br>
&gt;&gt; have asked me to enhance this with a password.=C2=A0 Actually I ha=
ve TWO such<br>
&gt;&gt; vendors (different industries so no conflict of interest).=C2=A0 I=
 cannot provide<br>
&gt;&gt; details of what they do beyond there is an ECDH KE.<br>
&gt;&gt;<br>
&gt;&gt; So I need to turn their ECDH KE into a PAKE.<br>
&gt;&gt;<br>
&gt;&gt; I recognize that this is not directly an IETF problem, but if I po=
int to<br>
&gt;&gt; an IETF protocol, they will be more willing to adopt change.<br>
&gt;&gt;<br>
&gt;&gt; Choices, choices...<br>
&gt;&gt;<br>
&gt;&gt; I would like to have a draft that provides the differences between=
 the<br>
&gt;&gt; various proposed PAKEs.<br>
&gt;&gt;<br>
&gt;&gt; On 07/24/2016 08:24 AM, =D0=A1=D1=82=D0=B0=D0=BD=D0=B8=D1=81=D0=BB=
=D0=B0=D0=B2 =D0=A1=D0=BC=D1=8B=D1=88=D0=BB=D1=8F=D0=B5=D0=B2 wrote:<br>
&gt;&gt;<br>
&gt;&gt; Good afternoon, dear colleagues!<br>
&gt;&gt;<br>
&gt;&gt; We&#39;ve had a very fruitful discussion with Watson Ladd and have=
 both<br>
&gt;&gt; understood that to continue a productive work on PAKEs in CFRG (no=
t only on<br>
&gt;&gt; SESPAKE and SPAKE2 drafts) it will be better if all of us now deci=
de which<br>
&gt;&gt; PAKEs applications to consider as primary ones for IETF.<br>
&gt;&gt;<br>
&gt;&gt; The concrete questions that depend on this decision are more speci=
fic than<br>
&gt;&gt; the ones considered in the requirements draft (which is quite read=
y to be<br>
&gt;&gt; followed now)=E2=80=8E - they are about how the defined protocols =
are to be<br>
&gt;&gt; integrated. For instance, if we need a PAKE to be ready for integr=
ation in<br>
&gt;&gt; some IoT initialization protocol (as we discussed with Hannes Tsch=
ofenig) or<br>
&gt;&gt; to be used separately for specific needs as securing channel betwe=
en a key<br>
&gt;&gt; container and a CSP (as it is used in my company), we have to defi=
ne a wise<br>
&gt;&gt; key confirmation part and surroundings (like the way of obtaining =
Q_PW in<br>
&gt;&gt; SESPAKE draft or the final key K&#39; in Watson&#39;s SPAKE2 draft=
). Otherwise, if<br>
&gt;&gt; we primarily think about TLS or IKE, for example, we don&#39;t nee=
d to define<br>
&gt;&gt; anything except the core key exchange mechanism now - and leave al=
l other<br>
&gt;&gt; important questions like the countermeasures against online passwo=
rd<br>
&gt;&gt; guessing until the future work on a corresponding TLS(/IKE/SSH/etc=
)-related<br>
&gt;&gt; draft.<br>
&gt;&gt;<br>
&gt;&gt; Kindest regards,<br>
&gt;&gt; Stanislav Smyshlyaev<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Cfrg mailing list<br>
&gt;&gt; <a href=3D"javascript:;" onclick=3D"_e(event, &#39;cvml&#39;, &#39=
;Cfrg@irtf.org&#39;)">Cfrg@irtf.org</a><br>
&gt;&gt; <a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" target=3D"_=
blank">https://www.irtf.org/mailman/listinfo/cfrg</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
&quot;Man is born free, but everywhere he is in chains&quot;.<br>
--Rousseau.<br>
</blockquote>

--001a113d3eae47f7c80538f218e3--


From nobody Mon Aug  1 09:44:10 2016
Return-Path: <msj@nthpermutation.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5304412DCD1 for <cfrg@ietfa.amsl.com>; Mon,  1 Aug 2016 09:44:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=nthpermutation-com.20150623.gappssmtp.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 yNEouwH2tXqV for <cfrg@ietfa.amsl.com>; Mon,  1 Aug 2016 09:44:03 -0700 (PDT)
Received: from mail-qt0-x229.google.com (mail-qt0-x229.google.com [IPv6:2607:f8b0:400d:c0d::229]) (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 2DF4412D6A9 for <cfrg@irtf.org>; Mon,  1 Aug 2016 09:44:03 -0700 (PDT)
Received: by mail-qt0-x229.google.com with SMTP id 52so107817429qtq.3 for <cfrg@irtf.org>; Mon, 01 Aug 2016 09:44:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nthpermutation-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=/sb5Y/VkSh2JcgnGFAXL6atVoGygVMOl/Oq8iXz87ck=; b=D7czqERYa8laQXgbrVsQFVQZfh9ih+yPqiHTOgBSMCx7tdHbv8U9cyvKp0Cb+ahd7x 87ccA4tAjue2jACn64nxBxB/Xu24j7RLVgYGH3KK+AKKMjyNs+4NlGvoE+M64AMIVqGb wpInZxkdaTmcPUDGRcoqCInh3lDLB0iVWykeTh5/ZighPtvBXB3cds6C1Way/SZ38djS 2HWPw1/QwHEQ7r5wWvfs63aiz83lEvdAMhxUyFGqx1EO18mAuP5B4rbOxThqE6OKnacF v+XlQolvc26Rr/HEx1/bapj9j+U7eisVluecHajs/dscFouULPGsjopMQ0a6dO44wpnF 3E0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=/sb5Y/VkSh2JcgnGFAXL6atVoGygVMOl/Oq8iXz87ck=; b=KIczXv8D9uHaoKlJnKo5iL4RcC9Nz43JtMR/VlsHpP/mGgIXUbK3zHuCsUkXrgETxV L4pXpZU9udN+JOco5hazvTdadadfVyAJbnSEwm7y43+Ho9OHYsDTQ8NS+mcMOD+IKaVk Pfg671NE275LMwqo3jscnbSGtdyQhdwsbdtYp6z9y4m6yACcOpw5rOHF/BBUiMFE3nd7 ZR+/HQkmqAsnR3UwlI1ru2WDAjZSul+U+ZDXMuqgRX3x+PpTBQH8d04FLpllXfke6dpq J3lQvJPDMczJ0p6JfgdYuCkBZq4sDeR0UGEKnhWGleluw5AmsQrXdIKsubg+eeTY6Rw7 unxw==
X-Gm-Message-State: AEkooutB5ivHHkzHsArpCqZqy0qqPd+RveTlT/qyofStKWPY5F4+NCpnwJ7kjMtT5eR8xw==
X-Received: by 10.200.38.107 with SMTP id v40mr91329244qtv.76.1470069841936; Mon, 01 Aug 2016 09:44:01 -0700 (PDT)
Received: from ?IPv6:2601:148:c000:1951:acd4:f5eb:7f36:d5fc? ([2601:148:c000:1951:acd4:f5eb:7f36:d5fc]) by smtp.gmail.com with ESMTPSA id y67sm17968465qka.45.2016.08.01.09.44.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Aug 2016 09:44:00 -0700 (PDT)
From: Michael StJohns <msj@nthpermutation.com>
To: Watson Ladd <watsonbladd@gmail.com>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <20160724122445.5910610.13585.5799@gmail.com> <585fcc1f-f4f2-4a78-7cd8-a59adbfcd5d0@htt-consult.com> <CANeU+ZB21Uptjp6i8AD5NGNuegMhtHSJuqeBEyB+h+qLu35bpQ@mail.gmail.com> <CACsn0c=-6LQWTsDEZxZVX1AiX6BcCHG-0mt-H1Z5D8yVLVPE5A@mail.gmail.com> <CANeU+ZCMYhepjjeUMcMawxMmwY3mAztPaD20P65PdEFEPfZYNQ@mail.gmail.com> <CACsn0c=ttBVWu8T3KqfpPXUHFbMYTo0bbJUWx2X8WN3_NDqwBA@mail.gmail.com>
Message-ID: <272081cd-0e0a-3842-a21f-9a6f83e2dfd5@nthpermutation.com>
Date: Mon, 1 Aug 2016 12:44:00 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <CACsn0c=ttBVWu8T3KqfpPXUHFbMYTo0bbJUWx2X8WN3_NDqwBA@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/Yf01P5t50bcZ9XcAM-hUCzYcW20>
Subject: Re: [Cfrg] Future applications of PAKEs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Aug 2016 16:44:08 -0000

*sigh* I hit the wrong reply button and this only went to Watson (who 
replied and I haven't yet read the reply).  It includes an edit I meant 
to make but didn't before sending with respect to my commentary on IOT 
on-line vs off-line attacks.


On 7/31/2016 1:49 PM, Watson Ladd wrote:
> What I mean is an active adversary can guess the password offline
> after one exchange.
>
> They do this by doing the exchange, then seeing which password lets
> them decrypt what you send/makes the key confirmation step work.

I kind of thought that's what you meant.  Translation:  If you have weak 
passwords then the authentication part of this isn't worth anything.

Yup.  We pretty much know this.

I generally figure that a well chosen password (e.g. no dictionary 
words, upper, lower case, special chracters) gives me about 3-4 bits of 
security per character.  So a 16 character password gives you 2^48 to 
2^64 possibilities to try and brute force.  Smaller passwords or weaker 
character sets or dictionary words give you somewhat less.


However, the confidentiality part remains intact due to the ECDH (at a 
strength equal to the key strength).

What I heard from Bob was "IOT" and "ECDH" and "password".   What I 
assumed was he could chose the lower bounds for password entropy because 
(a) the password wasn't sent over the wire so it was a don't care for 
length and (b) he would be smart enough to use a NHI (No humans 
involved) password generators.  What I also assumed was a severe 
constraint on new code and libraries (e.g. IOT).

Given that, and given a desire not to turn a two message protocol into a 
multi message protocol, or to require new software or hardware, I stand 
by my suggestion, for among other reasons, it can be done with existing 
libraries and hardware with no modifications.

Note that this is a derivative of the C(2,2) protocols described in the 
NIST ECDH document.

The question is whether the simplicity of the protocol assuming 
sufficiently long passphrases is a better choice - in this case - than a 
protocol that unconditionally prevents off-line brute forcing, but 
requires math constructs not currently found in the libraries?

I don't know - but I'll bet Bob can figure the tradeoffs.

Later, Mike

ps  - mostly for IOT, on-line attacks tend to be as possible (and as 
hard to detect) and with a similar order of difficulty as offline brute 
forcing.  I mostly don't consider it much of a differentiator.

<addition>
Sorry - meant to expand this.  In the weak password range, repeatedly 
opening up sessions with the target can be done fast enough that most 
PAKE systems - even those that are designed to defeat offline brute 
force attacks - can be brute forced.  If you can get the passwords 
somewhere in the middle range (call it 8-16 characters), then things 
like Watson's proposals provide some additional protection.  Getting 
above that range into the 16+ character passwords - there is little or 
no difference in effective security (vs theoretical security).
</addition>

Now I'll go read what Watson said... :-)








>
> On Sun, Jul 31, 2016 at 10:48 AM, StJohns, Michael
> <msj@nthpermutation.com> wrote:
>> Go for it.  I'm actually curious what you mean by not secure and what you
>> mean by break.
>>
>>
>> On Sunday, July 31, 2016, Watson Ladd <watsonbladd@gmail.com> wrote:
>>> On Sun, Jul 31, 2016 at 10:19 AM, StJohns, Michael
>>> <msj@nthpermutation.com> wrote:
>>>> I've been finding the following construct useful and secure:
>>>>
>>>> 1) use ecdhe to derive a one-time shared secret
>>>> 2) prepend your password to the shared secret
>>>> 3) use that concatenated value as the master key for your KDF function.
>>>>
>>>> The derived keys will only match if both sides input the exact same
>>>> password
>>>> value gang you the authentication piece.
>>> This is not secure. I leave it as an exercise to the reader to break.
>>>
>>>>
>>>> Mike
>>>>
>>>>
>>>> On Friday, July 29, 2016, Robert Moskowitz <rgm-sec@htt-consult.com>
>>>> wrote:
>>>>> I have an IoT vendor that has an ECDH KE embedded in their protocol.
>>>>> They
>>>>> have asked me to enhance this with a password.  Actually I have TWO
>>>>> such
>>>>> vendors (different industries so no conflict of interest).  I cannot
>>>>> provide
>>>>> details of what they do beyond there is an ECDH KE.
>>>>>
>>>>> So I need to turn their ECDH KE into a PAKE.
>>>>>
>>>>> I recognize that this is not directly an IETF problem, but if I point
>>>>> to
>>>>> an IETF protocol, they will be more willing to adopt change.
>>>>>
>>>>> Choices, choices...
>>>>>
>>>>> I would like to have a draft that provides the differences between the
>>>>> various proposed PAKEs.
>>>>>
>>>>> On 07/24/2016 08:24 AM, Станислав Смышляев wrote:
>>>>>
>>>>> Good afternoon, dear colleagues!
>>>>>
>>>>> We've had a very fruitful discussion with Watson Ladd and have both
>>>>> understood that to continue a productive work on PAKEs in CFRG (not
>>>>> only on
>>>>> SESPAKE and SPAKE2 drafts) it will be better if all of us now decide
>>>>> which
>>>>> PAKEs applications to consider as primary ones for IETF.
>>>>>
>>>>> The concrete questions that depend on this decision are more specific
>>>>> than
>>>>> the ones considered in the requirements draft (which is quite ready to
>>>>> be
>>>>> followed now)‎ - they are about how the defined protocols are to be
>>>>> integrated. For instance, if we need a PAKE to be ready for integration
>>>>> in
>>>>> some IoT initialization protocol (as we discussed with Hannes
>>>>> Tschofenig) or
>>>>> to be used separately for specific needs as securing channel between a
>>>>> key
>>>>> container and a CSP (as it is used in my company), we have to define a
>>>>> wise
>>>>> key confirmation part and surroundings (like the way of obtaining Q_PW
>>>>> in
>>>>> SESPAKE draft or the final key K' in Watson's SPAKE2 draft). Otherwise,
>>>>> if
>>>>> we primarily think about TLS or IKE, for example, we don't need to
>>>>> define
>>>>> anything except the core key exchange mechanism now - and leave all
>>>>> other
>>>>> important questions like the countermeasures against online password
>>>>> guessing until the future work on a corresponding
>>>>> TLS(/IKE/SSH/etc)-related
>>>>> draft.
>>>>>
>>>>> Kindest regards,
>>>>> Stanislav Smyshlyaev
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Cfrg mailing list
>>>>> Cfrg@irtf.org
>>>>> https://www.irtf.org/mailman/listinfo/cfrg
>>>>>
>>>>>
>>>
>>>
>>> --
>>> "Man is born free, but everywhere he is in chains".
>>> --Rousseau.
>
>


From nobody Mon Aug  1 10:40:15 2016
Return-Path: <ietf@augustcellars.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C8C612B018 for <cfrg@ietfa.amsl.com>; Mon,  1 Aug 2016 10:40:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.188
X-Spam-Level: 
X-Spam-Status: No, score=-3.188 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 wzLCIem69nwC for <cfrg@ietfa.amsl.com>; Mon,  1 Aug 2016 10:40:11 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6DBF512DB5B for <cfrg@ietf.org>; Mon,  1 Aug 2016 10:40:11 -0700 (PDT)
Received: from hebrews (24.21.96.37) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Mon, 1 Aug 2016 10:46:10 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: <draft-irtf-cfrg-eddsa@tools.ietf.org>, <cfrg@ietf.org>
Date: Mon, 1 Aug 2016 10:39:56 -0700
Message-ID: <01e401d1ec1b$b9ccbd90$2d6638b0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdHsDa+JKRN9ZG/hQQSZou7ruft0Tg==
Content-Language: en-us
X-Originating-IP: [24.21.96.37]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/mRqqUVJrhQgs6mY0PhYvl5X79zg>
Subject: [Cfrg] Review of draft-irtf-cfrg-eddsa-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Aug 2016 17:40:13 -0000

I am reviewing the current draft because it is what is published.  I know
that some very significant changes have been made by the author's to their
editors draft which have not yet been published.  These changes must be
considered to be blocking as they are errors in the algorithm.

I will now comment on the draft as a whole and on specific issues that I
have with the draft.

1.  I find the different capabilities between the two signature algorithms
to be frustrating.  I understand the value of context structures, however
the reasoning for it not being in the Curve 25519 side of the world is not
motivated.  While they are useful, I believe they should be removed from the
Curve 448 algorithms for consistency between the two.  I do not believe that
it is sufficient to say, don't worry and use an empty context when doing
drop in replacements if they are really that significant.  Either put them
in both or remove them from both.

2.  Although it does appear that the point addition code can be used for
doubling, the fact that the python code does not use would imply that it is
far more efficient to use a doubling function that is different.  The
Doubling code should be part of the provided document for people to use if
they desire.  This is true for both curves.  - Suggest highlighting the fact
in section 3 where it says that the formulas are complete that they can be
used for point doubling.

3.  It would be reasonable to provide a list of differences between the two
curve functions.  This would include things like the use of dom for one and
not the other with a list of reasons for the differences and expected
security differences.  One of which I assume is that 448 is more resistant
to abuse of pre-hash vs non pre-hash swaps since that is part of the dom
function.  There may be other things that should be highlighted up front as
well.

4.  It might be clearer in section 3.1 to describe ENC(x, y) = ENC(y) ||
SIGN(x)  and then defined SIGN(x) as "1 if x is negative and 0 if x is not
negative".  This builds on the previous paragraph.   I don't know what
happens to the ENC(x, y) function if b is not a multiple of 8.  This should
probably be defined.  The ENC(x) function I assume is never padded out to a
multiple of 8, but that might not be the case.  It might also be different
depending on the context in which case life will get fun really fast.
Simplest answer might be to go from recommended to required in the
definition of b

5.  In section 3.1, I don't understand where the last paragraph is going.
It might be useful to motivate it.

6.  In section 3.3, the function dom is not used in the computation of S.
This should be included in the generic algorithm and defined as being the
empty function for Ed25519.  This means that introducing it later is no
longer a surprise.

7.  In section 3.4 suggest s/A in E/A/  I found the additional in E to be
confusing and it is not used elsewhere.

8.  In section 5.1.7 there needs to be a discussion of the trade-offs of
using the second verification formula rather than the first.  What is the
difference if any?

9.  In section 5.2, I just got a surprise that was unexpected.  I did not
expect that the pre-hash function would include the use of function dom.
This is going to be a surprise for a lot of code as it will assume that they
can just compute the hash of the message x and then pass that into the
signing function without any additional work being done on their part.  I
can understand dom being used in the signature computation but why is it
done here as well.  Also this is very different from Ed25519ph.

10.  A citation in section 10.2 on multiple signature verification needing
randomness is requested.

11. I found the driver function to be frustrating in the process of using it
to debug my code for a number of reasons.

a)  It was missing the following line " assert sys.version_info >= (3,3)"
which would have saved me time since I have multiple versions of python.
b) The driver is only setup to deal with the one function of Ed25519.  That
meant I had to munge it in various ways to deal with the other functions.
c) The format is of the file at sign.input is not documented either here or
in the file itself.
d) It is not clear what the file format should be for the pre-hash functions
or for the addition of the context field for Ed448.
e) The python code occasionally pulls tricks that are not self-evident in
order to perform some of the checks required in the document making checking
of this more difficult.  "Do I need to do that check really?"
f) The python code uses point doubling, but of course the document doesn't.


jim



From nobody Mon Aug  1 11:34:28 2016
Return-Path: <dharkins@lounge.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 88A6912D0DC for <cfrg@ietfa.amsl.com>; Mon,  1 Aug 2016 11:34:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level: 
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 tNEG2x2ofU2J for <cfrg@ietfa.amsl.com>; Mon,  1 Aug 2016 11:34:25 -0700 (PDT)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id 5800C12B00B for <cfrg@irtf.org>; Mon,  1 Aug 2016 11:34:25 -0700 (PDT)
Received: from thinny.local (69-12-173-8.static.dsltransport.net [69.12.173.8]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by colo.trepanning.net (Postfix) with ESMTPSA id 07C593E0028 for <cfrg@irtf.org>; Mon,  1 Aug 2016 11:34:24 -0700 (PDT)
To: cfrg@irtf.org
References: <011001d1ebb2$14f6f510$3ee4df30$@augustcellars.com>
From: Dan Harkins <dharkins@lounge.org>
Message-ID: <fa47e15c-5ef5-abcc-608d-16d1ec089f92@lounge.org>
Date: Mon, 1 Aug 2016 11:34:24 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <011001d1ebb2$14f6f510$3ee4df30$@augustcellars.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/XpUMI-WP58BhpfH1SwGBGpxXEEY>
Subject: Re: [Cfrg] Key wrap algorithm
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Aug 2016 18:34:26 -0000

   Hi Jim,

On 7/31/16 10:03 PM, Jim Schaad wrote:
> We have traditionally used the AES key wrap algorithm when encrypting keys
> for transport in the S/MIME documents.  If we move to using
> ChaCha20/Poly1305 as one of the new content encryption algorithms, it would
> make sense to have a key wrap algorithm based on ChaCha20 rather than AES to
> match.
>
> Has anybody looked at using ChaCha20, either with or without Poly1305 for
> doing a key wrap.  An SIV style algorithm would be acceptable.  A preference
> for an algorithm without the same IV requirements would be nice, but it
> should be assumed that the same key will be used to encrypt multiple keys.
> The algorithm could either be an AE or and AEAD algorithm, the current AES
> key wrap is an AE algorithm but allowing for additional data might be useful
> in other contexts (i.e. COSE).
   Have you looked at RFC 5297 (AES-SIV)? It does deterministic 
authenticated
encryption (aka key wrapping), with associated data.

   regards,

   Dan.
> Jim
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Mon Aug  1 11:37:50 2016
Return-Path: <dharkins@lounge.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DD39E12D1D7 for <cfrg@ietfa.amsl.com>; Mon,  1 Aug 2016 11:37:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level: 
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 qGY9sAUdlHgs for <cfrg@ietfa.amsl.com>; Mon,  1 Aug 2016 11:37:47 -0700 (PDT)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id 3806912D13E for <cfrg@irtf.org>; Mon,  1 Aug 2016 11:37:47 -0700 (PDT)
Received: from thinny.local (69-12-173-8.static.dsltransport.net [69.12.173.8]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by colo.trepanning.net (Postfix) with ESMTPSA id EF9D63E0028 for <cfrg@irtf.org>; Mon,  1 Aug 2016 11:37:46 -0700 (PDT)
To: cfrg@irtf.org
References: <20160724122445.5910610.13585.5799@gmail.com> <585fcc1f-f4f2-4a78-7cd8-a59adbfcd5d0@htt-consult.com>
From: Dan Harkins <dharkins@lounge.org>
Message-ID: <bc2a71e8-ca94-c3f4-f2a8-303b6d556f92@lounge.org>
Date: Mon, 1 Aug 2016 11:37:46 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <585fcc1f-f4f2-4a78-7cd8-a59adbfcd5d0@htt-consult.com>
Content-Type: multipart/alternative; boundary="------------E80084687D10966D98A35BA5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/abNgv0DiYVgVWdYJd1eIr0e2UZ8>
Subject: Re: [Cfrg] Future applications of PAKEs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Aug 2016 18:37:49 -0000

This is a multi-part message in MIME format.
--------------E80084687D10966D98A35BA5
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit


   Hi Bob,

On 7/29/16 2:59 PM, Robert Moskowitz wrote:
> I have an IoT vendor that has an ECDH KE embedded in their protocol.  
> They have asked me to enhance this with a password. Actually I have 
> TWO such vendors (different industries so no conflict of interest).  I 
> cannot provide details of what they do beyond there is an ECDH KE.
>
> So I need to turn their ECDH KE into a PAKE.
>
> I recognize that this is not directly an IETF problem, but if I point 
> to an IETF protocol, they will be more willing to adopt change.
>
> Choices, choices...
Among your choices, consider RFC 7664 (dragonfly). There are several 
implementations
of it for various transports as well as an open source version of it for 
IEEE 802.11.
That should make it easy to port to your application.

   regards,

   Dan.
> I would like to have a draft that provides the differences between the 
> various proposed PAKEs.
>
> On 07/24/2016 08:24 AM, Станислав Смышляев wrote:
>> Good afternoon, dear colleagues!
>>
>> We've had a very fruitful discussion with Watson Ladd and have both 
>> understood that to continue a productive work on PAKEs in CFRG (not 
>> only on SESPAKE and SPAKE2 drafts) it will be better if all of us now 
>> decide which PAKEs applications to consider as primary ones for IETF.
>>
>> The concrete questions that depend on this decision are more specific 
>> than the ones considered in the requirements draft (which is quite 
>> ready to be followed now)‎ - they are about how the defined protocols 
>> are to be integrated. For instance, if we need a PAKE to be ready for 
>> integration in some IoT initialization protocol (as we discussed with 
>> Hannes Tschofenig) or to be used separately for specific needs as 
>> securing channel between a key container and a CSP (as it is used in 
>> my company), we have to define a wise key confirmation part and 
>> surroundings (like the way of obtaining Q_PW in SESPAKE draft or the 
>> final key K' in Watson's SPAKE2 draft). Otherwise, if we primarily 
>> think about TLS or IKE, for example, we don't need to define anything 
>> except the core key exchange mechanism now - and leave all other 
>> important questions like the countermeasures against online password 
>> guessing until the future work on a corresponding 
>> TLS(/IKE/SSH/etc)-related draft.
>>
>> Kindest regards,
>> Stanislav Smyshlyaev
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> https://www.irtf.org/mailman/listinfo/cfrg
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


--------------E80084687D10966D98A35BA5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <tt>  Hi Bob,</tt><br>
    <br>
    <div class="moz-cite-prefix">On 7/29/16 2:59 PM, Robert Moskowitz
      wrote:<br>
    </div>
    <blockquote
      cite="mid:585fcc1f-f4f2-4a78-7cd8-a59adbfcd5d0@htt-consult.com"
      type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      I have an IoT vendor that has an ECDH KE embedded in their
      protocol.  They have asked me to enhance this with a password. 
      Actually I have TWO such vendors (different industries so no
      conflict of interest).  I cannot provide details of what they do
      beyond there is an ECDH KE.<br>
      <br>
      So I need to turn their ECDH KE into a PAKE.<br>
      <br>
      I recognize that this is not directly an IETF problem, but if I
      point to an IETF protocol, they will be more willing to adopt
      change.<br>
      <br>
      Choices, choices...<br>
    </blockquote>
      <tt>Among your choices, consider RFC 7664 (dragonfly). There are
      several implementations<br>
      of it for various transports as well as an open source version of
      it for IEEE 802.11.<br>
      That should make it easy to port to your application.<br>
      <br>
        regards,<br>
      <br>
        Dan.<br>
    </tt>
    <blockquote
      cite="mid:585fcc1f-f4f2-4a78-7cd8-a59adbfcd5d0@htt-consult.com"
      type="cite"> I would like to have a draft that provides the
      differences between the various proposed PAKEs.<br>
      <br>
      <div class="moz-cite-prefix">On 07/24/2016 08:24 AM, Станислав
        Смышляев wrote:<br>
      </div>
      <blockquote cite="mid:20160724122445.5910610.13585.5799@gmail.com"
        type="cite">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        <style> body {  font-family: "Calibri","Slate Pro",sans-serif,"sans-serif"; color:#262626 }</style>
        <div>Good afternoon, dear colleagues!</div>
        <div><br>
        </div>
        <div>We've had a very fruitful discussion with Watson Ladd and
          have both understood that to continue a productive work on
          PAKEs in CFRG (not only on SESPAKE and SPAKE2 drafts) it will
          be better if all of us now decide which PAKEs applications to
          consider as primary ones for IETF. </div>
        <div><br>
        </div>
        <div>The concrete questions that depend on this decision are
          more specific than the ones considered in the requirements
          draft (which is quite ready to be followed now)‎ - they are
          about how the defined protocols are to be integrated. For
          instance, if we need a PAKE to be ready for integration in
          some IoT initialization protocol (as we discussed with Hannes
          Tschofenig) or to be used separately for specific needs as
          securing channel between a key container and a CSP (as it is
          used in my company), we have to define a wise key confirmation
          part and surroundings (like the way of obtaining Q_PW in
          SESPAKE draft or the final key K' in Watson's SPAKE2 draft).
          Otherwise, if we primarily think about TLS or IKE, for
          example, we don't need to define anything except the core key
          exchange mechanism now - and leave all other important
          questions like the countermeasures against online password
          guessing until the future work on a corresponding
          TLS(/IKE/SSH/etc)-related draft.</div>
        <div><br>
        </div>
        <div>Kindest regards,</div>
        <div>Stanislav Smyshlyaev</div>
        <div><br>
        </div>
        <br>
        <br>
        <br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Cfrg mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://www.irtf.org/mailman/listinfo/cfrg">https://www.irtf.org/mailman/listinfo/cfrg</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Cfrg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a>
<a class="moz-txt-link-freetext" href="https://www.irtf.org/mailman/listinfo/cfrg">https://www.irtf.org/mailman/listinfo/cfrg</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------E80084687D10966D98A35BA5--


From nobody Mon Aug  1 11:41:52 2016
Return-Path: <_@lvh.cc>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ED20712D186 for <cfrg@ietfa.amsl.com>; Mon,  1 Aug 2016 11:41:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lvh-cc.20150623.gappssmtp.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 Tdn7Vbc_mKoC for <cfrg@ietfa.amsl.com>; Mon,  1 Aug 2016 11:41:49 -0700 (PDT)
Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (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 4F46612D127 for <cfrg@ietf.org>; Mon,  1 Aug 2016 11:41:48 -0700 (PDT)
Received: by mail-it0-x231.google.com with SMTP id u186so253873837ita.0 for <cfrg@ietf.org>; Mon, 01 Aug 2016 11:41:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lvh-cc.20150623.gappssmtp.com; s=20150623; h=sender:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=wsor6InUQnjZ5QUw4RTFSJEG+vkppO8URVGSQZ2fo1Y=; b=tETbTOFuwPUixmf2OwqUJoyB4LhZKcNF65lcBs1W2eSG/a79KpNM/G2nCJkL82UEyc TABpfICbG7ROIRmqPuJYbJe/EG8NZh8y+CqGBPza4z5zlVvfI/uXMeilg8Wq/DRy1ise krnnJ1Mx192KZ0YMMvPKddYlzPZkC32/eGKH4NdSfSVhanYpL9s/dTYs0S385STpe8yn T8CIuW5ns2P/LXHd5oQ4jv8w5XY0rfQAn+pTHZIKWgFF53rGADhfPdpUQBz6bUNa1Paz HyEXUKGmzXGGT2JGOeB2JAKnvyLK2m3Jdqi45yUE6BCR3HCjTr8d0I0t9xBgR+yH1LY5 aJ6g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:mime-version:subject:from:in-reply-to :date:cc:content-transfer-encoding:message-id:references:to; bh=wsor6InUQnjZ5QUw4RTFSJEG+vkppO8URVGSQZ2fo1Y=; b=YE6pfYc6C7xN0GwmoRMnLDcSzk8EQgaBalYLXDSVGtCOFPT0PlXRHqGNV699TFzYqD HvBxrkuHYcjAC1OoJ7MBPmihfoepJfJeH9nq8HJUPeAVzUKl95WXwbJSlj/eXbuJDCBY KBfqJX4dVnDW3rNU9tlLRQpFu7YFTYonzvLbzjif8mqk0qyERKpU3XiLnVP4HVPWDI/y KLqqydGt9qSHSUCAK7pgFgfOFPVpJTpgXq9EUoTKN4adFbXnB824vwQ7G57YLAzx1yd6 MDRqqxFW3W9XgDGdzvUOoo83EGmA3GReQ2I7Egta0BZpZvEb3ZrHkYIK7ayt1IjS7Xpf Jm/g==
X-Gm-Message-State: AEkoout8Oi/C3SlP8pAdGLDYYGFaZ/3vWLRX0TAi3o+Md0DTtd/jDjl8k5eANHnIA7wqkA==
X-Received: by 10.36.31.149 with SMTP id d143mr15450439itd.87.1470076908048; Mon, 01 Aug 2016 11:41:48 -0700 (PDT)
Received: from zygalski.attlocal.net ([2602:306:c591:1130:b505:802e:afd6:60f1]) by smtp.gmail.com with ESMTPSA id b14sm8334097itd.15.2016.08.01.11.41.46 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Aug 2016 11:41:47 -0700 (PDT)
Sender: =?UTF-8?B?bHZoIOKAjA==?= <_@lvh.cc>
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: lvh <_@lvh.io>
In-Reply-To: <011001d1ebb2$14f6f510$3ee4df30$@augustcellars.com>
Date: Mon, 1 Aug 2016 13:41:51 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <7B41CB18-1D55-435B-9744-E29CCFF034DC@lvh.io>
References: <011001d1ebb2$14f6f510$3ee4df30$@augustcellars.com>
To: Jim Schaad <ietf@augustcellars.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/fFZXY-CxSvKHI5eyuNSDcEV4Lsk>
Cc: cfrg@ietf.org
Subject: Re: [Cfrg] Key wrap algorithm
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Aug 2016 18:41:51 -0000

Hi,

I=E2=80=99ve been building nonce-misuse resistant schemes with an =
associated deterministic scheme in caesium, my binding on top of =
libsodium. This is on top of XSalsa20, which makes the construction =
simpler due to its large nonce size. That might be a downside in your =
case, since it greatly inflates the size of the wrapped key, but it =
might be worth for you to look at regardless. I hope to get the time to =
put a paper together about it sometime this month.

hth
lvh


> On Aug 1, 2016, at 12:03 AM, Jim Schaad <ietf@augustcellars.com> =
wrote:
>=20
> We have traditionally used the AES key wrap algorithm when encrypting =
keys
> for transport in the S/MIME documents.  If we move to using
> ChaCha20/Poly1305 as one of the new content encryption algorithms, it =
would
> make sense to have a key wrap algorithm based on ChaCha20 rather than =
AES to
> match.
>=20
> Has anybody looked at using ChaCha20, either with or without Poly1305 =
for
> doing a key wrap.  An SIV style algorithm would be acceptable.  A =
preference
> for an algorithm without the same IV requirements would be nice, but =
it
> should be assumed that the same key will be used to encrypt multiple =
keys.
> The algorithm could either be an AE or and AEAD algorithm, the current =
AES
> key wrap is an AE algorithm but allowing for additional data might be =
useful
> in other contexts (i.e. COSE).=20
>=20
> Jim
>=20
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Mon Aug  1 12:00:28 2016
Return-Path: <ietf@augustcellars.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1809112DD8B for <cfrg@ietfa.amsl.com>; Mon,  1 Aug 2016 12:00:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.188
X-Spam-Level: 
X-Spam-Status: No, score=-3.188 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 rW44SVDofHHJ for <cfrg@ietfa.amsl.com>; Mon,  1 Aug 2016 12:00:25 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 57D4312DD7C for <cfrg@irtf.org>; Mon,  1 Aug 2016 12:00:24 -0700 (PDT)
Received: from hebrews (24.21.96.37) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Mon, 1 Aug 2016 12:06:11 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Dan Harkins' <dharkins@lounge.org>, <cfrg@irtf.org>
References: <011001d1ebb2$14f6f510$3ee4df30$@augustcellars.com> <fa47e15c-5ef5-abcc-608d-16d1ec089f92@lounge.org>
In-Reply-To: <fa47e15c-5ef5-abcc-608d-16d1ec089f92@lounge.org>
Date: Mon, 1 Aug 2016 11:59:58 -0700
Message-ID: <020a01d1ec26$e76d56f0$b64804d0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQG8qBy0F/zFvapnrCAI5+1QiMWcpwJDhcmpoEzhSeA=
Content-Language: en-us
X-Originating-IP: [24.21.96.37]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/U7TPtA9fIFyNDROGXRXzUw5a740>
Subject: Re: [Cfrg] Key wrap algorithm
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Aug 2016 19:00:27 -0000

Dan,

I want to have a non AES algorithm, have you looked at what SIV ChaCha20
does?

Jim


> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Dan Harkins
> Sent: Monday, August 01, 2016 11:34 AM
> To: cfrg@irtf.org
> Subject: Re: [Cfrg] Key wrap algorithm
> 
> 
>    Hi Jim,
> 
> On 7/31/16 10:03 PM, Jim Schaad wrote:
> > We have traditionally used the AES key wrap algorithm when encrypting
> > keys for transport in the S/MIME documents.  If we move to using
> > ChaCha20/Poly1305 as one of the new content encryption algorithms, it
> > would make sense to have a key wrap algorithm based on ChaCha20 rather
> > than AES to match.
> >
> > Has anybody looked at using ChaCha20, either with or without Poly1305
> > for doing a key wrap.  An SIV style algorithm would be acceptable.  A
> > preference for an algorithm without the same IV requirements would be
> > nice, but it should be assumed that the same key will be used to encrypt
> multiple keys.
> > The algorithm could either be an AE or and AEAD algorithm, the current
> > AES key wrap is an AE algorithm but allowing for additional data might
> > be useful in other contexts (i.e. COSE).
>    Have you looked at RFC 5297 (AES-SIV)? It does deterministic
authenticated
> encryption (aka key wrapping), with associated data.
> 
>    regards,
> 
>    Dan.
> > Jim
> >
> >
> > _______________________________________________
> > Cfrg mailing list
> > Cfrg@irtf.org
> > https://www.irtf.org/mailman/listinfo/cfrg
> 
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Tue Aug  2 00:51:11 2016
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 48F8812B008 for <cfrg@ietfa.amsl.com>; Tue,  2 Aug 2016 00:51:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.187
X-Spam-Level: 
X-Spam-Status: No, score=-3.187 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.287] autolearn=ham autolearn_force=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 EhF36wX5vjFw for <cfrg@ietfa.amsl.com>; Tue,  2 Aug 2016 00:51:03 -0700 (PDT)
Received: from welho-filter3.welho.com (welho-filter3.welho.com [83.102.41.25]) by ietfa.amsl.com (Postfix) with ESMTP id E0C0812B004 for <cfrg@ietf.org>; Tue,  2 Aug 2016 00:51:02 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id 38EA3E99D; Tue,  2 Aug 2016 10:51:02 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id quyi-3H-NfNv; Tue,  2 Aug 2016 10:51:01 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-177-32.bb.dnainternet.fi [87.100.177.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id A44E82310; Tue,  2 Aug 2016 10:51:01 +0300 (EEST)
Date: Tue, 2 Aug 2016 10:50:55 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Jim Schaad <ietf@augustcellars.com>
Message-ID: <20160802075055.GB21071@LK-Perkele-V2.elisa-laajakaista.fi>
References: <01e401d1ec1b$b9ccbd90$2d6638b0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <01e401d1ec1b$b9ccbd90$2d6638b0$@augustcellars.com>
User-Agent: Mutt/1.6.0 (2016-04-01)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/cIY1-1AJEZ3L68bRU7LDdFFAwZ8>
Cc: cfrg@ietf.org, draft-irtf-cfrg-eddsa@tools.ietf.org
Subject: Re: [Cfrg] Review of draft-irtf-cfrg-eddsa-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Aug 2016 07:51:06 -0000

On Mon, Aug 01, 2016 at 10:39:56AM -0700, Jim Schaad wrote:
> I am reviewing the current draft because it is what is published.  I know
> that some very significant changes have been made by the author's to their
> editors draft which have not yet been published.  These changes must be
> considered to be blocking as they are errors in the algorithm.
> 
> I will now comment on the draft as a whole and on specific issues that I
> have with the draft.
> 
> 1.  I find the different capabilities between the two signature algorithms
> to be frustrating.  I understand the value of context structures, however
> the reasoning for it not being in the Curve 25519 side of the world is not
> motivated.  While they are useful, I believe they should be removed from the
> Curve 448 algorithms for consistency between the two.  I do not believe that
> it is sufficient to say, don't worry and use an empty context when doing
> drop in replacements if they are really that significant.  Either put them
> in both or remove them from both.

Yeah, that _seriously_ annoys me. Because if you need contexts, you _need_
contexts.

The issues with "LURK SKI" ekr pointed out are a good warning on how
things can go wrong (abusing TLS server signing key to sign some
completely different things).

> 2.  Although it does appear that the point addition code can be used for
> doubling, the fact that the python code does not use would imply that it is
> far more efficient to use a doubling function that is different.  The
> Doubling code should be part of the provided document for people to use if
> they desire.  This is true for both curves.  - Suggest highlighting the fact
> in section 3 where it says that the formulas are complete that they can be
> used for point doubling.

One of the changes to Editor's Copy should fix this (doubling formulas
are given after respective addition formulas). In one case, there is
substantial difference.

> 3.  It would be reasonable to provide a list of differences between the two
> curve functions.  This would include things like the use of dom for one and
> not the other with a list of reasons for the differences and expected
> security differences.  One of which I assume is that 448 is more resistant
> to abuse of pre-hash vs non pre-hash swaps since that is part of the dom
> function.  There may be other things that should be highlighted up front as
> well.

Oh yeah, the Ed25519 vs. Ed25519ph footgun...

> 4.  It might be clearer in section 3.1 to describe ENC(x, y) = ENC(y) ||
> SIGN(x)  and then defined SIGN(x) as "1 if x is negative and 0 if x is not
> negative".  This builds on the previous paragraph.   I don't know what
> happens to the ENC(x, y) function if b is not a multiple of 8.  This should
> probably be defined.  The ENC(x) function I assume is never padded out to a
> multiple of 8, but that might not be the case.  It might also be different
> depending on the context in which case life will get fun really fast.
> Simplest answer might be to go from recommended to required in the
> definition of b

If b is not multiple of 8, some outputs will not be octet strings! That's
the reason for using b=456 and not b=449 with Ed448, as the latter would
cause nasty special cases.

> 5.  In section 3.1, I don't understand where the last paragraph is going.
> It might be useful to motivate it.

Essentially, the idea is to defer divisions to as late as possible by
representing numbers in form x/z.

This is because divisions are _seriously_ slow. It is much faster to
do lots of extra multiplies to handle "numerators" and "denominators"
separatedly.

> 6.  In section 3.3, the function dom is not used in the computation of S.
> This should be included in the generic algorithm and defined as being the
> empty function for Ed25519.  This means that introducing it later is no
> longer a surprise.

Hmm...
 
> 7.  In section 3.4 suggest s/A in E/A/  I found the additional in E to be
> confusing and it is not used elsewhere.

E means the elliptic curve (and it is defined earlier).

The whole section 3 is pretty confusing...

> 8.  In section 5.1.7 there needs to be a discussion of the trade-offs of
> using the second verification formula rather than the first.  What is the
> difference if any?

The second formula rejects some signatures (that aren't constructed by
the signing algorithm presented) the first accepts.

Specifically, the first one ignores multiples of point of order 8 added
to R and A (however, A is hashed into k), whereas with the second formula,
such multiples have to match up too.

And in certain applications, it is a problem if two implementations don't
agree on what are acceptable signatures (even if computing acceptable
signatures for both without private key is infeasible).

> 9.  In section 5.2, I just got a surprise that was unexpected.  I did not
> expect that the pre-hash function would include the use of function dom.
> This is going to be a surprise for a lot of code as it will assume that they
> can just compute the hash of the message x and then pass that into the
> signing function without any additional work being done on their part.  I
> can understand dom being used in the signature computation but why is it
> done here as well.  Also this is very different from Ed25519ph.

Yeah, that's unnecressary. Also, the prehash used is kinda weird anyway
(SHAKE256@512, which is not actual hash function).

> 10.  A citation in section 10.2 on multiple signature verification needing
> randomness is requested.

Essentially, the idea is to verify a random linear combination of
signatures, and the role of randomness is to prevent attacker from
constructing signatures that meet the fixed relation.

> 11. I found the driver function to be frustrating in the process of using it
> to debug my code for a number of reasons.
>
> a)  It was missing the following line " assert sys.version_info >= (3,3)"
> which would have saved me time since I have multiple versions of python.
> b) The driver is only setup to deal with the one function of Ed25519.  That
> meant I had to munge it in various ways to deal with the other functions.
> c) The format is of the file at sign.input is not documented either here or
> in the file itself.
> d) It is not clear what the file format should be for the pre-hash functions
> or for the addition of the context field for Ed448.
> e) The python code occasionally pulls tricks that are not self-evident in
> order to perform some of the checks required in the document making checking
> of this more difficult.  "Do I need to do that check really?"
> f) The python code uses point doubling, but of course the document doesn't.

I actually have alternate driver that is focused to protocol development
(I don't remember if it does contexts, but it definitely does Ed448).
Can take keys stuff as hex/base64/UTF-8 from command line or as binary
from file, and output hex/base64 to screen or binary to file.


-Ilari


From nobody Tue Aug  2 09:21:48 2016
Return-Path: <ietf@augustcellars.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0750F12D7E2 for <cfrg@ietfa.amsl.com>; Tue,  2 Aug 2016 09:21:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.188
X-Spam-Level: 
X-Spam-Status: No, score=-3.188 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 Ip99oku7BiMz for <cfrg@ietfa.amsl.com>; Tue,  2 Aug 2016 09:21:44 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9ED1112D7E0 for <cfrg@ietf.org>; Tue,  2 Aug 2016 09:21:43 -0700 (PDT)
Received: from hebrews (24.21.96.37) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Tue, 2 Aug 2016 09:32:52 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Ilari Liusvaara' <ilariliusvaara@welho.com>
References: <01e401d1ec1b$b9ccbd90$2d6638b0$@augustcellars.com> <20160802075055.GB21071@LK-Perkele-V2.elisa-laajakaista.fi>
In-Reply-To: <20160802075055.GB21071@LK-Perkele-V2.elisa-laajakaista.fi>
Date: Tue, 2 Aug 2016 09:21:18 -0700
Message-ID: <02fe01d1ecd9$e7c87ef0$b7597cd0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQF0bP6dmaSYoi91yvlI8owDPkRCDAG1qHeSoOMrriA=
Content-Language: en-us
X-Originating-IP: [24.21.96.37]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/xuHRSNk7C-WjawrJSUbufwoLhXI>
Cc: cfrg@ietf.org, draft-irtf-cfrg-eddsa@tools.ietf.org
Subject: Re: [Cfrg] Review of draft-irtf-cfrg-eddsa-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Aug 2016 16:21:46 -0000

> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Ilari Liusvaara
> Sent: Tuesday, August 02, 2016 12:51 AM
> To: Jim Schaad <ietf@augustcellars.com>
> Cc: cfrg@ietf.org; draft-irtf-cfrg-eddsa@tools.ietf.org
> Subject: Re: [Cfrg] Review of draft-irtf-cfrg-eddsa-05
> 
> On Mon, Aug 01, 2016 at 10:39:56AM -0700, Jim Schaad wrote:
> > I am reviewing the current draft because it is what is published.  I
> > know that some very significant changes have been made by the author's
> > to their editors draft which have not yet been published.  These
> > changes must be considered to be blocking as they are errors in the
algorithm.
> >
> > I will now comment on the draft as a whole and on specific issues that
> > I have with the draft.
> >
> > 1.  I find the different capabilities between the two signature
> > algorithms to be frustrating.  I understand the value of context
> > structures, however the reasoning for it not being in the Curve 25519
> > side of the world is not motivated.  While they are useful, I believe
> > they should be removed from the Curve 448 algorithms for consistency
> > between the two.  I do not believe that it is sufficient to say, don't
> > worry and use an empty context when doing drop in replacements if they
> > are really that significant.  Either put them in both or remove them
from both.
> 
> Yeah, that _seriously_ annoys me. Because if you need contexts, you _need_
> contexts.
> 
> The issues with "LURK SKI" ekr pointed out are a good warning on how
things
> can go wrong (abusing TLS server signing key to sign some completely
different
> things).
> 
> > 2.  Although it does appear that the point addition code can be used
> > for doubling, the fact that the python code does not use would imply
> > that it is far more efficient to use a doubling function that is
> > different.  The Doubling code should be part of the provided document
> > for people to use if they desire.  This is true for both curves.  -
> > Suggest highlighting the fact in section 3 where it says that the
> > formulas are complete that they can be used for point doubling.
> 
> One of the changes to Editor's Copy should fix this (doubling formulas are
given
> after respective addition formulas). In one case, there is substantial
difference.
> 
> > 3.  It would be reasonable to provide a list of differences between
> > the two curve functions.  This would include things like the use of
> > dom for one and not the other with a list of reasons for the
> > differences and expected security differences.  One of which I assume
> > is that 448 is more resistant to abuse of pre-hash vs non pre-hash
> > swaps since that is part of the dom function.  There may be other
> > things that should be highlighted up front as well.
> 
> Oh yeah, the Ed25519 vs. Ed25519ph footgun...
> 
> > 4.  It might be clearer in section 3.1 to describe ENC(x, y) = ENC(y)
> > ||
> > SIGN(x)  and then defined SIGN(x) as "1 if x is negative and 0 if x is
not
> > negative".  This builds on the previous paragraph.   I don't know what
> > happens to the ENC(x, y) function if b is not a multiple of 8.  This
> > should probably be defined.  The ENC(x) function I assume is never
> > padded out to a multiple of 8, but that might not be the case.  It
> > might also be different depending on the context in which case life will
get fun
> really fast.
> > Simplest answer might be to go from recommended to required in the
> > definition of b
> 
> If b is not multiple of 8, some outputs will not be octet strings! That's
the reason
> for using b=456 and not b=449 with Ed448, as the latter would cause nasty
> special cases.
> 
> > 5.  In section 3.1, I don't understand where the last paragraph is
going.
> > It might be useful to motivate it.
> 
> Essentially, the idea is to defer divisions to as late as possible by
representing
> numbers in form x/z.
> 
> This is because divisions are _seriously_ slow. It is much faster to do
lots of extra
> multiplies to handle "numerators" and "denominators"
> separatedly.

I think you hit the wrong section.

The encoding of GF(p) is used to define "negative" elements of GF(p):
   specifically, x is negative if the (b-1)-bit encoding of x is
   lexicographically larger than the (b-1)-bit encoding of -x.

> 
> > 6.  In section 3.3, the function dom is not used in the computation of
S.
> > This should be included in the generic algorithm and defined as being
> > the empty function for Ed25519.  This means that introducing it later
> > is no longer a surprise.
> 
> Hmm...
> 
> > 7.  In section 3.4 suggest s/A in E/A/  I found the additional in E to
> > be confusing and it is not used elsewhere.
> 
> E means the elliptic curve (and it is defined earlier).
> 
> The whole section 3 is pretty confusing...
> 
> > 8.  In section 5.1.7 there needs to be a discussion of the trade-offs
> > of using the second verification formula rather than the first.  What
> > is the difference if any?
> 
> The second formula rejects some signatures (that aren't constructed by the
> signing algorithm presented) the first accepts.
> 
> Specifically, the first one ignores multiples of point of order 8 added to
R and A
> (however, A is hashed into k), whereas with the second formula, such
multiples
> have to match up too.
> 
> And in certain applications, it is a problem if two implementations don't
agree
> on what are acceptable signatures (even if computing acceptable signatures
for
> both without private key is infeasible).
> 
> > 9.  In section 5.2, I just got a surprise that was unexpected.  I did
> > not expect that the pre-hash function would include the use of function
dom.
> > This is going to be a surprise for a lot of code as it will assume
> > that they can just compute the hash of the message x and then pass
> > that into the signing function without any additional work being done
> > on their part.  I can understand dom being used in the signature
> > computation but why is it done here as well.  Also this is very
different from
> Ed25519ph.
> 
> Yeah, that's unnecressary. Also, the prehash used is kinda weird anyway
> (SHAKE256@512, which is not actual hash function).
> 
> > 10.  A citation in section 10.2 on multiple signature verification
> > needing randomness is requested.
> 
> Essentially, the idea is to verify a random linear combination of
signatures, and
> the role of randomness is to prevent attacker from constructing signatures
that
> meet the fixed relation.

Hmmmmm....   Yeah that doesn't help any.


Jim

> 
> > 11. I found the driver function to be frustrating in the process of
> > using it to debug my code for a number of reasons.
> >
> > a)  It was missing the following line " assert sys.version_info >=
(3,3)"
> > which would have saved me time since I have multiple versions of python.
> > b) The driver is only setup to deal with the one function of Ed25519.
> > That meant I had to munge it in various ways to deal with the other
functions.
> > c) The format is of the file at sign.input is not documented either
> > here or in the file itself.
> > d) It is not clear what the file format should be for the pre-hash
> > functions or for the addition of the context field for Ed448.
> > e) The python code occasionally pulls tricks that are not self-evident
> > in order to perform some of the checks required in the document making
> > checking of this more difficult.  "Do I need to do that check really?"
> > f) The python code uses point doubling, but of course the document
doesn't.
> 
> I actually have alternate driver that is focused to protocol development
(I don't
> remember if it does contexts, but it definitely does Ed448).
> Can take keys stuff as hex/base64/UTF-8 from command line or as binary
from
> file, and output hex/base64 to screen or binary to file.
> 
> 
> -Ilari
> 
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Tue Aug  2 13:59:34 2016
Return-Path: <mike@shiftleft.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 483C312D603 for <cfrg@ietfa.amsl.com>; Tue,  2 Aug 2016 13:59:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.288
X-Spam-Level: 
X-Spam-Status: No, score=-3.288 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-1.287, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=shiftleft.org
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 ZX5CQTKNfYgk for <cfrg@ietfa.amsl.com>; Tue,  2 Aug 2016 13:59:30 -0700 (PDT)
Received: from astral.shiftleft.org (vpn.shiftleft.org [52.40.228.30]) by ietfa.amsl.com (Postfix) with ESMTP id 5DCE112B02C for <cfrg@ietf.org>; Tue,  2 Aug 2016 13:59:30 -0700 (PDT)
Received: from [10.184.148.249] (unknown [209.36.6.242]) (Authenticated sender: mike) by astral.shiftleft.org (Postfix) with ESMTPSA id EFA25A001D; Tue,  2 Aug 2016 13:59:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shiftleft.org; s=sldo; t=1470171566; bh=XkeBGjbNiq2W5TK5yqgvmIstfQbB9C0GRrc/g3NQ/tw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=EBFlI81t11Tn8NLHexlzvcKeFG6HHIsQImXGwfNaCt9qCBfHMsXSUcV1fevsxtH2X oKz+nM2sj1HR3VhUaJnBSw++lNjNk/znsVRMMSMgKahViVx5+KlgwkDOEEHOKuSupK WXR8gXddU02FIHk4lupx3/IGTEIbgVYOlLX8vSO4=
Content-Type: multipart/alternative; boundary="Apple-Mail=_811659CE-7F8E-4DD8-A4EF-C203D9836573"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Mike Hamburg <mike@shiftleft.org>
In-Reply-To: <20160802075055.GB21071@LK-Perkele-V2.elisa-laajakaista.fi>
Date: Tue, 2 Aug 2016 13:59:28 -0700
Message-Id: <4B08AAC4-A91E-4AD4-B2FC-A5DA1DC73B91@shiftleft.org>
References: <01e401d1ec1b$b9ccbd90$2d6638b0$@augustcellars.com> <20160802075055.GB21071@LK-Perkele-V2.elisa-laajakaista.fi>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
X-Mailer: Apple Mail (2.3124)
X-Virus-Scanned: clamav-milter 0.99 at astral
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/4KIkZAkGbiyr-ZLWMV1poON3BAg>
Cc: Jim Schaad <ietf@augustcellars.com>, cfrg@ietf.org, draft-irtf-cfrg-eddsa@tools.ietf.org
Subject: Re: [Cfrg] Review of draft-irtf-cfrg-eddsa-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Aug 2016 20:59:32 -0000

--Apple-Mail=_811659CE-7F8E-4DD8-A4EF-C203D9836573
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Aug 2, 2016, at 12:50 AM, Ilari Liusvaara =
<ilariliusvaara@welho.com> wrote:
>=20
> On Mon, Aug 01, 2016 at 10:39:56AM -0700, Jim Schaad wrote:
>> I am reviewing the current draft because it is what is published.  I =
know
>> that some very significant changes have been made by the author's to =
their
>> editors draft which have not yet been published.  These changes must =
be
>> considered to be blocking as they are errors in the algorithm.
>>=20
>> I will now comment on the draft as a whole and on specific issues =
that I
>> have with the draft.
>>=20
>> 1.  I find the different capabilities between the two signature =
algorithms
>> to be frustrating.  I understand the value of context structures, =
however
>> the reasoning for it not being in the Curve 25519 side of the world =
is not
>> motivated.  While they are useful, I believe they should be removed =
from the
>> Curve 448 algorithms for consistency between the two.  I do not =
believe that
>> it is sufficient to say, don't worry and use an empty context when =
doing
>> drop in replacements if they are really that significant.  Either put =
them
>> in both or remove them from both.
>=20
> Yeah, that _seriously_ annoys me. Because if you need contexts, you =
_need_
> contexts.
>=20
> The issues with "LURK SKI" ekr pointed out are a good warning on how
> things can go wrong (abusing TLS server signing key to sign some
> completely different things).

Perhaps we could fix the context to the empty string, and then put the =
actual context code in the appendix?

There=E2=80=99s been a lot of criticism for contexts, since of course =
they are redundant with prefixing the message.  I still kind of like =
them, because in some legacy protocol you can specify the signature =
algorithm as Ed448(context=3D=E2=80=9Cmy legacy protocol=E2=80=9D) and =
it will be separated from other uses of Ed448 with the same key.  But I =
agree that the split is confusing as it is now.

>=20
>> 8.  In section 5.1.7 there needs to be a discussion of the trade-offs =
of
>> using the second verification formula rather than the first.  What is =
the
>> difference if any?
>=20
> The second formula rejects some signatures (that aren't constructed by
> the signing algorithm presented) the first accepts.
>=20
> Specifically, the first one ignores multiples of point of order 8 =
added
> to R and A (however, A is hashed into k), whereas with the second =
formula,
> such multiples have to match up too.
>=20
> And in certain applications, it is a problem if two implementations =
don't
> agree on what are acceptable signatures (even if computing acceptable
> signatures for both without private key is infeasible).

I agree that this needs to be discussed in the document.

>> 9.  In section 5.2, I just got a surprise that was unexpected.  I did =
not
>> expect that the pre-hash function would include the use of function =
dom.
>> This is going to be a surprise for a lot of code as it will assume =
that they
>> can just compute the hash of the message x and then pass that into =
the
>> signing function without any additional work being done on their =
part.  I
>> can understand dom being used in the signature computation but why is =
it
>> done here as well.  Also this is very different from Ed25519ph.
>=20
> Yeah, that's unnecressary. Also, the prehash used is kinda weird =
anyway
> (SHAKE256@512, which is not actual hash function).

I=E2=80=99d be happy to see a change to the prehash.  It should still =
probably be SHAKE or SHA3 though, to match the signature; or else we =
would have to extend the context to describe what the hash is, which =
would be annoying.

Cheers,
=E2=80=94 Mike=

--Apple-Mail=_811659CE-7F8E-4DD8-A4EF-C203D9836573
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div class=3D""><br class=3D""></div><div><blockquote =
type=3D"cite" class=3D""><div class=3D"">On Aug 2, 2016, at 12:50 AM, =
Ilari Liusvaara &lt;<a href=3D"mailto:ilariliusvaara@welho.com" =
class=3D"">ilariliusvaara@welho.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">On Mon, Aug 01, 2016 at 10:39:56AM -0700, Jim =
Schaad wrote:</span><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; orphans: auto; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: =
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><blockquote type=3D"cite" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D"">I am reviewing the current draft because it is what is =
published. &nbsp;I know<br class=3D"">that some very significant changes =
have been made by the author's to their<br class=3D"">editors draft =
which have not yet been published. &nbsp;These changes must be<br =
class=3D"">considered to be blocking as they are errors in the =
algorithm.<br class=3D""><br class=3D"">I will now comment on the draft =
as a whole and on specific issues that I<br class=3D"">have with the =
draft.<br class=3D""><br class=3D"">1. &nbsp;I find the different =
capabilities between the two signature algorithms<br class=3D"">to be =
frustrating. &nbsp;I understand the value of context structures, =
however<br class=3D"">the reasoning for it not being in the Curve 25519 =
side of the world is not<br class=3D"">motivated. &nbsp;While they are =
useful, I believe they should be removed from the<br class=3D"">Curve =
448 algorithms for consistency between the two. &nbsp;I do not believe =
that<br class=3D"">it is sufficient to say, don't worry and use an empty =
context when doing<br class=3D"">drop in replacements if they are really =
that significant. &nbsp;Either put them<br class=3D"">in both or remove =
them from both.<br class=3D""></blockquote><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">Yeah, that _seriously_ annoys me. Because =
if you need contexts, you _need_</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">contexts.</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">The issues with "LURK SKI" ekr pointed out are a =
good warning on how</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">things can go wrong (abusing TLS server =
signing key to sign some</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">completely different =
things).</span></div></blockquote><div><br class=3D""></div><div>Perhaps =
we could fix the context to the empty string, and then put the actual =
context code in the appendix?</div><div><br =
class=3D""></div><div>There=E2=80=99s been a lot of criticism for =
contexts, since of course they are redundant with prefixing the message. =
&nbsp;I still kind of like them, because in some legacy protocol you can =
specify the signature algorithm as Ed448(context=3D=E2=80=9Cmy legacy =
protocol=E2=80=9D) and it will be separated from other uses of Ed448 =
with the same key. &nbsp;But I agree that the split is confusing as it =
is now.</div><div><br class=3D""></div><blockquote type=3D"cite" =
class=3D""><div class=3D""><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><blockquote type=3D"cite" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D"">8. &nbsp;In section 5.1.7 there needs to be a discussion of =
the trade-offs of<br class=3D"">using the second verification formula =
rather than the first. &nbsp;What is the<br class=3D"">difference if =
any?<br class=3D""></blockquote><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">The second formula rejects some =
signatures (that aren't constructed by</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">the signing algorithm presented) the =
first accepts.</span><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; orphans: auto; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: =
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
float: none; display: inline !important;" class=3D"">Specifically, the =
first one ignores multiples of point of order 8 added</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
float: none; display: inline !important;" class=3D"">to R and A =
(however, A is hashed into k), whereas with the second =
formula,</span><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">such multiples have to match up too.</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">And in certain applications, it is a =
problem if two implementations don't</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">agree on what are acceptable signatures =
(even if computing acceptable</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">signatures for both without private key =
is infeasible).</span><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; orphans: auto; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: =
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""></div></blockquote><div><br class=3D""></div><div>I agree =
that this needs to be discussed in the document.</div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D""><blockquote type=3D"cite" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D"">9. &nbsp;In section 5.2, I just got a surprise that was =
unexpected. &nbsp;I did not<br class=3D"">expect that the pre-hash =
function would include the use of function dom.<br class=3D"">This is =
going to be a surprise for a lot of code as it will assume that they<br =
class=3D"">can just compute the hash of the message x and then pass that =
into the<br class=3D"">signing function without any additional work =
being done on their part. &nbsp;I<br class=3D"">can understand dom being =
used in the signature computation but why is it<br class=3D"">done here =
as well. &nbsp;Also this is very different from Ed25519ph.<br =
class=3D""></blockquote><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; orphans: auto; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: =
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span=
 style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">Yeah, that's unnecressary. Also, the prehash =
used is kinda weird anyway</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">(SHAKE256@512, which is not actual hash =
function).</span><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""></div></blockquote><div><br class=3D""></div><div>I=E2=80=99d =
be happy to see a change to the prehash. &nbsp;It should still probably =
be SHAKE or SHA3 though, to match the signature; or else we would have =
to extend the context to describe what the hash is, which would be =
annoying.</div></div><br class=3D""><div class=3D"">Cheers,</div><div =
class=3D"">=E2=80=94 Mike</div></body></html>=

--Apple-Mail=_811659CE-7F8E-4DD8-A4EF-C203D9836573--


From nobody Tue Aug  2 14:14:56 2016
Return-Path: <rgm-sec@htt-consult.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CE74B12B02C for <cfrg@ietfa.amsl.com>; Tue,  2 Aug 2016 14:14:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.488
X-Spam-Level: 
X-Spam-Status: No, score=-5.488 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 91-jfUIL1yaP for <cfrg@ietfa.amsl.com>; Tue,  2 Aug 2016 14:14:52 -0700 (PDT)
Received: from z9m9z.htt-consult.com (z9m9z.htt-consult.com [50.253.254.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B347612D190 for <cfrg@irtf.org>; Tue,  2 Aug 2016 14:14:49 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by z9m9z.htt-consult.com (Postfix) with ESMTP id BC54562209; Tue,  2 Aug 2016 17:14:47 -0400 (EDT)
X-Virus-Scanned: amavisd-new at htt-consult.com
Received: from z9m9z.htt-consult.com ([127.0.0.1]) by localhost (z9m9z.htt-consult.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bzcyzclDxRLh; Tue,  2 Aug 2016 17:14:36 -0400 (EDT)
Received: from lx120e.htt-consult.com (unknown [192.168.160.20]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by z9m9z.htt-consult.com (Postfix) with ESMTPSA id 69B9762208; Tue,  2 Aug 2016 17:14:33 -0400 (EDT)
To: Michael StJohns <msj@nthpermutation.com>, Watson Ladd <watsonbladd@gmail.com>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <20160724122445.5910610.13585.5799@gmail.com> <585fcc1f-f4f2-4a78-7cd8-a59adbfcd5d0@htt-consult.com> <CANeU+ZB21Uptjp6i8AD5NGNuegMhtHSJuqeBEyB+h+qLu35bpQ@mail.gmail.com> <CACsn0c=-6LQWTsDEZxZVX1AiX6BcCHG-0mt-H1Z5D8yVLVPE5A@mail.gmail.com> <CANeU+ZCMYhepjjeUMcMawxMmwY3mAztPaD20P65PdEFEPfZYNQ@mail.gmail.com> <CACsn0c=ttBVWu8T3KqfpPXUHFbMYTo0bbJUWx2X8WN3_NDqwBA@mail.gmail.com> <272081cd-0e0a-3842-a21f-9a6f83e2dfd5@nthpermutation.com>
From: Robert Moskowitz <rgm-sec@htt-consult.com>
Message-ID: <8c3264a9-de11-681b-25ca-c9ac78f6a2aa@htt-consult.com>
Date: Tue, 2 Aug 2016 17:14:29 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <272081cd-0e0a-3842-a21f-9a6f83e2dfd5@nthpermutation.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/NQ-20RLfO6hXQPRIJBTUo0RQ_eA>
Subject: Re: [Cfrg] Future applications of PAKEs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Aug 2016 21:14:55 -0000

On 08/01/2016 12:44 PM, Michael StJohns wrote:
> *sigh* I hit the wrong reply button and this only went to Watson (who 
> replied and I haven't yet read the reply).  It includes an edit I 
> meant to make but didn't before sending with respect to my commentary 
> on IOT on-line vs off-line attacks.
>
>
> On 7/31/2016 1:49 PM, Watson Ladd wrote:
>> What I mean is an active adversary can guess the password offline
>> after one exchange.
>>
>> They do this by doing the exchange, then seeing which password lets
>> them decrypt what you send/makes the key confirmation step work.
>
> I kind of thought that's what you meant.  Translation:  If you have 
> weak passwords then the authentication part of this isn't worth anything.
>
> Yup.  We pretty much know this.
>
> I generally figure that a well chosen password (e.g. no dictionary 
> words, upper, lower case, special chracters) gives me about 3-4 bits 
> of security per character.  So a 16 character password gives you 2^48 
> to 2^64 possibilities to try and brute force.  Smaller passwords or 
> weaker character sets or dictionary words give you somewhat less.
>
>
> However, the confidentiality part remains intact due to the ECDH (at a 
> strength equal to the key strength).
>
> What I heard from Bob was "IOT" and "ECDH" and "password".   What I 
> assumed was he could chose the lower bounds for password entropy 
> because (a) the password wasn't sent over the wire so it was a don't 
> care for length and (b) he would be smart enough to use a NHI (No 
> humans involved) password generators.  What I also assumed was a 
> severe constraint on new code and libraries (e.g. IOT).
>
> Given that, and given a desire not to turn a two message protocol into 
> a multi message protocol, or to require new software or hardware, I 
> stand by my suggestion, for among other reasons, it can be done with 
> existing libraries and hardware with no modifications.
>
> Note that this is a derivative of the C(2,2) protocols described in 
> the NIST ECDH document.
>
> The question is whether the simplicity of the protocol assuming 
> sufficiently long passphrases is a better choice - in this case - than 
> a protocol that unconditionally prevents off-line brute forcing, but 
> requires math constructs not currently found in the libraries?
>
> I don't know - but I'll bet Bob can figure the tradeoffs.

And I am struggling as the vendor(s) will either print the PSK directly 
on the device or its packaging, or go with something really short and 
'sweet'.

One tradeoff on the offline attack, is that MOST deployments occur where 
the probablity of intercept is very low.  They ask why they even need a 
password it the only time this is run is at deployment, or controller 
replacement.  Thus I actually *like* the wire cutting trick.

>
> Later, Mike
>
> ps  - mostly for IOT, on-line attacks tend to be as possible (and as 
> hard to detect) and with a similar order of difficulty as offline 
> brute forcing.  I mostly don't consider it much of a differentiator.
>
> <addition>
> Sorry - meant to expand this.  In the weak password range, repeatedly 
> opening up sessions with the target can be done fast enough that most 
> PAKE systems - even those that are designed to defeat offline brute 
> force attacks - can be brute forced.  If you can get the passwords 
> somewhere in the middle range (call it 8-16 characters), then things 
> like Watson's proposals provide some additional protection.  Getting 
> above that range into the 16+ character passwords - there is little or 
> no difference in effective security (vs theoretical security).
> </addition>
>
> Now I'll go read what Watson said... :-)
>
>
>
>
>
>
>
>
>>
>> On Sun, Jul 31, 2016 at 10:48 AM, StJohns, Michael
>> <msj@nthpermutation.com> wrote:
>>> Go for it.  I'm actually curious what you mean by not secure and 
>>> what you
>>> mean by break.
>>>
>>>
>>> On Sunday, July 31, 2016, Watson Ladd <watsonbladd@gmail.com> wrote:
>>>> On Sun, Jul 31, 2016 at 10:19 AM, StJohns, Michael
>>>> <msj@nthpermutation.com> wrote:
>>>>> I've been finding the following construct useful and secure:
>>>>>
>>>>> 1) use ecdhe to derive a one-time shared secret
>>>>> 2) prepend your password to the shared secret
>>>>> 3) use that concatenated value as the master key for your KDF 
>>>>> function.
>>>>>
>>>>> The derived keys will only match if both sides input the exact same
>>>>> password
>>>>> value gang you the authentication piece.
>>>> This is not secure. I leave it as an exercise to the reader to break.
>>>>
>>>>>
>>>>> Mike
>>>>>
>>>>>
>>>>> On Friday, July 29, 2016, Robert Moskowitz <rgm-sec@htt-consult.com>
>>>>> wrote:
>>>>>> I have an IoT vendor that has an ECDH KE embedded in their protocol.
>>>>>> They
>>>>>> have asked me to enhance this with a password.  Actually I have TWO
>>>>>> such
>>>>>> vendors (different industries so no conflict of interest).  I cannot
>>>>>> provide
>>>>>> details of what they do beyond there is an ECDH KE.
>>>>>>
>>>>>> So I need to turn their ECDH KE into a PAKE.
>>>>>>
>>>>>> I recognize that this is not directly an IETF problem, but if I 
>>>>>> point
>>>>>> to
>>>>>> an IETF protocol, they will be more willing to adopt change.
>>>>>>
>>>>>> Choices, choices...
>>>>>>
>>>>>> I would like to have a draft that provides the differences 
>>>>>> between the
>>>>>> various proposed PAKEs.
>>>>>>
>>>>>> On 07/24/2016 08:24 AM, Станислав Смышляев wrote:
>>>>>>
>>>>>> Good afternoon, dear colleagues!
>>>>>>
>>>>>> We've had a very fruitful discussion with Watson Ladd and have both
>>>>>> understood that to continue a productive work on PAKEs in CFRG (not
>>>>>> only on
>>>>>> SESPAKE and SPAKE2 drafts) it will be better if all of us now decide
>>>>>> which
>>>>>> PAKEs applications to consider as primary ones for IETF.
>>>>>>
>>>>>> The concrete questions that depend on this decision are more 
>>>>>> specific
>>>>>> than
>>>>>> the ones considered in the requirements draft (which is quite 
>>>>>> ready to
>>>>>> be
>>>>>> followed now)‎ - they are about how the defined protocols are to be
>>>>>> integrated. For instance, if we need a PAKE to be ready for 
>>>>>> integration
>>>>>> in
>>>>>> some IoT initialization protocol (as we discussed with Hannes
>>>>>> Tschofenig) or
>>>>>> to be used separately for specific needs as securing channel 
>>>>>> between a
>>>>>> key
>>>>>> container and a CSP (as it is used in my company), we have to 
>>>>>> define a
>>>>>> wise
>>>>>> key confirmation part and surroundings (like the way of obtaining 
>>>>>> Q_PW
>>>>>> in
>>>>>> SESPAKE draft or the final key K' in Watson's SPAKE2 draft). 
>>>>>> Otherwise,
>>>>>> if
>>>>>> we primarily think about TLS or IKE, for example, we don't need to
>>>>>> define
>>>>>> anything except the core key exchange mechanism now - and leave all
>>>>>> other
>>>>>> important questions like the countermeasures against online password
>>>>>> guessing until the future work on a corresponding
>>>>>> TLS(/IKE/SSH/etc)-related
>>>>>> draft.
>>>>>>
>>>>>> Kindest regards,
>>>>>> Stanislav Smyshlyaev
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Cfrg mailing list
>>>>>> Cfrg@irtf.org
>>>>>> https://www.irtf.org/mailman/listinfo/cfrg
>>>>>>
>>>>>>
>>>>
>>>>
>>>> -- 
>>>> "Man is born free, but everywhere he is in chains".
>>>> --Rousseau.
>>
>>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Tue Aug  2 15:28:45 2016
Return-Path: <campbell@mumble.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8C15F12D9DB for <cfrg@ietfa.amsl.com>; Tue,  2 Aug 2016 15:28:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.187
X-Spam-Level: 
X-Spam-Status: No, score=-3.187 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.287] autolearn=ham autolearn_force=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 Ys_edjfTfuo8 for <cfrg@ietfa.amsl.com>; Tue,  2 Aug 2016 15:28:42 -0700 (PDT)
Received: from jupiter.mumble.net (jupiter.mumble.net [74.50.56.165]) by ietfa.amsl.com (Postfix) with ESMTP id 2BC7312D9C6 for <cfrg@ietf.org>; Tue,  2 Aug 2016 15:28:42 -0700 (PDT)
Received: by jupiter.mumble.net (Postfix, from userid 1014) id 5F2BE603FB; Tue,  2 Aug 2016 22:28:33 +0000 (UTC)
From: Taylor R Campbell <campbell+cfrg@mumble.net>
To: Mike Hamburg <mike@shiftleft.org>
In-reply-to: <4B08AAC4-A91E-4AD4-B2FC-A5DA1DC73B91@shiftleft.org> (mike@shiftleft.org)
Date: Tue, 2 Aug 2016 22:28:41 +0000
Sender: Taylor R Campbell <campbell@mumble.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20160802222833.5F2BE603FB@jupiter.mumble.net>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/C9CafYrzYFTk4cNwkzXnRwqZV7Q>
Cc: Jim Schaad <ietf@augustcellars.com>, cfrg@ietf.org, draft-irtf-cfrg-eddsa@tools.ietf.org
Subject: [Cfrg] legacy protocols and contexts [was Re: Review of draft-irtf-cfrg-eddsa-05]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Aug 2016 22:28:43 -0000

   Date: Tue, 2 Aug 2016 13:59:28 -0700
   From: Mike Hamburg <mike@shiftleft.org>

   There's been a lot of criticism for contexts, since of course they
   are redundant with prefixing the message.  I still kind of like
   them, because in some legacy protocol you can specify the signature
   algorithm as Ed448(context=`my legacy protocol') and it will be
   separated from other uses of Ed448 with the same key.  But I agree
   that the split is confusing as it is now.

In what legacy protocol can you specify a new signature scheme over a
new curve with a new special-purpose context parameter for existing
keys, yet you can't control anything else about how the existing keys
are used for other inputs?


From nobody Tue Aug  2 17:12:31 2016
Return-Path: <ietf@augustcellars.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B37E412D82A for <cfrg@ietfa.amsl.com>; Tue,  2 Aug 2016 17:12:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.188
X-Spam-Level: 
X-Spam-Status: No, score=-3.188 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 1UDkvFaWdcCN for <cfrg@ietfa.amsl.com>; Tue,  2 Aug 2016 17:12:28 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DC61E12D80B for <cfrg@ietf.org>; Tue,  2 Aug 2016 17:12:27 -0700 (PDT)
Received: from hebrews (24.21.96.37) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Tue, 2 Aug 2016 17:23:37 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Taylor R Campbell' <campbell+cfrg@mumble.net>, 'Mike Hamburg' <mike@shiftleft.org>
References: <4B08AAC4-A91E-4AD4-B2FC-A5DA1DC73B91@shiftleft.org> (mike@shiftleft.org) <20160802222833.5F2BE603FB@jupiter.mumble.net>
In-Reply-To: <20160802222833.5F2BE603FB@jupiter.mumble.net>
Date: Tue, 2 Aug 2016 17:12:01 -0700
Message-ID: <038501d1ed1b$aa34ec30$fe9ec490$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQL6kiG52/Mf54Mf/J4HKLxxrFZEsJ3lEbiQ
Content-Language: en-us
X-Originating-IP: [24.21.96.37]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/PDt49l6f99dEibkVA6NEstf_myE>
Cc: cfrg@ietf.org, draft-irtf-cfrg-eddsa@tools.ietf.org
Subject: Re: [Cfrg] legacy protocols and contexts [was Re: Review of draft-irtf-cfrg-eddsa-05]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Aug 2016 00:12:29 -0000

I would have to go through the mailing list again to be sure, however I
believe that the argument was the Ed25519 is currently being used in
protocols today.  For some reason I seem to remember that SSH was one such
but I don't have anything but a vague memory to back that up. If so, the
version being used in SSH does not have the context structure built into it.
The desire was to not deliberately have an incompatible signature scheme
defined here that would not match what is being done in these protocols.

Jim


> -----Original Message-----
> From: Taylor R Campbell [mailto:campbell@mumble.net] On Behalf Of Taylor R
> Campbell
> Sent: Tuesday, August 02, 2016 3:29 PM
> To: Mike Hamburg <mike@shiftleft.org>
> Cc: Ilari Liusvaara <ilariliusvaara@welho.com>; Jim Schaad
> <ietf@augustcellars.com>; cfrg@ietf.org;
draft-irtf-cfrg-eddsa@tools.ietf.org
> Subject: legacy protocols and contexts [was Re: [Cfrg] Review of
draft-irtf-cfrg-
> eddsa-05]
> 
>    Date: Tue, 2 Aug 2016 13:59:28 -0700
>    From: Mike Hamburg <mike@shiftleft.org>
> 
>    There's been a lot of criticism for contexts, since of course they
>    are redundant with prefixing the message.  I still kind of like
>    them, because in some legacy protocol you can specify the signature
>    algorithm as Ed448(context=`my legacy protocol') and it will be
>    separated from other uses of Ed448 with the same key.  But I agree
>    that the split is confusing as it is now.
> 
> In what legacy protocol can you specify a new signature scheme over a new
> curve with a new special-purpose context parameter for existing keys, yet
you
> can't control anything else about how the existing keys are used for other
> inputs?


From nobody Tue Aug  2 18:43:42 2016
Return-Path: <mike@shiftleft.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02C3312D098 for <cfrg@ietfa.amsl.com>; Tue,  2 Aug 2016 18:43:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.289
X-Spam-Level: 
X-Spam-Status: No, score=-3.289 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-1.287, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=shiftleft.org
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 Hj_CtipavORY for <cfrg@ietfa.amsl.com>; Tue,  2 Aug 2016 18:43:39 -0700 (PDT)
Received: from astral.shiftleft.org (vpn.shiftleft.org [52.40.228.30]) by ietfa.amsl.com (Postfix) with ESMTP id BDE8312B04A for <cfrg@ietf.org>; Tue,  2 Aug 2016 18:43:39 -0700 (PDT)
Received: from [10.184.148.249] (unknown [209.36.6.242]) (Authenticated sender: mike) by astral.shiftleft.org (Postfix) with ESMTPSA id C15B39FD7E; Tue,  2 Aug 2016 18:43:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shiftleft.org; s=sldo; t=1470188616; bh=1M25JDOuqag42F0KYpqpmSFkEgk3md65gzlModCb8pY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=DulotfmStAbhYGF05GU0RWfOuX3ypgyNsALTZ7xwPMTuz2ztPN4m49FIK7gCObWQr 8z37//al8Tx8K7Bcp/SGP/ic+N5T4YM8zXmjXiryoni8hupOQKZYgodAB5em9UmIne o986o8LkDCdS8TwaAbvMqXuTfw0vhl9GAGztoyLM=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Mike Hamburg <mike@shiftleft.org>
In-Reply-To: <20160802222833.5F2BE603FB@jupiter.mumble.net>
Date: Tue, 2 Aug 2016 18:43:37 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <ECA8D710-2086-4483-8DAD-43BD900887A4@shiftleft.org>
References: <20160802222833.5F2BE603FB@jupiter.mumble.net>
To: Taylor R Campbell <campbell+cfrg@mumble.net>
X-Mailer: Apple Mail (2.3124)
X-Virus-Scanned: clamav-milter 0.99 at astral
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/56sPRKD_RkNS2Mh1RgHLknLXjXs>
Cc: Jim Schaad <ietf@augustcellars.com>, cfrg@ietf.org, draft-irtf-cfrg-eddsa@tools.ietf.org
Subject: Re: [Cfrg] legacy protocols and contexts [was Re: Review of draft-irtf-cfrg-eddsa-05]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Aug 2016 01:43:41 -0000

> On Aug 2, 2016, at 3:28 PM, Taylor R Campbell =
<campbell+cfrg@mumble.net> wrote:
>=20
>   Date: Tue, 2 Aug 2016 13:59:28 -0700
>   From: Mike Hamburg <mike@shiftleft.org>
>=20
>   There's been a lot of criticism for contexts, since of course they
>   are redundant with prefixing the message.  I still kind of like
>   them, because in some legacy protocol you can specify the signature
>   algorithm as Ed448(context=3D`my legacy protocol') and it will be
>   separated from other uses of Ed448 with the same key.  But I agree
>   that the split is confusing as it is now.
>=20
> In what legacy protocol can you specify a new signature scheme over a
> new curve with a new special-purpose context parameter for existing
> keys, yet you can't control anything else about how the existing keys
> are used for other inputs?


Legacy protocols get extended all the time.  Especially TLS.  They get =
new cryptosystems and new ways of using those cryptosystems.  They have =
many extension specs written by many different people, some of which may =
be rather unlikely to change and would therefore need to be superseded, =
compounding the legacy headache.

Contexts are there so that you can domain-separate two extensions or =
other uses of a key, without changing the specs to both of them =E2=80=94 =
or, conceivably, to either of them, if you define a way to determine the =
context for a given extension.

I understand that this doesn=E2=80=99t protect people who use older =
signature schemes that don=E2=80=99t have contexts.  It is merely a =
defense in depth, but this seems appropriate for what is already a =
paranoid-level curve.

If you don=E2=80=99t use the contexts, they cost a couple paragraphs in =
the spec, one extra byte passed to a hash function, and (if the library =
supports with and without) one extra function in the library API.  I =
hope that this is still little enough complexity that the potential =
gains outweigh the risks.  If not, I don=E2=80=99t have a huge problem =
with removing them, but I still think it=E2=80=99s important to =
distinguish prehashed and non-prehashed modes.

=E2=80=94 Mike=


From nobody Tue Aug  2 21:53:37 2016
Return-Path: <ietf@augustcellars.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5731A12D0F5 for <cfrg@ietfa.amsl.com>; Tue,  2 Aug 2016 21:53:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.188
X-Spam-Level: 
X-Spam-Status: No, score=-3.188 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 CNjhbC0D2JFO for <cfrg@ietfa.amsl.com>; Tue,  2 Aug 2016 21:53:34 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D95B0128874 for <cfrg@ietf.org>; Tue,  2 Aug 2016 21:53:33 -0700 (PDT)
Received: from hebrews (24.21.96.37) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Tue, 2 Aug 2016 22:04:44 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Taylor R Campbell' <campbell+cfrg@mumble.net>, 'Mike Hamburg' <mike@shiftleft.org>
References: <4B08AAC4-A91E-4AD4-B2FC-A5DA1DC73B91@shiftleft.org> (mike@shiftleft.org) <20160802222833.5F2BE603FB@jupiter.mumble.net> <038501d1ed1b$aa34ec30$fe9ec490$@augustcellars.com>
In-Reply-To: <038501d1ed1b$aa34ec30$fe9ec490$@augustcellars.com>
Date: Tue, 2 Aug 2016 21:53:07 -0700
Message-ID: <039901d1ed42$eef1e630$ccd5b290$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQGTG7D8yzf3x5MHMvvf3zFpT0a2KwL6kiG5AhqmhkWgi6Qm4A==
Content-Language: en-us
X-Originating-IP: [24.21.96.37]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/mMSvbPGzkc9IzTlfAJybDPXwkG4>
Cc: cfrg@ietf.org, draft-irtf-cfrg-eddsa@tools.ietf.org
Subject: Re: [Cfrg] legacy protocols and contexts [was Re: Review of draft-irtf-cfrg-eddsa-05]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Aug 2016 04:53:36 -0000

It dawns on me that I should probably state that while my main worry is that
the two algorithms be consistent of either having or not having the context
structure.  My preference would be to have the context structure as it
strengthens the resistance to the pre-hash/pure misuse even if it means that
there are two different things called Ed25519 in the wild.

Jim


> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Jim Schaad
> Sent: Tuesday, August 02, 2016 5:12 PM
> To: 'Taylor R Campbell' <campbell+cfrg@mumble.net>; 'Mike Hamburg'
> <mike@shiftleft.org>
> Cc: cfrg@ietf.org; draft-irtf-cfrg-eddsa@tools.ietf.org
> Subject: Re: [Cfrg] legacy protocols and contexts [was Re: Review of
draft-irtf-
> cfrg-eddsa-05]
> 
> I would have to go through the mailing list again to be sure, however I
believe
> that the argument was the Ed25519 is currently being used in protocols
today.
> For some reason I seem to remember that SSH was one such but I don't have
> anything but a vague memory to back that up. If so, the version being used
in
> SSH does not have the context structure built into it.
> The desire was to not deliberately have an incompatible signature scheme
> defined here that would not match what is being done in these protocols.
> 
> Jim
> 
> 
> > -----Original Message-----
> > From: Taylor R Campbell [mailto:campbell@mumble.net] On Behalf Of
> > Taylor R Campbell
> > Sent: Tuesday, August 02, 2016 3:29 PM
> > To: Mike Hamburg <mike@shiftleft.org>
> > Cc: Ilari Liusvaara <ilariliusvaara@welho.com>; Jim Schaad
> > <ietf@augustcellars.com>; cfrg@ietf.org;
> draft-irtf-cfrg-eddsa@tools.ietf.org
> > Subject: legacy protocols and contexts [was Re: [Cfrg] Review of
> draft-irtf-cfrg-
> > eddsa-05]
> >
> >    Date: Tue, 2 Aug 2016 13:59:28 -0700
> >    From: Mike Hamburg <mike@shiftleft.org>
> >
> >    There's been a lot of criticism for contexts, since of course they
> >    are redundant with prefixing the message.  I still kind of like
> >    them, because in some legacy protocol you can specify the signature
> >    algorithm as Ed448(context=`my legacy protocol') and it will be
> >    separated from other uses of Ed448 with the same key.  But I agree
> >    that the split is confusing as it is now.
> >
> > In what legacy protocol can you specify a new signature scheme over a
> > new curve with a new special-purpose context parameter for existing
> > keys, yet
> you
> > can't control anything else about how the existing keys are used for
> > other inputs?
> 
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Wed Aug  3 01:39:25 2016
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7798712B00B for <cfrg@ietfa.amsl.com>; Wed,  3 Aug 2016 01:39:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.187
X-Spam-Level: 
X-Spam-Status: No, score=-3.187 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.287] autolearn=ham autolearn_force=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 tQvlVS_iGoyY for <cfrg@ietfa.amsl.com>; Wed,  3 Aug 2016 01:39:21 -0700 (PDT)
Received: from welho-filter1.welho.com (welho-filter1.welho.com [83.102.41.23]) by ietfa.amsl.com (Postfix) with ESMTP id 61143127078 for <cfrg@ietf.org>; Wed,  3 Aug 2016 01:39:21 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter1.welho.com (Postfix) with ESMTP id E1D35CADD; Wed,  3 Aug 2016 11:39:19 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter1.welho.com [::ffff:83.102.41.23]) (amavisd-new, port 10024) with ESMTP id 0A4YSkwovO6F; Wed,  3 Aug 2016 11:39:19 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-177-32.bb.dnainternet.fi [87.100.177.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id A65EC2310; Wed,  3 Aug 2016 11:39:19 +0300 (EEST)
Date: Wed, 3 Aug 2016 11:39:12 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Jim Schaad <ietf@augustcellars.com>
Message-ID: <20160803083912.GA30525@LK-Perkele-V2.elisa-laajakaista.fi>
References: <4B08AAC4-A91E-4AD4-B2FC-A5DA1DC73B91@shiftleft.org> <20160802222833.5F2BE603FB@jupiter.mumble.net> <038501d1ed1b$aa34ec30$fe9ec490$@augustcellars.com> <039901d1ed42$eef1e630$ccd5b290$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <039901d1ed42$eef1e630$ccd5b290$@augustcellars.com>
User-Agent: Mutt/1.6.0 (2016-04-01)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/_x8v25ahJpj-HElANYGj5RcyDsA>
Cc: cfrg@ietf.org, draft-irtf-cfrg-eddsa@tools.ietf.org
Subject: Re: [Cfrg] legacy protocols and contexts [was Re: Review of draft-irtf-cfrg-eddsa-05]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Aug 2016 08:39:24 -0000

On Tue, Aug 02, 2016 at 09:53:07PM -0700, Jim Schaad wrote:
> It dawns on me that I should probably state that while my main worry is that
> the two algorithms be consistent of either having or not having the context
> structure.  My preference would be to have the context structure as it
> strengthens the resistance to the pre-hash/pure misuse even if it means that
> there are two different things called Ed25519 in the wild.

I really don't think Ed25519 should be any different from what is in the
wild. Ed25519ph is not in the wild much.

The Chacha20-Poly1305 mess was bad enough, and that function was MUCH
less out there than Ed25519.


Also, I came up with the following cute hack:

- Split Ed448 into Ed448 and Ed448ctx according to context present/not.
- Define Ed25519ctx with hash prefix of
  "SigEd25519 no Ed25519 collisions"|byte(phflag)|byte(len(ctx))|ctx
- Define Ed25519ph in terms of Ed25519ctx.

Leaves Ed448(key,message) unchanged, leaves Ed25519 unchanged, that
prefix prevents any trivial hash collisions with Ed25519[1], prevents
Ed25519 vs. Ed25519ph key mixups (that seems like a major footcannon,
considering some of the use proposals I have seen).

One couldn't then compute Ed25519ph with standard Ed25519 software,
but I don't consider that that major problem.


[1] If one tries to use that value as R in Ed25519, which is necressary
for trivial collision, verification tries to calculate square root of
QNR, which obviously fails.


-Ilari


From nobody Wed Aug  3 11:55:50 2016
Return-Path: <mike@shiftleft.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 14C8512D7E1 for <cfrg@ietfa.amsl.com>; Wed,  3 Aug 2016 11:55:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.289
X-Spam-Level: 
X-Spam-Status: No, score=-3.289 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-1.287, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=shiftleft.org
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 AEIRr_qK4tum for <cfrg@ietfa.amsl.com>; Wed,  3 Aug 2016 11:55:41 -0700 (PDT)
Received: from astral.shiftleft.org (vpn.shiftleft.org [52.40.228.30]) by ietfa.amsl.com (Postfix) with ESMTP id B205E12D7DA for <cfrg@ietf.org>; Wed,  3 Aug 2016 11:55:41 -0700 (PDT)
Received: from [10.184.148.249] (unknown [209.36.6.242]) (Authenticated sender: mike) by astral.shiftleft.org (Postfix) with ESMTPSA id B1523A001D; Wed,  3 Aug 2016 11:55:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shiftleft.org; s=sldo; t=1470250538; bh=tcVMYkofmLr955rVb5FsnDnY+1yfcKbRwMIaVOZ9QOc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=Oay7ijVst/+W41o2YX5Yie4c6BpUDMHtyZhEJYthHOWR9BGx2D0vSUOzuOVmZ/Ob4 2WHHjLY9dxzZ3kaNwtZ0qBkAzeeN5hC/FIQMgaac+4AKaR82JEZxRn1zJAhp4igNvG phB+hMpEh1GrgCEH+9kRSr7fF/a9lTj5EV2z6B9I=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Mike Hamburg <mike@shiftleft.org>
In-Reply-To: <20160803083912.GA30525@LK-Perkele-V2.elisa-laajakaista.fi>
Date: Wed, 3 Aug 2016 11:55:41 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <97D41210-62A7-4F26-9BB8-0F135508AFE8@shiftleft.org>
References: <4B08AAC4-A91E-4AD4-B2FC-A5DA1DC73B91@shiftleft.org> <20160802222833.5F2BE603FB@jupiter.mumble.net> <038501d1ed1b$aa34ec30$fe9ec490$@augustcellars.com> <039901d1ed42$eef1e630$ccd5b290$@augustcellars.com> <20160803083912.GA30525@LK-Perkele-V2.elisa-laajakaista.fi>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
X-Mailer: Apple Mail (2.3124)
X-Virus-Scanned: clamav-milter 0.99 at astral
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/_Pl3PbmSfki5tVbqBSmHqUe3UVs>
Cc: Jim Schaad <ietf@augustcellars.com>, cfrg@ietf.org, draft-irtf-cfrg-eddsa@tools.ietf.org
Subject: Re: [Cfrg] legacy protocols and contexts [was Re: Review of draft-irtf-cfrg-eddsa-05]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Aug 2016 18:55:49 -0000

I like this hack, though it is certainly a hack.  Does=20
> - Split Ed448 into Ed448 and Ed448ctx according to context =
present/not.
mean that Ed448 is equivalent to Ed448ctx(context=3D=E2=80=9C=E2=80=9D)? =
 I=E2=80=99m guessing so?

=E2=80=94 Mike

> On Aug 3, 2016, at 1:39 AM, Ilari Liusvaara <ilariliusvaara@welho.com> =
wrote:
>=20
> On Tue, Aug 02, 2016 at 09:53:07PM -0700, Jim Schaad wrote:
>> It dawns on me that I should probably state that while my main worry =
is that
>> the two algorithms be consistent of either having or not having the =
context
>> structure.  My preference would be to have the context structure as =
it
>> strengthens the resistance to the pre-hash/pure misuse even if it =
means that
>> there are two different things called Ed25519 in the wild.
>=20
> I really don't think Ed25519 should be any different from what is in =
the
> wild. Ed25519ph is not in the wild much.
>=20
> The Chacha20-Poly1305 mess was bad enough, and that function was MUCH
> less out there than Ed25519.
>=20
>=20
> Also, I came up with the following cute hack:
>=20
> - Split Ed448 into Ed448 and Ed448ctx according to context =
present/not.
> - Define Ed25519ctx with hash prefix of
>  "SigEd25519 no Ed25519 collisions"|byte(phflag)|byte(len(ctx))|ctx
> - Define Ed25519ph in terms of Ed25519ctx.
>=20
> Leaves Ed448(key,message) unchanged, leaves Ed25519 unchanged, that
> prefix prevents any trivial hash collisions with Ed25519[1], prevents
> Ed25519 vs. Ed25519ph key mixups (that seems like a major footcannon,
> considering some of the use proposals I have seen).
>=20
> One couldn't then compute Ed25519ph with standard Ed25519 software,
> but I don't consider that that major problem.
>=20
>=20
> [1] If one tries to use that value as R in Ed25519, which is =
necressary
> for trivial collision, verification tries to calculate square root of
> QNR, which obviously fails.
>=20
>=20
> -Ilari
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Wed Aug  3 12:09:02 2016
Return-Path: <ietf@augustcellars.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D70712D7CF for <cfrg@ietfa.amsl.com>; Wed,  3 Aug 2016 12:09:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.188
X-Spam-Level: 
X-Spam-Status: No, score=-3.188 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 fKkXFjWsqgBk for <cfrg@ietfa.amsl.com>; Wed,  3 Aug 2016 12:08:59 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B516512D51A for <cfrg@ietf.org>; Wed,  3 Aug 2016 12:08:58 -0700 (PDT)
Received: from hebrews (173.8.216.38) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 3 Aug 2016 12:20:13 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Mike Hamburg' <mike@shiftleft.org>, 'Ilari Liusvaara' <ilariliusvaara@welho.com>
References: <4B08AAC4-A91E-4AD4-B2FC-A5DA1DC73B91@shiftleft.org> <20160802222833.5F2BE603FB@jupiter.mumble.net> <038501d1ed1b$aa34ec30$fe9ec490$@augustcellars.com> <039901d1ed42$eef1e630$ccd5b290$@augustcellars.com> <20160803083912.GA30525@LK-Perkele-V2.elisa-laajakaista.fi> <97D41210-62A7-4F26-9BB8-0F135508AFE8@shiftleft.org>
In-Reply-To: <97D41210-62A7-4F26-9BB8-0F135508AFE8@shiftleft.org>
Date: Wed, 3 Aug 2016 12:08:32 -0700
Message-ID: <04b301d1edba$6f522750$4df675f0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQGTG7D8yzf3x5MHMvvf3zFpT0a2KwL6kiG5AhqmhkUCBYGWUQFjtNwgAfOpJhGgYaxhwA==
Content-Language: en-us
X-Originating-IP: [173.8.216.38]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/ZnVxyqCPiFj6Qvctg555E6HMuBk>
Cc: cfrg@ietf.org, draft-irtf-cfrg-eddsa@tools.ietf.org
Subject: Re: [Cfrg] legacy protocols and contexts [was Re: Review of draft-irtf-cfrg-eddsa-05]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Aug 2016 19:09:01 -0000

It is a hack, but as hacks go this is relatively clean and looks like it =
addresses the problems.  There would be a question in the Curdle group =
about which of the 25519 functions to support - with or w/o the context =
but other than that things look good.

Jim


> -----Original Message-----
> From: Mike Hamburg [mailto:mike@shiftleft.org]
> Sent: Wednesday, August 03, 2016 11:56 AM
> To: Ilari Liusvaara <ilariliusvaara@welho.com>
> Cc: Jim Schaad <ietf@augustcellars.com>; cfrg@ietf.org; =
draft-irtf-cfrg-
> eddsa@tools.ietf.org
> Subject: Re: [Cfrg] legacy protocols and contexts [was Re: Review of =
draft-irtf-
> cfrg-eddsa-05]
>=20
> I like this hack, though it is certainly a hack.  Does
> > - Split Ed448 into Ed448 and Ed448ctx according to context =
present/not.
> mean that Ed448 is equivalent to =
Ed448ctx(context=3D=E2=80=9C=E2=80=9D)?  I=E2=80=99m guessing so?
>=20
> =E2=80=94 Mike
>=20
> > On Aug 3, 2016, at 1:39 AM, Ilari Liusvaara =
<ilariliusvaara@welho.com> wrote:
> >
> > On Tue, Aug 02, 2016 at 09:53:07PM -0700, Jim Schaad wrote:
> >> It dawns on me that I should probably state that while my main =
worry
> >> is that the two algorithms be consistent of either having or not
> >> having the context structure.  My preference would be to have the
> >> context structure as it strengthens the resistance to the
> >> pre-hash/pure misuse even if it means that there are two different =
things
> called Ed25519 in the wild.
> >
> > I really don't think Ed25519 should be any different from what is in
> > the wild. Ed25519ph is not in the wild much.
> >
> > The Chacha20-Poly1305 mess was bad enough, and that function was =
MUCH
> > less out there than Ed25519.
> >
> >
> > Also, I came up with the following cute hack:
> >
> > - Split Ed448 into Ed448 and Ed448ctx according to context =
present/not.
> > - Define Ed25519ctx with hash prefix of
> >  "SigEd25519 no Ed25519 collisions"|byte(phflag)|byte(len(ctx))|ctx
> > - Define Ed25519ph in terms of Ed25519ctx.
> >
> > Leaves Ed448(key,message) unchanged, leaves Ed25519 unchanged, that
> > prefix prevents any trivial hash collisions with Ed25519[1], =
prevents
> > Ed25519 vs. Ed25519ph key mixups (that seems like a major =
footcannon,
> > considering some of the use proposals I have seen).
> >
> > One couldn't then compute Ed25519ph with standard Ed25519 software,
> > but I don't consider that that major problem.
> >
> >
> > [1] If one tries to use that value as R in Ed25519, which is
> > necressary for trivial collision, verification tries to calculate
> > square root of QNR, which obviously fails.
> >
> >
> > -Ilari
> >
> > _______________________________________________
> > Cfrg mailing list
> > Cfrg@irtf.org
> > https://www.irtf.org/mailman/listinfo/cfrg



From nobody Fri Aug  5 10:10:01 2016
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 71F9312D923 for <cfrg@ietfa.amsl.com>; Fri,  5 Aug 2016 10:10:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.588
X-Spam-Level: 
X-Spam-Status: No, score=-5.588 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_MED=-2.3, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
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 ZqqNDbBGmkhu for <cfrg@ietfa.amsl.com>; Fri,  5 Aug 2016 10:09:59 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D51DF12D753 for <Cfrg@irtf.org>; Fri,  5 Aug 2016 10:09:55 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 186B6BE58 for <Cfrg@irtf.org>; Fri,  5 Aug 2016 18:09:54 +0100 (IST)
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AOMPTEIIkSvP for <Cfrg@irtf.org>; Fri,  5 Aug 2016 18:09:53 +0100 (IST)
Received: from [134.226.36.93] (bilbo.dsg.cs.tcd.ie [134.226.36.93]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 81D7ABDD0 for <Cfrg@irtf.org>; Fri,  5 Aug 2016 18:09:53 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1470416993; bh=jR/JYmToqXWqa7WEnjCsDWjUZpUPCsejmhd1qfI2PjA=; h=Subject:References:To:Reply-To:From:Date:In-Reply-To:From; b=Ncm4NjKExgCi8RFKDi8o3/m4iK6baTHoCajp4kDMck1yTsTrqRxGUjKlBcx2DAT/I 3OTEHyowTcxJylGSMOpXp0Zng75j+mdabM/3wR8vTNFXr3OqQiYWJCWkzaOOOeMy2P j6s7Rz2jCsavdUn9wSaqXd7p8axk03KPj+XmcWe0=
References: <5f51ddd2-238b-d134-78a0-06671846bfdc@cs.tcd.ie>
To: "cfrg@irtf.org" <Cfrg@irtf.org>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
X-Forwarded-Message-Id: <5f51ddd2-238b-d134-78a0-06671846bfdc@cs.tcd.ie>
Message-ID: <fa2e8000-2650-a03e-edf2-fb70de448f78@cs.tcd.ie>
Date: Fri, 5 Aug 2016 18:09:53 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <5f51ddd2-238b-d134-78a0-06671846bfdc@cs.tcd.ie>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms070307060706020909070508"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/VbuwN0kPDNDfdSaNl-ZuoNEipO8>
Subject: [Cfrg] Fwd: [saag] pkcs#1 -> IETF change control
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: "saag@ietf.org" <saag@ietf.org>
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Aug 2016 17:10:00 -0000

This is a cryptographically signed message in MIME format.

--------------ms070307060706020909070508
Content-Type: multipart/mixed;
 boundary="------------B381448C57B4D86E9D5ACD13"

This is a multi-part message in MIME format.
--------------B381448C57B4D86E9D5ACD13
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


FYI, folks here may be interested in also checking this.
Please respond to saag@ietf.org and not here though:-)

Ta,
S.

-------- Forwarded Message --------
Subject: [saag] pkcs#1 -> IETF change control
Date: Fri, 5 Aug 2016 18:07:21 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
To: saag@ietf.org <saag@ietf.org>


Folks,

I've just asked to start IETF last call for drafts that
document pkcs#5 [1] and pkcs#1. [2] The main purpose
of these drafts is to hand change control to the IETF,
as we've recently done with other pkcs series documents.
(That's a good thing, and thanks to those who've made
the not-inconsiderable effort to make it happen.)

For pkcs#5 I think there are only nits to consider but
I do have a question to ask wrt the pkcs#1 draft. [2]

Please send responses here or in response to the last
call on ietf@ietf.org, which should pop out shortly.

If you look at the diff [3] between this draft and RFC
2437, there are substantial differences, including to
some data structures, the older versions of which may be
in widespread use, e.g., RSAPrivateKey is extended in a
way that I think could lead to interop issues in [2].

So my question is: what's the right way to handle getting
pkcs#1 under IETF change control without breaking anything?

Should we for example, not formally OBSOLETE RFC2347 perhaps,
or should we ask to add some statement to [2] that explains
that even though this is newer, it's the older version that's
widely implemented.

Bear in mind that we are in any case trying to move entirely
away from pkcs#1v1.5 so this shouldn't be too much of an issue
for future RFCs, which are likely to just use pkcs#1v.5 as-is
(if that's needed due to legacy h/w) or to use something else
entirely, e.g. based on the cfrg curves.

So, that's a bit long winded, but please take a look, in
particular at [2] and [3] and say what you think we should
be doing here.

Thanks,
S.

PS: Please note that it's taken the folks doing this
work quite a bit of effort, e.g. dealing with their
legal folks to get permission to move change control to
the IETF, so we should really try to avoid imposing
more work (and delay) on those folks if we can. IOW,
minimal change here is really good, and if the IETF
wants to and has the energy, we can modify whatever we
like after this transition has happened.

[1] https://datatracker.ietf.org/doc/draft-moriarty-pkcs5-v2dot1/
[2] https://datatracker.ietf.org/doc/draft-moriarty-pkcs1/
[3]
https://tools.ietf.org/rfcdiff?url1=3Drfc2437&url2=3Ddraft-moriarty-pkcs1=
-01.txt





--------------B381448C57B4D86E9D5ACD13
Content-Type: text/plain; charset=UTF-8;
 name="Attached Message Part"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="Attached Message Part"

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18Kc2FhZyBt
YWlsaW5nIGxpc3QKc2FhZ0BpZXRmLm9yZwpodHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFu
L2xpc3RpbmZvL3NhYWcKCg==
--------------B381448C57B4D86E9D5ACD13--

--------------ms070307060706020909070508
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
CvIwggUIMIID8KADAgECAhBPzaE7pzYviUJyhmHTFBdnMA0GCSqGSIb3DQEBCwUAMHUxCzAJ
BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBD
ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRDb20gQ2xhc3MgMSBDbGll
bnQgQ0EwHhcNMTYwMjA5MDkyODE1WhcNMTcwMjA5MDkyODE1WjBOMSIwIAYDVQQDDBlzdGVw
aGVuLmZhcnJlbGxAY3MudGNkLmllMSgwJgYJKoZIhvcNAQkBFhlzdGVwaGVuLmZhcnJlbGxA
Y3MudGNkLmllMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtuC0rYze/2JinSra
C9F2RjGdQZjNALLcW9C3WKTwYII3wBslobmHuPEYE5JaGItmzuKnAW619R1rD/kfoNWC19N3
rBZ6UX9Cmb9D9exCwYIwVuSwjrCQWGxgCtNQTrwKzCCpI790GRiMTvxvO7UmzmBrCaBLiZW5
R0fBjK5Yn6hUhAzGBkNbkIEL28cLJqH0yVz7Kl92OlzrQqTPEts5m6cDnNdY/ADfeAX18c1r
dxZqcAxhLotrCqgsVA4ilbQDMMXGTLlB5TP35HeWZuGBU7xu003rLcFLdOkD8xvpJoYZy9Kt
3oABXPS5yqtMK+XCNdqmMn+4mOtLwQSMmPCSiQIDAQABo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x0SW3NNmE3Svh8jCkUKdZzNlwe/YwUBa/hQRXRcCOHgviVL6eMtRWG1boXYC7STZBvo
AAAAAAAA
--------------ms070307060706020909070508--


From nobody Wed Aug 10 11:56:44 2016
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cfrg@ietf.org
Delivered-To: cfrg@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 321E612D731; Wed, 10 Aug 2016 11:56:43 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.29.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <147085540319.5316.15333424879005707799.idtracker@ietfa.amsl.com>
Date: Wed, 10 Aug 2016 11:56:43 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/EwTwduBdx9cA5fKKxYFaf4GcgIM>
Cc: cfrg@ietf.org
Subject: [Cfrg] I-D Action: draft-irtf-cfrg-eddsa-06.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Aug 2016 18:56:43 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Crypto Forum of the IETF.

        Title           : Edwards-curve Digital Signature Algorithm (EdDSA) 
        Authors         : Simon Josefsson
                          Ilari Liusvaara
	Filename        : draft-irtf-cfrg-eddsa-06.txt
	Pages           : 55
	Date            : 2016-08-10

Abstract:
   The elliptic curve signature scheme Edwards-curve Digital Signature
   Algorithm (EdDSA) is described.  The algorithm is instantiated with
   recommended parameters for the edwards25519 and edwards448 curves.
   An example implementation and test vectors are provided.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-irtf-cfrg-eddsa/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-irtf-cfrg-eddsa-06

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-irtf-cfrg-eddsa-06


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Wed Aug 10 13:55:42 2016
Return-Path: <pag225@cornell.edu>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 031C912D66D for <cfrg@ietfa.amsl.com>; Wed, 10 Aug 2016 13:55:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.448
X-Spam-Level: 
X-Spam-Status: No, score=-5.448 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.247, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 87fGCSJPb6Fm for <cfrg@ietfa.amsl.com>; Wed, 10 Aug 2016 13:55:37 -0700 (PDT)
Received: from limerock03.mail.cornell.edu (limerock03.mail.cornell.edu [128.84.13.243]) by ietfa.amsl.com (Postfix) with ESMTP id B4E2612D63F for <cfrg@irtf.org>; Wed, 10 Aug 2016 13:55:36 -0700 (PDT)
X-CornellRouted: This message has been Routed already.
Received: from exchange.cornell.edu (sf-e2013-01.exchange.cornell.edu [10.22.40.48]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u7AKtYfp000396 for <cfrg@irtf.org>; Wed, 10 Aug 2016 16:55:35 -0400
Received: from sf-e2013-08.exchange.cornell.edu (10.22.40.55) by sf-e2013-01.exchange.cornell.edu (10.22.40.48) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Wed, 10 Aug 2016 16:55:35 -0400
Received: from mail-wm0-f72.google.com (74.125.82.72) by exchange.cornell.edu (10.22.40.55) with Microsoft SMTP Server (TLS) id 15.0.1130.7 via Frontend Transport; Wed, 10 Aug 2016 16:55:34 -0400
Received: by mail-wm0-f72.google.com with SMTP id l4so74497019wml.0 for <cfrg@irtf.org>; Wed, 10 Aug 2016 13:55:34 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+0CDt2D+vbao4OiRYECLYwJJIO0S7zl08xrWi1gLz+s=; b=j+RJh4Mpn+aSe5Fnabo+3sxhHfZtq+MHgw5M1lPKYZe6Cukxa0vBf/Rp+7o+7YfeD7 mYhJxivG5rT9hZOprMvY/0YtyyClvswFp1gGgrRRBTtASZkJJoKUoXgP3inoVmXUcN9W vPjpVv/A553yV0js/lkZDg9wIWvheXU4ZSlXowAg6PS85eujI9XPy1+QyV4U97Y9bw6J TQRnWXiN0D7Lodzs5FF8JRDQoRxqs9E9queHAL8F47BDcuU7QlnU/YQf5dTjQQUJMZiI fr2OzZqejmDdTHwiomoMJru96Otgx//dkSaVVUCAYu+TYH7/EHROU7Rb8lmBo56Qaedm aDuw==
X-Gm-Message-State: AEkooutcZqWLBkWkUIqjMP3MVY+B9EBs306Olkq3ucfbxgJ2rYGORK4whgkU2XmVOBP3d2O3zP5B/oQgA8//wcHdVM8Yqlaf5x0fnTGDV3YolBmIBu9nGs8nj0HujE6P+rEJoxlULLYXLYl/7nLTSl1E3nE=
X-Received: by 10.194.54.37 with SMTP id g5mr6849910wjp.65.1470862533749; Wed, 10 Aug 2016 13:55:33 -0700 (PDT)
X-Received: by 10.194.54.37 with SMTP id g5mr6849892wjp.65.1470862533412; Wed, 10 Aug 2016 13:55:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.177.135 with HTTP; Wed, 10 Aug 2016 13:55:32 -0700 (PDT)
In-Reply-To: <CALW8-7+MZ-b1VGc+4EOReCEbvCVou+e9UbzfR9sJMZavwqp64A@mail.gmail.com>
References: <574601EF.60205@ist.ac.at> <574C7E2B.5080700@stanford.edu> <CALW8-7+D6BSzE4ufubZys=6ECn7GUvRQA2CDxKAANgvvOwddqQ@mail.gmail.com> <1cd036cd-e15b-7f9c-c3d5-28f6e2ef4c2b@stanford.edu> <CALW8-7+MZ-b1VGc+4EOReCEbvCVou+e9UbzfR9sJMZavwqp64A@mail.gmail.com>
From: Paul Grubbs <pag225@cornell.edu>
Date: Wed, 10 Aug 2016 16:55:32 -0400
Message-ID: <CAKDPBw-fJo=YEy1QPT9k2OMWf511=bXtZbZdn0R-UyMaVM0djQ@mail.gmail.com>
To: Dmitry Khovratovich <khovratovich@gmail.com>
Content-Type: multipart/alternative; boundary="047d7b86eb2cd159bf0539bdde5a"
Received-SPF: Neutral (sf-e2013-01.exchange.cornell.edu: 74.125.82.72 is neither permitted nor denied by domain of pag225@cornell.edu)
X-ORG-HybridRouting: 2fb2bc6fd5835c9f39720daf2541f2cf
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/3ay5oKeKbbwRVCqy_XKlW3lUc-c>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Balloon-Hashing or Argon2i.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Aug 2016 20:55:41 -0000

--047d7b86eb2cd159bf0539bdde5a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Relevant to this discussion:

Towards Practical Attacks on Argon2i and Balloon Hashing, Alwen and Blocki
http://eprint.iacr.org/2016/759.pdf

Abstract:

The algorithm Argon2i-B of Biryukov, Dinu and Khovratovich is currently
being considered by the IRTF (Internet Research Task Force) as a new
de-facto standard for password hashing. An older version (Argon2i-A) of the
same algorithm was chosen as the winner of the recent Password Hashing
Competition. An important competitor to Argon2i-B is the recently
introduced Balloon Hashing (BH) algorithm of Corrigan-Gibs, Boneh and
Schechter. A key security desiderata for any such algorithm is that
evaluating it (even using a custom device) requires a large amount of
memory amortized across multiple instances. Alwen and Blocki (CRYPTO 2016)
introduced a class of theoretical attacks against Argon2i-A and BH. While
these attacks yield large asymptotic reductions in the amount of memory, it
was not, a priori, clear if (1) they can be extended to the newer
Argon2i-B, (2) the attacks are effective on any algorithm for practical
parameter ranges (e.g., 1GB of memory) and (3) if they can be effectively
instantiated against any algorithm under realistic hardware constrains. In
this work we answer all three of these questions to the affirmative for all
three algorithms. It is also the first work to analyze the security of
Argon2i-B. In more detail, we extend the theoretical attacks of Alwen and
Blocki (CRYPTO 2016) to the recent Argon2i-B proposal demonstrating severe
asymptotic deficiencies in its security. Next we introduce several novel
heuristics for improving the attack=E2=80=99s concrete memory efficiency ev=
en when
on-chip memory bandwidth is bounded. We then simulate our attacks on
randomly sampled Argon2i-A, Argon2iB and BH instances and measure the
resulting memory consumption for various practical parameter ranges and for
a variety of upperbounds on the amount of parallelism available to the
attacker. Finally we describe, implement and test a new heuristic for
applying the Alwen-Blocki attack to functions employing a technique
developed by Corrigan-Gibs et al. for improving concrete security of
memory-hard functions. We analyze the collected data and show the effects
various parameters have on the memory consumption of the attack. In
particular, we can draw several interesting conclusions about the level of
security provided by these functions.
=E2=80=A2 For the Alwen-Blocki attack to fail against practical memory para=
meters,
Argon2i-B must be instantiated with more than 10 passes on memory. The
current IRTF proposal calls even just 6 passes as the recommended
=E2=80=9Cparanoid=E2=80=9D setting.
=E2=80=A2 More generally, the parameter selection process in the proposal i=
s flawed
in that it tends towards producing parameters for which the attack is
successful (even under realistic constraints on parallelism).
=E2=80=A2 The technique of Corrigan-Gibs for improving security can also be
overcome by the Alwen-Blocki attack under realistic hardware constraints.
=E2=80=A2 On a positive note, both the asymptotic and concrete security
of Argon2i-B seem to improve on that of Argon2i-A.

On Wed, Jun 1, 2016 at 11:01 AM, Dmitry Khovratovich <khovratovich@gmail.co=
m
> wrote:

> Hi Henry,
>
> Both for Balloon and for Argon2 there are now provable bounds of O(n^2)
> with different constants, not very surprising since the mode of operation
> is very simple (Argon is close to the simplest you can imagine and Baloon
> is close to just Argon2 with 3 addresses instead of 1).
>
> Argon2 is close to the fastest you can achieve since it was purposefully
> fine-tuned for speed vs memory gains of attacker. If Balloon or other
> design will want to approach similar speeds, design and parameter choices
> will bring it very close to Argon2 design.
>
> The Balloon mode though admits a simple ASIC attack with factor 3: a 3x
> faster memory bus allows parallel loading of your 3 random blocks, wherea=
s
> on x64 you have to load them (almost) sequentially. This is much more
> practical attack than theoretical attacks on Argon2i requiring thousands =
of
> Blake2b cores on chip and terabyte/sec bandwidth. We knew of it while
> designing Argon2 and thus made delta=3D1.
>
> For fair comparison with Argon2 and all the other PHC primitives you need
> to fix concrete parameters and  compression function and test
> speed/security on this fixed instance.
>
> Best regards,
> Dmitry
>
> On Tue, May 31, 2016 at 5:57 PM, Henry Corrigan-Gibbs <
> henrycg@stanford.edu> wrote:
>
>> Hi Dmity,
>>
>> Thanks for taking a look at the paper.
>>
>> For the purposes of the security proofs, we model the cryptographic
>> compression function used in Argon2, Balloon, and scrypt, as a random
>> oracle (as is standard). In practice, it is possible to instantiate Argo=
n2i
>> or Balloon or scrypt with any cryptographic compression function that
>> "behaves like a random oracle." We are agnostic to the choice of
>> cryptographic compression function -- we just evaluated our design with =
a
>> few standard ones.
>>
>> My sense is that Balloon (instantiated with parameter delta=3D3) and
>> Argon2i will run at roughly the same speed, no matter the choice of
>> cryptographic compression function. That's because three-pass Argon2i on=
 N
>> blocks of memory makes roughly 3N calls to the underlying compression
>> function during its execution. Two-round Balloon (the equivalent
>> construction, since it makes three passes over memory) makes roughly 7N
>> calls to the underlying compression function during its execution.
>>
>> However, the known attacks on three-pass Argon2i allow the attacker to
>> use roughly 2.5x less space than the defender with no time penalty, so t=
o
>> force the attacker to use N blocks of space requires the defender to run
>> Argon2i with a ~2.5x larger memory buffer (i.e., a buffer of N' =3D 2.5N
>> blocks). In this setting, both functions would require ~7N invocations o=
f
>> the underlying cryptographic compression function, so the performance
>> should be roughly equivalent for the two.
>>
>> Changing the underlying cryptographic compression function will change
>> the absolute performance of both Argon2i and Balloon, but I would expect
>> their relative performance to stay close to constant. Indeed, if I
>> instantiate Argon2i and Balloon with the compression function defined in
>> the Argon2 spec, then I get, on an Intel i7-6700 @ 3.4 GHz:
>>   Argon2i (2.5 MB buffer): 153 hashes/sec
>>   Balloon (1.0 MB buffer): 167 hashes/sec
>>
>> The surprise to us is that getting this sort of performance with Balloon
>> is still possible, even though we are able to prove some meaningful
>> statements about its security. (Of course, the Alwen-Blocki attacks stil=
l
>> apply for large enough parameter sizes.)
>>
>> Henry
>>
>>
>>
>> On 5/31/16 7:02 AM, Dmitry Khovratovich wrote:
>>
>>> Dear Henry,
>>>
>>> thank you for the updated paper.
>>>
>>> We appreciate your work on lower-bounding the Argon2i tradeoff
>>> resistance, it is a very interesting result, and we hope to mention it
>>> in the specification. However for your proof to work you instantiate
>>> Argon2  with a collision resistant hash function. During the competitio=
n
>>> it became clear that collision-resistance of the inner function is not
>>> needed in practice, since the attacker does not control intermediate
>>> variables. It is similar to the situation with block-ciphers like AES
>>> where a single round is cryptographically weak, though you might want i=
t
>>> to be a keyed PRP for the sake of a proof. Worse enough, a full-round
>>> hash function with a narrow block implies more frequent random memory
>>> access and more CPU load, which together make a terrible impact on the
>>> performance. That's why we never defined Argon2 for such hash functions=
,
>>> and recommend not calling such modifications "Argon2".
>>>
>>> This observation and possibly use of your own code for Argon2 causes
>>>  performance comparison of your Balloon Hash design with Argon2i and
>>> other designs to be incorrect.
>>>
>>> in the introduction you write
>>> "if we ... run the construction for five =E2=80=9Crounds=E2=80=9D of ha=
shing, and set
>>> the space parameter to require the attacker to use 1 MiB of working
>>> space to compute the function, then we can compute Balloon Hashes at th=
e
>>> rate of 13 hashes per second on a modern server, compared with 12.8 for
>>> Argon2i, and 2.1 for Catena DBG".
>>>
>>> This statement underestimates the Argon2i performance by the factor of
>>> 30 (!) or so.
>>>
>>> In detail. Argon2i makes much more than 13 hashes per second using 5
>>> iterations and 1 MiB of memory. On my 2-core 2.3 GHz (i5-6200) laptop
>>>  it computes 1000 hashes in 5.1-5.3 Gigacycles, thus averaging more tha=
n
>>> 400 hashes per second. I modified our benchmark settings for that, but
>>> even with default ones (3 iterations, 1 hash) everyone can observe
>>> similar performance by running 'make bench' +'./bench' using the source
>>> in https://github.com/P-H-C/phc-winner-argon2
>>>
>>> In the further text you write
>>> "Let an authentication server must perform 100 hashes per second per
>>> four-core machine, ... At the same authentication rate, Argon2i require=
s
>>> the attacker to use a smaller buffer=E2=80=94roughly 1.5 MiB for the on=
e-pass
>>> variant".
>>>
>>> This is again incorrect. Here are the numbers for 1-pass Argon2i: 2MiB:
>>> 225Mcycles, 16MiB: 1174 Mcycles, 32 MiB: 2532 Mcycles (a bit more than =
1
>>> second).
>>>
>>> So there is a factor of 20 underestimate here. (We also remind that
>>> 1-pass Argon2i was never  recommended for practical use.)
>>>
>>> Best regards,
>>> the Argon2 team
>>>
>>> On Mon, May 30, 2016 at 7:53 PM, Henry Corrigan-Gibbs
>>> <henrycg@stanford.edu <mailto:henrycg@stanford.edu>> wrote:
>>>
>>>     Hi Joel,
>>>
>>>     Since I am one of the designers of the Balloon Hashing algorithm, i=
t
>>>     would be difficult for me to give an unbiased opinion on the pros
>>>     and cons of Argon2i versus Balloon.
>>>
>>>     That said, we just updated the Balloon Hashing paper on ePrint:
>>>     http://eprint.iacr.org/2016/027
>>>
>>>     The revised paper includes some new results that might be relevant
>>>     to CFRG discussions on password hashing. Let me summarize the new
>>>     results here:
>>>
>>>
>>>     (1) We prove (in the single-instance, random-oracle model) a new,
>>>     stronger memory-hardness claim about the Balloon algorithm. We show
>>>     that computing one instance of the Balloon function with space S an=
d
>>>     time T requires a space-time product that (roughly) satisfies:
>>>     S . T >=3D n^2 / 8.
>>>     As the adversary's space usage drops below a certain threshold
>>>     (which depends on the parameter settings) the trade-off gets even
>>>     worse for the adversary.
>>>
>>>
>>>     (2) We refine the analysis of the single-buffer Balloon algorithm,
>>>     and the refined analysis allows us to dramatically improve the
>>>     parameters of the scheme. After this change, the performance of the
>>>     single-buffer Balloon function *meets or exceeds* that of Argon2i
>>>     when we instantiate both with Blake2b as the underlying
>>>     cryptographic hash function. (Consult the paper for the details on
>>>     this.) The single-buffer Balloon algorithm runs so quickly now that
>>>     we decided that the other two Balloon variants (double-buffer and
>>>     linear) were superfluous. The revised paper includes only the
>>>     single-buffer scheme, which we now just call the "Balloon algorithm=
".
>>>
>>>
>>>     (3) We discuss your (very cool) recent paper on parallel attacks on
>>>     iMHFs and give some ideas on how to ameliorate them in the context
>>>     of password hashing. Our recommendation is to follow Balloon Hashin=
g
>>>     with one round of scrypt (or even data-dependent Balloon). This
>>>     composition apparently defends against either parallel attacks or
>>>     cache attacks -- just not both at the same time. The design of the
>>>     Argon2id function uses a similar idea. To us, this seems like a nic=
e
>>>     compromise between functionality and security.
>>>
>>>
>>>     (4) We apply our analysis techniques to prove that Argon2i and a
>>>     simplified variant of scrypt are also memory-hard, though with
>>>     looser constants than one might like. We show that these two
>>>     algorithms (again, in the single-instance random-oracle model)
>>>     require space S and time T such that:
>>>     S . T >=3D n^2 / C
>>>     to compute with good probability. For Argon2i, we can prove this
>>>     statement for C=3D192, and for scrypt with C=3D24. In contrast, we =
prove
>>>     the claim with C=3D8 for Balloon, and we additionally prove much
>>>     stronger time-space trade-offs for Balloon for very-small-space
>>>     adversaries. From a "provable security" perspective then, Balloon
>>>     seems to have an edge over the other practical constructions out
>>> there.
>>>
>>>
>>>     If you find bugs or omissions in the ePrint draft, please let me
>>> know.
>>>
>>>     Henry
>>>
>>>
>>>
>>>     On 05/25/2016 12:50 PM, Joel Alwen wrote:
>>>
>>>         I was wondering what peoples opinion is on standardizing the
>>>         double-buffer balloon hashing (DB) construction rather than
>>> Argon2i.
>>>         Both in terms of arguments for and against.
>>>
>>>         I'm sure other people have thought about this much more though
>>>         so I'd
>>>         love to hear what people think...
>>>
>>>         - Joel
>>>
>>>         _______________________________________________
>>>         Cfrg mailing list
>>>         Cfrg@irtf.org <mailto:Cfrg@irtf.org>
>>>         https://www.irtf.org/mailman/listinfo/cfrg
>>>
>>>
>>>     _______________________________________________
>>>     Cfrg mailing list
>>>     Cfrg@irtf.org <mailto:Cfrg@irtf.org>
>>>     https://www.irtf.org/mailman/listinfo/cfrg
>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Dmitry Khovratovich
>>>
>>
>>
>
>
> --
> Best regards,
> Dmitry Khovratovich
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg
>
>

--047d7b86eb2cd159bf0539bdde5a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Relevant to this discussion:=C2=A0<div><br></div><div>Towa=
rds Practical Attacks on Argon2i and Balloon Hashing, Alwen and Blocki<br><=
/div><div><a href=3D"http://eprint.iacr.org/2016/759.pdf">http://eprint.iac=
r.org/2016/759.pdf</a></div><div><br></div><div>Abstract:</div><div><br></d=
iv><div>The algorithm Argon2i-B of Biryukov, Dinu and
Khovratovich is currently being considered by the IRTF
(Internet Research Task Force) as a new de-facto standard
for password hashing. An older version (Argon2i-A) of the
same algorithm was chosen as the winner of the recent
Password Hashing Competition. An important competitor
to Argon2i-B is the recently introduced Balloon Hashing
(BH) algorithm of Corrigan-Gibs, Boneh and Schechter.
A key security desiderata for any such algorithm is
that evaluating it (even using a custom device) requires
a large amount of memory amortized across multiple
instances. Alwen and Blocki (CRYPTO 2016) introduced
a class of theoretical attacks against Argon2i-A and BH.
While these attacks yield large asymptotic reductions in
the amount of memory, it was not, a priori, clear if
(1) they can be extended to the newer Argon2i-B, (2)
the attacks are effective on any algorithm for practical
parameter ranges (e.g., 1GB of memory) and (3) if they
can be effectively instantiated against any algorithm under
realistic hardware constrains.
In this work we answer all three of these questions
to the affirmative for all three algorithms. It is also the
first work to analyze the security of Argon2i-B. In more
detail, we extend the theoretical attacks of Alwen and
Blocki (CRYPTO 2016) to the recent Argon2i-B proposal
demonstrating severe asymptotic deficiencies in its security.
Next we introduce several novel heuristics for improving
the attack=E2=80=99s concrete memory efficiency even when
on-chip memory bandwidth is bounded. We then simulate
our attacks on randomly sampled Argon2i-A, Argon2iB
and BH instances and measure the resulting memory
consumption for various practical parameter ranges and
for a variety of upperbounds on the amount of parallelism
available to the attacker. Finally we describe, implement
and test a new heuristic for applying the Alwen-Blocki
attack to functions employing a technique developed by
Corrigan-Gibs et al. for improving concrete security of
memory-hard functions.
We analyze the collected data and show the effects
various parameters have on the memory consumption of
the attack. In particular, we can draw several interesting
conclusions about the level of security provided by these
functions.=C2=A0</div><div>=E2=80=A2 For the Alwen-Blocki attack to fail ag=
ainst practical
memory parameters, Argon2i-B must be instantiated
with more than 10 passes on memory.
The current IRTF proposal calls even just 6 passes
as the recommended =E2=80=9Cparanoid=E2=80=9D setting.=C2=A0</div><div>=E2=
=80=A2 More generally, the parameter selection process
in the proposal is flawed in that it tends towards
producing parameters for which the attack
is successful (even under realistic constraints on
parallelism).=C2=A0</div><div>=E2=80=A2 The technique of Corrigan-Gibs for =
improving
security can also be overcome by the Alwen-Blocki
attack under realistic hardware constraints.=C2=A0</div><div>=E2=80=A2 On a=
 positive note, both the asymptotic and concrete
security of=C2=A0Argon2i-B seem to improve on
that of Argon2i-A.<br></div></div><div class=3D"gmail_extra"><br><div class=
=3D"gmail_quote">On Wed, Jun 1, 2016 at 11:01 AM, Dmitry Khovratovich <span=
 dir=3D"ltr">&lt;<a href=3D"mailto:khovratovich@gmail.com" target=3D"_blank=
">khovratovich@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex"><div dir=3D"ltr"><div style=3D"font-size:12.8px">Hi Henry,</div><div =
style=3D"font-size:12.8px"><br></div><div style=3D"font-size:12.8px">Both f=
or Balloon and for Argon2 there are now provable bounds of O(n^2) with diff=
erent constants, not very surprising since the mode of operation is very si=
mple (Argon is close to the simplest you can imagine and Baloon is close to=
 just Argon2 with 3 addresses instead of 1).</div><div style=3D"font-size:1=
2.8px"><br></div><div style=3D"font-size:12.8px">Argon2 is close to the fas=
test you can achieve since it was purposefully fine-tuned for speed vs memo=
ry gains of attacker. If Balloon or other design will want to approach simi=
lar speeds, design and parameter choices will bring it very close to Argon2=
 design.</div><div style=3D"font-size:12.8px"><br></div><div style=3D"font-=
size:12.8px">The Balloon mode though admits a simple ASIC attack with facto=
r 3: a 3x faster memory bus allows parallel loading of your 3 random blocks=
, whereas on x64 you have to load them (almost) sequentially. This is much =
more practical attack than theoretical attacks on Argon2i requiring thousan=
ds of Blake2b cores on chip and terabyte/sec bandwidth. We knew of it while=
 designing Argon2 and thus made delta=3D1.</div><div style=3D"font-size:12.=
8px"><br></div><div style=3D"font-size:12.8px"><span style=3D"font-size:12.=
8px">For fair comparison with Argon2 and all the other PHC primitives you n=
eed to fix concrete parameters and=C2=A0 compression function and test spee=
d/security on this fixed instance.</span><br></div><div style=3D"font-size:=
12.8px"><span style=3D"font-size:12.8px"><br></span></div><div style=3D"fon=
t-size:12.8px"><span style=3D"font-size:12.8px">Best regards,</span></div><=
div style=3D"font-size:12.8px"><span style=3D"font-size:12.8px">Dmitry</spa=
n></div></div><div class=3D"HOEnZb"><div class=3D"h5"><div class=3D"gmail_e=
xtra"><br><div class=3D"gmail_quote">On Tue, May 31, 2016 at 5:57 PM, Henry=
 Corrigan-Gibbs <span dir=3D"ltr">&lt;<a href=3D"mailto:henrycg@stanford.ed=
u" target=3D"_blank">henrycg@stanford.edu</a>&gt;</span> wrote:<br><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex">Hi Dmity,<br>
<br>
Thanks for taking a look at the paper.<br>
<br>
For the purposes of the security proofs, we model the cryptographic compres=
sion function used in Argon2, Balloon, and scrypt, as a random oracle (as i=
s standard). In practice, it is possible to instantiate Argon2i or Balloon =
or scrypt with any cryptographic compression function that &quot;behaves li=
ke a random oracle.&quot; We are agnostic to the choice of cryptographic co=
mpression function -- we just evaluated our design with a few standard ones=
.<br>
<br>
My sense is that Balloon (instantiated with parameter delta=3D3) and Argon2=
i will run at roughly the same speed, no matter the choice of cryptographic=
 compression function. That&#39;s because three-pass Argon2i on N blocks of=
 memory makes roughly 3N calls to the underlying compression function durin=
g its execution. Two-round Balloon (the equivalent construction, since it m=
akes three passes over memory) makes roughly 7N calls to the underlying com=
pression function during its execution.<br>
<br>
However, the known attacks on three-pass Argon2i allow the attacker to use =
roughly 2.5x less space than the defender with no time penalty, so to force=
 the attacker to use N blocks of space requires the defender to run Argon2i=
 with a ~2.5x larger memory buffer (i.e., a buffer of N&#39; =3D 2.5N block=
s). In this setting, both functions would require ~7N invocations of the un=
derlying cryptographic compression function, so the performance should be r=
oughly equivalent for the two.<br>
<br>
Changing the underlying cryptographic compression function will change the =
absolute performance of both Argon2i and Balloon, but I would expect their =
relative performance to stay close to constant. Indeed, if I instantiate Ar=
gon2i and Balloon with the compression function defined in the Argon2 spec,=
 then I get, on an Intel i7-6700 @ 3.4 GHz:<br>
=C2=A0 Argon2i (2.5 MB buffer): 153 hashes/sec<br>
=C2=A0 Balloon (1.0 MB buffer): 167 hashes/sec<br>
<br>
The surprise to us is that getting this sort of performance with Balloon is=
 still possible, even though we are able to prove some meaningful statement=
s about its security. (Of course, the Alwen-Blocki attacks still apply for =
large enough parameter sizes.)<br>
<br>
Henry<div><div><br>
<br>
<br>
On 5/31/16 7:02 AM, Dmitry Khovratovich wrote:<br>
</div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex"><div><div>
Dear Henry,<br>
<br>
thank you for the updated paper.<br>
<br>
We appreciate your work on lower-bounding the Argon2i tradeoff<br>
resistance, it is a very interesting result, and we hope to mention it<br>
in the specification. However for your proof to work you instantiate<br>
Argon2=C2=A0 with a collision resistant hash function. During the competiti=
on<br>
it became clear that collision-resistance of the inner function is not<br>
needed in practice, since the attacker does not control intermediate<br>
variables. It is similar to the situation with block-ciphers like AES<br>
where a single round is cryptographically weak, though you might want it<br=
>
to be a keyed PRP for the sake of a proof. Worse enough, a full-round<br>
hash function with a narrow block implies more frequent random memory<br>
access and more CPU load, which together make a terrible impact on the<br>
performance. That&#39;s why we never defined Argon2 for such hash functions=
,<br>
and recommend not calling such modifications &quot;Argon2&quot;.<br>
<br>
This observation and possibly use of your own code for Argon2 causes<br>
=C2=A0performance comparison of your Balloon Hash design with Argon2i and<b=
r>
other designs to be incorrect.<br>
<br>
in the introduction you write<br>
&quot;if we ... run the construction for five =E2=80=9Crounds=E2=80=9D of h=
ashing, and set<br>
the space parameter to require the attacker to use 1 MiB of working<br>
space to compute the function, then we can compute Balloon Hashes at the<br=
>
rate of 13 hashes per second on a modern server, compared with 12.8 for<br>
Argon2i, and 2.1 for Catena DBG&quot;.<br>
<br>
This statement underestimates the Argon2i performance by the factor of<br>
30 (!) or so.<br>
<br>
In detail. Argon2i makes much more than 13 hashes per second using 5<br>
iterations and 1 MiB of memory. On my 2-core 2.3 GHz (i5-6200) laptop<br>
=C2=A0it computes 1000 hashes in 5.1-5.3 Gigacycles, thus averaging more th=
an<br>
400 hashes per second. I modified our benchmark settings for that, but<br>
even with default ones (3 iterations, 1 hash) everyone can observe<br>
similar performance by running &#39;make bench&#39; +&#39;./bench&#39; usin=
g the source<br>
in <a href=3D"https://github.com/P-H-C/phc-winner-argon2" rel=3D"noreferrer=
" target=3D"_blank">https://github.com/P-H-C/phc-<wbr>winner-argon2</a><br>
<br>
In the further text you write<br>
&quot;Let an authentication server must perform 100 hashes per second per<b=
r>
four-core machine, ... At the same authentication rate, Argon2i requires<br=
>
the attacker to use a smaller buffer=E2=80=94roughly 1.5 MiB for the one-pa=
ss<br>
variant&quot;.<br>
<br>
This is again incorrect. Here are the numbers for 1-pass Argon2i: 2MiB:<br>
225Mcycles, 16MiB: 1174 Mcycles, 32 MiB: 2532 Mcycles (a bit more than 1<br=
>
second).<br>
<br>
So there is a factor of 20 underestimate here. (We also remind that<br>
1-pass Argon2i was never=C2=A0 recommended for practical use.)<br>
<br>
Best regards,<br>
the Argon2 team<br>
<br>
On Mon, May 30, 2016 at 7:53 PM, Henry Corrigan-Gibbs<br></div></div><div><=
div>
&lt;<a href=3D"mailto:henrycg@stanford.edu" target=3D"_blank">henrycg@stanf=
ord.edu</a> &lt;mailto:<a href=3D"mailto:henrycg@stanford.edu" target=3D"_b=
lank">henrycg@stanford.edu</a>&gt;&gt; wrote:<br>
<br>
=C2=A0 =C2=A0 Hi Joel,<br>
<br>
=C2=A0 =C2=A0 Since I am one of the designers of the Balloon Hashing algori=
thm, it<br>
=C2=A0 =C2=A0 would be difficult for me to give an unbiased opinion on the =
pros<br>
=C2=A0 =C2=A0 and cons of Argon2i versus Balloon.<br>
<br>
=C2=A0 =C2=A0 That said, we just updated the Balloon Hashing paper on ePrin=
t:<br>
=C2=A0 =C2=A0 <a href=3D"http://eprint.iacr.org/2016/027" rel=3D"noreferrer=
" target=3D"_blank">http://eprint.iacr.org/2016/<wbr>027</a><br>
<br>
=C2=A0 =C2=A0 The revised paper includes some new results that might be rel=
evant<br>
=C2=A0 =C2=A0 to CFRG discussions on password hashing. Let me summarize the=
 new<br>
=C2=A0 =C2=A0 results here:<br>
<br>
<br>
=C2=A0 =C2=A0 (1) We prove (in the single-instance, random-oracle model) a =
new,<br>
=C2=A0 =C2=A0 stronger memory-hardness claim about the Balloon algorithm. W=
e show<br>
=C2=A0 =C2=A0 that computing one instance of the Balloon function with spac=
e S and<br>
=C2=A0 =C2=A0 time T requires a space-time product that (roughly) satisfies=
:<br>
=C2=A0 =C2=A0 S . T &gt;=3D n^2 / 8.<br>
=C2=A0 =C2=A0 As the adversary&#39;s space usage drops below a certain thre=
shold<br>
=C2=A0 =C2=A0 (which depends on the parameter settings) the trade-off gets =
even<br>
=C2=A0 =C2=A0 worse for the adversary.<br>
<br>
<br>
=C2=A0 =C2=A0 (2) We refine the analysis of the single-buffer Balloon algor=
ithm,<br>
=C2=A0 =C2=A0 and the refined analysis allows us to dramatically improve th=
e<br>
=C2=A0 =C2=A0 parameters of the scheme. After this change, the performance =
of the<br>
=C2=A0 =C2=A0 single-buffer Balloon function *meets or exceeds* that of Arg=
on2i<br>
=C2=A0 =C2=A0 when we instantiate both with Blake2b as the underlying<br>
=C2=A0 =C2=A0 cryptographic hash function. (Consult the paper for the detai=
ls on<br>
=C2=A0 =C2=A0 this.) The single-buffer Balloon algorithm runs so quickly no=
w that<br>
=C2=A0 =C2=A0 we decided that the other two Balloon variants (double-buffer=
 and<br>
=C2=A0 =C2=A0 linear) were superfluous. The revised paper includes only the=
<br>
=C2=A0 =C2=A0 single-buffer scheme, which we now just call the &quot;Balloo=
n algorithm&quot;.<br>
<br>
<br>
=C2=A0 =C2=A0 (3) We discuss your (very cool) recent paper on parallel atta=
cks on<br>
=C2=A0 =C2=A0 iMHFs and give some ideas on how to ameliorate them in the co=
ntext<br>
=C2=A0 =C2=A0 of password hashing. Our recommendation is to follow Balloon =
Hashing<br>
=C2=A0 =C2=A0 with one round of scrypt (or even data-dependent Balloon). Th=
is<br>
=C2=A0 =C2=A0 composition apparently defends against either parallel attack=
s or<br>
=C2=A0 =C2=A0 cache attacks -- just not both at the same time. The design o=
f the<br>
=C2=A0 =C2=A0 Argon2id function uses a similar idea. To us, this seems like=
 a nice<br>
=C2=A0 =C2=A0 compromise between functionality and security.<br>
<br>
<br>
=C2=A0 =C2=A0 (4) We apply our analysis techniques to prove that Argon2i an=
d a<br>
=C2=A0 =C2=A0 simplified variant of scrypt are also memory-hard, though wit=
h<br>
=C2=A0 =C2=A0 looser constants than one might like. We show that these two<=
br>
=C2=A0 =C2=A0 algorithms (again, in the single-instance random-oracle model=
)<br>
=C2=A0 =C2=A0 require space S and time T such that:<br>
=C2=A0 =C2=A0 S . T &gt;=3D n^2 / C<br>
=C2=A0 =C2=A0 to compute with good probability. For Argon2i, we can prove t=
his<br>
=C2=A0 =C2=A0 statement for C=3D192, and for scrypt with C=3D24. In contras=
t, we prove<br>
=C2=A0 =C2=A0 the claim with C=3D8 for Balloon, and we additionally prove m=
uch<br>
=C2=A0 =C2=A0 stronger time-space trade-offs for Balloon for very-small-spa=
ce<br>
=C2=A0 =C2=A0 adversaries. From a &quot;provable security&quot; perspective=
 then, Balloon<br>
=C2=A0 =C2=A0 seems to have an edge over the other practical constructions =
out there.<br>
<br>
<br>
=C2=A0 =C2=A0 If you find bugs or omissions in the ePrint draft, please let=
 me know.<br>
<br>
=C2=A0 =C2=A0 Henry<br>
<br>
<br>
<br>
=C2=A0 =C2=A0 On 05/25/2016 12:50 PM, Joel Alwen wrote:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 I was wondering what peoples opinion is on stan=
dardizing the<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 double-buffer balloon hashing (DB) construction=
 rather than Argon2i.<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Both in terms of arguments for and against.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 I&#39;m sure other people have thought about th=
is much more though<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 so I&#39;d<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 love to hear what people think...<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 - Joel<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ______________________________<wbr>____________=
_____<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Cfrg mailing list<br></div></div>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:Cfrg@irtf.org" target=3D"_bla=
nk">Cfrg@irtf.org</a> &lt;mailto:<a href=3D"mailto:Cfrg@irtf.org" target=3D=
"_blank">Cfrg@irtf.org</a>&gt;<span><br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://www.irtf.org/mailman/listinf=
o/cfrg" rel=3D"noreferrer" target=3D"_blank">https://www.irtf.org/mailman/<=
wbr>listinfo/cfrg</a><br>
<br>
<br>
=C2=A0 =C2=A0 ______________________________<wbr>_________________<br>
=C2=A0 =C2=A0 Cfrg mailing list<br></span>
=C2=A0 =C2=A0 <a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.=
org</a> &lt;mailto:<a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@=
irtf.org</a>&gt;<span><br>
=C2=A0 =C2=A0 <a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D=
"noreferrer" target=3D"_blank">https://www.irtf.org/mailman/<wbr>listinfo/c=
frg</a><br>
<br>
<br>
<br>
<br>
--<br>
Best regards,<br>
Dmitry Khovratovich<br>
</span></blockquote>
<br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div data-sm=
artmail=3D"gmail_signature"><div>Best regards,</div><div>Dmitry Khovratovic=
h</div></div>
</div>
</div></div><br>______________________________<wbr>_________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
<a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.irtf.org/mailman/<wbr>listinfo/cfrg</a><br>
<br></blockquote></div><br></div>

--047d7b86eb2cd159bf0539bdde5a--


From nobody Wed Aug 10 20:40:52 2016
Return-Path: <khovratovich@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C34CF12D0D3 for <cfrg@ietfa.amsl.com>; Wed, 10 Aug 2016 20:40:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 fH9-4_eq40vY for <cfrg@ietfa.amsl.com>; Wed, 10 Aug 2016 20:40:47 -0700 (PDT)
Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (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 6EFD712D0C5 for <cfrg@irtf.org>; Wed, 10 Aug 2016 20:40:47 -0700 (PDT)
Received: by mail-io0-x22c.google.com with SMTP id b62so60193603iod.3 for <cfrg@irtf.org>; Wed, 10 Aug 2016 20:40:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=cOZZ1pdBv1f5+1g4XR63BB7YuEp/AzNGTebp4M4LVBI=; b=BXa3qjMP/BL3Bd23M2d3fgD0HDwP1yKm8e8ONB05MxvayRlComiRjoaS/ui24l96Bt EwaQHbJsJe01TLEYK+Z58fKd09BXanUjlKoSpR3YXhr0mW1Olf/Dhe8p/2GxJWamsONf 4dJd0Ow3NwLHd+hjs58iz0wEChnunTFkPRB/OM7g4ENfveQkWKJc5mnqNLXR3FQwAu4i DHFbfScMqfm2gtgzbQfuCSw5GKmNY7B8suMjQujQpJE4BCbAH963ZTEU8vUP5Z01VqIG dPNTKU+5x0JWp9ZvvJ5M/Oqtkonx5vtiR05e70mgd2/BiHQNXPthZXdNeWuVNGBUuWCN nyxA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=cOZZ1pdBv1f5+1g4XR63BB7YuEp/AzNGTebp4M4LVBI=; b=ZbQXQm71vbTlQHH5d4hRLOOohICyFbXU37yQ8Bawe7w1VO9eyNTyUBTlDVzJsQiftF Hy1CFEcKTf98cAbT1wwPFTn5U+p375mGve8NaUsXuX6vuHkUTIiyO/Yl9PN73BiTT3Rg 71uwYNna0/OLDaCZTJs5UJhkrC+EARvVOlO6jusyn6n/ACVLWjEiHbxULyIgIItII9qq 89CPhiu67cv1KDfss6xgA5kWODasPQXjTlPP+oC7wvBQylN27PoRRVN7+7zzvU2yP3lb 6TUY1p+dMtr2DSbCUN7tVl9ixq+5Mu6lsmIlzS7wPmpCRc66p+ddOh40xUv5Aln2MFlN O9cQ==
X-Gm-Message-State: AEkooutgbYLvCficYTCBN06YUlFqLlZKcrpnodvjrHBHPP+tJPoZtzV1bLcvtMC4CZzSInRKeM6HQEk+RdCTtw==
X-Received: by 10.107.34.212 with SMTP id i203mr10381990ioi.8.1470886846474; Wed, 10 Aug 2016 20:40:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.30.10 with HTTP; Wed, 10 Aug 2016 20:40:31 -0700 (PDT)
In-Reply-To: <CAKDPBw-fJo=YEy1QPT9k2OMWf511=bXtZbZdn0R-UyMaVM0djQ@mail.gmail.com>
References: <574601EF.60205@ist.ac.at> <574C7E2B.5080700@stanford.edu> <CALW8-7+D6BSzE4ufubZys=6ECn7GUvRQA2CDxKAANgvvOwddqQ@mail.gmail.com> <1cd036cd-e15b-7f9c-c3d5-28f6e2ef4c2b@stanford.edu> <CALW8-7+MZ-b1VGc+4EOReCEbvCVou+e9UbzfR9sJMZavwqp64A@mail.gmail.com> <CAKDPBw-fJo=YEy1QPT9k2OMWf511=bXtZbZdn0R-UyMaVM0djQ@mail.gmail.com>
From: Dmitry Khovratovich <khovratovich@gmail.com>
Date: Wed, 10 Aug 2016 22:40:31 -0500
Message-ID: <CALW8-7+ZfnpisFXYhyYPsvSz2zzz+NaZMezpMfKxgiSohLoQ=A@mail.gmail.com>
To: Paul Grubbs <pag225@cornell.edu>
Content-Type: multipart/alternative; boundary=001a11462f3afd2e750539c38745
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/lwuyq2JYz0sg2PLlx8g6OpSb3Co>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Balloon-Hashing or Argon2i.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Aug 2016 03:40:51 -0000

--001a11462f3afd2e750539c38745
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Good work, we greatly appreciate the new results and ongoing public
scrutiny of Argon2.

I have not checked the details of improvements yet, but I feel that one of
conclusions is incorrect.

The authors say  "More generally, the parameter selection process in the
proposal is flawed in that it tends towards producing parameters for which
the attack is successful". Concretely, for 1 GB on Figure 1 we see that the
attack on 1-pass Argon2i has quality 5, 3-pass -- quality 3, 4-pass --
quality 2.5, 6-pass -- quality 2, 10 passes -- quality 1.5.

The IRTF proposal and the Argon2 spec recommend the practitioners to select
the maximum allowed amount of memory first, and then increase the number of
passes until it is too long.

Why so? Suppose for the sake of simplicity that 1 pass of Argon2 can fill 5
GB of RAM per second, and you have 1 second to spend on hashing. How to
choose the parameters to maximize the adversary's costs? If we set 10
passes, only 0.5 GB of RAM will be filled, so a naive ASIC implementation
would cost 0.5 GB-sec in area-time units, but the AB attack reduces it to
0.33 GB-sec. However, if 4 passes are selected, then 1.25 GB can be
utilized, the naive implementation would cost 1.25 GB-sec, and the
optimized one -- 0.5 GB-sec, i.e. more costs than the 10-pass one. For 3
passes the adversary would spend 0.55 GB-sec, and for 1 pass - 1 GB-sec (!)=
.

Therefore more passes actually benefit the adversary, that's why we
proposed the procedure above. To compare the security of different number
of passes, not the attack quality but quality*passes must be used.

Dmitry

On Wed, Aug 10, 2016 at 3:55 PM, Paul Grubbs <pag225@cornell.edu> wrote:

> Relevant to this discussion:
>
> Towards Practical Attacks on Argon2i and Balloon Hashing, Alwen and Block=
i
> http://eprint.iacr.org/2016/759.pdf
>
> Abstract:
>
> The algorithm Argon2i-B of Biryukov, Dinu and Khovratovich is currently
> being considered by the IRTF (Internet Research Task Force) as a new
> de-facto standard for password hashing. An older version (Argon2i-A) of t=
he
> same algorithm was chosen as the winner of the recent Password Hashing
> Competition. An important competitor to Argon2i-B is the recently
> introduced Balloon Hashing (BH) algorithm of Corrigan-Gibs, Boneh and
> Schechter. A key security desiderata for any such algorithm is that
> evaluating it (even using a custom device) requires a large amount of
> memory amortized across multiple instances. Alwen and Blocki (CRYPTO 2016=
)
> introduced a class of theoretical attacks against Argon2i-A and BH. While
> these attacks yield large asymptotic reductions in the amount of memory, =
it
> was not, a priori, clear if (1) they can be extended to the newer
> Argon2i-B, (2) the attacks are effective on any algorithm for practical
> parameter ranges (e.g., 1GB of memory) and (3) if they can be effectively
> instantiated against any algorithm under realistic hardware constrains. I=
n
> this work we answer all three of these questions to the affirmative for a=
ll
> three algorithms. It is also the first work to analyze the security of
> Argon2i-B. In more detail, we extend the theoretical attacks of Alwen and
> Blocki (CRYPTO 2016) to the recent Argon2i-B proposal demonstrating sever=
e
> asymptotic deficiencies in its security. Next we introduce several novel
> heuristics for improving the attack=E2=80=99s concrete memory efficiency =
even when
> on-chip memory bandwidth is bounded. We then simulate our attacks on
> randomly sampled Argon2i-A, Argon2iB and BH instances and measure the
> resulting memory consumption for various practical parameter ranges and f=
or
> a variety of upperbounds on the amount of parallelism available to the
> attacker. Finally we describe, implement and test a new heuristic for
> applying the Alwen-Blocki attack to functions employing a technique
> developed by Corrigan-Gibs et al. for improving concrete security of
> memory-hard functions. We analyze the collected data and show the effects
> various parameters have on the memory consumption of the attack. In
> particular, we can draw several interesting conclusions about the level o=
f
> security provided by these functions.
> =E2=80=A2 For the Alwen-Blocki attack to fail against practical memory pa=
rameters,
> Argon2i-B must be instantiated with more than 10 passes on memory. The
> current IRTF proposal calls even just 6 passes as the recommended
> =E2=80=9Cparanoid=E2=80=9D setting.
> =E2=80=A2 More generally, the parameter selection process in the proposal=
 is
> flawed in that it tends towards producing parameters for which the attack
> is successful (even under realistic constraints on parallelism).
> =E2=80=A2 The technique of Corrigan-Gibs for improving security can also =
be
> overcome by the Alwen-Blocki attack under realistic hardware constraints.
> =E2=80=A2 On a positive note, both the asymptotic and concrete security
> of Argon2i-B seem to improve on that of Argon2i-A.
>
> On Wed, Jun 1, 2016 at 11:01 AM, Dmitry Khovratovich <
> khovratovich@gmail.com> wrote:
>
>> Hi Henry,
>>
>> Both for Balloon and for Argon2 there are now provable bounds of O(n^2)
>> with different constants, not very surprising since the mode of operatio=
n
>> is very simple (Argon is close to the simplest you can imagine and Baloo=
n
>> is close to just Argon2 with 3 addresses instead of 1).
>>
>> Argon2 is close to the fastest you can achieve since it was purposefully
>> fine-tuned for speed vs memory gains of attacker. If Balloon or other
>> design will want to approach similar speeds, design and parameter choice=
s
>> will bring it very close to Argon2 design.
>>
>> The Balloon mode though admits a simple ASIC attack with factor 3: a 3x
>> faster memory bus allows parallel loading of your 3 random blocks, where=
as
>> on x64 you have to load them (almost) sequentially. This is much more
>> practical attack than theoretical attacks on Argon2i requiring thousands=
 of
>> Blake2b cores on chip and terabyte/sec bandwidth. We knew of it while
>> designing Argon2 and thus made delta=3D1.
>>
>> For fair comparison with Argon2 and all the other PHC primitives you nee=
d
>> to fix concrete parameters and  compression function and test
>> speed/security on this fixed instance.
>>
>> Best regards,
>> Dmitry
>>
>> On Tue, May 31, 2016 at 5:57 PM, Henry Corrigan-Gibbs <
>> henrycg@stanford.edu> wrote:
>>
>>> Hi Dmity,
>>>
>>> Thanks for taking a look at the paper.
>>>
>>> For the purposes of the security proofs, we model the cryptographic
>>> compression function used in Argon2, Balloon, and scrypt, as a random
>>> oracle (as is standard). In practice, it is possible to instantiate Arg=
on2i
>>> or Balloon or scrypt with any cryptographic compression function that
>>> "behaves like a random oracle." We are agnostic to the choice of
>>> cryptographic compression function -- we just evaluated our design with=
 a
>>> few standard ones.
>>>
>>> My sense is that Balloon (instantiated with parameter delta=3D3) and
>>> Argon2i will run at roughly the same speed, no matter the choice of
>>> cryptographic compression function. That's because three-pass Argon2i o=
n N
>>> blocks of memory makes roughly 3N calls to the underlying compression
>>> function during its execution. Two-round Balloon (the equivalent
>>> construction, since it makes three passes over memory) makes roughly 7N
>>> calls to the underlying compression function during its execution.
>>>
>>> However, the known attacks on three-pass Argon2i allow the attacker to
>>> use roughly 2.5x less space than the defender with no time penalty, so =
to
>>> force the attacker to use N blocks of space requires the defender to ru=
n
>>> Argon2i with a ~2.5x larger memory buffer (i.e., a buffer of N' =3D 2.5=
N
>>> blocks). In this setting, both functions would require ~7N invocations =
of
>>> the underlying cryptographic compression function, so the performance
>>> should be roughly equivalent for the two.
>>>
>>> Changing the underlying cryptographic compression function will change
>>> the absolute performance of both Argon2i and Balloon, but I would expec=
t
>>> their relative performance to stay close to constant. Indeed, if I
>>> instantiate Argon2i and Balloon with the compression function defined i=
n
>>> the Argon2 spec, then I get, on an Intel i7-6700 @ 3.4 GHz:
>>>   Argon2i (2.5 MB buffer): 153 hashes/sec
>>>   Balloon (1.0 MB buffer): 167 hashes/sec
>>>
>>> The surprise to us is that getting this sort of performance with Balloo=
n
>>> is still possible, even though we are able to prove some meaningful
>>> statements about its security. (Of course, the Alwen-Blocki attacks sti=
ll
>>> apply for large enough parameter sizes.)
>>>
>>> Henry
>>>
>>>
>>>
>>> On 5/31/16 7:02 AM, Dmitry Khovratovich wrote:
>>>
>>>> Dear Henry,
>>>>
>>>> thank you for the updated paper.
>>>>
>>>> We appreciate your work on lower-bounding the Argon2i tradeoff
>>>> resistance, it is a very interesting result, and we hope to mention it
>>>> in the specification. However for your proof to work you instantiate
>>>> Argon2  with a collision resistant hash function. During the competiti=
on
>>>> it became clear that collision-resistance of the inner function is not
>>>> needed in practice, since the attacker does not control intermediate
>>>> variables. It is similar to the situation with block-ciphers like AES
>>>> where a single round is cryptographically weak, though you might want =
it
>>>> to be a keyed PRP for the sake of a proof. Worse enough, a full-round
>>>> hash function with a narrow block implies more frequent random memory
>>>> access and more CPU load, which together make a terrible impact on the
>>>> performance. That's why we never defined Argon2 for such hash function=
s,
>>>> and recommend not calling such modifications "Argon2".
>>>>
>>>> This observation and possibly use of your own code for Argon2 causes
>>>>  performance comparison of your Balloon Hash design with Argon2i and
>>>> other designs to be incorrect.
>>>>
>>>> in the introduction you write
>>>> "if we ... run the construction for five =E2=80=9Crounds=E2=80=9D of h=
ashing, and set
>>>> the space parameter to require the attacker to use 1 MiB of working
>>>> space to compute the function, then we can compute Balloon Hashes at t=
he
>>>> rate of 13 hashes per second on a modern server, compared with 12.8 fo=
r
>>>> Argon2i, and 2.1 for Catena DBG".
>>>>
>>>> This statement underestimates the Argon2i performance by the factor of
>>>> 30 (!) or so.
>>>>
>>>> In detail. Argon2i makes much more than 13 hashes per second using 5
>>>> iterations and 1 MiB of memory. On my 2-core 2.3 GHz (i5-6200) laptop
>>>>  it computes 1000 hashes in 5.1-5.3 Gigacycles, thus averaging more th=
an
>>>> 400 hashes per second. I modified our benchmark settings for that, but
>>>> even with default ones (3 iterations, 1 hash) everyone can observe
>>>> similar performance by running 'make bench' +'./bench' using the sourc=
e
>>>> in https://github.com/P-H-C/phc-winner-argon2
>>>>
>>>> In the further text you write
>>>> "Let an authentication server must perform 100 hashes per second per
>>>> four-core machine, ... At the same authentication rate, Argon2i requir=
es
>>>> the attacker to use a smaller buffer=E2=80=94roughly 1.5 MiB for the o=
ne-pass
>>>> variant".
>>>>
>>>> This is again incorrect. Here are the numbers for 1-pass Argon2i: 2MiB=
:
>>>> 225Mcycles, 16MiB: 1174 Mcycles, 32 MiB: 2532 Mcycles (a bit more than=
 1
>>>> second).
>>>>
>>>> So there is a factor of 20 underestimate here. (We also remind that
>>>> 1-pass Argon2i was never  recommended for practical use.)
>>>>
>>>> Best regards,
>>>> the Argon2 team
>>>>
>>>> On Mon, May 30, 2016 at 7:53 PM, Henry Corrigan-Gibbs
>>>> <henrycg@stanford.edu <mailto:henrycg@stanford.edu>> wrote:
>>>>
>>>>     Hi Joel,
>>>>
>>>>     Since I am one of the designers of the Balloon Hashing algorithm, =
it
>>>>     would be difficult for me to give an unbiased opinion on the pros
>>>>     and cons of Argon2i versus Balloon.
>>>>
>>>>     That said, we just updated the Balloon Hashing paper on ePrint:
>>>>     http://eprint.iacr.org/2016/027
>>>>
>>>>     The revised paper includes some new results that might be relevant
>>>>     to CFRG discussions on password hashing. Let me summarize the new
>>>>     results here:
>>>>
>>>>
>>>>     (1) We prove (in the single-instance, random-oracle model) a new,
>>>>     stronger memory-hardness claim about the Balloon algorithm. We sho=
w
>>>>     that computing one instance of the Balloon function with space S a=
nd
>>>>     time T requires a space-time product that (roughly) satisfies:
>>>>     S . T >=3D n^2 / 8.
>>>>     As the adversary's space usage drops below a certain threshold
>>>>     (which depends on the parameter settings) the trade-off gets even
>>>>     worse for the adversary.
>>>>
>>>>
>>>>     (2) We refine the analysis of the single-buffer Balloon algorithm,
>>>>     and the refined analysis allows us to dramatically improve the
>>>>     parameters of the scheme. After this change, the performance of th=
e
>>>>     single-buffer Balloon function *meets or exceeds* that of Argon2i
>>>>     when we instantiate both with Blake2b as the underlying
>>>>     cryptographic hash function. (Consult the paper for the details on
>>>>     this.) The single-buffer Balloon algorithm runs so quickly now tha=
t
>>>>     we decided that the other two Balloon variants (double-buffer and
>>>>     linear) were superfluous. The revised paper includes only the
>>>>     single-buffer scheme, which we now just call the "Balloon
>>>> algorithm".
>>>>
>>>>
>>>>     (3) We discuss your (very cool) recent paper on parallel attacks o=
n
>>>>     iMHFs and give some ideas on how to ameliorate them in the context
>>>>     of password hashing. Our recommendation is to follow Balloon Hashi=
ng
>>>>     with one round of scrypt (or even data-dependent Balloon). This
>>>>     composition apparently defends against either parallel attacks or
>>>>     cache attacks -- just not both at the same time. The design of the
>>>>     Argon2id function uses a similar idea. To us, this seems like a ni=
ce
>>>>     compromise between functionality and security.
>>>>
>>>>
>>>>     (4) We apply our analysis techniques to prove that Argon2i and a
>>>>     simplified variant of scrypt are also memory-hard, though with
>>>>     looser constants than one might like. We show that these two
>>>>     algorithms (again, in the single-instance random-oracle model)
>>>>     require space S and time T such that:
>>>>     S . T >=3D n^2 / C
>>>>     to compute with good probability. For Argon2i, we can prove this
>>>>     statement for C=3D192, and for scrypt with C=3D24. In contrast, we=
 prove
>>>>     the claim with C=3D8 for Balloon, and we additionally prove much
>>>>     stronger time-space trade-offs for Balloon for very-small-space
>>>>     adversaries. From a "provable security" perspective then, Balloon
>>>>     seems to have an edge over the other practical constructions out
>>>> there.
>>>>
>>>>
>>>>     If you find bugs or omissions in the ePrint draft, please let me
>>>> know.
>>>>
>>>>     Henry
>>>>
>>>>
>>>>
>>>>     On 05/25/2016 12:50 PM, Joel Alwen wrote:
>>>>
>>>>         I was wondering what peoples opinion is on standardizing the
>>>>         double-buffer balloon hashing (DB) construction rather than
>>>> Argon2i.
>>>>         Both in terms of arguments for and against.
>>>>
>>>>         I'm sure other people have thought about this much more though
>>>>         so I'd
>>>>         love to hear what people think...
>>>>
>>>>         - Joel
>>>>
>>>>         _______________________________________________
>>>>         Cfrg mailing list
>>>>         Cfrg@irtf.org <mailto:Cfrg@irtf.org>
>>>>         https://www.irtf.org/mailman/listinfo/cfrg
>>>>
>>>>
>>>>     _______________________________________________
>>>>     Cfrg mailing list
>>>>     Cfrg@irtf.org <mailto:Cfrg@irtf.org>
>>>>     https://www.irtf.org/mailman/listinfo/cfrg
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best regards,
>>>> Dmitry Khovratovich
>>>>
>>>
>>>
>>
>>
>> --
>> Best regards,
>> Dmitry Khovratovich
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> https://www.irtf.org/mailman/listinfo/cfrg
>>
>>
>


--=20
Best regards,
Dmitry Khovratovich

--001a11462f3afd2e750539c38745
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Good work, we greatly appreciate the new results and ongoi=
ng public scrutiny of Argon2.<div><br></div><div>I have not checked the det=
ails of improvements yet, but I feel that one of conclusions is incorrect.<=
/div><div><br></div><div>The authors say =C2=A0&quot;<span style=3D"font-si=
ze:12.8px">More generally, the parameter selection process in the proposal =
is flawed in that it tends towards producing parameters for which the attac=
k is successful</span>&quot;. Concretely, for 1 GB on Figure 1 we see that =
the attack on 1-pass Argon2i has quality 5, 3-pass -- quality 3, 4-pass -- =
quality 2.5, 6-pass -- quality 2, 10 passes -- quality 1.5.=C2=A0</div><div=
><br></div><div>The IRTF proposal and the Argon2 spec recommend the practit=
ioners to select the maximum allowed amount of memory first, and then incre=
ase the number of passes until it is too long.=C2=A0</div><div><br></div><d=
iv>Why so? Suppose for the sake of simplicity that 1 pass of Argon2 can fil=
l 5 GB of RAM per second, and you have 1 second to spend on hashing. How to=
 choose the parameters to maximize the adversary&#39;s costs? If we set 10 =
passes, only 0.5 GB of RAM will be filled, so a naive ASIC implementation w=
ould cost 0.5 GB-sec in area-time units, but the AB attack reduces it to 0.=
33 GB-sec. However, if 4 passes are selected, then 1.25 GB can be utilized,=
 the naive implementation would cost 1.25 GB-sec, and the optimized one -- =
0.5 GB-sec, i.e. more costs than the 10-pass one. For 3 passes the adversar=
y would spend 0.55 GB-sec, and for 1 pass - 1 GB-sec (!).</div><div><br></d=
iv><div>Therefore more passes actually benefit the adversary, that&#39;s wh=
y we proposed the procedure above. To compare the security of different num=
ber of passes, not the attack quality but quality*passes must be used.</div=
><div><br></div><div>Dmitry</div></div><div class=3D"gmail_extra"><br><div =
class=3D"gmail_quote">On Wed, Aug 10, 2016 at 3:55 PM, Paul Grubbs <span di=
r=3D"ltr">&lt;<a href=3D"mailto:pag225@cornell.edu" target=3D"_blank">pag22=
5@cornell.edu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div =
dir=3D"ltr">Relevant to this discussion:=C2=A0<div><br></div><div>Towards P=
ractical Attacks on Argon2i and Balloon Hashing, Alwen and Blocki<br></div>=
<div><a href=3D"http://eprint.iacr.org/2016/759.pdf" target=3D"_blank">http=
://eprint.iacr.org/2016/<wbr>759.pdf</a></div><div><br></div><div>Abstract:=
</div><div><br></div><div>The algorithm Argon2i-B of Biryukov, Dinu and
Khovratovich is currently being considered by the IRTF
(Internet Research Task Force) as a new de-facto standard
for password hashing. An older version (Argon2i-A) of the
same algorithm was chosen as the winner of the recent
Password Hashing Competition. An important competitor
to Argon2i-B is the recently introduced Balloon Hashing
(BH) algorithm of Corrigan-Gibs, Boneh and Schechter.
A key security desiderata for any such algorithm is
that evaluating it (even using a custom device) requires
a large amount of memory amortized across multiple
instances. Alwen and Blocki (CRYPTO 2016) introduced
a class of theoretical attacks against Argon2i-A and BH.
While these attacks yield large asymptotic reductions in
the amount of memory, it was not, a priori, clear if
(1) they can be extended to the newer Argon2i-B, (2)
the attacks are effective on any algorithm for practical
parameter ranges (e.g., 1GB of memory) and (3) if they
can be effectively instantiated against any algorithm under
realistic hardware constrains.
In this work we answer all three of these questions
to the affirmative for all three algorithms. It is also the
first work to analyze the security of Argon2i-B. In more
detail, we extend the theoretical attacks of Alwen and
Blocki (CRYPTO 2016) to the recent Argon2i-B proposal
demonstrating severe asymptotic deficiencies in its security.
Next we introduce several novel heuristics for improving
the attack=E2=80=99s concrete memory efficiency even when
on-chip memory bandwidth is bounded. We then simulate
our attacks on randomly sampled Argon2i-A, Argon2iB
and BH instances and measure the resulting memory
consumption for various practical parameter ranges and
for a variety of upperbounds on the amount of parallelism
available to the attacker. Finally we describe, implement
and test a new heuristic for applying the Alwen-Blocki
attack to functions employing a technique developed by
Corrigan-Gibs et al. for improving concrete security of
memory-hard functions.
We analyze the collected data and show the effects
various parameters have on the memory consumption of
the attack. In particular, we can draw several interesting
conclusions about the level of security provided by these
functions.=C2=A0</div><div>=E2=80=A2 For the Alwen-Blocki attack to fail ag=
ainst practical
memory parameters, Argon2i-B must be instantiated
with more than 10 passes on memory.
The current IRTF proposal calls even just 6 passes
as the recommended =E2=80=9Cparanoid=E2=80=9D setting.=C2=A0</div><div>=E2=
=80=A2 More generally, the parameter selection process
in the proposal is flawed in that it tends towards
producing parameters for which the attack
is successful (even under realistic constraints on
parallelism).=C2=A0</div><div>=E2=80=A2 The technique of Corrigan-Gibs for =
improving
security can also be overcome by the Alwen-Blocki
attack under realistic hardware constraints.=C2=A0</div><div>=E2=80=A2 On a=
 positive note, both the asymptotic and concrete
security of=C2=A0Argon2i-B seem to improve on
that of Argon2i-A.<br></div></div><div class=3D"gmail_extra"><br><div class=
=3D"gmail_quote"><div><div class=3D"h5">On Wed, Jun 1, 2016 at 11:01 AM, Dm=
itry Khovratovich <span dir=3D"ltr">&lt;<a href=3D"mailto:khovratovich@gmai=
l.com" target=3D"_blank">khovratovich@gmail.com</a>&gt;</span> wrote:<br></=
div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex"><div><div class=3D"h5"><div dir=3D=
"ltr"><div style=3D"font-size:12.8px">Hi Henry,</div><div style=3D"font-siz=
e:12.8px"><br></div><div style=3D"font-size:12.8px">Both for Balloon and fo=
r Argon2 there are now provable bounds of O(n^2) with different constants, =
not very surprising since the mode of operation is very simple (Argon is cl=
ose to the simplest you can imagine and Baloon is close to just Argon2 with=
 3 addresses instead of 1).</div><div style=3D"font-size:12.8px"><br></div>=
<div style=3D"font-size:12.8px">Argon2 is close to the fastest you can achi=
eve since it was purposefully fine-tuned for speed vs memory gains of attac=
ker. If Balloon or other design will want to approach similar speeds, desig=
n and parameter choices will bring it very close to Argon2 design.</div><di=
v style=3D"font-size:12.8px"><br></div><div style=3D"font-size:12.8px">The =
Balloon mode though admits a simple ASIC attack with factor 3: a 3x faster =
memory bus allows parallel loading of your 3 random blocks, whereas on x64 =
you have to load them (almost) sequentially. This is much more practical at=
tack than theoretical attacks on Argon2i requiring thousands of Blake2b cor=
es on chip and terabyte/sec bandwidth. We knew of it while designing Argon2=
 and thus made delta=3D1.</div><div style=3D"font-size:12.8px"><br></div><d=
iv style=3D"font-size:12.8px"><span style=3D"font-size:12.8px">For fair com=
parison with Argon2 and all the other PHC primitives you need to fix concre=
te parameters and=C2=A0 compression function and test speed/security on thi=
s fixed instance.</span><br></div><div style=3D"font-size:12.8px"><span sty=
le=3D"font-size:12.8px"><br></span></div><div style=3D"font-size:12.8px"><s=
pan style=3D"font-size:12.8px">Best regards,</span></div><div style=3D"font=
-size:12.8px"><span style=3D"font-size:12.8px">Dmitry</span></div></div><di=
v><div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, Ma=
y 31, 2016 at 5:57 PM, Henry Corrigan-Gibbs <span dir=3D"ltr">&lt;<a href=
=3D"mailto:henrycg@stanford.edu" target=3D"_blank">henrycg@stanford.edu</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Dmity,<br>
<br>
Thanks for taking a look at the paper.<br>
<br>
For the purposes of the security proofs, we model the cryptographic compres=
sion function used in Argon2, Balloon, and scrypt, as a random oracle (as i=
s standard). In practice, it is possible to instantiate Argon2i or Balloon =
or scrypt with any cryptographic compression function that &quot;behaves li=
ke a random oracle.&quot; We are agnostic to the choice of cryptographic co=
mpression function -- we just evaluated our design with a few standard ones=
.<br>
<br>
My sense is that Balloon (instantiated with parameter delta=3D3) and Argon2=
i will run at roughly the same speed, no matter the choice of cryptographic=
 compression function. That&#39;s because three-pass Argon2i on N blocks of=
 memory makes roughly 3N calls to the underlying compression function durin=
g its execution. Two-round Balloon (the equivalent construction, since it m=
akes three passes over memory) makes roughly 7N calls to the underlying com=
pression function during its execution.<br>
<br>
However, the known attacks on three-pass Argon2i allow the attacker to use =
roughly 2.5x less space than the defender with no time penalty, so to force=
 the attacker to use N blocks of space requires the defender to run Argon2i=
 with a ~2.5x larger memory buffer (i.e., a buffer of N&#39; =3D 2.5N block=
s). In this setting, both functions would require ~7N invocations of the un=
derlying cryptographic compression function, so the performance should be r=
oughly equivalent for the two.<br>
<br>
Changing the underlying cryptographic compression function will change the =
absolute performance of both Argon2i and Balloon, but I would expect their =
relative performance to stay close to constant. Indeed, if I instantiate Ar=
gon2i and Balloon with the compression function defined in the Argon2 spec,=
 then I get, on an Intel i7-6700 @ 3.4 GHz:<br>
=C2=A0 Argon2i (2.5 MB buffer): 153 hashes/sec<br>
=C2=A0 Balloon (1.0 MB buffer): 167 hashes/sec<br>
<br>
The surprise to us is that getting this sort of performance with Balloon is=
 still possible, even though we are able to prove some meaningful statement=
s about its security. (Of course, the Alwen-Blocki attacks still apply for =
large enough parameter sizes.)<br>
<br>
Henry<div><div><br>
<br>
<br>
On 5/31/16 7:02 AM, Dmitry Khovratovich wrote:<br>
</div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex"><div><div>
Dear Henry,<br>
<br>
thank you for the updated paper.<br>
<br>
We appreciate your work on lower-bounding the Argon2i tradeoff<br>
resistance, it is a very interesting result, and we hope to mention it<br>
in the specification. However for your proof to work you instantiate<br>
Argon2=C2=A0 with a collision resistant hash function. During the competiti=
on<br>
it became clear that collision-resistance of the inner function is not<br>
needed in practice, since the attacker does not control intermediate<br>
variables. It is similar to the situation with block-ciphers like AES<br>
where a single round is cryptographically weak, though you might want it<br=
>
to be a keyed PRP for the sake of a proof. Worse enough, a full-round<br>
hash function with a narrow block implies more frequent random memory<br>
access and more CPU load, which together make a terrible impact on the<br>
performance. That&#39;s why we never defined Argon2 for such hash functions=
,<br>
and recommend not calling such modifications &quot;Argon2&quot;.<br>
<br>
This observation and possibly use of your own code for Argon2 causes<br>
=C2=A0performance comparison of your Balloon Hash design with Argon2i and<b=
r>
other designs to be incorrect.<br>
<br>
in the introduction you write<br>
&quot;if we ... run the construction for five =E2=80=9Crounds=E2=80=9D of h=
ashing, and set<br>
the space parameter to require the attacker to use 1 MiB of working<br>
space to compute the function, then we can compute Balloon Hashes at the<br=
>
rate of 13 hashes per second on a modern server, compared with 12.8 for<br>
Argon2i, and 2.1 for Catena DBG&quot;.<br>
<br>
This statement underestimates the Argon2i performance by the factor of<br>
30 (!) or so.<br>
<br>
In detail. Argon2i makes much more than 13 hashes per second using 5<br>
iterations and 1 MiB of memory. On my 2-core 2.3 GHz (i5-6200) laptop<br>
=C2=A0it computes 1000 hashes in 5.1-5.3 Gigacycles, thus averaging more th=
an<br>
400 hashes per second. I modified our benchmark settings for that, but<br>
even with default ones (3 iterations, 1 hash) everyone can observe<br>
similar performance by running &#39;make bench&#39; +&#39;./bench&#39; usin=
g the source<br>
in <a href=3D"https://github.com/P-H-C/phc-winner-argon2" rel=3D"noreferrer=
" target=3D"_blank">https://github.com/P-H-C/phc-w<wbr>inner-argon2</a><br>
<br>
In the further text you write<br>
&quot;Let an authentication server must perform 100 hashes per second per<b=
r>
four-core machine, ... At the same authentication rate, Argon2i requires<br=
>
the attacker to use a smaller buffer=E2=80=94roughly 1.5 MiB for the one-pa=
ss<br>
variant&quot;.<br>
<br>
This is again incorrect. Here are the numbers for 1-pass Argon2i: 2MiB:<br>
225Mcycles, 16MiB: 1174 Mcycles, 32 MiB: 2532 Mcycles (a bit more than 1<br=
>
second).<br>
<br>
So there is a factor of 20 underestimate here. (We also remind that<br>
1-pass Argon2i was never=C2=A0 recommended for practical use.)<br>
<br>
Best regards,<br>
the Argon2 team<br>
<br>
On Mon, May 30, 2016 at 7:53 PM, Henry Corrigan-Gibbs<br></div></div><div><=
div>
&lt;<a href=3D"mailto:henrycg@stanford.edu" target=3D"_blank">henrycg@stanf=
ord.edu</a> &lt;mailto:<a href=3D"mailto:henrycg@stanford.edu" target=3D"_b=
lank">henrycg@stanford.edu</a>&gt;&gt; wrote:<br>
<br>
=C2=A0 =C2=A0 Hi Joel,<br>
<br>
=C2=A0 =C2=A0 Since I am one of the designers of the Balloon Hashing algori=
thm, it<br>
=C2=A0 =C2=A0 would be difficult for me to give an unbiased opinion on the =
pros<br>
=C2=A0 =C2=A0 and cons of Argon2i versus Balloon.<br>
<br>
=C2=A0 =C2=A0 That said, we just updated the Balloon Hashing paper on ePrin=
t:<br>
=C2=A0 =C2=A0 <a href=3D"http://eprint.iacr.org/2016/027" rel=3D"noreferrer=
" target=3D"_blank">http://eprint.iacr.org/2016/02<wbr>7</a><br>
<br>
=C2=A0 =C2=A0 The revised paper includes some new results that might be rel=
evant<br>
=C2=A0 =C2=A0 to CFRG discussions on password hashing. Let me summarize the=
 new<br>
=C2=A0 =C2=A0 results here:<br>
<br>
<br>
=C2=A0 =C2=A0 (1) We prove (in the single-instance, random-oracle model) a =
new,<br>
=C2=A0 =C2=A0 stronger memory-hardness claim about the Balloon algorithm. W=
e show<br>
=C2=A0 =C2=A0 that computing one instance of the Balloon function with spac=
e S and<br>
=C2=A0 =C2=A0 time T requires a space-time product that (roughly) satisfies=
:<br>
=C2=A0 =C2=A0 S . T &gt;=3D n^2 / 8.<br>
=C2=A0 =C2=A0 As the adversary&#39;s space usage drops below a certain thre=
shold<br>
=C2=A0 =C2=A0 (which depends on the parameter settings) the trade-off gets =
even<br>
=C2=A0 =C2=A0 worse for the adversary.<br>
<br>
<br>
=C2=A0 =C2=A0 (2) We refine the analysis of the single-buffer Balloon algor=
ithm,<br>
=C2=A0 =C2=A0 and the refined analysis allows us to dramatically improve th=
e<br>
=C2=A0 =C2=A0 parameters of the scheme. After this change, the performance =
of the<br>
=C2=A0 =C2=A0 single-buffer Balloon function *meets or exceeds* that of Arg=
on2i<br>
=C2=A0 =C2=A0 when we instantiate both with Blake2b as the underlying<br>
=C2=A0 =C2=A0 cryptographic hash function. (Consult the paper for the detai=
ls on<br>
=C2=A0 =C2=A0 this.) The single-buffer Balloon algorithm runs so quickly no=
w that<br>
=C2=A0 =C2=A0 we decided that the other two Balloon variants (double-buffer=
 and<br>
=C2=A0 =C2=A0 linear) were superfluous. The revised paper includes only the=
<br>
=C2=A0 =C2=A0 single-buffer scheme, which we now just call the &quot;Balloo=
n algorithm&quot;.<br>
<br>
<br>
=C2=A0 =C2=A0 (3) We discuss your (very cool) recent paper on parallel atta=
cks on<br>
=C2=A0 =C2=A0 iMHFs and give some ideas on how to ameliorate them in the co=
ntext<br>
=C2=A0 =C2=A0 of password hashing. Our recommendation is to follow Balloon =
Hashing<br>
=C2=A0 =C2=A0 with one round of scrypt (or even data-dependent Balloon). Th=
is<br>
=C2=A0 =C2=A0 composition apparently defends against either parallel attack=
s or<br>
=C2=A0 =C2=A0 cache attacks -- just not both at the same time. The design o=
f the<br>
=C2=A0 =C2=A0 Argon2id function uses a similar idea. To us, this seems like=
 a nice<br>
=C2=A0 =C2=A0 compromise between functionality and security.<br>
<br>
<br>
=C2=A0 =C2=A0 (4) We apply our analysis techniques to prove that Argon2i an=
d a<br>
=C2=A0 =C2=A0 simplified variant of scrypt are also memory-hard, though wit=
h<br>
=C2=A0 =C2=A0 looser constants than one might like. We show that these two<=
br>
=C2=A0 =C2=A0 algorithms (again, in the single-instance random-oracle model=
)<br>
=C2=A0 =C2=A0 require space S and time T such that:<br>
=C2=A0 =C2=A0 S . T &gt;=3D n^2 / C<br>
=C2=A0 =C2=A0 to compute with good probability. For Argon2i, we can prove t=
his<br>
=C2=A0 =C2=A0 statement for C=3D192, and for scrypt with C=3D24. In contras=
t, we prove<br>
=C2=A0 =C2=A0 the claim with C=3D8 for Balloon, and we additionally prove m=
uch<br>
=C2=A0 =C2=A0 stronger time-space trade-offs for Balloon for very-small-spa=
ce<br>
=C2=A0 =C2=A0 adversaries. From a &quot;provable security&quot; perspective=
 then, Balloon<br>
=C2=A0 =C2=A0 seems to have an edge over the other practical constructions =
out there.<br>
<br>
<br>
=C2=A0 =C2=A0 If you find bugs or omissions in the ePrint draft, please let=
 me know.<br>
<br>
=C2=A0 =C2=A0 Henry<br>
<br>
<br>
<br>
=C2=A0 =C2=A0 On 05/25/2016 12:50 PM, Joel Alwen wrote:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 I was wondering what peoples opinion is on stan=
dardizing the<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 double-buffer balloon hashing (DB) construction=
 rather than Argon2i.<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Both in terms of arguments for and against.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 I&#39;m sure other people have thought about th=
is much more though<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 so I&#39;d<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 love to hear what people think...<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 - Joel<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ______________________________<wbr>____________=
_____<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Cfrg mailing list<br></div></div>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:Cfrg@irtf.org" target=3D"_bla=
nk">Cfrg@irtf.org</a> &lt;mailto:<a href=3D"mailto:Cfrg@irtf.org" target=3D=
"_blank">Cfrg@irtf.org</a>&gt;<span><br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://www.irtf.org/mailman/listinf=
o/cfrg" rel=3D"noreferrer" target=3D"_blank">https://www.irtf.org/mailman/l=
<wbr>istinfo/cfrg</a><br>
<br>
<br>
=C2=A0 =C2=A0 ______________________________<wbr>_________________<br>
=C2=A0 =C2=A0 Cfrg mailing list<br></span>
=C2=A0 =C2=A0 <a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.=
org</a> &lt;mailto:<a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@=
irtf.org</a>&gt;<span><br>
=C2=A0 =C2=A0 <a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D=
"noreferrer" target=3D"_blank">https://www.irtf.org/mailman/l<wbr>istinfo/c=
frg</a><br>
<br>
<br>
<br>
<br>
--<br>
Best regards,<br>
Dmitry Khovratovich<br>
</span></blockquote>
<br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div data-sm=
artmail=3D"gmail_signature"><div>Best regards,</div><div>Dmitry Khovratovic=
h</div></div>
</div>
</div></div><br>______________________________<wbr>_________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a><br>
</div></div><a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D"n=
oreferrer" target=3D"_blank">https://www.irtf.org/mailman/l<wbr>istinfo/cfr=
g</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div>Best regards,<=
/div><div>Dmitry Khovratovich</div></div>
</div>

--001a11462f3afd2e750539c38745--


From nobody Wed Aug 10 23:13:29 2016
Return-Path: <ietf@augustcellars.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 067CC12D537 for <cfrg@ietfa.amsl.com>; Wed, 10 Aug 2016 23:13:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.148
X-Spam-Level: 
X-Spam-Status: No, score=-3.148 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.247, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 2zRd6xyp_csT for <cfrg@ietfa.amsl.com>; Wed, 10 Aug 2016 23:13:26 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0332412D18D for <cfrg@ietf.org>; Wed, 10 Aug 2016 23:13:25 -0700 (PDT)
Received: from hebrews (24.21.96.37) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 10 Aug 2016 23:25:11 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: <ilariliusvaara@welho.com>
References: <4B08AAC4-A91E-4AD4-B2FC-A5DA1DC73B91@shiftleft.org> <20160802222833.5F2BE603FB@jupiter.mumble.net> <038501d1ed1b$aa34ec30$fe9ec490$@augustcellars.com> <039901d1ed42$eef1e630$ccd5b290$@augustcellars.com> <20160803083912.GA30525@LK-Perkele-V2.elisa-laajakaista.fi>
In-Reply-To: <20160803083912.GA30525@LK-Perkele-V2.elisa-laajakaista.fi>
Date: Wed, 10 Aug 2016 23:12:53 -0700
Message-ID: <001501d1f397$6749dc00$35dd9400$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQGTG7D8yzf3x5MHMvvf3zFpT0a2KwL6kiG5AhqmhkUCBYGWUQFjtNwgoH0CpeA=
Content-Language: en-us
X-Originating-IP: [24.21.96.37]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/KLSmMyvG0Jj5J_b78ZOgvJtCwzY>
Cc: cfrg@ietf.org, draft-irtf-cfrg-eddsa@tools.ietf.org
Subject: Re: [Cfrg] legacy protocols and contexts [was Re: Review of draft-irtf-cfrg-eddsa-05]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Aug 2016 06:13:28 -0000

What if we do the following for dealing with things:

Ed25519:

r =3D SHA-512(dom(F, c) || prefix || PH(M))
k =3D SHA-512(dom(F, c) || A || PH(M))

where
dom(F, c) =3D empty string for PureEdDSA
dom(F, c) =3D "SigEd25519" || octet(x) || octet(OLEN(y)) || y    for =
Prehash-EdDSA

Ed448:
Keep the fomulas as they are today.

This would allow for a later definition of a 25519 context pure EdDSA in =
a new document.  While I would prefer to make this the one that is used =
in the IETF going forward, these changes will make things cleaner today =
and still allow for a forward path in the future if needed.

Jim


> -----Original Message-----
> From: ilariliusvaara@welho.com [mailto:ilariliusvaara@welho.com]
> Sent: Wednesday, August 03, 2016 1:39 AM
> To: Jim Schaad <ietf@augustcellars.com>
> Cc: cfrg@ietf.org; draft-irtf-cfrg-eddsa@tools.ietf.org
> Subject: Re: [Cfrg] legacy protocols and contexts [was Re: Review of =
draft-irtf-
> cfrg-eddsa-05]
>=20
> On Tue, Aug 02, 2016 at 09:53:07PM -0700, Jim Schaad wrote:
> > It dawns on me that I should probably state that while my main worry
> > is that the two algorithms be consistent of either having or not
> > having the context structure.  My preference would be to have the
> > context structure as it strengthens the resistance to the
> > pre-hash/pure misuse even if it means that there are two different =
things
> called Ed25519 in the wild.
>=20
> I really don't think Ed25519 should be any different from what is in =
the wild.
> Ed25519ph is not in the wild much.
>=20
> The Chacha20-Poly1305 mess was bad enough, and that function was MUCH
> less out there than Ed25519.
>=20
>=20
> Also, I came up with the following cute hack:
>=20
> - Split Ed448 into Ed448 and Ed448ctx according to context =
present/not.
> - Define Ed25519ctx with hash prefix of
>   "SigEd25519 no Ed25519 collisions"|byte(phflag)|byte(len(ctx))|ctx
> - Define Ed25519ph in terms of Ed25519ctx.
>=20
> Leaves Ed448(key,message) unchanged, leaves Ed25519 unchanged, that =
prefix
> prevents any trivial hash collisions with Ed25519[1], prevents
> Ed25519 vs. Ed25519ph key mixups (that seems like a major footcannon,
> considering some of the use proposals I have seen).
>=20
> One couldn't then compute Ed25519ph with standard Ed25519 software, =
but I
> don't consider that that major problem.
>=20
>=20
> [1] If one tries to use that value as R in Ed25519, which is =
necressary for trivial
> collision, verification tries to calculate square root of QNR, which =
obviously
> fails.
>=20
>=20
> -Ilari


From nobody Wed Aug 10 23:51:38 2016
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F1A0812D104 for <cfrg@ietfa.amsl.com>; Wed, 10 Aug 2016 23:51:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.147
X-Spam-Level: 
X-Spam-Status: No, score=-3.147 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.247] autolearn=ham autolearn_force=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 cm3RvfRSVo6h for <cfrg@ietfa.amsl.com>; Wed, 10 Aug 2016 23:51:34 -0700 (PDT)
Received: from welho-filter4.welho.com (welho-filter4.welho.com [83.102.41.26]) by ietfa.amsl.com (Postfix) with ESMTP id DED1D12D0CC for <cfrg@ietf.org>; Wed, 10 Aug 2016 23:51:33 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter4.welho.com (Postfix) with ESMTP id BEBA01396C; Thu, 11 Aug 2016 09:51:31 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter4.welho.com [::ffff:83.102.41.26]) (amavisd-new, port 10024) with ESMTP id 42YylAsPeT6H; Thu, 11 Aug 2016 09:51:29 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-177-32.bb.dnainternet.fi [87.100.177.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id 661CE21C; Thu, 11 Aug 2016 09:51:29 +0300 (EEST)
Date: Thu, 11 Aug 2016 09:51:21 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Jim Schaad <ietf@augustcellars.com>
Message-ID: <20160811065121.vswhvnmhevpryh5w@LK-Perkele-V2.elisa-laajakaista.fi>
References: <4B08AAC4-A91E-4AD4-B2FC-A5DA1DC73B91@shiftleft.org> <20160802222833.5F2BE603FB@jupiter.mumble.net> <038501d1ed1b$aa34ec30$fe9ec490$@augustcellars.com> <039901d1ed42$eef1e630$ccd5b290$@augustcellars.com> <20160803083912.GA30525@LK-Perkele-V2.elisa-laajakaista.fi> <001501d1f397$6749dc00$35dd9400$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <001501d1f397$6749dc00$35dd9400$@augustcellars.com>
User-Agent: Mutt/1.6.2-neo (2016-07-23)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/tdDepOHQTwXnQwgZ9TgVWwf6TpA>
Cc: cfrg@ietf.org, draft-irtf-cfrg-eddsa@tools.ietf.org
Subject: Re: [Cfrg] legacy protocols and contexts [was Re: Review of draft-irtf-cfrg-eddsa-05]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Aug 2016 06:51:36 -0000

On Wed, Aug 10, 2016 at 11:12:53PM -0700, Jim Schaad wrote:
> What if we do the following for dealing with things:
> 
> Ed25519:
> 
> r = SHA-512(dom(F, c) || prefix || PH(M))
> k = SHA-512(dom(F, c) || A || PH(M))
> 
> where
> dom(F, c) = empty string for PureEdDSA
> dom(F, c) = "SigEd25519" || octet(x) || octet(OLEN(y)) || y    for Prehash-EdDSA
> 
> Ed448:
> Keep the fomulas as they are today.
> 
> This would allow for a later definition of a 25519 context pure EdDSA
> in a new document.  While I would prefer to make this the one that is
> used in the IETF going forward, these changes will make things cleaner
> today and still allow for a forward path in the future if needed.

I would use some 32-byte prefix that does not decode as valid point.
Even if I don't know any attacks if prefix can decode as a valid point,
I'd rather not risk anything.

 
Also, If one wanted to do contexts in another document, one could
just fix the OLEN octet to 0 (so it is compatible).


-Ilari


From nobody Thu Aug 11 06:48:11 2016
Return-Path: <waywardgeek@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 14CBD12D613 for <cfrg@ietfa.amsl.com>; Thu, 11 Aug 2016 06:48:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.699
X-Spam-Level: 
X-Spam-Status: No, score=-1.699 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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 xbss_a5eNyDu for <cfrg@ietfa.amsl.com>; Thu, 11 Aug 2016 06:48:08 -0700 (PDT)
Received: from mail-yw0-x22f.google.com (mail-yw0-x22f.google.com [IPv6:2607:f8b0:4002: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 D2AFF12D59A for <cfrg@irtf.org>; Thu, 11 Aug 2016 06:48:07 -0700 (PDT)
Received: by mail-yw0-x22f.google.com with SMTP id z8so2482207ywa.1 for <cfrg@irtf.org>; Thu, 11 Aug 2016 06:48:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hQZGl1glXyPYIaWtdv/EsRieFabZeSkDr1B0zdmZ270=; b=hVvXx/rwu0hDvswLPNAffi9O6jpMjro4xaa6UU2uCTXz3B28qnpmv57E+JuFkIuV3d V351zR4D6qhp1LxJPXJz8cx6uzZF8tjHctBmdgx++E9CVVjCGFrZEMfEPdeJTnDf00nS /+aCYRV2ZgSiOFEkh+QZYWA6kYwG+2edVWHLRARyvev4q4M/cKivYFDTHApln1Gb7Z0z F3Z8iy0iu0X1zObVH+spgisSvA7rrQUDwVTOdA+08fSkJUyOEptGdl7zjPgSK9dDzLQe XzrI7AS2mWcIFRc5QjW0avZldAPtOQ/5s/+WxtHOrk+YSlGRIzYnK4DVxwJRhYBiqH5N estA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hQZGl1glXyPYIaWtdv/EsRieFabZeSkDr1B0zdmZ270=; b=IL0p1+kSoVoFZHd0ILbRKjsnerfEZjUhhY5yHgWWhUAEx1I8FF+HefjuT1Psc/3I7m HztKb3F5hPR8UUqsFlDOKsRXCJ0KHoXC6SWmXXg4hMbBT3auHfqpTwiKhS77FdtmMEsG oCRTaDuGzDOuE/O6k2Tq3M/91oQHGAS31quucusbrF+HRlamGPQHzTnpOgR1OFTnYiB1 vXj2oxRqoaners40caM0/4Rvsgkq7hMFr3n5XeNMa01vyBFWUzyflKdbdC3V18ezYB5h Yt0SEFLICJZIUFHDBgylV8mjlpvm53m9g5Gn1uEIV0EF2nMunFfOUxGnX2RFtg2xxIV2 Jc4g==
X-Gm-Message-State: AEkooutn17zeDYpBm95DfTX7nDaD5CfkuxH2IvzW/Rz+Tbnjh4qF4d/2pQ+VNG4TCv8gzr5LSKhLQgEPTjlA2Q==
X-Received: by 10.13.250.196 with SMTP id k187mr6498225ywf.314.1470923287019;  Thu, 11 Aug 2016 06:48:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.53.17 with HTTP; Thu, 11 Aug 2016 06:48:06 -0700 (PDT)
In-Reply-To: <CALW8-7+ZfnpisFXYhyYPsvSz2zzz+NaZMezpMfKxgiSohLoQ=A@mail.gmail.com>
References: <574601EF.60205@ist.ac.at> <574C7E2B.5080700@stanford.edu> <CALW8-7+D6BSzE4ufubZys=6ECn7GUvRQA2CDxKAANgvvOwddqQ@mail.gmail.com> <1cd036cd-e15b-7f9c-c3d5-28f6e2ef4c2b@stanford.edu> <CALW8-7+MZ-b1VGc+4EOReCEbvCVou+e9UbzfR9sJMZavwqp64A@mail.gmail.com> <CAKDPBw-fJo=YEy1QPT9k2OMWf511=bXtZbZdn0R-UyMaVM0djQ@mail.gmail.com> <CALW8-7+ZfnpisFXYhyYPsvSz2zzz+NaZMezpMfKxgiSohLoQ=A@mail.gmail.com>
From: Bill Cox <waywardgeek@gmail.com>
Date: Thu, 11 Aug 2016 06:48:06 -0700
Message-ID: <CAOLP8p4m7RdY-UO3XLWBpPk09GBP05ESO_pErFx1NWOqOjYwqg@mail.gmail.com>
To: Dmitry Khovratovich <khovratovich@gmail.com>
Content-Type: multipart/alternative; boundary=94eb2c05ed5003e3fa0539cc04d8
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/ZE1yu5YkJA4haKCgfx8nNlVkhRs>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Balloon-Hashing or Argon2i.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Aug 2016 13:48:09 -0000

--94eb2c05ed5003e3fa0539cc04d8
Content-Type: text/plain; charset=UTF-8

On Wed, Aug 10, 2016 at 8:40 PM, Dmitry Khovratovich <khovratovich@gmail.com
> wrote:

>
> I have not checked the details of improvements yet, but I feel that one of
> conclusions is incorrect.
>

I disagreed with paper starting with the definition of "quality".  It is
defined as the cost to compute hashes times total number of hashes
performed, plus the power required to store the hashes for a period of
time.  This is a common mistake.  The actual power in their attack will
more likely be dominated by the power of routing the data, not storing or
computing it.  If routing were free, we would all be running data-flow
computers <https://en.wikipedia.org/wiki/Dataflow_architecture>.

tl;dr; Here's a quick brain-dump on the cost of routing data for people who
have never analyzed routing data before.

Routing is hard to understand and quantify, so it is often ignored.  This
is why data-flow architectures sound great but don't work out in practice.

The paper models the total power as the sum of the power for computing the
data plus the power of storing the data in DRAM.  Routing power is ignored,
which causes weird results.  The paper assumes the power of routing locally
stored data in the ASIC is zero.  This causes the authors to try to
minimize the data transferred to the external DRAM, which also improves
computation speed by maximizing the use of limited DRAM bandwidth.  It
sounds pretty good until you try to analyze routing power on the ASIC.

The power of storing a bit in DRAM is essentially zero, except that now and
then the DRAM has to do a refresh, which drives a long capacitive bit-line
of maybe 1mm with many loads.  At the speeds they're talking about
(1TiB/s), that power will be dwarfed by the routing power of the data
to/from the DRAM.  Each read/write drives a word line of maybe 1mm with
many capacitive gates, a bit line, and a good fraction of a centimeter of
wire across the DRAM to the I/O, and then another good fraction of a
centimeter of wire across the ASIC.  However, this power is very small
compared to the on-chip data-flow routing power in the ASIC.

When attacking Argon2i, which wisely uses 1KiB blocks rather than 512-bit
BLAKE2b hashes, and with 1,000 parallel cores as described in the attack,
they will need to route about 3MiB of data randomly between them in 1KiB
chunks per hashing step!  That's about 1cm of wire toggling times 24
million.

Each of these 1cm routing paths will have around ~1pF of capacitance.
Assume a 1V core power supply.  Toggling at a slow rate of 100MHz gives
C*V^2*f/2 power = 1,200 watts.  In reality, the power would be at least
double that due to the on-the-fly programmable nature.  Also, the routing
network would dominate the die area.

Once the full cost of routing data is included, deep TMTO attacks using
massive parallelism against Argon2i-B, or Balloon Hashing, when using the
author's recommended parameters, will be impractical, especially if the
Balloon hashing method of randomizing the DAG with the salt is used, so
that the ASIC has to do full data-flow routing rather than hard-wired
optimized routing.

BTW, many people will feel uncomfortable with leaking information about the
salt through side-channels, but at a minimum, a unique value per password
database should be hashed in, so that any ASIC attack that tries to
optimize the routing power vs data-flow networks will only be usable
against one database rather than globally.  Forcing an ASIC attacker to use
data-flow routing is crucial for defense.

Bill

--94eb2c05ed5003e3fa0539cc04d8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On W=
ed, Aug 10, 2016 at 8:40 PM, Dmitry Khovratovich <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:khovratovich@gmail.com" target=3D"_blank">khovratovich@gmail.=
com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr=
"><div><br></div><div>I have not checked the details of improvements yet, b=
ut I feel that one of conclusions is incorrect.</div></div></blockquote><di=
v><br></div><div>I disagreed with paper starting with the definition of &qu=
ot;quality&quot;.=C2=A0 It is defined as the cost to compute hashes times t=
otal number of hashes performed, plus the power required to store the hashe=
s for a period of time.=C2=A0 This is a common mistake.=C2=A0 The actual po=
wer in their attack will more likely be dominated by the power of routing t=
he data, not storing or computing it.=C2=A0 If routing were free, we would =
all be running <a href=3D"https://en.wikipedia.org/wiki/Dataflow_architectu=
re">data-flow computers</a>.</div><div><br></div><div>tl;dr; Here&#39;s a q=
uick brain-dump on the cost of routing data for people who have never analy=
zed routing data before.</div><div><br></div><div>Routing is hard to unders=
tand and quantify, so it is often ignored.=C2=A0 This is why data-flow arch=
itectures sound great but don&#39;t work out in practice.</div><div><br></d=
iv><div>The paper models the total power as the sum of the power for comput=
ing the data plus the power of storing the data in DRAM.=C2=A0 Routing powe=
r is ignored, which causes weird results.=C2=A0 The paper assumes the power=
 of routing locally stored data in the ASIC is zero.=C2=A0 This causes the =
authors to try to minimize the data transferred to the external DRAM, which=
 also improves computation speed by maximizing the use of limited DRAM band=
width.=C2=A0 It sounds pretty good until you try to analyze routing power o=
n the ASIC.</div><div><br></div><div>The power of storing a bit in DRAM is =
essentially zero, except that now and then the DRAM has to do a refresh, wh=
ich drives a long capacitive bit-line of maybe 1mm with many loads.=C2=A0 A=
t the speeds they&#39;re talking about (1TiB/s), that power will be dwarfed=
 by the routing power of the data to/from the DRAM.=C2=A0 Each read/write d=
rives a word line of maybe 1mm with many capacitive gates, a bit line, and =
a good fraction of a centimeter of wire across the DRAM to the I/O, and the=
n another good fraction of a centimeter of wire across the ASIC.=C2=A0 Howe=
ver, this power is very small compared to the on-chip data-flow routing pow=
er in the ASIC.</div><div><br></div><div>When attacking Argon2i, which wise=
ly uses 1KiB blocks rather than 512-bit BLAKE2b hashes, and with 1,000 para=
llel cores as described in the attack, they will need to route about 3MiB o=
f data randomly between them in 1KiB chunks per hashing step!=C2=A0 That&#3=
9;s about 1cm of wire toggling times 24 million.</div><div><br></div><div>E=
ach of these 1cm routing paths will have around ~1pF of capacitance.=C2=A0 =
Assume a 1V core power supply.=C2=A0 Toggling at a slow rate of 100MHz give=
s C*V^2*f/2 power =3D 1,200 watts.=C2=A0 In reality, the power would be at =
least double that due to the on-the-fly programmable nature.=C2=A0 Also, th=
e routing network would dominate the die area.</div><div><br></div><div>Onc=
e the full cost of routing data is included, deep TMTO attacks using massiv=
e parallelism against Argon2i-B, or Balloon Hashing, when using the author&=
#39;s recommended parameters, will be impractical, especially if the Balloo=
n hashing method of randomizing the DAG with the salt is used, so that the =
ASIC has to do full data-flow routing rather than hard-wired optimized rout=
ing.</div><div><br></div><div>BTW, many people will feel uncomfortable with=
 leaking information about the salt through side-channels, but at a minimum=
, a unique value per password database should be hashed in, so that any ASI=
C attack that tries to optimize the routing power vs data-flow networks wil=
l only be usable against one database rather than globally.=C2=A0 Forcing a=
n ASIC attacker to use data-flow routing is crucial for defense.</div><div>=
<br></div><div>Bill</div></div></div></div>

--94eb2c05ed5003e3fa0539cc04d8--


From nobody Thu Aug 11 07:23:08 2016
Return-Path: <khovratovich@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0A30612D769 for <cfrg@ietfa.amsl.com>; Thu, 11 Aug 2016 07:23:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 TCu3mIubmCvJ for <cfrg@ietfa.amsl.com>; Thu, 11 Aug 2016 07:23:01 -0700 (PDT)
Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (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 5BAA412D60A for <cfrg@irtf.org>; Thu, 11 Aug 2016 07:21:13 -0700 (PDT)
Received: by mail-io0-x22d.google.com with SMTP id m101so7367562ioi.2 for <cfrg@irtf.org>; Thu, 11 Aug 2016 07:21:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=HpI5SKZ9++z8yp1lbUN9elgHt97UrHDTvqbOzU/5Df8=; b=ydBUhf7eN0ESEBHXGs8nFd3bjMxTt6AB3GTEHJp3DceOqsxQdHa3IptupQ5oDL5A2p wvIST7aDueMYfkBjyxH9FS5ihefY88aDSfa9qD/8YPywY27wvt/UP13C4EcN2p3RFHjy BDbWy2oOFpHeP6iO9EBKiR/qpj07/94ygRl2cPKSJLhH+wP/0wn6vCFAy0lzl1wt9wMM AXr08d4IA6HRgduHriL244liaLv+fTlCWrcV8Hnc+MxE/07AhG6lkvBV/aZ3lfPaZHI5 sCIK9++4zQfzFdKqbRv0GHOf9ZDk3MbQVNINE2WGYHJ+2YYXaI5eGycHPZzgV10oB/wV 1UUQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=HpI5SKZ9++z8yp1lbUN9elgHt97UrHDTvqbOzU/5Df8=; b=RvBCJqY6JJ1ch+cclCGkqP8mm6kJZlczQ2orGM67vUpsGsRqBjFm5WQDgDu1bQIlV3 0umq5PaiiOD1VzZutNI1QeekLNYd5rISKYV6Rh6vKn+KN63Gslr2E7EfC9NwUpMY02yC xJVYbutKhfVtWKoLztc7gYGGDGrcMY1UcgMVUCgeLi5dr0LWengvJHFI2GubhE9jpSoK KP5DDuaK2qTpjPfmMQPOoELaqE9sRixW/JqlHJcwDiJRu2FBOwgEGme5YTMWt0ExpU8s hvkVOccBb+yewJ3ylyDMLhxHD8dVfSteGT9Wdcr95j0jcNakBl2afZc+CsoVx88t2kY1 bRUA==
X-Gm-Message-State: AEkoouvAhwNH5Y2+vkKfrSUHp0ZLtbFAA5vvYhEBJyainIab4bMyLA7pMbPpBZjr/tGt577Q6tdS3+r1yddN9Q==
X-Received: by 10.107.152.149 with SMTP id a143mr11787633ioe.193.1470925272540;  Thu, 11 Aug 2016 07:21:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.30.10 with HTTP; Thu, 11 Aug 2016 07:20:56 -0700 (PDT)
In-Reply-To: <CALW8-7+ZfnpisFXYhyYPsvSz2zzz+NaZMezpMfKxgiSohLoQ=A@mail.gmail.com>
References: <574601EF.60205@ist.ac.at> <574C7E2B.5080700@stanford.edu> <CALW8-7+D6BSzE4ufubZys=6ECn7GUvRQA2CDxKAANgvvOwddqQ@mail.gmail.com> <1cd036cd-e15b-7f9c-c3d5-28f6e2ef4c2b@stanford.edu> <CALW8-7+MZ-b1VGc+4EOReCEbvCVou+e9UbzfR9sJMZavwqp64A@mail.gmail.com> <CAKDPBw-fJo=YEy1QPT9k2OMWf511=bXtZbZdn0R-UyMaVM0djQ@mail.gmail.com> <CALW8-7+ZfnpisFXYhyYPsvSz2zzz+NaZMezpMfKxgiSohLoQ=A@mail.gmail.com>
From: Dmitry Khovratovich <khovratovich@gmail.com>
Date: Thu, 11 Aug 2016 09:20:56 -0500
Message-ID: <CALW8-7+w6RBSrc3vvG1i9jGYjmXBmn09Cn=XeEXUX+dqF8UG1A@mail.gmail.com>
To: Paul Grubbs <pag225@cornell.edu>
Content-Type: multipart/alternative; boundary=001a1140f5045cdfcb0539cc7a53
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/tzf_-vx_eXGD58ibMlWF-7f_YKg>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Balloon-Hashing or Argon2i.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Aug 2016 14:23:06 -0000

--001a1140f5045cdfcb0539cc7a53
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

A nitpick: there seems to be a mistake in the computation of Balloon Hash's
memory consumption. Concretely, the authors assume that BH has a 512-byte
block, whereas its compression functions are mostly fixed to 512 bits (
http://eprint.iacr.org/2016/027.pdf Section 6.4)

As a result, the attack quality X for BH with memory size Z (Figure 3)
should be interpreted as quality X for memory size Z/8.

On Wed, Aug 10, 2016 at 10:40 PM, Dmitry Khovratovich <
khovratovich@gmail.com> wrote:

> Good work, we greatly appreciate the new results and ongoing public
> scrutiny of Argon2.
>
> I have not checked the details of improvements yet, but I feel that one o=
f
> conclusions is incorrect.
>
> The authors say  "More generally, the parameter selection process in the
> proposal is flawed in that it tends towards producing parameters for whic=
h
> the attack is successful". Concretely, for 1 GB on Figure 1 we see that
> the attack on 1-pass Argon2i has quality 5, 3-pass -- quality 3, 4-pass -=
-
> quality 2.5, 6-pass -- quality 2, 10 passes -- quality 1.5.
>
> The IRTF proposal and the Argon2 spec recommend the practitioners to
> select the maximum allowed amount of memory first, and then increase the
> number of passes until it is too long.
>
> Why so? Suppose for the sake of simplicity that 1 pass of Argon2 can fill
> 5 GB of RAM per second, and you have 1 second to spend on hashing. How to
> choose the parameters to maximize the adversary's costs? If we set 10
> passes, only 0.5 GB of RAM will be filled, so a naive ASIC implementation
> would cost 0.5 GB-sec in area-time units, but the AB attack reduces it to
> 0.33 GB-sec. However, if 4 passes are selected, then 1.25 GB can be
> utilized, the naive implementation would cost 1.25 GB-sec, and the
> optimized one -- 0.5 GB-sec, i.e. more costs than the 10-pass one. For 3
> passes the adversary would spend 0.55 GB-sec, and for 1 pass - 1 GB-sec (=
!).
>
> Therefore more passes actually benefit the adversary, that's why we
> proposed the procedure above. To compare the security of different number
> of passes, not the attack quality but quality*passes must be used.
>
> Dmitry
>
> On Wed, Aug 10, 2016 at 3:55 PM, Paul Grubbs <pag225@cornell.edu> wrote:
>
>> Relevant to this discussion:
>>
>> Towards Practical Attacks on Argon2i and Balloon Hashing, Alwen and Bloc=
ki
>> http://eprint.iacr.org/2016/759.pdf
>>
>> Abstract:
>>
>> The algorithm Argon2i-B of Biryukov, Dinu and Khovratovich is currently
>> being considered by the IRTF (Internet Research Task Force) as a new
>> de-facto standard for password hashing. An older version (Argon2i-A) of =
the
>> same algorithm was chosen as the winner of the recent Password Hashing
>> Competition. An important competitor to Argon2i-B is the recently
>> introduced Balloon Hashing (BH) algorithm of Corrigan-Gibs, Boneh and
>> Schechter. A key security desiderata for any such algorithm is that
>> evaluating it (even using a custom device) requires a large amount of
>> memory amortized across multiple instances. Alwen and Blocki (CRYPTO 201=
6)
>> introduced a class of theoretical attacks against Argon2i-A and BH. Whil=
e
>> these attacks yield large asymptotic reductions in the amount of memory,=
 it
>> was not, a priori, clear if (1) they can be extended to the newer
>> Argon2i-B, (2) the attacks are effective on any algorithm for practical
>> parameter ranges (e.g., 1GB of memory) and (3) if they can be effectivel=
y
>> instantiated against any algorithm under realistic hardware constrains. =
In
>> this work we answer all three of these questions to the affirmative for =
all
>> three algorithms. It is also the first work to analyze the security of
>> Argon2i-B. In more detail, we extend the theoretical attacks of Alwen an=
d
>> Blocki (CRYPTO 2016) to the recent Argon2i-B proposal demonstrating seve=
re
>> asymptotic deficiencies in its security. Next we introduce several novel
>> heuristics for improving the attack=E2=80=99s concrete memory efficiency=
 even when
>> on-chip memory bandwidth is bounded. We then simulate our attacks on
>> randomly sampled Argon2i-A, Argon2iB and BH instances and measure the
>> resulting memory consumption for various practical parameter ranges and =
for
>> a variety of upperbounds on the amount of parallelism available to the
>> attacker. Finally we describe, implement and test a new heuristic for
>> applying the Alwen-Blocki attack to functions employing a technique
>> developed by Corrigan-Gibs et al. for improving concrete security of
>> memory-hard functions. We analyze the collected data and show the effect=
s
>> various parameters have on the memory consumption of the attack. In
>> particular, we can draw several interesting conclusions about the level =
of
>> security provided by these functions.
>> =E2=80=A2 For the Alwen-Blocki attack to fail against practical memory
>> parameters, Argon2i-B must be instantiated with more than 10 passes on
>> memory. The current IRTF proposal calls even just 6 passes as the
>> recommended =E2=80=9Cparanoid=E2=80=9D setting.
>> =E2=80=A2 More generally, the parameter selection process in the proposa=
l is
>> flawed in that it tends towards producing parameters for which the attac=
k
>> is successful (even under realistic constraints on parallelism).
>> =E2=80=A2 The technique of Corrigan-Gibs for improving security can also=
 be
>> overcome by the Alwen-Blocki attack under realistic hardware constraints=
.
>> =E2=80=A2 On a positive note, both the asymptotic and concrete security
>> of Argon2i-B seem to improve on that of Argon2i-A.
>>
>> On Wed, Jun 1, 2016 at 11:01 AM, Dmitry Khovratovich <
>> khovratovich@gmail.com> wrote:
>>
>>> Hi Henry,
>>>
>>> Both for Balloon and for Argon2 there are now provable bounds of O(n^2)
>>> with different constants, not very surprising since the mode of operati=
on
>>> is very simple (Argon is close to the simplest you can imagine and Balo=
on
>>> is close to just Argon2 with 3 addresses instead of 1).
>>>
>>> Argon2 is close to the fastest you can achieve since it was purposefull=
y
>>> fine-tuned for speed vs memory gains of attacker. If Balloon or other
>>> design will want to approach similar speeds, design and parameter choic=
es
>>> will bring it very close to Argon2 design.
>>>
>>> The Balloon mode though admits a simple ASIC attack with factor 3: a 3x
>>> faster memory bus allows parallel loading of your 3 random blocks, wher=
eas
>>> on x64 you have to load them (almost) sequentially. This is much more
>>> practical attack than theoretical attacks on Argon2i requiring thousand=
s of
>>> Blake2b cores on chip and terabyte/sec bandwidth. We knew of it while
>>> designing Argon2 and thus made delta=3D1.
>>>
>>> For fair comparison with Argon2 and all the other PHC primitives you
>>> need to fix concrete parameters and  compression function and test
>>> speed/security on this fixed instance.
>>>
>>> Best regards,
>>> Dmitry
>>>
>>> On Tue, May 31, 2016 at 5:57 PM, Henry Corrigan-Gibbs <
>>> henrycg@stanford.edu> wrote:
>>>
>>>> Hi Dmity,
>>>>
>>>> Thanks for taking a look at the paper.
>>>>
>>>> For the purposes of the security proofs, we model the cryptographic
>>>> compression function used in Argon2, Balloon, and scrypt, as a random
>>>> oracle (as is standard). In practice, it is possible to instantiate Ar=
gon2i
>>>> or Balloon or scrypt with any cryptographic compression function that
>>>> "behaves like a random oracle." We are agnostic to the choice of
>>>> cryptographic compression function -- we just evaluated our design wit=
h a
>>>> few standard ones.
>>>>
>>>> My sense is that Balloon (instantiated with parameter delta=3D3) and
>>>> Argon2i will run at roughly the same speed, no matter the choice of
>>>> cryptographic compression function. That's because three-pass Argon2i =
on N
>>>> blocks of memory makes roughly 3N calls to the underlying compression
>>>> function during its execution. Two-round Balloon (the equivalent
>>>> construction, since it makes three passes over memory) makes roughly 7=
N
>>>> calls to the underlying compression function during its execution.
>>>>
>>>> However, the known attacks on three-pass Argon2i allow the attacker to
>>>> use roughly 2.5x less space than the defender with no time penalty, so=
 to
>>>> force the attacker to use N blocks of space requires the defender to r=
un
>>>> Argon2i with a ~2.5x larger memory buffer (i.e., a buffer of N' =3D 2.=
5N
>>>> blocks). In this setting, both functions would require ~7N invocations=
 of
>>>> the underlying cryptographic compression function, so the performance
>>>> should be roughly equivalent for the two.
>>>>
>>>> Changing the underlying cryptographic compression function will change
>>>> the absolute performance of both Argon2i and Balloon, but I would expe=
ct
>>>> their relative performance to stay close to constant. Indeed, if I
>>>> instantiate Argon2i and Balloon with the compression function defined =
in
>>>> the Argon2 spec, then I get, on an Intel i7-6700 @ 3.4 GHz:
>>>>   Argon2i (2.5 MB buffer): 153 hashes/sec
>>>>   Balloon (1.0 MB buffer): 167 hashes/sec
>>>>
>>>> The surprise to us is that getting this sort of performance with
>>>> Balloon is still possible, even though we are able to prove some meani=
ngful
>>>> statements about its security. (Of course, the Alwen-Blocki attacks st=
ill
>>>> apply for large enough parameter sizes.)
>>>>
>>>> Henry
>>>>
>>>>
>>>>
>>>> On 5/31/16 7:02 AM, Dmitry Khovratovich wrote:
>>>>
>>>>> Dear Henry,
>>>>>
>>>>> thank you for the updated paper.
>>>>>
>>>>> We appreciate your work on lower-bounding the Argon2i tradeoff
>>>>> resistance, it is a very interesting result, and we hope to mention i=
t
>>>>> in the specification. However for your proof to work you instantiate
>>>>> Argon2  with a collision resistant hash function. During the
>>>>> competition
>>>>> it became clear that collision-resistance of the inner function is no=
t
>>>>> needed in practice, since the attacker does not control intermediate
>>>>> variables. It is similar to the situation with block-ciphers like AES
>>>>> where a single round is cryptographically weak, though you might want
>>>>> it
>>>>> to be a keyed PRP for the sake of a proof. Worse enough, a full-round
>>>>> hash function with a narrow block implies more frequent random memory
>>>>> access and more CPU load, which together make a terrible impact on th=
e
>>>>> performance. That's why we never defined Argon2 for such hash
>>>>> functions,
>>>>> and recommend not calling such modifications "Argon2".
>>>>>
>>>>> This observation and possibly use of your own code for Argon2 causes
>>>>>  performance comparison of your Balloon Hash design with Argon2i and
>>>>> other designs to be incorrect.
>>>>>
>>>>> in the introduction you write
>>>>> "if we ... run the construction for five =E2=80=9Crounds=E2=80=9D of =
hashing, and set
>>>>> the space parameter to require the attacker to use 1 MiB of working
>>>>> space to compute the function, then we can compute Balloon Hashes at
>>>>> the
>>>>> rate of 13 hashes per second on a modern server, compared with 12.8 f=
or
>>>>> Argon2i, and 2.1 for Catena DBG".
>>>>>
>>>>> This statement underestimates the Argon2i performance by the factor o=
f
>>>>> 30 (!) or so.
>>>>>
>>>>> In detail. Argon2i makes much more than 13 hashes per second using 5
>>>>> iterations and 1 MiB of memory. On my 2-core 2.3 GHz (i5-6200) laptop
>>>>>  it computes 1000 hashes in 5.1-5.3 Gigacycles, thus averaging more
>>>>> than
>>>>> 400 hashes per second. I modified our benchmark settings for that, bu=
t
>>>>> even with default ones (3 iterations, 1 hash) everyone can observe
>>>>> similar performance by running 'make bench' +'./bench' using the sour=
ce
>>>>> in https://github.com/P-H-C/phc-winner-argon2
>>>>>
>>>>> In the further text you write
>>>>> "Let an authentication server must perform 100 hashes per second per
>>>>> four-core machine, ... At the same authentication rate, Argon2i
>>>>> requires
>>>>> the attacker to use a smaller buffer=E2=80=94roughly 1.5 MiB for the =
one-pass
>>>>> variant".
>>>>>
>>>>> This is again incorrect. Here are the numbers for 1-pass Argon2i: 2Mi=
B:
>>>>> 225Mcycles, 16MiB: 1174 Mcycles, 32 MiB: 2532 Mcycles (a bit more tha=
n
>>>>> 1
>>>>> second).
>>>>>
>>>>> So there is a factor of 20 underestimate here. (We also remind that
>>>>> 1-pass Argon2i was never  recommended for practical use.)
>>>>>
>>>>> Best regards,
>>>>> the Argon2 team
>>>>>
>>>>> On Mon, May 30, 2016 at 7:53 PM, Henry Corrigan-Gibbs
>>>>> <henrycg@stanford.edu <mailto:henrycg@stanford.edu>> wrote:
>>>>>
>>>>>     Hi Joel,
>>>>>
>>>>>     Since I am one of the designers of the Balloon Hashing algorithm,
>>>>> it
>>>>>     would be difficult for me to give an unbiased opinion on the pros
>>>>>     and cons of Argon2i versus Balloon.
>>>>>
>>>>>     That said, we just updated the Balloon Hashing paper on ePrint:
>>>>>     http://eprint.iacr.org/2016/027
>>>>>
>>>>>     The revised paper includes some new results that might be relevan=
t
>>>>>     to CFRG discussions on password hashing. Let me summarize the new
>>>>>     results here:
>>>>>
>>>>>
>>>>>     (1) We prove (in the single-instance, random-oracle model) a new,
>>>>>     stronger memory-hardness claim about the Balloon algorithm. We sh=
ow
>>>>>     that computing one instance of the Balloon function with space S
>>>>> and
>>>>>     time T requires a space-time product that (roughly) satisfies:
>>>>>     S . T >=3D n^2 / 8.
>>>>>     As the adversary's space usage drops below a certain threshold
>>>>>     (which depends on the parameter settings) the trade-off gets even
>>>>>     worse for the adversary.
>>>>>
>>>>>
>>>>>     (2) We refine the analysis of the single-buffer Balloon algorithm=
,
>>>>>     and the refined analysis allows us to dramatically improve the
>>>>>     parameters of the scheme. After this change, the performance of t=
he
>>>>>     single-buffer Balloon function *meets or exceeds* that of Argon2i
>>>>>     when we instantiate both with Blake2b as the underlying
>>>>>     cryptographic hash function. (Consult the paper for the details o=
n
>>>>>     this.) The single-buffer Balloon algorithm runs so quickly now th=
at
>>>>>     we decided that the other two Balloon variants (double-buffer and
>>>>>     linear) were superfluous. The revised paper includes only the
>>>>>     single-buffer scheme, which we now just call the "Balloon
>>>>> algorithm".
>>>>>
>>>>>
>>>>>     (3) We discuss your (very cool) recent paper on parallel attacks =
on
>>>>>     iMHFs and give some ideas on how to ameliorate them in the contex=
t
>>>>>     of password hashing. Our recommendation is to follow Balloon
>>>>> Hashing
>>>>>     with one round of scrypt (or even data-dependent Balloon). This
>>>>>     composition apparently defends against either parallel attacks or
>>>>>     cache attacks -- just not both at the same time. The design of th=
e
>>>>>     Argon2id function uses a similar idea. To us, this seems like a
>>>>> nice
>>>>>     compromise between functionality and security.
>>>>>
>>>>>
>>>>>     (4) We apply our analysis techniques to prove that Argon2i and a
>>>>>     simplified variant of scrypt are also memory-hard, though with
>>>>>     looser constants than one might like. We show that these two
>>>>>     algorithms (again, in the single-instance random-oracle model)
>>>>>     require space S and time T such that:
>>>>>     S . T >=3D n^2 / C
>>>>>     to compute with good probability. For Argon2i, we can prove this
>>>>>     statement for C=3D192, and for scrypt with C=3D24. In contrast, w=
e
>>>>> prove
>>>>>     the claim with C=3D8 for Balloon, and we additionally prove much
>>>>>     stronger time-space trade-offs for Balloon for very-small-space
>>>>>     adversaries. From a "provable security" perspective then, Balloon
>>>>>     seems to have an edge over the other practical constructions out
>>>>> there.
>>>>>
>>>>>
>>>>>     If you find bugs or omissions in the ePrint draft, please let me
>>>>> know.
>>>>>
>>>>>     Henry
>>>>>
>>>>>
>>>>>
>>>>>     On 05/25/2016 12:50 PM, Joel Alwen wrote:
>>>>>
>>>>>         I was wondering what peoples opinion is on standardizing the
>>>>>         double-buffer balloon hashing (DB) construction rather than
>>>>> Argon2i.
>>>>>         Both in terms of arguments for and against.
>>>>>
>>>>>         I'm sure other people have thought about this much more thoug=
h
>>>>>         so I'd
>>>>>         love to hear what people think...
>>>>>
>>>>>         - Joel
>>>>>
>>>>>         _______________________________________________
>>>>>         Cfrg mailing list
>>>>>         Cfrg@irtf.org <mailto:Cfrg@irtf.org>
>>>>>         https://www.irtf.org/mailman/listinfo/cfrg
>>>>>
>>>>>
>>>>>     _______________________________________________
>>>>>     Cfrg mailing list
>>>>>     Cfrg@irtf.org <mailto:Cfrg@irtf.org>
>>>>>     https://www.irtf.org/mailman/listinfo/cfrg
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best regards,
>>>>> Dmitry Khovratovich
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Dmitry Khovratovich
>>>
>>> _______________________________________________
>>> Cfrg mailing list
>>> Cfrg@irtf.org
>>> https://www.irtf.org/mailman/listinfo/cfrg
>>>
>>>
>>
>
>
> --
> Best regards,
> Dmitry Khovratovich
>



--=20
Best regards,
Dmitry Khovratovich

--001a1140f5045cdfcb0539cc7a53
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">A nitpick: there seems to be a mistake in the computation =
of Balloon Hash&#39;s memory consumption. Concretely, the authors assume th=
at BH has a 512-byte block, whereas its compression functions are mostly fi=
xed to 512 bits (<a href=3D"http://eprint.iacr.org/2016/027.pdf">http://epr=
int.iacr.org/2016/027.pdf</a> Section 6.4)<div><br></div><div>As a result, =
the attack quality X for BH with memory size Z (Figure 3) should be interpr=
eted as quality X for memory size Z/8.</div></div><div class=3D"gmail_extra=
"><br><div class=3D"gmail_quote">On Wed, Aug 10, 2016 at 10:40 PM, Dmitry K=
hovratovich <span dir=3D"ltr">&lt;<a href=3D"mailto:khovratovich@gmail.com"=
 target=3D"_blank">khovratovich@gmail.com</a>&gt;</span> wrote:<br><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex"><div dir=3D"ltr">Good work, we greatly appreciate th=
e new results and ongoing public scrutiny of Argon2.<div><br></div><div>I h=
ave not checked the details of improvements yet, but I feel that one of con=
clusions is incorrect.</div><div><br></div><div>The authors say =C2=A0&quot=
;<span style=3D"font-size:12.8px">More generally, the parameter selection p=
rocess in the proposal is flawed in that it tends towards producing paramet=
ers for which the attack is successful</span>&quot;. Concretely, for 1 GB o=
n Figure 1 we see that the attack on 1-pass Argon2i has quality 5, 3-pass -=
- quality 3, 4-pass -- quality 2.5, 6-pass -- quality 2, 10 passes -- quali=
ty 1.5.=C2=A0</div><div><br></div><div>The IRTF proposal and the Argon2 spe=
c recommend the practitioners to select the maximum allowed amount of memor=
y first, and then increase the number of passes until it is too long.=C2=A0=
</div><div><br></div><div>Why so? Suppose for the sake of simplicity that 1=
 pass of Argon2 can fill 5 GB of RAM per second, and you have 1 second to s=
pend on hashing. How to choose the parameters to maximize the adversary&#39=
;s costs? If we set 10 passes, only 0.5 GB of RAM will be filled, so a naiv=
e ASIC implementation would cost 0.5 GB-sec in area-time units, but the AB =
attack reduces it to 0.33 GB-sec. However, if 4 passes are selected, then 1=
.25 GB can be utilized, the naive implementation would cost 1.25 GB-sec, an=
d the optimized one -- 0.5 GB-sec, i.e. more costs than the 10-pass one. Fo=
r 3 passes the adversary would spend 0.55 GB-sec, and for 1 pass - 1 GB-sec=
 (!).</div><div><br></div><div>Therefore more passes actually benefit the a=
dversary, that&#39;s why we proposed the procedure above. To compare the se=
curity of different number of passes, not the attack quality but quality*pa=
sses must be used.</div><span class=3D"HOEnZb"><font color=3D"#888888"><div=
><br></div><div>Dmitry</div></font></span></div><div class=3D"HOEnZb"><div =
class=3D"h5"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On W=
ed, Aug 10, 2016 at 3:55 PM, Paul Grubbs <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:pag225@cornell.edu" target=3D"_blank">pag225@cornell.edu</a>&gt;</spa=
n> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Relevant to th=
is discussion:=C2=A0<div><br></div><div>Towards Practical Attacks on Argon2=
i and Balloon Hashing, Alwen and Blocki<br></div><div><a href=3D"http://epr=
int.iacr.org/2016/759.pdf" target=3D"_blank">http://eprint.iacr.org/2016/75=
<wbr>9.pdf</a></div><div><br></div><div>Abstract:</div><div><br></div><div>=
The algorithm Argon2i-B of Biryukov, Dinu and
Khovratovich is currently being considered by the IRTF
(Internet Research Task Force) as a new de-facto standard
for password hashing. An older version (Argon2i-A) of the
same algorithm was chosen as the winner of the recent
Password Hashing Competition. An important competitor
to Argon2i-B is the recently introduced Balloon Hashing
(BH) algorithm of Corrigan-Gibs, Boneh and Schechter.
A key security desiderata for any such algorithm is
that evaluating it (even using a custom device) requires
a large amount of memory amortized across multiple
instances. Alwen and Blocki (CRYPTO 2016) introduced
a class of theoretical attacks against Argon2i-A and BH.
While these attacks yield large asymptotic reductions in
the amount of memory, it was not, a priori, clear if
(1) they can be extended to the newer Argon2i-B, (2)
the attacks are effective on any algorithm for practical
parameter ranges (e.g., 1GB of memory) and (3) if they
can be effectively instantiated against any algorithm under
realistic hardware constrains.
In this work we answer all three of these questions
to the affirmative for all three algorithms. It is also the
first work to analyze the security of Argon2i-B. In more
detail, we extend the theoretical attacks of Alwen and
Blocki (CRYPTO 2016) to the recent Argon2i-B proposal
demonstrating severe asymptotic deficiencies in its security.
Next we introduce several novel heuristics for improving
the attack=E2=80=99s concrete memory efficiency even when
on-chip memory bandwidth is bounded. We then simulate
our attacks on randomly sampled Argon2i-A, Argon2iB
and BH instances and measure the resulting memory
consumption for various practical parameter ranges and
for a variety of upperbounds on the amount of parallelism
available to the attacker. Finally we describe, implement
and test a new heuristic for applying the Alwen-Blocki
attack to functions employing a technique developed by
Corrigan-Gibs et al. for improving concrete security of
memory-hard functions.
We analyze the collected data and show the effects
various parameters have on the memory consumption of
the attack. In particular, we can draw several interesting
conclusions about the level of security provided by these
functions.=C2=A0</div><div>=E2=80=A2 For the Alwen-Blocki attack to fail ag=
ainst practical
memory parameters, Argon2i-B must be instantiated
with more than 10 passes on memory.
The current IRTF proposal calls even just 6 passes
as the recommended =E2=80=9Cparanoid=E2=80=9D setting.=C2=A0</div><div>=E2=
=80=A2 More generally, the parameter selection process
in the proposal is flawed in that it tends towards
producing parameters for which the attack
is successful (even under realistic constraints on
parallelism).=C2=A0</div><div>=E2=80=A2 The technique of Corrigan-Gibs for =
improving
security can also be overcome by the Alwen-Blocki
attack under realistic hardware constraints.=C2=A0</div><div>=E2=80=A2 On a=
 positive note, both the asymptotic and concrete
security of=C2=A0Argon2i-B seem to improve on
that of Argon2i-A.<br></div></div><div class=3D"gmail_extra"><br><div class=
=3D"gmail_quote"><div><div>On Wed, Jun 1, 2016 at 11:01 AM, Dmitry Khovrato=
vich <span dir=3D"ltr">&lt;<a href=3D"mailto:khovratovich@gmail.com" target=
=3D"_blank">khovratovich@gmail.com</a>&gt;</span> wrote:<br></div></div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex"><div><div><div dir=3D"ltr"><div style=3D"font-s=
ize:12.8px">Hi Henry,</div><div style=3D"font-size:12.8px"><br></div><div s=
tyle=3D"font-size:12.8px">Both for Balloon and for Argon2 there are now pro=
vable bounds of O(n^2) with different constants, not very surprising since =
the mode of operation is very simple (Argon is close to the simplest you ca=
n imagine and Baloon is close to just Argon2 with 3 addresses instead of 1)=
.</div><div style=3D"font-size:12.8px"><br></div><div style=3D"font-size:12=
.8px">Argon2 is close to the fastest you can achieve since it was purposefu=
lly fine-tuned for speed vs memory gains of attacker. If Balloon or other d=
esign will want to approach similar speeds, design and parameter choices wi=
ll bring it very close to Argon2 design.</div><div style=3D"font-size:12.8p=
x"><br></div><div style=3D"font-size:12.8px">The Balloon mode though admits=
 a simple ASIC attack with factor 3: a 3x faster memory bus allows parallel=
 loading of your 3 random blocks, whereas on x64 you have to load them (alm=
ost) sequentially. This is much more practical attack than theoretical atta=
cks on Argon2i requiring thousands of Blake2b cores on chip and terabyte/se=
c bandwidth. We knew of it while designing Argon2 and thus made delta=3D1.<=
/div><div style=3D"font-size:12.8px"><br></div><div style=3D"font-size:12.8=
px"><span style=3D"font-size:12.8px">For fair comparison with Argon2 and al=
l the other PHC primitives you need to fix concrete parameters and=C2=A0 co=
mpression function and test speed/security on this fixed instance.</span><b=
r></div><div style=3D"font-size:12.8px"><span style=3D"font-size:12.8px"><b=
r></span></div><div style=3D"font-size:12.8px"><span style=3D"font-size:12.=
8px">Best regards,</span></div><div style=3D"font-size:12.8px"><span style=
=3D"font-size:12.8px">Dmitry</span></div></div><div><div><div class=3D"gmai=
l_extra"><br><div class=3D"gmail_quote">On Tue, May 31, 2016 at 5:57 PM, He=
nry Corrigan-Gibbs <span dir=3D"ltr">&lt;<a href=3D"mailto:henrycg@stanford=
.edu" target=3D"_blank">henrycg@stanford.edu</a>&gt;</span> wrote:<br><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex">Hi Dmity,<br>
<br>
Thanks for taking a look at the paper.<br>
<br>
For the purposes of the security proofs, we model the cryptographic compres=
sion function used in Argon2, Balloon, and scrypt, as a random oracle (as i=
s standard). In practice, it is possible to instantiate Argon2i or Balloon =
or scrypt with any cryptographic compression function that &quot;behaves li=
ke a random oracle.&quot; We are agnostic to the choice of cryptographic co=
mpression function -- we just evaluated our design with a few standard ones=
.<br>
<br>
My sense is that Balloon (instantiated with parameter delta=3D3) and Argon2=
i will run at roughly the same speed, no matter the choice of cryptographic=
 compression function. That&#39;s because three-pass Argon2i on N blocks of=
 memory makes roughly 3N calls to the underlying compression function durin=
g its execution. Two-round Balloon (the equivalent construction, since it m=
akes three passes over memory) makes roughly 7N calls to the underlying com=
pression function during its execution.<br>
<br>
However, the known attacks on three-pass Argon2i allow the attacker to use =
roughly 2.5x less space than the defender with no time penalty, so to force=
 the attacker to use N blocks of space requires the defender to run Argon2i=
 with a ~2.5x larger memory buffer (i.e., a buffer of N&#39; =3D 2.5N block=
s). In this setting, both functions would require ~7N invocations of the un=
derlying cryptographic compression function, so the performance should be r=
oughly equivalent for the two.<br>
<br>
Changing the underlying cryptographic compression function will change the =
absolute performance of both Argon2i and Balloon, but I would expect their =
relative performance to stay close to constant. Indeed, if I instantiate Ar=
gon2i and Balloon with the compression function defined in the Argon2 spec,=
 then I get, on an Intel i7-6700 @ 3.4 GHz:<br>
=C2=A0 Argon2i (2.5 MB buffer): 153 hashes/sec<br>
=C2=A0 Balloon (1.0 MB buffer): 167 hashes/sec<br>
<br>
The surprise to us is that getting this sort of performance with Balloon is=
 still possible, even though we are able to prove some meaningful statement=
s about its security. (Of course, the Alwen-Blocki attacks still apply for =
large enough parameter sizes.)<br>
<br>
Henry<div><div><br>
<br>
<br>
On 5/31/16 7:02 AM, Dmitry Khovratovich wrote:<br>
</div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex"><div><div>
Dear Henry,<br>
<br>
thank you for the updated paper.<br>
<br>
We appreciate your work on lower-bounding the Argon2i tradeoff<br>
resistance, it is a very interesting result, and we hope to mention it<br>
in the specification. However for your proof to work you instantiate<br>
Argon2=C2=A0 with a collision resistant hash function. During the competiti=
on<br>
it became clear that collision-resistance of the inner function is not<br>
needed in practice, since the attacker does not control intermediate<br>
variables. It is similar to the situation with block-ciphers like AES<br>
where a single round is cryptographically weak, though you might want it<br=
>
to be a keyed PRP for the sake of a proof. Worse enough, a full-round<br>
hash function with a narrow block implies more frequent random memory<br>
access and more CPU load, which together make a terrible impact on the<br>
performance. That&#39;s why we never defined Argon2 for such hash functions=
,<br>
and recommend not calling such modifications &quot;Argon2&quot;.<br>
<br>
This observation and possibly use of your own code for Argon2 causes<br>
=C2=A0performance comparison of your Balloon Hash design with Argon2i and<b=
r>
other designs to be incorrect.<br>
<br>
in the introduction you write<br>
&quot;if we ... run the construction for five =E2=80=9Crounds=E2=80=9D of h=
ashing, and set<br>
the space parameter to require the attacker to use 1 MiB of working<br>
space to compute the function, then we can compute Balloon Hashes at the<br=
>
rate of 13 hashes per second on a modern server, compared with 12.8 for<br>
Argon2i, and 2.1 for Catena DBG&quot;.<br>
<br>
This statement underestimates the Argon2i performance by the factor of<br>
30 (!) or so.<br>
<br>
In detail. Argon2i makes much more than 13 hashes per second using 5<br>
iterations and 1 MiB of memory. On my 2-core 2.3 GHz (i5-6200) laptop<br>
=C2=A0it computes 1000 hashes in 5.1-5.3 Gigacycles, thus averaging more th=
an<br>
400 hashes per second. I modified our benchmark settings for that, but<br>
even with default ones (3 iterations, 1 hash) everyone can observe<br>
similar performance by running &#39;make bench&#39; +&#39;./bench&#39; usin=
g the source<br>
in <a href=3D"https://github.com/P-H-C/phc-winner-argon2" rel=3D"noreferrer=
" target=3D"_blank">https://github.com/P-H-C/phc-w<wbr>inner-argon2</a><br>
<br>
In the further text you write<br>
&quot;Let an authentication server must perform 100 hashes per second per<b=
r>
four-core machine, ... At the same authentication rate, Argon2i requires<br=
>
the attacker to use a smaller buffer=E2=80=94roughly 1.5 MiB for the one-pa=
ss<br>
variant&quot;.<br>
<br>
This is again incorrect. Here are the numbers for 1-pass Argon2i: 2MiB:<br>
225Mcycles, 16MiB: 1174 Mcycles, 32 MiB: 2532 Mcycles (a bit more than 1<br=
>
second).<br>
<br>
So there is a factor of 20 underestimate here. (We also remind that<br>
1-pass Argon2i was never=C2=A0 recommended for practical use.)<br>
<br>
Best regards,<br>
the Argon2 team<br>
<br>
On Mon, May 30, 2016 at 7:53 PM, Henry Corrigan-Gibbs<br></div></div><div><=
div>
&lt;<a href=3D"mailto:henrycg@stanford.edu" target=3D"_blank">henrycg@stanf=
ord.edu</a> &lt;mailto:<a href=3D"mailto:henrycg@stanford.edu" target=3D"_b=
lank">henrycg@stanford.edu</a>&gt;&gt; wrote:<br>
<br>
=C2=A0 =C2=A0 Hi Joel,<br>
<br>
=C2=A0 =C2=A0 Since I am one of the designers of the Balloon Hashing algori=
thm, it<br>
=C2=A0 =C2=A0 would be difficult for me to give an unbiased opinion on the =
pros<br>
=C2=A0 =C2=A0 and cons of Argon2i versus Balloon.<br>
<br>
=C2=A0 =C2=A0 That said, we just updated the Balloon Hashing paper on ePrin=
t:<br>
=C2=A0 =C2=A0 <a href=3D"http://eprint.iacr.org/2016/027" rel=3D"noreferrer=
" target=3D"_blank">http://eprint.iacr.org/2016/02<wbr>7</a><br>
<br>
=C2=A0 =C2=A0 The revised paper includes some new results that might be rel=
evant<br>
=C2=A0 =C2=A0 to CFRG discussions on password hashing. Let me summarize the=
 new<br>
=C2=A0 =C2=A0 results here:<br>
<br>
<br>
=C2=A0 =C2=A0 (1) We prove (in the single-instance, random-oracle model) a =
new,<br>
=C2=A0 =C2=A0 stronger memory-hardness claim about the Balloon algorithm. W=
e show<br>
=C2=A0 =C2=A0 that computing one instance of the Balloon function with spac=
e S and<br>
=C2=A0 =C2=A0 time T requires a space-time product that (roughly) satisfies=
:<br>
=C2=A0 =C2=A0 S . T &gt;=3D n^2 / 8.<br>
=C2=A0 =C2=A0 As the adversary&#39;s space usage drops below a certain thre=
shold<br>
=C2=A0 =C2=A0 (which depends on the parameter settings) the trade-off gets =
even<br>
=C2=A0 =C2=A0 worse for the adversary.<br>
<br>
<br>
=C2=A0 =C2=A0 (2) We refine the analysis of the single-buffer Balloon algor=
ithm,<br>
=C2=A0 =C2=A0 and the refined analysis allows us to dramatically improve th=
e<br>
=C2=A0 =C2=A0 parameters of the scheme. After this change, the performance =
of the<br>
=C2=A0 =C2=A0 single-buffer Balloon function *meets or exceeds* that of Arg=
on2i<br>
=C2=A0 =C2=A0 when we instantiate both with Blake2b as the underlying<br>
=C2=A0 =C2=A0 cryptographic hash function. (Consult the paper for the detai=
ls on<br>
=C2=A0 =C2=A0 this.) The single-buffer Balloon algorithm runs so quickly no=
w that<br>
=C2=A0 =C2=A0 we decided that the other two Balloon variants (double-buffer=
 and<br>
=C2=A0 =C2=A0 linear) were superfluous. The revised paper includes only the=
<br>
=C2=A0 =C2=A0 single-buffer scheme, which we now just call the &quot;Balloo=
n algorithm&quot;.<br>
<br>
<br>
=C2=A0 =C2=A0 (3) We discuss your (very cool) recent paper on parallel atta=
cks on<br>
=C2=A0 =C2=A0 iMHFs and give some ideas on how to ameliorate them in the co=
ntext<br>
=C2=A0 =C2=A0 of password hashing. Our recommendation is to follow Balloon =
Hashing<br>
=C2=A0 =C2=A0 with one round of scrypt (or even data-dependent Balloon). Th=
is<br>
=C2=A0 =C2=A0 composition apparently defends against either parallel attack=
s or<br>
=C2=A0 =C2=A0 cache attacks -- just not both at the same time. The design o=
f the<br>
=C2=A0 =C2=A0 Argon2id function uses a similar idea. To us, this seems like=
 a nice<br>
=C2=A0 =C2=A0 compromise between functionality and security.<br>
<br>
<br>
=C2=A0 =C2=A0 (4) We apply our analysis techniques to prove that Argon2i an=
d a<br>
=C2=A0 =C2=A0 simplified variant of scrypt are also memory-hard, though wit=
h<br>
=C2=A0 =C2=A0 looser constants than one might like. We show that these two<=
br>
=C2=A0 =C2=A0 algorithms (again, in the single-instance random-oracle model=
)<br>
=C2=A0 =C2=A0 require space S and time T such that:<br>
=C2=A0 =C2=A0 S . T &gt;=3D n^2 / C<br>
=C2=A0 =C2=A0 to compute with good probability. For Argon2i, we can prove t=
his<br>
=C2=A0 =C2=A0 statement for C=3D192, and for scrypt with C=3D24. In contras=
t, we prove<br>
=C2=A0 =C2=A0 the claim with C=3D8 for Balloon, and we additionally prove m=
uch<br>
=C2=A0 =C2=A0 stronger time-space trade-offs for Balloon for very-small-spa=
ce<br>
=C2=A0 =C2=A0 adversaries. From a &quot;provable security&quot; perspective=
 then, Balloon<br>
=C2=A0 =C2=A0 seems to have an edge over the other practical constructions =
out there.<br>
<br>
<br>
=C2=A0 =C2=A0 If you find bugs or omissions in the ePrint draft, please let=
 me know.<br>
<br>
=C2=A0 =C2=A0 Henry<br>
<br>
<br>
<br>
=C2=A0 =C2=A0 On 05/25/2016 12:50 PM, Joel Alwen wrote:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 I was wondering what peoples opinion is on stan=
dardizing the<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 double-buffer balloon hashing (DB) construction=
 rather than Argon2i.<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Both in terms of arguments for and against.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 I&#39;m sure other people have thought about th=
is much more though<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 so I&#39;d<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 love to hear what people think...<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 - Joel<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ______________________________<wbr>____________=
_____<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Cfrg mailing list<br></div></div>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:Cfrg@irtf.org" target=3D"_bla=
nk">Cfrg@irtf.org</a> &lt;mailto:<a href=3D"mailto:Cfrg@irtf.org" target=3D=
"_blank">Cfrg@irtf.org</a>&gt;<span><br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://www.irtf.org/mailman/listinf=
o/cfrg" rel=3D"noreferrer" target=3D"_blank">https://www.irtf.org/mailman/l=
<wbr>istinfo/cfrg</a><br>
<br>
<br>
=C2=A0 =C2=A0 ______________________________<wbr>_________________<br>
=C2=A0 =C2=A0 Cfrg mailing list<br></span>
=C2=A0 =C2=A0 <a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.=
org</a> &lt;mailto:<a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@=
irtf.org</a>&gt;<span><br>
=C2=A0 =C2=A0 <a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D=
"noreferrer" target=3D"_blank">https://www.irtf.org/mailman/l<wbr>istinfo/c=
frg</a><br>
<br>
<br>
<br>
<br>
--<br>
Best regards,<br>
Dmitry Khovratovich<br>
</span></blockquote>
<br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div data-sm=
artmail=3D"gmail_signature"><div>Best regards,</div><div>Dmitry Khovratovic=
h</div></div>
</div>
</div></div><br>______________________________<wbr>_________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a><br>
</div></div><a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D"n=
oreferrer" target=3D"_blank">https://www.irtf.org/mailman/l<wbr>istinfo/cfr=
g</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div data-sm=
artmail=3D"gmail_signature"><div>Best regards,</div><div>Dmitry Khovratovic=
h</div></div>
</div>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<div class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div>Best=
 regards,</div><div>Dmitry Khovratovich</div></div>
</div>

--001a1140f5045cdfcb0539cc7a53--


From nobody Thu Aug 11 09:20:32 2016
Return-Path: <waywardgeek@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9E17912D7FE for <cfrg@ietfa.amsl.com>; Thu, 11 Aug 2016 09:20:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 EBE4_Dvh1dpE for <cfrg@ietfa.amsl.com>; Thu, 11 Aug 2016 09:20:29 -0700 (PDT)
Received: from mail-yw0-x235.google.com (mail-yw0-x235.google.com [IPv6:2607:f8b0:4002:c05::235]) (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 62EC212D5AD for <cfrg@irtf.org>; Thu, 11 Aug 2016 09:20:29 -0700 (PDT)
Received: by mail-yw0-x235.google.com with SMTP id u134so273109ywg.3 for <cfrg@irtf.org>; Thu, 11 Aug 2016 09:20:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=E96kU+fNn8GMbmCHgI8xUMczgtCotXL5K1iikW5wKFw=; b=rLqwTAcB+URBj0nMi+GF84B9/Ki6fA4SIccbe+eJnfw0+6NHE41t+GUOTq//Q9pWq9 JDwgE4JKklDOrI+3g4XSpbTrLFdzseQ+I05ZVIHuxV0DSzE+4coLU9XD9icKeu92L1sz QXvbp7Z0INasU0jVZCS6geMXNrOX/780vjWke3HRXYhcI/Mo4lXz1Kz1pTFd9VZRs2bb nNAHsbvVXW1ZHwdoBKZP2ZIRd+ggoILrhNiI3UCPjamgyxNLiHLnLv/+pmzFqUYBksLQ QFOSrVVERHuepGIV8tV7tmGj9Z1uX3dq1zMTZYBebnKOKQ6pymcmyn4bBE6CyLE+qzHS qU+A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=E96kU+fNn8GMbmCHgI8xUMczgtCotXL5K1iikW5wKFw=; b=D4VC9Y2bMSzycZcx5SUxFbp0DIgUO/d1eCmfvYO3M3HVFsOT/j+lMMJj65mc+BMT39 7rKUGY8bdSsjoD3OS18kqYldK6V+qeBU2kX7DiarRAZ0JnQKgnWilJYDb3Ou/ZKRgaOe DvL+pVFdroiTwQmvYWJIrcYvSpx55hpAL0W7aGPD2ynEPos3pd2wWOjZSQ6QG3QaU20y JmB6dt56kDZLF8SMMoUZdaO+PbXRoHp2UojbLRBhOTlFUGOwYDkKrxSLuUb2wKhgSwMX oREIRY1u0wTKZNRFD//i8Qr2bkHw5Ni5t6DPqfmvZTc2brPZsKeEc1BZbLwkgGD0C8Cb APwg==
X-Gm-Message-State: AEkoouslnLLYm0GFrB6CIEGyx/YXFB8QPi0M2DCQXRTWlD+xla+ANz3SxC7WEwQd4ntYHJOl1O+a2torp5pVDA==
X-Received: by 10.13.249.194 with SMTP id j185mr6882119ywf.155.1470932428589;  Thu, 11 Aug 2016 09:20:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.53.17 with HTTP; Thu, 11 Aug 2016 09:20:28 -0700 (PDT)
In-Reply-To: <CAOLP8p4m7RdY-UO3XLWBpPk09GBP05ESO_pErFx1NWOqOjYwqg@mail.gmail.com>
References: <574601EF.60205@ist.ac.at> <574C7E2B.5080700@stanford.edu> <CALW8-7+D6BSzE4ufubZys=6ECn7GUvRQA2CDxKAANgvvOwddqQ@mail.gmail.com> <1cd036cd-e15b-7f9c-c3d5-28f6e2ef4c2b@stanford.edu> <CALW8-7+MZ-b1VGc+4EOReCEbvCVou+e9UbzfR9sJMZavwqp64A@mail.gmail.com> <CAKDPBw-fJo=YEy1QPT9k2OMWf511=bXtZbZdn0R-UyMaVM0djQ@mail.gmail.com> <CALW8-7+ZfnpisFXYhyYPsvSz2zzz+NaZMezpMfKxgiSohLoQ=A@mail.gmail.com> <CAOLP8p4m7RdY-UO3XLWBpPk09GBP05ESO_pErFx1NWOqOjYwqg@mail.gmail.com>
From: Bill Cox <waywardgeek@gmail.com>
Date: Thu, 11 Aug 2016 09:20:28 -0700
Message-ID: <CAOLP8p73rbu7H0L4b2e3c9EOKR87Fh-5tRdEA3W947PTRjP88w@mail.gmail.com>
To: Dmitry Khovratovich <khovratovich@gmail.com>
Content-Type: multipart/alternative; boundary=94eb2c082334e512bb0539ce2460
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/uY76ZD1TB_GZ_cP5Yj4_gySuKs4>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Balloon-Hashing or Argon2i.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Aug 2016 16:20:30 -0000

--94eb2c082334e512bb0539ce2460
Content-Type: text/plain; charset=UTF-8

To summarize what I think should happen here: I recommend continuing with
any standardization effort that would have gone forward without the
published TMTO attacks that claim to save power while recomputing values
many times.  Intuitively, it is simply less power to store and reuse
results than recomputing them, which turns out to be true in real ASIC
implementations.

--94eb2c082334e512bb0539ce2460
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra">To summarize what I think shoul=
d happen here: I recommend continuing with any standardization effort that =
would have gone forward without the published TMTO attacks that claim to sa=
ve power while recomputing values many times.=C2=A0 Intuitively, it is simp=
ly less power to store and reuse results than recomputing them, which turns=
 out to be true in real ASIC implementations.</div></div>

--94eb2c082334e512bb0539ce2460--


From nobody Thu Aug 11 13:34:24 2016
Return-Path: <ietf@augustcellars.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F352212D12E for <cfrg@ietfa.amsl.com>; Thu, 11 Aug 2016 13:34:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.148
X-Spam-Level: 
X-Spam-Status: No, score=-3.148 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.247, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 vTEHP0rjLrvQ for <cfrg@ietfa.amsl.com>; Thu, 11 Aug 2016 13:34:22 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D45D0128874 for <cfrg@ietf.org>; Thu, 11 Aug 2016 13:34:21 -0700 (PDT)
Received: from hebrews (173.8.216.38) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 11 Aug 2016 13:46:11 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Ilari Liusvaara' <ilariliusvaara@welho.com>
References: <4B08AAC4-A91E-4AD4-B2FC-A5DA1DC73B91@shiftleft.org> <20160802222833.5F2BE603FB@jupiter.mumble.net> <038501d1ed1b$aa34ec30$fe9ec490$@augustcellars.com> <039901d1ed42$eef1e630$ccd5b290$@augustcellars.com> <20160803083912.GA30525@LK-Perkele-V2.elisa-laajakaista.fi> <001501d1f397$6749dc00$35dd9400$@augustcellars.com> <20160811065121.vswhvnmhevpryh5w@LK-Perkele-V2.elisa-laajakaista.fi>
In-Reply-To: <20160811065121.vswhvnmhevpryh5w@LK-Perkele-V2.elisa-laajakaista.fi>
Date: Thu, 11 Aug 2016 13:33:54 -0700
Message-ID: <012901d1f40f$af6343a0$0e29cae0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQGTG7D8yzf3x5MHMvvf3zFpT0a2KwL6kiG5AhqmhkUCBYGWUQFjtNwgAg/gg2QCEKlDxaBc7ckg
Content-Language: en-us
X-Originating-IP: [173.8.216.38]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/VkBtpUwNIJ1JFAka1NljgBXgwVo>
Cc: cfrg@ietf.org, draft-irtf-cfrg-eddsa@tools.ietf.org
Subject: Re: [Cfrg] legacy protocols and contexts [was Re: Review of draft-irtf-cfrg-eddsa-05]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Aug 2016 20:34:24 -0000

> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Ilari Liusvaara
> Sent: Wednesday, August 10, 2016 11:51 PM
> To: Jim Schaad <ietf@augustcellars.com>
> Cc: cfrg@ietf.org; draft-irtf-cfrg-eddsa@tools.ietf.org
> Subject: Re: [Cfrg] legacy protocols and contexts [was Re: Review of
draft-irtf-
> cfrg-eddsa-05]
> 
> On Wed, Aug 10, 2016 at 11:12:53PM -0700, Jim Schaad wrote:
> > What if we do the following for dealing with things:
> >
> > Ed25519:
> >
> > r = SHA-512(dom(F, c) || prefix || PH(M)) k = SHA-512(dom(F, c) || A
> > || PH(M))
> >
> > where
> > dom(F, c) = empty string for PureEdDSA
> > dom(F, c) = "SigEd25519" || octet(x) || octet(OLEN(y)) || y    for
Prehash-
> EdDSA
> >
> > Ed448:
> > Keep the fomulas as they are today.
> >
> > This would allow for a later definition of a 25519 context pure EdDSA
> > in a new document.  While I would prefer to make this the one that is
> > used in the IETF going forward, these changes will make things cleaner
> > today and still allow for a forward path in the future if needed.
> 
> I would use some 32-byte prefix that does not decode as valid point.
> Even if I don't know any attacks if prefix can decode as a valid point,
I'd rather
> not risk anything.

I agree that this would make a better prefix that what I suggested above.  I
do not think that it would be sufficient to just provide a value which is
invalid because it is greater than P, I think that a non-square root is
better.  If the first is fine, then just extending the string with 0xff
would be fine.  If the latter is better then somebody would need to find a
value.

> 
> 
> Also, If one wanted to do contexts in another document, one could just fix
the
> OLEN octet to 0 (so it is compatible).

I would find that to be reasonable.

Jim

> 
> 
> -Ilari
> 
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Thu Aug 11 16:48:09 2016
Return-Path: <ietf@augustcellars.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C847912D950 for <cfrg@ietfa.amsl.com>; Thu, 11 Aug 2016 16:48:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.148
X-Spam-Level: 
X-Spam-Status: No, score=-3.148 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.247, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 qUNQGDsCPs5z for <cfrg@ietfa.amsl.com>; Thu, 11 Aug 2016 16:48:05 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DBFEF12D78F for <cfrg@ietf.org>; Thu, 11 Aug 2016 16:48:04 -0700 (PDT)
Received: from hebrews (192.168.1.152) by mail2.augustcellars.com (192.168.1.201) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 11 Aug 2016 17:00:11 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: <cfrg@ietf.org>
Date: Thu, 11 Aug 2016 16:47:53 -0700
Message-ID: <014901d1f42a$c8e10950$5aa31bf0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdH0Jc47LobkRyyJS9WnfKrzMvTtBg==
Content-Language: en-us
X-Originating-IP: [192.168.1.152]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/ugtiedJPueXTbhJcFLBPVH_s1OM>
Subject: [Cfrg] Open Issue List for draft-irtf-cfrg-eddsa-06
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Aug 2016 23:48:08 -0000

The following is what I would consider to be on my open issue list for this
draft to get to approval.  I have tried to triage the list according to my
priorities.


High Priority:

1.  Fix the known security issue with EdDSA25519 and EdDSA25119ph:  I have
provided what I consider to be an elegant solution for this with the
modification from Ilari
(https://mailarchive.ietf.org/arch/msg/cfrg/VkBtpUwNIJ1JFAka1NljgBXgwVo)
And I was not the first, but my presentation is slightly different.

Moderate Priority:

1.  Remove the dom function from Ed448ph

Low Priority:

1.  In section 5.1.7, explain the trade-off between the two formulas and why
one is better than the other.

2.  Increase the size of the output of the Ed448ph if the security is not
consistent between the 448 bit curve and the 512 bit hash.  It just looks
odd because Ed25519 also uses a 512 bit pre-hash function.   My guess is
that nothing needs to be done, but an explanation might be useful.

3.  Define the ctx version of EdDSA25519.   It would be nice, esp if we
think that the context version is better even with null contexts, but if we
solve the first issue this can be done later if we decide it is preferable.

I don't care anymore:

1. Change the Ed448ph function to be a hash function rather than an XOR.  It
appears as long as the length is a known constant the two are equivalent for
all intents and purposes.
2. Previous issues that I raised with the python code.  My code is working
it no longer bothers me anymore.


Jim



From nobody Fri Aug 12 12:13:06 2016
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0E93612D12B for <cfrg@ietfa.amsl.com>; Fri, 12 Aug 2016 12:13:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.147
X-Spam-Level: 
X-Spam-Status: No, score=-3.147 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.247] autolearn=ham autolearn_force=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 MaQ-PWQ2eGIm for <cfrg@ietfa.amsl.com>; Fri, 12 Aug 2016 12:13:03 -0700 (PDT)
Received: from welho-filter2.welho.com (welho-filter2.welho.com [83.102.41.24]) by ietfa.amsl.com (Postfix) with ESMTP id 472CE12D0E5 for <cfrg@ietf.org>; Fri, 12 Aug 2016 12:13:02 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id 6C70D1048B; Fri, 12 Aug 2016 22:13:01 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id EmKaZjPMTRxp; Fri, 12 Aug 2016 22:13:00 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-177-32.bb.dnainternet.fi [87.100.177.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id BE6F7C4; Fri, 12 Aug 2016 22:13:00 +0300 (EEST)
Date: Fri, 12 Aug 2016 22:12:53 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Jim Schaad <ietf@augustcellars.com>
Message-ID: <20160812191253.njuzwiywaybt4why@LK-Perkele-V2.elisa-laajakaista.fi>
References: <014901d1f42a$c8e10950$5aa31bf0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <014901d1f42a$c8e10950$5aa31bf0$@augustcellars.com>
User-Agent: Mutt/1.6.2-neo (2016-07-23)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/LJSmhqrkBboQwnSHsXKA90g5fic>
Cc: cfrg@ietf.org
Subject: Re: [Cfrg] Open Issue List for draft-irtf-cfrg-eddsa-06
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Aug 2016 19:13:06 -0000

On Thu, Aug 11, 2016 at 04:47:53PM -0700, Jim Schaad wrote:
> The following is what I would consider to be on my open issue list for this
> draft to get to approval.  I have tried to triage the list according to my
> priorities.
> 
> 
> High Priority:
> 
> 1.  Fix the known security issue with EdDSA25519 and EdDSA25119ph:  I have
> provided what I consider to be an elegant solution for this with the
> modification from Ilari
> (https://mailarchive.ietf.org/arch/msg/cfrg/VkBtpUwNIJ1JFAka1NljgBXgwVo)
> And I was not the first, but my presentation is slightly different.

For reference, the idea is to add Ed448/Ed448ph-style prefix to
Ed25519ph, with first 32-bytes being fixed to be invalid point (so
hash can't trivially collide with any Ed25519 signature hash).


> Moderate Priority:
> 
> 1.  Remove the dom function from Ed448ph

This is from the inner hash right?
 
> Low Priority:
> 
> 1.  In section 5.1.7, explain the trade-off between the two formulas and why
> one is better than the other.

The second formula is stricter. However many existing implementations use
the first, and in some cases, not agreeing on exact set of acceptable
inputs is a problem (e.g. fingerprinting).


Well, the matematical explanation of the issue:

There is point T on Edwards25519, which has property [8]T = 0.

Arbitrary point P on Edwards25519 can be written in form:

P = [x]B + [y]T

For some 0<=x<L and 0<=y<8.

Now, the verification formula without multiplication becomes:

[s]B = R + [h]A  =>
[s]B = ([r_x]B+[r_y]T) + [h]([a_x]B+[a_y]T)  =>
[s]B = [r_x]B+[h][a_x]B + [r_y]T+[h][a_y]T  =>
[s]B = [r_x+h*a_x]B + [r_y+h*a_y]T

Which is satified iff:
s = r_x+h*a_x (mod L)
0 = r_y+h*a_y (mod 8).

Whereas with multiplication it becomes:
[8][s]B = [8]R + [8][h]A  =>
[8][s]B = [8]([r_x]B+[r_y]T) + [8][h]([a_x]B+[a_y]T)  =>
[8][s]B = [8][r_x]B+[8][h][a_x]B + [8][r_y]T+[h][a_y]T  =>
[8][s]B = [8r_x+8h*a_x]B + [r_y+h*a_y][8]T  =>
[8][s]B = [8r_x+8h*a_x]B + [r_y+h*a_y]0  =>
[8][s]B = [8r_x+8h*a_x]B  =>
[s]B = [r_x+h*a_x]B

Which is satified iff:
s = r_x+h*a_x (mod L)

So the second condition has dropped out. Now normally signatures have r_y=0
and a_y=0. But specially generated signatures may have nonzero values for
those parameters. So the exact set of signatures accepted differs.

(One can't use this for malleability, because h depends on R and A, so
any tweaks there after generation make signature fail).

And in some situations, it is issue if implmentations don't agree on exact
set of accepted inputs.
 
> 2.  Increase the size of the output of the Ed448ph if the security is not
> consistent between the 448 bit curve and the 512 bit hash.  It just looks
> odd because Ed25519 also uses a 512 bit pre-hash function.   My guess is
> that nothing needs to be done, but an explanation might be useful.

No action needed: Ed448ph uses SHAKE256, which caps off as 256-bit collision
resistance at 512 bit output.
 
> 3.  Define the ctx version of EdDSA25519.   It would be nice, esp if we
> think that the context version is better even with null contexts, but if we
> solve the first issue this can be done later if we decide it is preferable.

> I don't care anymore:
> 
> 1. Change the Ed448ph function to be a hash function rather than an XOR.  It
> appears as long as the length is a known constant the two are equivalent for
> all intents and purposes.

Actually, they aren't (SHAKE256@512 is much weaker against preimages than
what 512-bit hash would be), but the differences don't matter here, since
we want collision resistance (which should be equivalent to 512-bit hash).


-Ilari


From nobody Fri Aug 12 12:46:59 2016
Return-Path: <ietf@augustcellars.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0ED0412D853 for <cfrg@ietfa.amsl.com>; Fri, 12 Aug 2016 12:46:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.148
X-Spam-Level: 
X-Spam-Status: No, score=-3.148 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.247, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 IsXLOP99FZUe for <cfrg@ietfa.amsl.com>; Fri, 12 Aug 2016 12:46:56 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1B57612D11A for <cfrg@ietf.org>; Fri, 12 Aug 2016 12:46:56 -0700 (PDT)
Received: from hebrews (50.39.87.30) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Fri, 12 Aug 2016 12:58:46 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: <ilariliusvaara@welho.com>
References: <014901d1f42a$c8e10950$5aa31bf0$@augustcellars.com> <20160812191253.njuzwiywaybt4why@LK-Perkele-V2.elisa-laajakaista.fi>
In-Reply-To: <20160812191253.njuzwiywaybt4why@LK-Perkele-V2.elisa-laajakaista.fi>
Date: Fri, 12 Aug 2016 12:46:29 -0700
Message-ID: <01e001d1f4d2$39fdd120$adf97360$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQFKjiBkMnx7IOFuX5f4ezmB3kdANwLG3UZEoT5O+JA=
Content-Language: en-us
X-Originating-IP: [50.39.87.30]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/8TTp0z4q9WC3gv-eEHIxli4WMOA>
Cc: cfrg@ietf.org
Subject: Re: [Cfrg] Open Issue List for draft-irtf-cfrg-eddsa-06
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Aug 2016 19:46:58 -0000

> -----Original Message-----
> From: ilariliusvaara@welho.com [mailto:ilariliusvaara@welho.com]
> Sent: Friday, August 12, 2016 12:13 PM
> To: Jim Schaad <ietf@augustcellars.com>
> Cc: cfrg@ietf.org
> Subject: Re: [Cfrg] Open Issue List for draft-irtf-cfrg-eddsa-06
>=20
> On Thu, Aug 11, 2016 at 04:47:53PM -0700, Jim Schaad wrote:
> > The following is what I would consider to be on my open issue list =
for
> > this draft to get to approval.  I have tried to triage the list
> > according to my priorities.
> >
> >
> > High Priority:
> >
> > 1.  Fix the known security issue with EdDSA25519 and EdDSA25119ph:  =
I
> > have provided what I consider to be an elegant solution for this =
with
> > the modification from Ilari
> > =
(https://mailarchive.ietf.org/arch/msg/cfrg/VkBtpUwNIJ1JFAka1NljgBXgwV
> > o) And I was not the first, but my presentation is slightly =
different.
>=20
> For reference, the idea is to add Ed448/Ed448ph-style prefix to =
Ed25519ph, with
> first 32-bytes being fixed to be invalid point (so hash can't =
trivially collide with
> any Ed25519 signature hash).
>=20
>=20
> > Moderate Priority:
> >
> > 1.  Remove the dom function from Ed448ph
>=20
> This is from the inner hash right?

Not sure what you mean by inner hash - I was a little bit lax - I am =
talking about the PH function for Ed448ph. =20

>=20
> > Low Priority:
> >
> > 1.  In section 5.1.7, explain the trade-off between the two formulas
> > and why one is better than the other.
>=20
> The second formula is stricter. However many existing implementations =
use the
> first, and in some cases, not agreeing on exact set of acceptable =
inputs is a
> problem (e.g. fingerprinting).
>=20
>=20
> Well, the matematical explanation of the issue:
>=20
> There is point T on Edwards25519, which has property [8]T =3D 0.
>=20
> Arbitrary point P on Edwards25519 can be written in form:
>=20
> P =3D [x]B + [y]T
>=20
> For some 0<=3Dx<L and 0<=3Dy<8.
>=20
> Now, the verification formula without multiplication becomes:
>=20
> [s]B =3D R + [h]A  =3D>
> [s]B =3D ([r_x]B+[r_y]T) + [h]([a_x]B+[a_y]T)  =3D> [s]B =3D =
[r_x]B+[h][a_x]B +
> [r_y]T+[h][a_y]T  =3D> [s]B =3D [r_x+h*a_x]B + [r_y+h*a_y]T
>=20
> Which is satified iff:
> s =3D r_x+h*a_x (mod L)
> 0 =3D r_y+h*a_y (mod 8).
>=20
> Whereas with multiplication it becomes:
> [8][s]B =3D [8]R + [8][h]A  =3D>
> [8][s]B =3D [8]([r_x]B+[r_y]T) + [8][h]([a_x]B+[a_y]T)  =3D> [8][s]B =
=3D
> [8][r_x]B+[8][h][a_x]B + [8][r_y]T+[h][a_y]T  =3D> [8][s]B =3D =
[8r_x+8h*a_x]B +
> [r_y+h*a_y][8]T  =3D> [8][s]B =3D [8r_x+8h*a_x]B + [r_y+h*a_y]0  =3D> =
[8][s]B =3D
> [8r_x+8h*a_x]B  =3D> [s]B =3D [r_x+h*a_x]B
>=20
> Which is satified iff:
> s =3D r_x+h*a_x (mod L)
>=20
> So the second condition has dropped out. Now normally signatures have =
r_y=3D0
> and a_y=3D0. But specially generated signatures may have nonzero =
values for
> those parameters. So the exact set of signatures accepted differs.
>=20
> (One can't use this for malleability, because h depends on R and A, so =
any
> tweaks there after generation make signature fail).
>=20
> And in some situations, it is issue if implmentations don't agree on =
exact set of
> accepted inputs.

Right and it would be useful to put some of that in as a security =
consideration or as part of the text that lists the formulas. =20

>=20
> > 2.  Increase the size of the output of the Ed448ph if the security =
is
> > not consistent between the 448 bit curve and the 512 bit hash.  It =
just looks
> > odd because Ed25519 also uses a 512 bit pre-hash function.   My =
guess is
> > that nothing needs to be done, but an explanation might be useful.
>=20
> No action needed: Ed448ph uses SHAKE256, which caps off as 256-bit =
collision
> resistance at 512 bit output.
>=20
> > 3.  Define the ctx version of EdDSA25519.   It would be nice, esp if =
we
> > think that the context version is better even with null contexts, =
but
> > if we solve the first issue this can be done later if we decide it =
is preferable.
>=20
> > I don't care anymore:
> >
> > 1. Change the Ed448ph function to be a hash function rather than an
> > XOR.  It appears as long as the length is a known constant the two =
are
> > equivalent for all intents and purposes.
>=20
> Actually, they aren't (SHAKE256@512 is much weaker against preimages =
than
> what 512-bit hash would be), but the differences don't matter here, =
since we
> want collision resistance (which should be equivalent to 512-bit =
hash).

Yes, but that is because of the parameters chosen and not because there =
is something inherently bad about using SHAKE (the XOR) function rather =
than SHA1 (a hash function).  There is nothing about being an XOR =
construct that makes it bad unless the length can be changed in some =
arbitrary fashion by and attacker which is less true with hash =
functions.  That is doing something along the lines making the length of =
the SHAKE output a parameter might not be a good idea.  But having an =
OID with a fixed length might be reasonable.

In the LAMPS group there is a question of using SHAKE rather than SHA2 =
for computing the digest of the message.  This is more problematic if =
the length of the resulting digest is not fixed but is allowed to very.

Jim

>=20
>=20
> -Ilari


From krzpie@gmail.com  Sun Aug 14 10:36:18 2016
Return-Path: <krzpie@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B630A12D775 for <cfrg@ietfa.amsl.com>; Sun, 14 Aug 2016 10:36:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 y--LcEjRD2Jk for <cfrg@ietfa.amsl.com>; Sun, 14 Aug 2016 10:36:17 -0700 (PDT)
Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (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 9652F12D771 for <cfrg@irtf.org>; Sun, 14 Aug 2016 10:36:16 -0700 (PDT)
Received: by mail-wm0-x234.google.com with SMTP id i5so65328223wmg.0 for <cfrg@irtf.org>; Sun, 14 Aug 2016 10:36:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:from:date:message-id:subject:to; bh=FsWx+y/RlQOFPIR8/5/Uey6dkdwqYoMuXyz3fXOE4dw=; b=R6edsEZ6tnTVL3OMAJaZRdqemc6JMfYGS+fAAHM4yKNZxvkfOD4vEAVXh0CZt9jG4P kVy5kYQFXPBsmUD1QOKSpXsqDwA4yOMXwDtgbCPh+XQDG3FKYQn1mKyDU/aI1RjbaUYq amfoLKqp8JOImvSG8xijCPo5qvuqIDeuEfFaG6rK51TLoa05/oXimIUfROKrNet64HLZ 3UjIG3YYsMmWKv31/v+iuOHCdedtVWLflmf64f4ODzY7BkS9K79E0NsApIVqx6hIoxtW 9KBtiov81aghNwwZEpoU8gjq6zCsnQz6HyGe+/3W6ElOAXzERL7UHdeJETn6mN3nGl0L YTkw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=FsWx+y/RlQOFPIR8/5/Uey6dkdwqYoMuXyz3fXOE4dw=; b=CdpEAyrg7IuYA62HvgiuBiv4nIhnYBbBQ6zJVseBlhv3By5rsDFfezT2OHyBcIbMia JOV5rgXljNkDcwXskG6w11XtgvLy2wcjlzA1c4y7Ts26cP1l1mEyEOmSzQLSmllccqx2 PGqmy73f8es6KQkb9vgOm78gDfDQJ51fIHH9R20SpqicFz6KuFZv9NTs6HxmFEvMQKbf RAYW+ZZF2Y8m1+TW5XFevJWaB0PXdpWECkadsyNnnpRw9WJYw7AQb9JG6mQ/a2g8lClf BKmsv+1sq+f45w0PnqkOQVygYUylWmCLV6unAi84yGkPRW9RCmvl2um6qrrsg0o0f/3S oadA==
X-Gm-Message-State: AEkoout4BXwegD2lymwLQD16sVIy5sxk2Q+5STQb55pGJUbAJQoOcmpzKmRxTT8JWmpjTfnkRf8mYfMfPdxULw==
X-Received: by 10.25.162.17 with SMTP id l17mr4136994lfe.125.1471196174544; Sun, 14 Aug 2016 10:36:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.114.10.168 with HTTP; Sun, 14 Aug 2016 10:36:13 -0700 (PDT)
From: krzysztof pietrzak <krzpie@gmail.com>
Date: Sun, 14 Aug 2016 19:36:13 +0200
Message-ID: <CAMgMiWcWts5LWsLD2bW8s1g1M0ZkRRc_PO-z2iE-iEoeTMAFRA@mail.gmail.com>
To: cfrg@irtf.org
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/5NptQtn5kvCAGaCDcZ4NkgfmLvk>
Subject: Re: [Cfrg] Balloon-Hashing or Argon2i.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Aug 2016 17:43:25 -0000

I'm following the discussion going on here with some astonishment. The
Argon2i iMHF is asymptotically broken, and whether an asymptotic
attack is practical with current parameters/hardware should only be of
interest if a scheme is already widely deployed and we have to live
with it, but pushing for standardisation of a mode that is known to
have structural deficiencies is -- in my opinion -- just irresponsible
and could hurt our field.

This is not to say that the Alwen-Blocki attack [AB16]
https://eprint.iacr.org/2016/115.pdf is not already practical, the
arguments brought forward against the practicality of the attack have
been convincingly refuted in [AB16b]
https://eprint.iacr.org/2016/759.pdf . The fact that Argon2i has
become a moving target changing its specification constantly doesn't
look good either.

Bill Cox writes
"To summarize what I think should happen here: I recommend continuing
with any standardization effort that would have gone forward without
the published TMTO attacks that claim to save power while recomputing
values many times.  Intuitively, it is simply less power to store and
reuse results than recomputing them, which turns out to be true in
real ASIC implementations."
If this was true (i.e., we only must consider adversaries who don't
recompute values), then constructing secure iMHFs with optimal
parallel cumulative memory complexity \Omega(n^2) would be a
triviality (e.g. make 2 passes over memory updating
x[i]=f(x[i],x[i-1])). The entire point of [AB16b] is showing that this
intuition is also wrong for the [AB16] attacks.

At this point it seems all the iMHFs submitted to the password hashing
competition are broken, which maybe is not too surprising given that
the call for submissions didn't even specify a formal security notion
the mode has to satisfy, a property like

"Speed-up or other efficiency improvement (e.g., in terms of area-time
product per password tested) of cracking-optimized ASIC, FPGA, and GPU
implementations (checking multiple sets of inputs in parallel)
compared to CPU implementations intended for password validation
should be minimal."

is not something cryptographers can work with. To me the competition
looked more like a beauty contest, where due to lack of a meaningful
security notion the submissions were focusing on secondary properties
and features, rather than on provable security guarantees their modes
provide.

Only in [AS15] this desirability from the call has been captured by a
formal notion -- cumulative parallel memory-complexity (cpmc) -- a
good MHF should (1) have cpmc close to n^2 (so it is memory hard) and
(2) its sequential space-time complexity (sstc) should be close to its
(cpmc), so paralellism and armortization doesn't make the evaluation
much cheaper.

With a formal security notion at hand, there has been a lot of
progress in understanding MHFs in the last year. For data independent
MHFs we now know that already the first proposed MHF -- Scrypt (or
rather RoMix) -- has optimal \Omega(n^2) cpmc (assuming the underlying
building block is a random function, an assumption like that is
necessary as we can't prove superlinear circuit lower bounds). This
result has been announced recently
https://pariscryptoday.github.io/second.html#LR

The situation for data independent MHFs (iMHF) is even more
interesting: an iMHF has high cpmc if and only if the underlying
evaluation graph is depth-robust (also this result is not published
yet, it has been announced
https://calendar.csail.mit.edu/events/171401 and a manuscript exists).
Thanks to this connection, we understand quite well how the graph
underlying a good iMHF must look like, and already have constructions
with cpmc \Omega(n^2/log(n)) (which is within loglog(n) of the
theoretical maximum). This construction is non-constructive (in the
sense that one has to sample a graph at random, and this graph will
constitute a good iMHF with overwhelming probability). We also have
extremely simple and efficient explicit constructions, but the proven
cpmc is a log(n) factor off the optimum (it is optimal modulo a
combinatorial conjecture which we believe to hold).

I guess it is in everyones interest to come up with a secure proposal
for MHFs, and simply ignoring all the cryptographic knowledge we now
have on how to (not) construct MHFs is just ignorant and dangerous.

Krzysztof

> Subject:        Re: [Cfrg] Balloon-Hashing or Argon2i.
> Date:   Thu, 11 Aug 2016 09:20:28 -0700
> From:   Bill Cox <waywardgeek@gmail.com>
> To:     Dmitry Khovratovich <khovratovich@gmail.com>
> CC:     cfrg@irtf.org <cfrg@irtf.org>
>
>
>
> To summarize what I think should happen here: I recommend continuing
> with any standardization effort that would have gone forward without the
> published TMTO attacks that claim to save power while recomputing values
> many times.  Intuitively, it is simply less power to store and reuse
> results than recomputing them, which turns out to be true in real ASIC
> implementations.


From nobody Sun Aug 14 12:08:51 2016
Return-Path: <luto@amacapital.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8239C12D79D for <cfrg@ietfa.amsl.com>; Sun, 14 Aug 2016 12:08:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.89
X-Spam-Level: 
X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_TVD_FUZZY_SECURITIES=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=amacapital-net.20150623.gappssmtp.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 BkhS8WSZmAc9 for <cfrg@ietfa.amsl.com>; Sun, 14 Aug 2016 12:08:49 -0700 (PDT)
Received: from mail-ua0-x231.google.com (mail-ua0-x231.google.com [IPv6:2607:f8b0:400c:c08::231]) (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 2A87B12D0F9 for <cfrg@irtf.org>; Sun, 14 Aug 2016 12:08:49 -0700 (PDT)
Received: by mail-ua0-x231.google.com with SMTP id 97so48500905uav.3 for <cfrg@irtf.org>; Sun, 14 Aug 2016 12:08:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CHqgRql5VOV74M4aRJTnXPOcl0Wl3Ecb5aJEZfbp18c=; b=AIRl6U0hrDL/twaRoPCb4e6EmvJ5wK1fQpLbls9eAQ+24p5/OWK8emPrB3aLoZhqXS +fEcdridKek4TQe3wAHuR9RfM6n7QabMJZE5cR+KnC5lwlEyvGoMRgizcPM7XscQ8Goa Ez8w2R2AYbGcoRv8+JWD0GjHfEWfuSazX6jynEkcHpObn3QCkNf2HmwDxLhzHeaaduCE USp8adYKnOJAboLZ7EevtAMuYRkylxQCqHiVVmPBS/9PnkWuLgjR4O4ueMrMEI3pbKWl D4piSxEcyRAIsBoNZGlchTfqhjR4VkFYs6dnHCvaUNEyzbhZ19QoYLw2+DVAbUHHA7GF FP1Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CHqgRql5VOV74M4aRJTnXPOcl0Wl3Ecb5aJEZfbp18c=; b=IH0ZDpjWZzDKeQPYNu3AklMRalJnGPrlH3RCBW8C+dkNFKKSS9/WawcjxsuPagsO5a FYe4vqgKTwoGE43qdOLUrahRtN0/RzQ7vU8pCP9dkXNF8XTIHXKkkBAMD6NKr9aH+JLu mJ8CI8utxZbNx8kzpb9iX9ugW4Hk0KtFszADS/EYk3dy4ctDWkEa4DlqM7j9z1dk60/N TR8o542jqHmVCgMfi47mel6J/XR/ro8D9qlzouHsHYZS9yCdGV3cFWZgjkBV+0pJ/Ekz rC3fqd/CnB06JTkSj5aBaJfEj8F7pWfO2Sw/n9TcmEEDMR8CoKRoqR9Bypg7JBFJ+ica 8oAA==
X-Gm-Message-State: AEkoousAtcIM3meECWkWv+KORS/DzStb/gif4JUUHPzc3tKntlAKy9t7n+WsPyijSa+P6nqY5tGbd9d9AZ4zROQB
X-Received: by 10.31.34.197 with SMTP id i188mr8041762vki.76.1471201728064; Sun, 14 Aug 2016 12:08:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.76.146 with HTTP; Sun, 14 Aug 2016 12:08:47 -0700 (PDT)
Received: by 10.103.76.146 with HTTP; Sun, 14 Aug 2016 12:08:47 -0700 (PDT)
In-Reply-To: <CAMgMiWcWts5LWsLD2bW8s1g1M0ZkRRc_PO-z2iE-iEoeTMAFRA@mail.gmail.com>
References: <CAMgMiWcWts5LWsLD2bW8s1g1M0ZkRRc_PO-z2iE-iEoeTMAFRA@mail.gmail.com>
From: Andy Lutomirski <luto@amacapital.net>
Date: Sun, 14 Aug 2016 12:08:47 -0700
Message-ID: <CALCETrVyorUtWuLeH-sM-z6wW=+hXngZ7En0O_pdaVz_eKU8Bw@mail.gmail.com>
To: krzysztof pietrzak <krzpie@gmail.com>
Content-Type: multipart/alternative; boundary=001a113daaa0656937053a0cd848
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/E2Wsf7QvlVK8d5mmIukH0UheHRQ>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Balloon-Hashing or Argon2i.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Aug 2016 19:08:50 -0000

--001a113daaa0656937053a0cd848
Content-Type: text/plain; charset=UTF-8

On Aug 14, 2016 8:43 PM, "krzysztof pietrzak" <krzpie@gmail.com> wrote:
>
> I'm following the discussion going on here with some astonishment. The
> Argon2i iMHF is asymptotically broken, and whether an asymptotic
> attack is practical with current parameters/hardware should only be of
> interest if a scheme is already widely deployed and we have to live
> with it, but pushing for standardisation of a mode that is known to
> have structural deficiencies is -- in my opinion -- just irresponsible
> and could hurt our field.
>
> This is not to say that the Alwen-Blocki attack [AB16]
> https://eprint.iacr.org/2016/115.pdf is not already practical, the
> arguments brought forward against the practicality of the attack have
> been convincingly refuted in [AB16b]
> https://eprint.iacr.org/2016/759.pdf . The fact that Argon2i has
> become a moving target changing its specification constantly doesn't
> look good either.

I agree.  The IRTF should recommend the use of an algorithm with strong
provable security, especially when such an algorithm seems to be imminently
available.

--Andy

--001a113daaa0656937053a0cd848
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"></p>
<p dir=3D"ltr">On Aug 14, 2016 8:43 PM, &quot;krzysztof pietrzak&quot; &lt;=
<a href=3D"mailto:krzpie@gmail.com">krzpie@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; I&#39;m following the discussion going on here with some astonishment.=
 The<br>
&gt; Argon2i iMHF is asymptotically broken, and whether an asymptotic<br>
&gt; attack is practical with current parameters/hardware should only be of=
<br>
&gt; interest if a scheme is already widely deployed and we have to live<br=
>
&gt; with it, but pushing for standardisation of a mode that is known to<br=
>
&gt; have structural deficiencies is -- in my opinion -- just irresponsible=
<br>
&gt; and could hurt our field.<br>
&gt;<br>
&gt; This is not to say that the Alwen-Blocki attack [AB16]<br>
&gt; <a href=3D"https://eprint.iacr.org/2016/115.pdf">https://eprint.iacr.o=
rg/2016/115.pdf</a> is not already practical, the<br>
&gt; arguments brought forward against the practicality of the attack have<=
br>
&gt; been convincingly refuted in [AB16b]<br>
&gt; <a href=3D"https://eprint.iacr.org/2016/759.pdf">https://eprint.iacr.o=
rg/2016/759.pdf</a> . The fact that Argon2i has<br>
&gt; become a moving target changing its specification constantly doesn&#39=
;t<br>
&gt; look good either.</p>
<p dir=3D"ltr">I agree.=C2=A0 The IRTF should recommend the use of an algor=
ithm with strong provable security, especially when such an algorithm seems=
 to be imminently available.</p>
<p dir=3D"ltr">--Andy<br>
</p>

--001a113daaa0656937053a0cd848--


From nobody Sun Aug 14 22:20:35 2016
Return-Path: <jeanphilippe.aumasson@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3389112D0EB for <cfrg@ietfa.amsl.com>; Sun, 14 Aug 2016 22:20:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 xwlOWc1kv85v for <cfrg@ietfa.amsl.com>; Sun, 14 Aug 2016 22:20:31 -0700 (PDT)
Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 412B512B015 for <cfrg@irtf.org>; Sun, 14 Aug 2016 22:20:31 -0700 (PDT)
Received: by mail-wm0-x231.google.com with SMTP id f65so72219277wmi.0 for <cfrg@irtf.org>; Sun, 14 Aug 2016 22:20:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to;  bh=FTvuonYI+mz/C1wQKeONvWtA78V5sqrdxrCalKpyKhw=; b=0wRl9Diwlc0H7lXZujf9gnw6+7r9h4ie6jQZgYXwdYJHBwJcGcCD/rSF/LhEHf9qZ+ 4RgV1mD59p3N7BBEYzGQxmNpYppIi0FiLGHR+w5fkl3PPOg0Af+IxxD5MnnDpGkSvAWs U2DRfC4s1vWQL0cfwCmtJFsPB0yjW/NrvEDeP/H6CXj2SXy0y9pjID7cyNGPytF2Qiht eTo7EHIF0L3ak92tCeK3FymhM/hQckR1TK5TOBcAeZsSAf0Ih/bXQT4JraymZ50rSppf VtYIUG2AX0q63ciwKnH7nI1HtFM9xAiaU8KaoPGSj8O4wY9YqJxlsotC2m0iZwFgzDGk 9wyw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=FTvuonYI+mz/C1wQKeONvWtA78V5sqrdxrCalKpyKhw=; b=MqVWo79tG9ab3UXDgNCSHT3zI8dnS8oAyKzESIMb2szCbHrfVZpkNqMle9vQIn1nHN uheG9m5BruIfaZZz4yhQIIMhj7lij6YYLkrrJMIQzY+Iz500EXo8q1PclJKKUceE2kks 3u75/EF/9KkOgVQjvfgA+L6sltdb/HsGhbdLGeEXF91YliboM4NiKuOG9Haw+WBrxESb E1ZAOJYzpRTYeK1I5YOo52+SwTjv24uoN0lC9WPpDC9nAAOcvt2wjYYqAxf9SpVoziOA EdAgnwLy59ylbr+OgHkoJP8++N3djFLhWmTm1UGKIraTuJtptg8Z3AKOxIDLSJlXgFlh AV8w==
X-Gm-Message-State: AEkoouvnaALdGzcOQ2lgcu438plBFFXe4L/gQAfbD7UYOEgPXrJcWdD1UI3DGhSjvdpQ9B0E+YQ6cII5wUAQsA==
X-Received: by 10.28.210.5 with SMTP id j5mr13683865wmg.67.1471238429715; Sun, 14 Aug 2016 22:20:29 -0700 (PDT)
MIME-Version: 1.0
References: <CAMgMiWcWts5LWsLD2bW8s1g1M0ZkRRc_PO-z2iE-iEoeTMAFRA@mail.gmail.com>
In-Reply-To: <CAMgMiWcWts5LWsLD2bW8s1g1M0ZkRRc_PO-z2iE-iEoeTMAFRA@mail.gmail.com>
From: Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>
Date: Mon, 15 Aug 2016 05:20:17 +0000
Message-ID: <CAGiyFdf3aZ7neHfptnha47FfucKXWJrbTziTWBHAhR0o-C4Bcg@mail.gmail.com>
To: cfrg@irtf.org, krzysztof pietrzak <krzpie@gmail.com>
Content-Type: multipart/alternative; boundary=001a11468e0efbb2f8053a156304
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/gh-nplYsxKMrStQWsQmS7AgEOMs>
Subject: Re: [Cfrg] Balloon-Hashing or Argon2i.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Aug 2016 05:20:34 -0000

--001a11468e0efbb2f8053a156304
Content-Type: text/plain; charset=UTF-8

IMHO when saying "all PHC candidates are broken" (and Balloon too) this
post confuses two things

- a made-up theoretical asymptotic security notion

- security notions that make sense in the real world (I hate this term
though)

A suboptimal performance wrt the former doesn't mean "broken" wrt the
latter.

Some people crack passwords for a living. Ask them what they think of the
first notion :)

And wrt the second notion, none of the PHC candidates are broken, as will
tell you any security engineer that had to develop real systems that work
and are used.

In the same spirit, I've often heard members of the theoretical crypto
community arguing "I don't understand why AES is used, there's no security
proof and it's only heuristical security." Well then.

On Sun, 14 Aug 2016 at 19:43, krzysztof pietrzak <krzpie@gmail.com> wrote:

> I'm following the discussion going on here with some astonishment. The
> Argon2i iMHF is asymptotically broken, and whether an asymptotic
> attack is practical with current parameters/hardware should only be of
> interest if a scheme is already widely deployed and we have to live
> with it, but pushing for standardisation of a mode that is known to
> have structural deficiencies is -- in my opinion -- just irresponsible
> and could hurt our field.
>
> This is not to say that the Alwen-Blocki attack [AB16]
> https://eprint.iacr.org/2016/115.pdf is not already practical, the
> arguments brought forward against the practicality of the attack have
> been convincingly refuted in [AB16b]
> https://eprint.iacr.org/2016/759.pdf . The fact that Argon2i has
> become a moving target changing its specification constantly doesn't
> look good either.
>
> Bill Cox writes
> "To summarize what I think should happen here: I recommend continuing
> with any standardization effort that would have gone forward without
> the published TMTO attacks that claim to save power while recomputing
> values many times.  Intuitively, it is simply less power to store and
> reuse results than recomputing them, which turns out to be true in
> real ASIC implementations."
> If this was true (i.e., we only must consider adversaries who don't
> recompute values), then constructing secure iMHFs with optimal
> parallel cumulative memory complexity \Omega(n^2) would be a
> triviality (e.g. make 2 passes over memory updating
> x[i]=f(x[i],x[i-1])). The entire point of [AB16b] is showing that this
> intuition is also wrong for the [AB16] attacks.
>
> At this point it seems all the iMHFs submitted to the password hashing
> competition are broken, which maybe is not too surprising given that
> the call for submissions didn't even specify a formal security notion
> the mode has to satisfy, a property like
>
> "Speed-up or other efficiency improvement (e.g., in terms of area-time
> product per password tested) of cracking-optimized ASIC, FPGA, and GPU
> implementations (checking multiple sets of inputs in parallel)
> compared to CPU implementations intended for password validation
> should be minimal."
>
> is not something cryptographers can work with. To me the competition
> looked more like a beauty contest, where due to lack of a meaningful
> security notion the submissions were focusing on secondary properties
> and features, rather than on provable security guarantees their modes
> provide.
>
> Only in [AS15] this desirability from the call has been captured by a
> formal notion -- cumulative parallel memory-complexity (cpmc) -- a
> good MHF should (1) have cpmc close to n^2 (so it is memory hard) and
> (2) its sequential space-time complexity (sstc) should be close to its
> (cpmc), so paralellism and armortization doesn't make the evaluation
> much cheaper.
>
> With a formal security notion at hand, there has been a lot of
> progress in understanding MHFs in the last year. For data independent
> MHFs we now know that already the first proposed MHF -- Scrypt (or
> rather RoMix) -- has optimal \Omega(n^2) cpmc (assuming the underlying
> building block is a random function, an assumption like that is
> necessary as we can't prove superlinear circuit lower bounds). This
> result has been announced recently
> https://pariscryptoday.github.io/second.html#LR
>
> The situation for data independent MHFs (iMHF) is even more
> interesting: an iMHF has high cpmc if and only if the underlying
> evaluation graph is depth-robust (also this result is not published
> yet, it has been announced
> https://calendar.csail.mit.edu/events/171401 and a manuscript exists).
> Thanks to this connection, we understand quite well how the graph
> underlying a good iMHF must look like, and already have constructions
> with cpmc \Omega(n^2/log(n)) (which is within loglog(n) of the
> theoretical maximum). This construction is non-constructive (in the
> sense that one has to sample a graph at random, and this graph will
> constitute a good iMHF with overwhelming probability). We also have
> extremely simple and efficient explicit constructions, but the proven
> cpmc is a log(n) factor off the optimum (it is optimal modulo a
> combinatorial conjecture which we believe to hold).
>
> I guess it is in everyones interest to come up with a secure proposal
> for MHFs, and simply ignoring all the cryptographic knowledge we now
> have on how to (not) construct MHFs is just ignorant and dangerous.
>
> Krzysztof
>
> > Subject:        Re: [Cfrg] Balloon-Hashing or Argon2i.
> > Date:   Thu, 11 Aug 2016 09:20:28 -0700
> > From:   Bill Cox <waywardgeek@gmail.com>
> > To:     Dmitry Khovratovich <khovratovich@gmail.com>
> > CC:     cfrg@irtf.org <cfrg@irtf.org>
> >
> >
> >
> > To summarize what I think should happen here: I recommend continuing
> > with any standardization effort that would have gone forward without the
> > published TMTO attacks that claim to save power while recomputing values
> > many times.  Intuitively, it is simply less power to store and reuse
> > results than recomputing them, which turns out to be true in real ASIC
> > implementations.
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg
>

--001a11468e0efbb2f8053a156304
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div style=3D"white-space:pre-wrap">IMHO when saying &quot;all PHC candidat=
es are broken&quot; (and Balloon too) this post confuses two things<br><br>=
- a made-up theoretical asymptotic security notion<br><br>- security notion=
s that make sense in the real world (I hate this term though)<br><br>A subo=
ptimal performance wrt the former doesn&#39;t mean &quot;broken&quot; wrt t=
he latter.<br><br>Some people crack passwords for a living. Ask them what t=
hey think of the first notion :)<br><br>And wrt the second notion, none of =
the PHC candidates are broken, as will tell you any security engineer that =
had to develop real systems that work and are used.<br><br>In the same spir=
it, I&#39;ve often heard members of the theoretical crypto community arguin=
g &quot;I don&#39;t understand why AES is used, there&#39;s no security pro=
of and it&#39;s only heuristical security.&quot; Well then.<br></div><br><d=
iv class=3D"gmail_quote"><div dir=3D"ltr">On Sun, 14 Aug 2016 at 19:43, krz=
ysztof pietrzak &lt;<a href=3D"mailto:krzpie@gmail.com">krzpie@gmail.com</a=
>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m following the =
discussion going on here with some astonishment. The<br>
Argon2i iMHF is asymptotically broken, and whether an asymptotic<br>
attack is practical with current parameters/hardware should only be of<br>
interest if a scheme is already widely deployed and we have to live<br>
with it, but pushing for standardisation of a mode that is known to<br>
have structural deficiencies is -- in my opinion -- just irresponsible<br>
and could hurt our field.<br>
<br>
This is not to say that the Alwen-Blocki attack [AB16]<br>
<a href=3D"https://eprint.iacr.org/2016/115.pdf" rel=3D"noreferrer" target=
=3D"_blank">https://eprint.iacr.org/2016/115.pdf</a> is not already practic=
al, the<br>
arguments brought forward against the practicality of the attack have<br>
been convincingly refuted in [AB16b]<br>
<a href=3D"https://eprint.iacr.org/2016/759.pdf" rel=3D"noreferrer" target=
=3D"_blank">https://eprint.iacr.org/2016/759.pdf</a> . The fact that Argon2=
i has<br>
become a moving target changing its specification constantly doesn&#39;t<br=
>
look good either.<br>
<br>
Bill Cox writes<br>
&quot;To summarize what I think should happen here: I recommend continuing<=
br>
with any standardization effort that would have gone forward without<br>
the published TMTO attacks that claim to save power while recomputing<br>
values many times.=C2=A0 Intuitively, it is simply less power to store and<=
br>
reuse results than recomputing them, which turns out to be true in<br>
real ASIC implementations.&quot;<br>
If this was true (i.e., we only must consider adversaries who don&#39;t<br>
recompute values), then constructing secure iMHFs with optimal<br>
parallel cumulative memory complexity \Omega(n^2) would be a<br>
triviality (e.g. make 2 passes over memory updating<br>
x[i]=3Df(x[i],x[i-1])). The entire point of [AB16b] is showing that this<br=
>
intuition is also wrong for the [AB16] attacks.<br>
<br>
At this point it seems all the iMHFs submitted to the password hashing<br>
competition are broken, which maybe is not too surprising given that<br>
the call for submissions didn&#39;t even specify a formal security notion<b=
r>
the mode has to satisfy, a property like<br>
<br>
&quot;Speed-up or other efficiency improvement (e.g., in terms of area-time=
<br>
product per password tested) of cracking-optimized ASIC, FPGA, and GPU<br>
implementations (checking multiple sets of inputs in parallel)<br>
compared to CPU implementations intended for password validation<br>
should be minimal.&quot;<br>
<br>
is not something cryptographers can work with. To me the competition<br>
looked more like a beauty contest, where due to lack of a meaningful<br>
security notion the submissions were focusing on secondary properties<br>
and features, rather than on provable security guarantees their modes<br>
provide.<br>
<br>
Only in [AS15] this desirability from the call has been captured by a<br>
formal notion -- cumulative parallel memory-complexity (cpmc) -- a<br>
good MHF should (1) have cpmc close to n^2 (so it is memory hard) and<br>
(2) its sequential space-time complexity (sstc) should be close to its<br>
(cpmc), so paralellism and armortization doesn&#39;t make the evaluation<br=
>
much cheaper.<br>
<br>
With a formal security notion at hand, there has been a lot of<br>
progress in understanding MHFs in the last year. For data independent<br>
MHFs we now know that already the first proposed MHF -- Scrypt (or<br>
rather RoMix) -- has optimal \Omega(n^2) cpmc (assuming the underlying<br>
building block is a random function, an assumption like that is<br>
necessary as we can&#39;t prove superlinear circuit lower bounds). This<br>
result has been announced recently<br>
<a href=3D"https://pariscryptoday.github.io/second.html#LR" rel=3D"noreferr=
er" target=3D"_blank">https://pariscryptoday.github.io/second.html#LR</a><b=
r>
<br>
The situation for data independent MHFs (iMHF) is even more<br>
interesting: an iMHF has high cpmc if and only if the underlying<br>
evaluation graph is depth-robust (also this result is not published<br>
yet, it has been announced<br>
<a href=3D"https://calendar.csail.mit.edu/events/171401" rel=3D"noreferrer"=
 target=3D"_blank">https://calendar.csail.mit.edu/events/171401</a> and a m=
anuscript exists).<br>
Thanks to this connection, we understand quite well how the graph<br>
underlying a good iMHF must look like, and already have constructions<br>
with cpmc \Omega(n^2/log(n)) (which is within loglog(n) of the<br>
theoretical maximum). This construction is non-constructive (in the<br>
sense that one has to sample a graph at random, and this graph will<br>
constitute a good iMHF with overwhelming probability). We also have<br>
extremely simple and efficient explicit constructions, but the proven<br>
cpmc is a log(n) factor off the optimum (it is optimal modulo a<br>
combinatorial conjecture which we believe to hold).<br>
<br>
I guess it is in everyones interest to come up with a secure proposal<br>
for MHFs, and simply ignoring all the cryptographic knowledge we now<br>
have on how to (not) construct MHFs is just ignorant and dangerous.<br>
<br>
Krzysztof<br>
<br>
&gt; Subject:=C2=A0 =C2=A0 =C2=A0 =C2=A0 Re: [Cfrg] Balloon-Hashing or Argo=
n2i.<br>
&gt; Date:=C2=A0 =C2=A0Thu, 11 Aug 2016 09:20:28 -0700<br>
&gt; From:=C2=A0 =C2=A0Bill Cox &lt;<a href=3D"mailto:waywardgeek@gmail.com=
" target=3D"_blank">waywardgeek@gmail.com</a>&gt;<br>
&gt; To:=C2=A0 =C2=A0 =C2=A0Dmitry Khovratovich &lt;<a href=3D"mailto:khovr=
atovich@gmail.com" target=3D"_blank">khovratovich@gmail.com</a>&gt;<br>
&gt; CC:=C2=A0 =C2=A0 =C2=A0<a href=3D"mailto:cfrg@irtf.org" target=3D"_bla=
nk">cfrg@irtf.org</a> &lt;<a href=3D"mailto:cfrg@irtf.org" target=3D"_blank=
">cfrg@irtf.org</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; To summarize what I think should happen here: I recommend continuing<b=
r>
&gt; with any standardization effort that would have gone forward without t=
he<br>
&gt; published TMTO attacks that claim to save power while recomputing valu=
es<br>
&gt; many times.=C2=A0 Intuitively, it is simply less power to store and re=
use<br>
&gt; results than recomputing them, which turns out to be true in real ASIC=
<br>
&gt; implementations.<br>
<br>
_______________________________________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a><br>
<a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.irtf.org/mailman/listinfo/cfrg</a><br>
</blockquote></div>

--001a11468e0efbb2f8053a156304--


From nobody Sun Aug 14 23:17:58 2016
Return-Path: <stefano.tessaro@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AC54712D59F for <cfrg@ietfa.amsl.com>; Sun, 14 Aug 2016 23:17:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 c0R7s-9_yApU for <cfrg@ietfa.amsl.com>; Sun, 14 Aug 2016 23:17:55 -0700 (PDT)
Received: from mail-ua0-x22b.google.com (mail-ua0-x22b.google.com [IPv6:2607:f8b0:400c:c08::22b]) (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 DF26312B02E for <cfrg@irtf.org>; Sun, 14 Aug 2016 23:17:54 -0700 (PDT)
Received: by mail-ua0-x22b.google.com with SMTP id n59so61337386uan.2 for <cfrg@irtf.org>; Sun, 14 Aug 2016 23:17:54 -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:from:date:message-id :subject:to:cc; bh=CMJi7gx05trkTszL+L68brJoo/wp/OnYvTbCqswBdP8=; b=Xsu9fLzXs4kK/uCINm9xntrri1dWLJRwHU6hNaGAo1tIqcPq0v0kuHVhJ4k81XkErx Boh1PWmoePzh6OxJy5NxLLPMmlITpSerlpercR5o5hiPe/c8JT8boVD67H3SHhsMfT7i o2zba1TngQEL/B2p1yrrDMNQcNATfh4aH3Noq6htJTYloUsMaQnF8KiadqOH6Bcd7ZYJ u/fMUMEN50Qpr8Q6PmXR28LANrQE6UoHGJtK8umxfpvdBYLT1O9M/QT1oRs/scxAuQqS n10/KzZFTmwUIeaRczupWHGnODry1Vz2rSf2O1RXTUX2DmtJRr/iqXJpkoSk5LkJ0fYF TAOw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=CMJi7gx05trkTszL+L68brJoo/wp/OnYvTbCqswBdP8=; b=EZwNqw6BiBgU/VSE85AjjW7/ZPUA1995wXP5Ft+pg5PkemgkQ2wziZKc0O1dAXQPDH D8JWFpEIj7OKk+WjA0Na6aTUyhRjhC+LWrpyzSFER6blFb586Wtln4ykLZNYYCQfnqZY MJvqeXraYRtRVXiLX2nYXMgowBYym7npm0M+Xf5EgknuXKkx21rOpq21VhULiARRULAf 2dxv8bTqLJ0wuLpGPLCmQyD4ReKisiV/zG1C8zv9hxWiYxURyfl/wz1liNTv4BkU7JtC K2pWGT0QqsfPZZoiG2UgoVjSOhEhpPRlAjoj81kZzlWRAgzXOnVMeC6z/UJz6mHvGJUy okPw==
X-Gm-Message-State: AEkoouuXT6u94QmFA6I2UjG4Z8FOPxyn2WxwV8Kd0Vv6On/u/6US+d1391ltovdWLqOnupVvZL7UO+MZ3sG2sQ==
X-Received: by 10.31.109.193 with SMTP id i184mr6554919vkc.10.1471241873965; Sun, 14 Aug 2016 23:17:53 -0700 (PDT)
MIME-Version: 1.0
Sender: stefano.tessaro@gmail.com
Received: by 10.159.34.237 with HTTP; Sun, 14 Aug 2016 23:17:53 -0700 (PDT)
In-Reply-To: <CAGiyFdf3aZ7neHfptnha47FfucKXWJrbTziTWBHAhR0o-C4Bcg@mail.gmail.com>
References: <CAMgMiWcWts5LWsLD2bW8s1g1M0ZkRRc_PO-z2iE-iEoeTMAFRA@mail.gmail.com> <CAGiyFdf3aZ7neHfptnha47FfucKXWJrbTziTWBHAhR0o-C4Bcg@mail.gmail.com>
From: Stefano Tessaro <tessaro@cs.ucsb.edu>
Date: Sun, 14 Aug 2016 23:17:53 -0700
X-Google-Sender-Auth: QsMBqjmJEp3550nwmVtuG0G_acI
Message-ID: <CAEB_pdfpOji2KhkFYrFJCpmYirspSdfXvuX2Jfy+8vRcDhDEEQ@mail.gmail.com>
To: Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/NcUttT-V4eb-rP2Bj6QfuGOtBUs>
Cc: krzysztof pietrzak <krzpie@gmail.com>, cfrg@irtf.org
Subject: Re: [Cfrg] Balloon-Hashing or Argon2i.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Aug 2016 06:17:57 -0000

Hi Jean-Philippe,

> In the same spirit, I've often heard members of the theoretical crypto
> community arguing "I don't understand why AES is used, there's no security
> proof and it's only heuristical security." Well then.

I don't want to be nitpicking too much, but this is different. There
may be no security proofs for AES, but there are well-defined security
notions (concrete, not asymptotic) for which AES is not broken, and
these notions are pleasing both for applied and (practice-oriented)
theoretical cryptographers. One should probably differentiate between
different types of theoretical cryptographers --many of us here on
CFRG are completely comfortable with assuming AES satisfies a wide
range of properties.

Rather, an analogous situation to the AB16 attacks in this context
would be if we (hypothetically, for the sake of example) had a
O(2^{3/4n}) key-recovery attack against a generalized parameterized
version of AES with key and block length n, and we were debating
whether the hidden constant is smaller than 2^{40} for n = 128 on a
realistic real-world parallel architecture. It is not the type of
question with an easy answer.

Concretely, for memory hardness, I think there are two questions:

= Are the metrics in the [AB16] attacks realistic or not? If not
(which seems to be the claim), can we state precise metrics that would
be appealing to practitioners and that theoreticians can work with? I
don't think the issue is asymptotic vs concrete (every number can be
interpreted as a function of n or as a concrete value), but rather
*what* is being measured.

= Given a concrete metric we can all be happy with, can we translate
the [AB16] attacks into these metrics, and can they be optimized for
appropriate concrete parameters?

Note that I have no stakes in the attacks here, even though I do work
on proofs for memory-hard functions. Still, I would just prefer
important ideas (on both fronts) not to get lost in translation, as
progress seems to be constantly happening on both fronts, and the
theory community is gaining increasing interest in memory hardness.

If we end up with constructions as simple as Argon2i, but with
provable security in a meaningful metric, I don't quite see the harm.
(And we do have proofs for scrypt/Argon2d already.) It would be great
however to agree on such metric.

Best,
Stefano

-- 
Stefano Tessaro
Assistant Professor of Computer Science
University of California, Santa Barbara
http://cs.ucsb.edu/~tessaro/


From nobody Mon Aug 15 01:42:03 2016
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C01C12B059 for <cfrg@ietfa.amsl.com>; Mon, 15 Aug 2016 01:42:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.147
X-Spam-Level: 
X-Spam-Status: No, score=-3.147 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.247] autolearn=ham autolearn_force=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 708d3CS3HcC6 for <cfrg@ietfa.amsl.com>; Mon, 15 Aug 2016 01:42:00 -0700 (PDT)
Received: from welho-filter2.welho.com (welho-filter2.welho.com [83.102.41.24]) by ietfa.amsl.com (Postfix) with ESMTP id 31A1912B03D for <cfrg@ietf.org>; Mon, 15 Aug 2016 01:41:59 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id 23C7310723; Mon, 15 Aug 2016 11:41:58 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id ScvITGphz6_c; Mon, 15 Aug 2016 11:41:56 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-177-32.bb.dnainternet.fi [87.100.177.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id DF2C5285; Mon, 15 Aug 2016 11:41:56 +0300 (EEST)
Date: Mon, 15 Aug 2016 11:41:48 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Jim Schaad <ietf@augustcellars.com>
Message-ID: <20160815084147.kerumoxkyg4ugvyb@LK-Perkele-V2.elisa-laajakaista.fi>
References: <014901d1f42a$c8e10950$5aa31bf0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <014901d1f42a$c8e10950$5aa31bf0$@augustcellars.com>
User-Agent: Mutt/1.6.2-neo (2016-07-23)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/zvIcA_s9NB7MC0r2GaG35Ph0XMU>
Cc: cfrg@ietf.org
Subject: Re: [Cfrg] Open Issue List for draft-irtf-cfrg-eddsa-06
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Aug 2016 08:42:02 -0000

On Thu, Aug 11, 2016 at 04:47:53PM -0700, Jim Schaad wrote:
> The following is what I would consider to be on my open issue list for this
> draft to get to approval.  I have tried to triage the list according to my
> priorities.
> 
> 
> High Priority:
> 
> 1.  Fix the known security issue with EdDSA25519 and EdDSA25119ph:  I have
> provided what I consider to be an elegant solution for this with the
> modification from Ilari
> (https://mailarchive.ietf.org/arch/msg/cfrg/VkBtpUwNIJ1JFAka1NljgBXgwVo)
> And I was not the first, but my presentation is slightly different.

Did a WIP about algorithm modifications. Basically everything except
Ed25519 and Ed448 got modified.

I crosschecked the changes to the Python reference implementation
by modifying C implementation I have (turns out one has to only modify
tables that specify how schemes behave).

> Moderate Priority:
> 
> 1.  Remove the dom function from Ed448ph

Done in the WIP.

> Low Priority:
> 
> 1.  In section 5.1.7, explain the trade-off between the two formulas and why
> one is better than the other.

Added some text about this into Editor's Copy.
 
> 2.  Increase the size of the output of the Ed448ph if the security is not
> consistent between the 448 bit curve and the 512 bit hash.  It just looks
> odd because Ed25519 also uses a 512 bit pre-hash function.   My guess is
> that nothing needs to be done, but an explanation might be useful.

Added some text about this into Editor's Copy.

> 3.  Define the ctx version of EdDSA25519.   It would be nice, esp if we
> think that the context version is better even with null contexts, but if we
> solve the first issue this can be done later if we decide it is preferable.

Since that is easy to do once one has fix for the prehash issue, I did that
too (named the result "Ed25519ctx", just to avoid confusion).



-Ilari


From nobody Mon Aug 15 07:35:01 2016
Return-Path: <waywardgeek@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 785E412D933 for <cfrg@ietfa.amsl.com>; Mon, 15 Aug 2016 07:34:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=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=gmail.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 OTgaZVqKycUX for <cfrg@ietfa.amsl.com>; Mon, 15 Aug 2016 07:34:55 -0700 (PDT)
Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com [IPv6:2607:f8b0:4002:c05::229]) (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 8269812D92B for <cfrg@irtf.org>; Mon, 15 Aug 2016 07:34:54 -0700 (PDT)
Received: by mail-yw0-x229.google.com with SMTP id z8so27181543ywa.1 for <cfrg@irtf.org>; Mon, 15 Aug 2016 07:34:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=OoER52BMY8iBjQ5z5i8gZeHt3ogoc/W46S6KV0vLU8g=; b=yf+fltFImfmetVxSwsXJP7YzKptPdZICT2d1TMPaA25Qh07IKNVMDxZFTKl8kHyxC8 zBH9U3Ho+BVaG1xS2BTcTyj9tROcXzzUJ3UjakfEceZWS4dWUbk+/KPWErOhBPci6AoR RrkTfqfdOIDuKBVPbmVT0c4ciL+XAXY/T0E8cj2y0+97iwy207HqX3js9QAAt8E4Hyfo r2YR9Rw8mxHmMwlfZM0EYoXupylyyCmqbgNDJcubA1bTqqbpBQEpyLtII4tAEavptBuc oxHMADR7wW8QVdy3cSsO9SWv4oNusmRdh9Kigh+sbqTpGWfPotmgEv7xopEeRxpvwouE e52g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=OoER52BMY8iBjQ5z5i8gZeHt3ogoc/W46S6KV0vLU8g=; b=EKHUBbhzub93SsTvcUYU5qqFMfMMMrjNl0DuRLB3FGEbnKH7wrM1k3b8K5hNc5mTJY yTqVUt6i0NLC6E43+FbsYortX1M+HuQt/jTSe2mKGYhPJzFj36HRdHfu02elyql8XXxl PfEqiAVW7Zu9cui/fEz3vY0qc6UDIoPB8+aubzb1Ou8xEvI7Zx8rhAWgrKp4QHwfeznV U5MMqSvlAhI+yWeR3rEgvITtByMSxnVBkZLBTQfMLo/60utgG8JgIpeN2iZzc0U2YmNW 9vKjA5KaI5Yzq6YtEzn1j9g2jD/UXdPuGrnZUHgRbFKame6atefBPJtbWFwIJtBkkl6n AKLw==
X-Gm-Message-State: AEkooutEP6XfGHUfBTmYpHdIkWKNiZd6y1XAsSKHu3y8kav1P+ZjYtiTKIakyk65CKOh1XXjy03WUkXq0m9QSA==
X-Received: by 10.13.216.22 with SMTP id a22mr21376060ywe.5.1471271693829; Mon, 15 Aug 2016 07:34:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.53.17 with HTTP; Mon, 15 Aug 2016 07:34:53 -0700 (PDT)
In-Reply-To: <CAEB_pdfpOji2KhkFYrFJCpmYirspSdfXvuX2Jfy+8vRcDhDEEQ@mail.gmail.com>
References: <CAMgMiWcWts5LWsLD2bW8s1g1M0ZkRRc_PO-z2iE-iEoeTMAFRA@mail.gmail.com> <CAGiyFdf3aZ7neHfptnha47FfucKXWJrbTziTWBHAhR0o-C4Bcg@mail.gmail.com> <CAEB_pdfpOji2KhkFYrFJCpmYirspSdfXvuX2Jfy+8vRcDhDEEQ@mail.gmail.com>
From: Bill Cox <waywardgeek@gmail.com>
Date: Mon, 15 Aug 2016 07:34:53 -0700
Message-ID: <CAOLP8p7R3F2uZe+6c69O6m0CRoiU3E8KDMCZ9enNwAgcu3s_fA@mail.gmail.com>
To: Stefano Tessaro <tessaro@cs.ucsb.edu>
Content-Type: multipart/alternative; boundary=001a114e3e08add471053a1d22dd
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/U4dshtFN7vVyUKVyPaELuK6_dAY>
Cc: IRTF CFRG <cfrg@irtf.org>, krzysztof pietrzak <krzpie@gmail.com>
Subject: Re: [Cfrg] Balloon-Hashing or Argon2i.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Aug 2016 14:34:59 -0000

--001a114e3e08add471053a1d22dd
Content-Type: text/plain; charset=UTF-8

On Sun, Aug 14, 2016 at 11:17 PM, Stefano Tessaro <tessaro@cs.ucsb.edu>
wrote:

>
> Concretely, for memory hardness, I think there are two questions:
>
> = Are the metrics in the [AB16] attacks realistic or not? If not
> (which seems to be the claim), can we state precise metrics that would
> be appealing to practitioners and that theoreticians can work with?


Correct, I do claim they are unrealistic.  I like their quality measure:
total energy.  The problem is their model was simplified too much.  In
particular:

1) The energy in DRAM is dominated by the high-speed interface
<http://people.duke.edu/~bcl15/documents/malladi2012-micro.pdf>.  Adding
additional size to the DRAM increases power slightly, and not at all
proportionally.  Storing data in a tiny capacitor continues to be super
efficient in terms of power in general.

2) There was no model for the power required for parallel cores to
communicate between them, and as a die gets large (they assumed up to
500mm^2), this power will dominate in their attack.

The right approach to analyzing ASIC attacks is to iterate with the ASIC
design community.  Every new model is an advance, but to make them more
effective we need to adapt them to make them more realistic.

I strongly agree with Jean-Philippe Aumasson above.  Any theoretical notion
of security needs to be tested fleshed out and tested in more realistic
attacks.  Any realistic ASIC attack will have to specify H.  We'll hear
about how the attacker takes advantage of deep pipelining and interleaving
to do multiple attacks in parallel more efficiently.  We'll hear about
custom cache architectures.  We'll also hear about exactly how data will
get routed between cores, and all of these various components will have
size and power estimates.

I have worked with ASICs for many years, but I do not consider myself a
world-class expert in ASIC design, nor am I familiar with changes in ASIC
design in the age of fin-fets.  However, I would be happy to help flesh out
more realistic attacks for anyone who wants to see how their model might
work in a real ASIC attack.

Bill

--001a114e3e08add471053a1d22dd
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On S=
un, Aug 14, 2016 at 11:17 PM, Stefano Tessaro <span dir=3D"ltr">&lt;<a href=
=3D"mailto:tessaro@cs.ucsb.edu" target=3D"_blank">tessaro@cs.ucsb.edu</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Concretely, for memory hardness, I think there are two questions:<br>
<br>
=3D Are the metrics in the [AB16] attacks realistic or not? If not<br>
(which seems to be the claim), can we state precise metrics that would<br>
be appealing to practitioners and that theoreticians can work with?</blockq=
uote><div><br></div><div>Correct, I do claim they are unrealistic.=C2=A0 I =
like their quality measure: total energy.=C2=A0 The problem is their model =
was simplified too much.=C2=A0 In particular:</div><div><br></div><div>1) T=
he energy in DRAM is <a href=3D"http://people.duke.edu/~bcl15/documents/mal=
ladi2012-micro.pdf">dominated by the high-speed interface</a>.=C2=A0 Adding=
 additional size to the DRAM increases power slightly, and not at all propo=
rtionally.=C2=A0 Storing data in a tiny capacitor continues to be super eff=
icient in terms of power in general.</div><div><br></div><div>2) There was =
no model for the power required for parallel cores to communicate between t=
hem, and as a die gets large (they assumed up to 500mm^2), this power will =
dominate in their attack.</div><div><br></div><div>The right approach to an=
alyzing ASIC attacks is to iterate with the ASIC design community.=C2=A0 Ev=
ery new model is an advance, but to make them more effective we need to ada=
pt them to make them more realistic.</div><div><br></div><div>I strongly ag=
ree with=C2=A0Jean-Philippe Aumasson above.=C2=A0 Any theoretical notion of=
 security needs to be tested fleshed out and tested in more realistic attac=
ks.=C2=A0 Any realistic ASIC attack will have to specify H.=C2=A0 We&#39;ll=
 hear about how the attacker takes advantage of deep pipelining and interle=
aving to do multiple attacks in parallel more efficiently.=C2=A0 We&#39;ll =
hear about custom cache architectures.=C2=A0 We&#39;ll also hear about exac=
tly how data will get routed between cores, and all of these various compon=
ents will have size and power estimates.</div><div><br></div><div>I have wo=
rked with ASICs for many years, but I do not consider myself a world-class =
expert in ASIC design, nor am I familiar with changes in ASIC design in the=
 age of fin-fets.=C2=A0 However, I would be happy to help flesh out more re=
alistic attacks for anyone who wants to see how their model might work in a=
 real ASIC attack.</div><div><br></div><div>Bill</div></div></div></div>

--001a114e3e08add471053a1d22dd--


From nobody Mon Aug 15 15:37:20 2016
Return-Path: <rogaway@cs.ucdavis.edu>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7174512D77D for <cfrg@ietfa.amsl.com>; Mon, 15 Aug 2016 15:37:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.447
X-Spam-Level: 
X-Spam-Status: No, score=-5.447 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.247] autolearn=ham autolearn_force=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 Tz_nfC_P-Eet for <cfrg@ietfa.amsl.com>; Mon, 15 Aug 2016 15:37:17 -0700 (PDT)
Received: from smtp1.ucdavis.edu (smtp1.ucdavis.edu [128.120.32.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5DD8A12D53A for <cfrg@irtf.org>; Mon, 15 Aug 2016 15:37:17 -0700 (PDT)
Received: from ocb.cs.ucdavis.edu (ocb.cs.ucdavis.edu [169.237.6.151]) by smtp1.ucdavis.edu (8.14.4/8.14.5/it-oel6-mimedefang-smtp-2.0) with ESMTP id u7FMbFEx021060 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <cfrg@irtf.org>; Mon, 15 Aug 2016 15:37:16 -0700
Received: from localhost (ocb.cs.ucdavis.edu [169.237.6.151]) by ocb.cs.ucdavis.edu (8.14.3/8.14.1/Debian-8ubuntu1) with ESMTP id u7FMbEpw019823 for <cfrg@irtf.org>; Mon, 15 Aug 2016 15:37:15 -0700
Date: Mon, 15 Aug 2016 15:37:21 -0700 (Pacific Daylight Time)
From: Phillip Rogaway <rogaway@cs.ucdavis.edu>
To: cfrg@irtf.org
In-Reply-To: <mailman.995.1471241877.1171.cfrg@irtf.org>
Message-ID: <alpine.WNT.2.00.1608151525480.8540@RogawaySamsung9>
References: <mailman.995.1471241877.1171.cfrg@irtf.org>
User-Agent: Alpine 2.00 (WNT 1167 2008-08-23)
X-X-Sender: rogaway@[RogawaySamsung9]
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6 (smtp1.ucdavis.edu [128.120.32.8]); Mon, 15 Aug 2016 15:37:16 -0700 (PDT)
X-Virus-Scanned: clamav-milter 0.98.1 at smtp1
X-Virus-Status: Clean
X-Scanned-By: MIMEDefang 2.74
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/Xu9hCT6dqVmD50CezeR1MFsos0o>
Subject: [Cfrg] Argon2i, scrypt, balloon hashing, ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Aug 2016 22:37:18 -0000

I would like to gently suggest the CFRG not move 
forward with blessing any memory-hard hash function 
at this time.  The area seems too much 
in flux, at this time, for this to be desirable. 
Really nice results are coming out apace. 
Standards can come too early, you know, just as 
they can come out too late.


phil


From nobody Mon Aug 15 19:38:29 2016
Return-Path: <krzpie@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2EDA712D10D for <cfrg@ietfa.amsl.com>; Mon, 15 Aug 2016 19:38:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 s4JVv7H313Xm for <cfrg@ietfa.amsl.com>; Mon, 15 Aug 2016 19:38:26 -0700 (PDT)
Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::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 D74E812D08E for <cfrg@irtf.org>; Mon, 15 Aug 2016 19:38:25 -0700 (PDT)
Received: by mail-wm0-x232.google.com with SMTP id f65so118078628wmi.0 for <cfrg@irtf.org>; Mon, 15 Aug 2016 19:38:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:from:date:message-id:subject:to:cc; bh=vgsuAsJSGH3V3EhLVkuDjngpFsWVspvZywY0cK+T0f8=; b=cTHWpj2aPvRabHW3JVteqsLWzYMOEA6c9Qtvl8nFcx+2HYLBsvjjMWpOxA+sZnqVe+ HhCiyQFaOKlOP49WNsH2iEv0cmUwgmONlLpqjVvFy+W+n+alxMBw4Rr1uZU9p8MHgapM eDFOoErQBtF5flr5I90JaWFEf63sCgxogU7P/H4sSP44uVmG4jBN0msRvTKBH9L2P1oO sCPrX//mMEsK324s5EdjuEE4aGC3Jq0N0AmGxv3Krq09qhtPmrm9NdowYowaGD3hsir/ evqHeKvTFqII0S/+JSaL6e9W1+vjv8hXyblDUbENyUdmJbDNMNEHf0I7Kr2UTSXcLpet Rmzg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=vgsuAsJSGH3V3EhLVkuDjngpFsWVspvZywY0cK+T0f8=; b=jywvWZkBQcMNMCJIDNHG+tfMhechbedn0ce2NSF7DFGa+io+bzBH05ro1ebkL9W2bR nc85NK1+MrE1TjBidZMSoFyU8D36n8X5kDnYUG0rutUvhyzP/O4iBIcbNJy2H9scOI3+ YCI5wH1NXczc3QPc/7uAlk3cj3TOIB+V7rY+8PssUEf2jS0E/OyIZVVSWnJp4dOLWbId BWQcDtx6gRWndPRhsaai/rOLaBDaSZmmY9687kCES4G56gPbuEBKq4bJgfjRYgmXztZY LujX9nVf+fnmwxEJCWsu9UW189K+tr+D+naRtmaeWaSVWZtcLjq0oA2CR4WBX8ptU5IM JlYw==
X-Gm-Message-State: AEkoouv5bwHfXY5utmkfImPcJxW3WrOV9BDcz8ahD42kD3694btIC4ebO3C4CPnWlN/0oIINlHpnV43Ou5KrjA==
X-Received: by 10.25.24.85 with SMTP id o82mr5231074lfi.23.1471315104204; Mon, 15 Aug 2016 19:38:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.114.10.168 with HTTP; Mon, 15 Aug 2016 19:38:23 -0700 (PDT)
From: krzysztof pietrzak <krzpie@gmail.com>
Date: Tue, 16 Aug 2016 04:38:23 +0200
Message-ID: <CAMgMiWfPZUA4wzPw+T43R8KeVq1va8qshp2Oa24AhhX2SAgTmw@mail.gmail.com>
To: IRTF CFRG <cfrg@irtf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/JTYQDGgsj2dpiNBNtKCgMgyBcU4>
Subject: Re: [Cfrg] Balloon-Hashing or Argon2i.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Aug 2016 02:38:28 -0000

Hi,

Evaluating for which parameters/hardware the AB16 attack is successful
certainly requires an understanding of the underlying hardware, and
looking at the ongoing discussion I don't think there will be any
consent on where the bound which makes the attack practical lies until
someone actually implements it in hardware.

But fortunately, if you need an MHFs and you're not paranoid about
using a provably secure one, we do know how to construct (data
dependent and independent) MHFs which are secure for all parameters
independent of the properties of the underlying hardware.

The comparison made with AES in a previous post is not very good, as
AES or SHA3 are cryptographic building blocks, but an MHF is a mode of
operation. Whereas evaluating building blocks requires cryptanalysis,
modes of operation usually can be proven secure unconditionally making
assumptions on the underlying building blocks, and MHFs are no
different in this aspect.

For example, assume storing one block (512 bits) for one unit of time
cost 1, and evaluating the underlying building block costs R (cost can
be e.g. electricity or AT complexity, R=3000 has been used as a
parameter for AT in MHF attacks papers). Then evaluating Scrypt
(RoMix) using the naive algorithm (which only has sequential access to
H(.)) for n blocks of memory costs n^2+R*r \approx n^2 (as typically R
<< n). Recently it was shown that, assuming the underlying building
block H(.) is modelled as a random function, even an adversary who can
make exponentially many calls to H(.) *for free* and amortize over
exponentially many calls, will have cost z*n^2 for some constant z>0.

So, even as n goes to infinity and evaluating H(.) is free (for the
adversary), any adversarial strategy can save at most a constant
factor 1/z in cost (of course, if the memory of the attacker is
cheaper/more energy efficient than the honest parties' to start with,
that factor comes in additionally). We also have data independent MHFs
that satisfy this.

All of the iMHF submitted to the PHC can be evaluated at amortized cost

n^c + cost(R,n)

for some constant c<2 and where cost(R,n) is the cost of evaluating
H(.) n^c' (for some c'<2) times. The constant c is <1.75 for
Argon2i,Rig.v2 and Gambit, <1.83 for Pomelo, <1.63 for Lyra2, <1.67
for Catena (for Pomelo and Lyra this only applies to the first -- data
independent -- phase).

Unlike in the security proof, for an attack we cannot ignore the
cost(R,n) term; whether we have a practical attack depends on whether
the attack quality

n^2 / (n^c+cost(R,n))

is greater than 1. The cost(R,n) term is different for the various
constructions and depends on the hardware. So, if you want to use any
of these constructions, you must certify that for the parameters
you're interested in, any hardware options and all trade-offs (e.g. on
the number of parallel cores) that the [AB16] attacks allows, this
quality is small, and then pray that no better attacks are found. Or
you could not care about that and use a mode where the parallel
cumulative memory complexity and the sequential space/time complexity
are proven to be of the same order (Scrypt for data dependent or a
mode based on an optimally depth-robust graph for data-independent
MHFs).

Krzysztof

On Mon, Aug 15, 2016 at 4:34 PM, Bill Cox <waywardgeek@gmail.com> wrote:
> On Sun, Aug 14, 2016 at 11:17 PM, Stefano Tessaro <tessaro@cs.ucsb.edu>
> wrote:
>>
>>
>> Concretely, for memory hardness, I think there are two questions:
>>
>> = Are the metrics in the [AB16] attacks realistic or not? If not
>> (which seems to be the claim), can we state precise metrics that would
>> be appealing to practitioners and that theoreticians can work with?
>
>
> Correct, I do claim they are unrealistic.  I like their quality measure:
> total energy.  The problem is their model was simplified too much.  In
> particular:
>
> 1) The energy in DRAM is dominated by the high-speed interface.  Adding
> additional size to the DRAM increases power slightly, and not at all
> proportionally.  Storing data in a tiny capacitor continues to be super
> efficient in terms of power in general.
>
> 2) There was no model for the power required for parallel cores to
> communicate between them, and as a die gets large (they assumed up to
> 500mm^2), this power will dominate in their attack.
>
> The right approach to analyzing ASIC attacks is to iterate with the ASIC
> design community.  Every new model is an advance, but to make them more
> effective we need to adapt them to make them more realistic.
>
> I strongly agree with Jean-Philippe Aumasson above.  Any theoretical notion
> of security needs to be tested fleshed out and tested in more realistic
> attacks.  Any realistic ASIC attack will have to specify H.  We'll hear
> about how the attacker takes advantage of deep pipelining and interleaving
> to do multiple attacks in parallel more efficiently.  We'll hear about
> custom cache architectures.  We'll also hear about exactly how data will get
> routed between cores, and all of these various components will have size and
> power estimates.
>
> I have worked with ASICs for many years, but I do not consider myself a
> world-class expert in ASIC design, nor am I familiar with changes in ASIC
> design in the age of fin-fets.  However, I would be happy to help flesh out
> more realistic attacks for anyone who wants to see how their model might
> work in a real ASIC attack.
>
> Bill



-- 
Krzysztof Pietrzak

Professor
Cryptography

Institute of Science and Technology Austria (IST Austria)
Am Campus 1
A-3400 Klosterneuburg
Austria
Web:    http://pub.ist.ac.at/crypto/
Phone: +43(0)2243 90004601
Cell:     +43-(0)664 88687692
Email:  pietrzak@ist.ac.at


From jblocki@purdue.edu  Mon Aug 15 22:48:36 2016
Return-Path: <jblocki@purdue.edu>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0A86112D135 for <cfrg@ietfa.amsl.com>; Mon, 15 Aug 2016 22:48:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.847
X-Spam-Level: 
X-Spam-Status: No, score=-3.847 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.247] autolearn=ham autolearn_force=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 TVsYKQjOVd3T for <cfrg@ietfa.amsl.com>; Mon, 15 Aug 2016 22:48:33 -0700 (PDT)
Received: from mailhub130.itcs.purdue.edu (mailhub130.itcs.purdue.edu [128.210.5.130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7A93012D11A for <cfrg@irtf.org>; Mon, 15 Aug 2016 22:48:33 -0700 (PDT)
Received: from exchange.purdue.edu (exchange.purdue.edu [128.210.1.29]) by mailhub130.itcs.purdue.edu (8.14.4/8.14.4/mta-nopmx.smtp.purdue.edu) with ESMTP id u7G5mVMA031968 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Tue, 16 Aug 2016 01:48:31 -0400
Received: from wppexc07.purdue.lcl (172.30.136.180) by wppexc12.purdue.lcl (172.30.136.185) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Tue, 16 Aug 2016 01:48:31 -0400
Received: from wppexc07.purdue.lcl ([fe80::49db:3fa0:d668:8da4]) by wppexc07.purdue.lcl ([fe80::49db:3fa0:d668:8da4%14]) with mapi id 15.00.1178.000; Tue, 16 Aug 2016 01:48:31 -0400
From: "Blocki, Jeremiah Martin" <jblocki@purdue.edu>
To: krzysztof pietrzak <krzpie@gmail.com>, IRTF CFRG <cfrg@irtf.org>
Thread-Topic: [Cfrg] Balloon-Hashing or Argon2i.
Thread-Index: AQHR92dMPYLfu1YB+EK9KIN5ClMiA6BLE77P
Date: Tue, 16 Aug 2016 05:48:30 +0000
Message-ID: <1471326511582.72254@purdue.edu>
References: <CAMgMiWfPZUA4wzPw+T43R8KeVq1va8qshp2Oa24AhhX2SAgTmw@mail.gmail.com>
In-Reply-To: <CAMgMiWfPZUA4wzPw+T43R8KeVq1va8qshp2Oa24AhhX2SAgTmw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [169.231.56.108]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-PMX-Version: 6.0.2.2308539
X-PerlMx-URL-Scanned: Yes
X-PerlMx-Virus-Scanned: Yes
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/TyCedIQNlRS9CLIhOUs_V5TjJj8>
Subject: Re: [Cfrg] Balloon-Hashing or Argon2i.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Aug 2016 05:50:33 -0000

I would like to add a couple of thoughts to the discussion:=0A=
1) One of the main points of the new paper is that we don=92t actually need=
 so much parallelism/bandwidth to obtain effective attacks (specifically se=
e Section 6.6 in the paper). Just to highlight one result: for single pass =
Argon2i we can get high quality attacks even with parallelism <=3D50.=0A=
=0A=
2) The routing costs are being amortized over *many* Argon2i instances.=0A=
=0A=
3) We could already view routing costs as being included in the core memory=
-energy ratio R. We defined R as =93the energy cost to compute the compress=
ion function on chip=94 divided by =93the energy necessary to store one blo=
ck (e.g., 1KB) in memory for one round.=94 However, one could just as easil=
y view R as "the energy cost to compute the compression function and route =
one block from memory to the appropriate core=94 divided by "the energy nec=
essary to store one block (e.g., 1KB) in memory for one round".=0A=
=0A=
4) The value of R is architecture and technology dependent. It would be pro=
ductive to have a discussion of the range of values we might expect R to ta=
ke. We used the value R=3D3000 in our experiments (following previous works=
).=0A=
=0A=
For example, unless the cost to route one block from memory is significantl=
y higher than the cost to compute the compression function the value of R w=
ill not increase significantly when we roll routing costs into the core mem=
ory-energy ratio. I am open to hearing dissenting opinions!=0A=
=0A=
One observation we made already is that the concrete quality of the attack =
is not very sensitive to variations in the value of R. For example doubling=
 R seems to only marginally decreases attack quality.=0A=
=0A=
Dmitry:=0A=
=0A=
First, thanks for pointing out that the block size for Balloon Hashing is 5=
12bits as opposed to 512 Bytes. This means that the graphs should be shifte=
d left as you pointed out. In particular, the AB16 attacks are even *more* =
effective against the Balloon Hashing iMHF.=0A=
=0A=
> I have not checked the details of improvements yet, but I feel that =0A=
> one of conclusions is incorrect.=0A=
>=0A=
> The authors say  "More generally, the parameter selection process in =0A=
> the proposal is flawed in that it tends towards producing parameters =0A=
> for which the attack is successful". Concretely, for 1 GB on Figure 1 =0A=
> we see that the attack on 1-pass Argon2i has quality 5, 3-pass -- =0A=
> quality 3, 4-pass -- quality 2.5, 6-pass -- quality 2, 10 passes -- quali=
ty 1.5.=0A=
=0A=
The sentence may have been worded too strongly. Our point was that the para=
meter selection process will often lead to the selection of parameters (e.g=
., \tau=3D1 pass) for which attack quality is highest. Our measure of attac=
k quality quantifies how attractive the [AB16] attacks would be for the adv=
ersary once all of the parameters are fixed.=0A=
=0A=
If the goal is instead to maximize the adversary=92s costs subject to a con=
straint on honest running time with no additional constraints on maximum ho=
nest memory usage then \tau=3D1 pass may indeed be the right choice of para=
meter. Whether or not this is the case does depend on the exact quality of =
the attack for different settings of honest memory usage and number of pass=
es.=0A=
=0A=
________________________________________=0A=
From: Cfrg <cfrg-bounces@irtf.org> on behalf of krzysztof pietrzak <krzpie@=
gmail.com>=0A=
Sent: Monday, August 15, 2016 10:38 PM=0A=
To: IRTF CFRG=0A=
Subject: Re: [Cfrg] Balloon-Hashing or Argon2i.=0A=
=0A=
Hi,=0A=
=0A=
Evaluating for which parameters/hardware the AB16 attack is successful=0A=
certainly requires an understanding of the underlying hardware, and=0A=
looking at the ongoing discussion I don't think there will be any=0A=
consent on where the bound which makes the attack practical lies until=0A=
someone actually implements it in hardware.=0A=
=0A=
But fortunately, if you need an MHFs and you're not paranoid about=0A=
using a provably secure one, we do know how to construct (data=0A=
dependent and independent) MHFs which are secure for all parameters=0A=
independent of the properties of the underlying hardware.=0A=
=0A=
The comparison made with AES in a previous post is not very good, as=0A=
AES or SHA3 are cryptographic building blocks, but an MHF is a mode of=0A=
operation. Whereas evaluating building blocks requires cryptanalysis,=0A=
modes of operation usually can be proven secure unconditionally making=0A=
assumptions on the underlying building blocks, and MHFs are no=0A=
different in this aspect.=0A=
=0A=
For example, assume storing one block (512 bits) for one unit of time=0A=
cost 1, and evaluating the underlying building block costs R (cost can=0A=
be e.g. electricity or AT complexity, R=3D3000 has been used as a=0A=
parameter for AT in MHF attacks papers). Then evaluating Scrypt=0A=
(RoMix) using the naive algorithm (which only has sequential access to=0A=
H(.)) for n blocks of memory costs n^2+R*r \approx n^2 (as typically R=0A=
<< n). Recently it was shown that, assuming the underlying building=0A=
block H(.) is modelled as a random function, even an adversary who can=0A=
make exponentially many calls to H(.) *for free* and amortize over=0A=
exponentially many calls, will have cost z*n^2 for some constant z>0.=0A=
=0A=
So, even as n goes to infinity and evaluating H(.) is free (for the=0A=
adversary), any adversarial strategy can save at most a constant=0A=
factor 1/z in cost (of course, if the memory of the attacker is=0A=
cheaper/more energy efficient than the honest parties' to start with,=0A=
that factor comes in additionally). We also have data independent MHFs=0A=
that satisfy this.=0A=
=0A=
All of the iMHF submitted to the PHC can be evaluated at amortized cost=0A=
=0A=
n^c + cost(R,n)=0A=
=0A=
for some constant c<2 and where cost(R,n) is the cost of evaluating=0A=
H(.) n^c' (for some c'<2) times. The constant c is <1.75 for=0A=
Argon2i,Rig.v2 and Gambit, <1.83 for Pomelo, <1.63 for Lyra2, <1.67=0A=
for Catena (for Pomelo and Lyra this only applies to the first -- data=0A=
independent -- phase).=0A=
=0A=
Unlike in the security proof, for an attack we cannot ignore the=0A=
cost(R,n) term; whether we have a practical attack depends on whether=0A=
the attack quality=0A=
=0A=
n^2 / (n^c+cost(R,n))=0A=
=0A=
is greater than 1. The cost(R,n) term is different for the various=0A=
constructions and depends on the hardware. So, if you want to use any=0A=
of these constructions, you must certify that for the parameters=0A=
you're interested in, any hardware options and all trade-offs (e.g. on=0A=
the number of parallel cores) that the [AB16] attacks allows, this=0A=
quality is small, and then pray that no better attacks are found. Or=0A=
you could not care about that and use a mode where the parallel=0A=
cumulative memory complexity and the sequential space/time complexity=0A=
are proven to be of the same order (Scrypt for data dependent or a=0A=
mode based on an optimally depth-robust graph for data-independent=0A=
MHFs).=0A=
=0A=
Krzysztof=0A=
=0A=
On Mon, Aug 15, 2016 at 4:34 PM, Bill Cox <waywardgeek@gmail.com> wrote:=0A=
> On Sun, Aug 14, 2016 at 11:17 PM, Stefano Tessaro <tessaro@cs.ucsb.edu>=
=0A=
> wrote:=0A=
>>=0A=
>>=0A=
>> Concretely, for memory hardness, I think there are two questions:=0A=
>>=0A=
>> =3D Are the metrics in the [AB16] attacks realistic or not? If not=0A=
>> (which seems to be the claim), can we state precise metrics that would=
=0A=
>> be appealing to practitioners and that theoreticians can work with?=0A=
>=0A=
>=0A=
> Correct, I do claim they are unrealistic.  I like their quality measure:=
=0A=
> total energy.  The problem is their model was simplified too much.  In=0A=
> particular:=0A=
>=0A=
> 1) The energy in DRAM is dominated by the high-speed interface.  Adding=
=0A=
> additional size to the DRAM increases power slightly, and not at all=0A=
> proportionally.  Storing data in a tiny capacitor continues to be super=
=0A=
> efficient in terms of power in general.=0A=
>=0A=
> 2) There was no model for the power required for parallel cores to=0A=
> communicate between them, and as a die gets large (they assumed up to=0A=
> 500mm^2), this power will dominate in their attack.=0A=
>=0A=
> The right approach to analyzing ASIC attacks is to iterate with the ASIC=
=0A=
> design community.  Every new model is an advance, but to make them more=
=0A=
> effective we need to adapt them to make them more realistic.=0A=
>=0A=
> I strongly agree with Jean-Philippe Aumasson above.  Any theoretical noti=
on=0A=
> of security needs to be tested fleshed out and tested in more realistic=
=0A=
> attacks.  Any realistic ASIC attack will have to specify H.  We'll hear=
=0A=
> about how the attacker takes advantage of deep pipelining and interleavin=
g=0A=
> to do multiple attacks in parallel more efficiently.  We'll hear about=0A=
> custom cache architectures.  We'll also hear about exactly how data will =
get=0A=
> routed between cores, and all of these various components will have size =
and=0A=
> power estimates.=0A=
>=0A=
> I have worked with ASICs for many years, but I do not consider myself a=
=0A=
> world-class expert in ASIC design, nor am I familiar with changes in ASIC=
=0A=
> design in the age of fin-fets.  However, I would be happy to help flesh o=
ut=0A=
> more realistic attacks for anyone who wants to see how their model might=
=0A=
> work in a real ASIC attack.=0A=
>=0A=
> Bill=0A=
=0A=
=0A=
=0A=
--=0A=
Krzysztof Pietrzak=0A=
=0A=
Professor=0A=
Cryptography=0A=
=0A=
Institute of Science and Technology Austria (IST Austria)=0A=
Am Campus 1=0A=
A-3400 Klosterneuburg=0A=
Austria=0A=
Web:    http://pub.ist.ac.at/crypto/=0A=
Phone: +43(0)2243 90004601=0A=
Cell:     +43-(0)664 88687692=0A=
Email:  pietrzak@ist.ac.at=0A=
=0A=
_______________________________________________=0A=
Cfrg mailing list=0A=
Cfrg@irtf.org=0A=
https://www.irtf.org/mailman/listinfo/cfrg=0A=


From nobody Mon Aug 15 23:48:39 2016
Return-Path: <waywardgeek@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2BDC412B050 for <cfrg@ietfa.amsl.com>; Mon, 15 Aug 2016 23:48:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 IH7M0G_5YJqV for <cfrg@ietfa.amsl.com>; Mon, 15 Aug 2016 23:48:36 -0700 (PDT)
Received: from mail-yb0-x229.google.com (mail-yb0-x229.google.com [IPv6:2607:f8b0:4002:c09::229]) (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 DC78212B01B for <cfrg@irtf.org>; Mon, 15 Aug 2016 23:48:35 -0700 (PDT)
Received: by mail-yb0-x229.google.com with SMTP id a1so4026343ybi.0 for <cfrg@irtf.org>; Mon, 15 Aug 2016 23:48:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=L7Eu/55jNwDU4XwuDg1TdGpRqEhb6zPtSQLaZR1Q4bU=; b=NGq8QtglquZ7KXPOpSTeUAC8X0E7+oyZjNEozrwfdO9ARCKvFCv4jvc/084L+u9mcA 9Gqerb1zBJDKMys3jI5TzX0lUIUPK2iD90rMCKEuvglznclBH+/7iD3HuCO8BUvmD3+e GaagZEa9xWPvVppYoAvsGAWxNhWubrem8WNWMNp2cz297k0/J1hZNwgujpY6GxNjFKl+ VEY+uWObHSXysIrC/mxHAUU9IXh2IBwYKzyNxxoq1TmntUVHSzlzvJ3S2Qx3Oq8928jQ gpfyt3xERC2RftX6wBHz9WPXncFU+Ig/nHKXWQzdWjqi7nJq60jCN5PM5ZLh+DwQiNgb YM7A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=L7Eu/55jNwDU4XwuDg1TdGpRqEhb6zPtSQLaZR1Q4bU=; b=Q1DX7+ZT1hlVetV8j1ykBd46o7Nqu7FCxQfd5RqpP6hoGjXsuGkuyZa7//dpmBA299 Jafpxzz5DxgxooO59aoq2FmAeDmihGu6ObobrkJDuNi0iW0pWyMa+RRxpS4ViPReD37r 0X5BFFK3DTFuX1fbU/gqfe4AyUitqSblYjRxBEJr2q8EjO1oF2XKfBD8O95pJh5vJe4z sbAMlWKmKhwFvST0eJVWZTuXUBj/LDcH0ZX0q+4w2L8A4zL9tbPvVMm+jmHWuZVTdnVD KWVwHX+RrT78Qzgcxq/S+HGjuhXjydJ6JC1FPwe8NpOMk0GBNaneQKkaP74AxBeOEiV9 cPhA==
X-Gm-Message-State: AEkooutaQ2+ou1tvU1NyPWalVLPDkv1UvwZloOTkb+1agAOo/GoS9XUk7UrYX5aeEZqTY/ucTsBAThEAP/H8Jw==
X-Received: by 10.37.33.197 with SMTP id h188mr15817940ybh.50.1471330115091; Mon, 15 Aug 2016 23:48:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.53.17 with HTTP; Mon, 15 Aug 2016 23:48:34 -0700 (PDT)
In-Reply-To: <CAMgMiWfPZUA4wzPw+T43R8KeVq1va8qshp2Oa24AhhX2SAgTmw@mail.gmail.com>
References: <CAMgMiWfPZUA4wzPw+T43R8KeVq1va8qshp2Oa24AhhX2SAgTmw@mail.gmail.com>
From: Bill Cox <waywardgeek@gmail.com>
Date: Mon, 15 Aug 2016 23:48:34 -0700
Message-ID: <CAOLP8p6E-Y7a9WK6DCTqT_NYEiD03p4i_z0T_S_Xhr291=zyhg@mail.gmail.com>
To: krzysztof pietrzak <krzpie@gmail.com>
Content-Type: multipart/alternative; boundary=001a114388d8db8196053a2abc20
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/pCCHdmL1lt0M6CsR4EFD5-4a2mM>
Cc: IRTF CFRG <cfrg@irtf.org>
Subject: Re: [Cfrg] Balloon-Hashing or Argon2i.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Aug 2016 06:48:38 -0000

--001a114388d8db8196053a2abc20
Content-Type: text/plain; charset=UTF-8

On Mon, Aug 15, 2016 at 7:38 PM, krzysztof pietrzak <krzpie@gmail.com>
wrote:


> For example, assume storing one block (512 bits) for one unit of time
> cost 1, and evaluating the underlying building block costs R (cost can
> be e.g. electricity or AT complexity, R=3000 has been used as a
> parameter for AT in MHF attacks papers).


This is an interesting model, but does not match real hardware very well,
IMO.  Instead of modeling the DRAM power by the static power which is
comparatively low, why not model the power as a constant plus a constant
times the rate of read/writes?  I think that would be a lot closer to what
we see in DDR3 and GDDR5.  I think it also will hold with a theoretical
through-silicon-via based stacked-die DRAM + ASIC.

Then evaluating Scrypt
> (RoMix) using the naive algorithm (which only has sequential access to
> H(.)) for n blocks of memory costs n^2+R*r \approx n^2 (as typically R
> << n).


Since R is the cost of evaluating H, can I assume r is the number of times
we call H?  In Scrypt, normally r = 2*n.  In this case, I assume n^2 is the
static power loss in the memory.  If so, then I think R >> n.  Also, we've
left out the dynamic power of the memory, which is likely on the order of
the power of computing H for a read or write.

I would prefer to model the power more like this.  Assume h is the power of
evaluating H and m is the power of a read or write to memory of one block.
I would ignore static power in the DRAM, which contributes little to
heading real DRAMs.  For Scrypt, the normal energy used would be 2*h + 2*m.

Recently it was shown that, assuming the underlying building
> block H(.) is modelled as a random function, even an adversary who can
> make exponentially many calls to H(.) *for free* and amortize over
> exponentially many calls, will have cost z*n^2 for some constant z>0.
>

You lost me there.  If I can compute H for free (zero power), then I'd
simply recompute every value from the initial block, and avoid the power
needed to read or write to DRAM.  Wouldn't the total power be zero?  Is the
argument that the cores each need to have 1 block saved, and the static
power of storing those block is still O(n^2)?  Is this some sort of
hardened by static power defense?

Foundries routinely design low-power processes with many orders of
magnitude less static power than what we see in modern CPUs.  Hardening
MHFs based on static power is not going to work out well for the defender.
The energy cost of storing bits that are not accessed can be made very
close to zero.  Consider flash memory.  The power to read and write is
huge, but just sitting there waiting to be accessed, these tiny capacitors
holding the charge will maintain that charge reliably for over 10 years.
We should assume that the power is dominated by read/write, not the power
required to store some number of bits over time.

>
> All of the iMHF submitted to the PHC can be evaluated at amortized cost
>
> n^c + cost(R,n)
>
> for some constant c<2 and where cost(R,n) is the cost of evaluating
> H(.) n^c' (for some c'<2) times. The constant c is <1.75 for
> Argon2i,Rig.v2 and Gambit, <1.83 for Pomelo, <1.63 for Lyra2, <1.67
> for Catena (for Pomelo and Lyra this only applies to the first -- data
> independent -- phase).
>

Is the n^c term the static power term for storing the data?  If so, it
would be best to ignore it.  Read/write costs will dominate over it.


> Unlike in the security proof, for an attack we cannot ignore the
> cost(R,n) term; whether we have a practical attack depends on whether
> the attack quality
>
> n^2 / (n^c+cost(R,n))
>
> is greater than 1.


What about the read/write cost?  If n^2 is the static power loss, which we
can reduce by a factor of a million easily in the fab, then I would not
count on n^2 being significant.


> The cost(R,n) term is different for the various
> constructions and depends on the hardware. So, if you want to use any
> of these constructions, you must certify that for the parameters
> you're interested in, any hardware options and all trade-offs (e.g. on
> the number of parallel cores) that the [AB16] attacks allows, this
> quality is small, and then pray that no better attacks are found. Or
> you could not care about that and use a mode where the parallel
> cumulative memory complexity and the sequential space/time complexity
> are proven to be of the same order (Scrypt for data dependent or a
> mode based on an optimally depth-robust graph for data-independent
> MHFs).
>
> Krzysztof


I do prefer the data-dependent modes, like Argon2id for most use cases.
The data-independent algorithms are much harder to make secure, IMO, and I
think that we saw that when Argon2i-A was partially broken, forcing
Argon2i-B to be created.  I don't mean to sound negative on the research
into iMHFs.  These are required in some cases, and I think the research
will likely yield significant improvements.

I would try to argue that it makes sense to move one of the data-dependent
algorithms forward in CFRG while waiting on results from current research
on the data-independent version, but I think pretty much everyone would
hate that idea, so I do not propose it :)

Bill

--001a114388d8db8196053a2abc20
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On M=
on, Aug 15, 2016 at 7:38 PM, krzysztof pietrzak <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:krzpie@gmail.com" target=3D"_blank">krzpie@gmail.com</a>&gt;</=
span> wrote:<br><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For example=
, assume storing one block (512 bits) for one unit of time<br>
cost 1, and evaluating the underlying building block costs R (cost can<br>
be e.g. electricity or AT complexity, R=3D3000 has been used as a<br>
parameter for AT in MHF attacks papers).</blockquote><div><br></div><div>Th=
is is an interesting model, but does not match real hardware very well, IMO=
.=C2=A0 Instead of modeling the DRAM power by the static power which is com=
paratively low, why not model the power as a constant plus a constant times=
 the rate of read/writes?=C2=A0 I think that would be a lot closer to what =
we see in DDR3 and GDDR5.=C2=A0 I think it also will hold with a theoretica=
l through-silicon-via based stacked-die DRAM + ASIC.</div><div><br></div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex">Then evaluating Scrypt<br>
(RoMix) using the naive algorithm (which only has sequential access to<br>
H(.)) for n blocks of memory costs n^2+R*r \approx n^2 (as typically R<br>
&lt;&lt; n).</blockquote><div><br></div><div>Since R is the cost of evaluat=
ing H, can I assume r is the number of times we call H?=C2=A0 In Scrypt, no=
rmally r =3D 2*n.=C2=A0 In this case, I assume n^2 is the static power loss=
 in the memory.=C2=A0 If so, then I think R &gt;&gt; n.=C2=A0 Also, we&#39;=
ve left out the dynamic power of the memory, which is likely on the order o=
f the power of computing H for a read or write.</div><div><br></div><div>I =
would prefer to model the power more like this.=C2=A0 Assume h is the power=
 of evaluating H and m is the power of a read or write to memory of one blo=
ck.=C2=A0 I would ignore static power in the DRAM, which contributes little=
 to heading real DRAMs.=C2=A0 For Scrypt, the normal energy used would be 2=
*h + 2*m.</div><div><br></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Recently it wa=
s shown that, assuming the underlying building<br>
block H(.) is modelled as a random function, even an adversary who can<br>
make exponentially many calls to H(.) *for free* and amortize over<br>
exponentially many calls, will have cost z*n^2 for some constant z&gt;0.<br=
></blockquote><div><br></div><div>You lost me there.=C2=A0 If I can compute=
 H for free (zero power), then I&#39;d simply recompute every value from th=
e initial block, and avoid the power needed to read or write to DRAM.=C2=A0=
 Wouldn&#39;t the total power be zero?=C2=A0 Is the argument that the cores=
 each need to have 1 block saved, and the static power of storing those blo=
ck is still O(n^2)?=C2=A0 Is this some sort of hardened by static power def=
ense?</div><div><br></div><div>Foundries routinely design low-power process=
es with many orders of magnitude less static power than what we see in mode=
rn CPUs.=C2=A0 Hardening MHFs based on static power is not going to work ou=
t well for the defender.=C2=A0 The energy cost of storing bits that are not=
 accessed can be made very close to zero.=C2=A0 Consider flash memory.=C2=
=A0 The power to read and write is huge, but just sitting there waiting to =
be accessed, these tiny capacitors holding the charge will maintain that ch=
arge reliably for over 10 years.=C2=A0 We should assume that the power is d=
ominated by read/write, not the power required to store some number of bits=
 over time.</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><br>
All of the iMHF submitted to the PHC can be evaluated at amortized cost<br>
<br>
n^c + cost(R,n)<br>
<br>
for some constant c&lt;2 and where cost(R,n) is the cost of evaluating<br>
H(.) n^c&#39; (for some c&#39;&lt;2) times. The constant c is &lt;1.75 for<=
br>
Argon2i,Rig.v2 and Gambit, &lt;1.83 for Pomelo, &lt;1.63 for Lyra2, &lt;1.6=
7<br>
for Catena (for Pomelo and Lyra this only applies to the first -- data<br>
independent -- phase).<br></blockquote><div><br></div><div>Is the n^c term =
the static power term for storing the data?=C2=A0 If so, it would be best t=
o ignore it.=C2=A0 Read/write costs will dominate over it.</div><div>=C2=A0=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex">
Unlike in the security proof, for an attack we cannot ignore the<br>
cost(R,n) term; whether we have a practical attack depends on whether<br>
the attack quality<br>
<br>
n^2 / (n^c+cost(R,n))<br>
<br>
is greater than 1.</blockquote><div><br></div><div>What about the read/writ=
e cost?=C2=A0 If n^2 is the static power loss, which we can reduce by a fac=
tor of a million easily in the fab, then I would not count on n^2 being sig=
nificant.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The cost(R,n=
) term is different for the various<br>
constructions and depends on the hardware. So, if you want to use any<br>
of these constructions, you must certify that for the parameters<br>
you&#39;re interested in, any hardware options and all trade-offs (e.g. on<=
br>
the number of parallel cores) that the [AB16] attacks allows, this<br>
quality is small, and then pray that no better attacks are found. Or<br>
you could not care about that and use a mode where the parallel<br>
cumulative memory complexity and the sequential space/time complexity<br>
are proven to be of the same order (Scrypt for data dependent or a<br>
mode based on an optimally depth-robust graph for data-independent<br>
MHFs).<br>
<br>
Krzysztof</blockquote><div><br></div><div>I do prefer the data-dependent mo=
des, like Argon2id for most use cases.=C2=A0 The data-independent algorithm=
s are much harder to make secure, IMO, and I think that we saw that when Ar=
gon2i-A was partially broken, forcing Argon2i-B to be created.=C2=A0 I don&=
#39;t mean to sound negative on the research into iMHFs.=C2=A0 These are re=
quired in some cases, and I think the research will likely yield significan=
t improvements.</div><div><br></div><div>I would try to argue that it makes=
 sense to move one of the data-dependent algorithms forward in CFRG while w=
aiting on results from current research on the data-independent version, bu=
t I think pretty much everyone would hate that idea, so I do not propose it=
 :)</div><div><br></div><div>Bill</div></div></div></div>

--001a114388d8db8196053a2abc20--


From nobody Tue Aug 16 09:06:19 2016
Return-Path: <danibrown@blackberry.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4917012D7CD for <cfrg@ietfa.amsl.com>; Tue, 16 Aug 2016 09:06:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.848
X-Spam-Level: 
X-Spam-Status: No, score=-3.848 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.247, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 oVLbwL3eITes for <cfrg@ietfa.amsl.com>; Tue, 16 Aug 2016 09:06:15 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A0C8812B069 for <cfrg@irtf.org>; Tue, 16 Aug 2016 09:06:15 -0700 (PDT)
Received: from xct107cnc.rim.net ([10.65.161.207]) by mhs211cnc.rim.net with ESMTP/TLS/DHE-RSA-AES256-SHA; 16 Aug 2016 15:06:41 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT107CNC.rim.net ([fe80::b815:71ef:9f8f:e07c%16]) with mapi id 14.03.0210.002; Tue, 16 Aug 2016 12:06:11 -0400
From: Dan Brown <danibrown@blackberry.com>
To: IRTF CFRG <cfrg@irtf.org>
Thread-Topic: [Cfrg] Argon2i, scrypt, balloon hashing, ...
Thread-Index: AQHR90WamN7mC1+UQ0+w7tqG6bvx+KBLnJ8VgAAlC4I=
Date: Tue, 16 Aug 2016 16:06:11 +0000
Message-ID: <20160816160607.5709905.1691.3597@blackberry.com>
References: <mailman.995.1471241877.1171.cfrg@irtf.org>, <alpine.WNT.2.00.1608151525480.8540@RogawaySamsung9>, <20160816135332.5709905.51384.3573@blackberry.com>
In-Reply-To: <20160816135332.5709905.51384.3573@blackberry.com>
Accept-Language: en-US, en-CA
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="windows-1256"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/Kj6RTreTb5OelT2qZJc1BWk8PAA>
Subject: [Cfrg] Fw:  Argon2i, scrypt, balloon hashing, ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Aug 2016 16:06:17 -0000

Isn't password hashing out of scope for IRTF work? Or at least not a focus?=
 Like RNGs and secure storage=FD, it is important to security but not a for=
m openly interoperable communication.

Sent from my BlackBerry 10 smartphone on the Rogers network.
  Original Message
From: Dan Brown <danibrown@blackberry.com>
Sent: Tuesday, August 16, 2016 9:53 AM
To: Phillip Rogaway; cfrg@irtf.org
Subject: Re: [Cfrg] Argon2i, scrypt, balloon hashing, ...


Also, isn't the need for interoperability of password hashing smaller=FD th=
an for general protected communication?  (Or, is the eventual intent to add=
 these algorithms to some IETF protocols, e.g. PAKEs etc.?)

Sent from my BlackBerry 10 smartphone on the Rogers network.
  Original Message
From: Phillip Rogaway
Sent: Monday, August 15, 2016 6:37 PM
To: cfrg@irtf.org
Subject: [Cfrg] Argon2i, scrypt, balloon hashing, ...


I would like to gently suggest the CFRG not move
forward with blessing any memory-hard hash function
at this time.  The area seems too much
in flux, at this time, for this to be desirable.
Really nice results are coming out apace.
Standards can come too early, you know, just as
they can come out too late.


phil

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From nobody Tue Aug 16 15:33:05 2016
Return-Path: <jalwen@ist.ac.at>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3BA3112D541 for <cfrg@ietfa.amsl.com>; Tue, 16 Aug 2016 15:33:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.548
X-Spam-Level: 
X-Spam-Status: No, score=-5.548 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_MED=-2.3, RP_MATCHES_RCVD=-1.247, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ist.ac.at
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 uwR8E5LWdQ-M for <cfrg@ietfa.amsl.com>; Tue, 16 Aug 2016 15:33:01 -0700 (PDT)
Received: from mx1.ist.ac.at (mx1.ist.ac.at [193.170.152.98]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A126D12D52B for <cfrg@irtf.org>; Tue, 16 Aug 2016 15:33:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ist.ac.at; i=@ist.ac.at; q=dns/txt; s=ist2009; t=1471386780; x=1502922780; h=subject:to:references:from:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=BxPao4ZECQM1rTs0XtvUXGVHc37caq+jP8oa5NKPpDs=; b=Ve+qDvQQfQrqLTGw5wFkMWYCzIjL8xgBFHNeZy1cvRrNnrhbRokjQZ+w 0cOU+h0gwjLRJ/I02let6qNfeGnU3rvZk+Uvasnx/xpFbNY/tOovDEL2H yMVHx+6QQ2sGnkEQVfKCoA+rKn6USzTd4EFbkKWLvseAXLCTbu6VoCMZ+ v7trNsndplW0wlM/8FKzqHYdOo8gOCBUpUxyp7UkE7ZBi1es/eVgnzva/ IaWsNiLI1xGDPgE9ld00VWdFRppoFFw1Gw/15yPzkniqCQdXDnNaV3hxx J9GQzWkii5nyFhevBUg35gJIRO/yMQOJObnv86tyqW0/06CnYnuoeBsNE g==;
X-IronPort-AV: E=Sophos;i="5.28,529,1464645600";  d="scan'208";a="5926964"
Received: from lserv46.ista.local ([10.15.21.55]) by ironport-intern.ista.local with ESMTP; 17 Aug 2016 00:32:58 +0200
Received: from sslmail1.ist.ac.at (sslmail1.ista.local [10.15.21.69]) by lserv46.ista.local (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id u7GMWvXs002648; Wed, 17 Aug 2016 00:32:58 +0200
Received: from [169.231.56.114] (ResNet-56-114.resnet.ucsb.edu [169.231.56.114]) (authenticated bits=0) by sslmail1.ist.ac.at (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id u7GMWtQM005094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 17 Aug 2016 00:32:56 +0200
To: cfrg@irtf.org, Bill Cox <waywardgeek@gmail.com>
References: <CAMgMiWfPZUA4wzPw+T43R8KeVq1va8qshp2Oa24AhhX2SAgTmw@mail.gmail.com> <CAOLP8p6E-Y7a9WK6DCTqT_NYEiD03p4i_z0T_S_Xhr291=zyhg@mail.gmail.com>
From: Joel Alwen <jalwen@ist.ac.at>
Message-ID: <f5101446-b8b5-9fb7-9336-2007c4f5c331@ist.ac.at>
Date: Tue, 16 Aug 2016 15:32:54 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <CAOLP8p6E-Y7a9WK6DCTqT_NYEiD03p4i_z0T_S_Xhr291=zyhg@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/rZP5qgA5fYUJt4RZDYuFcG8Z6sc>
Subject: Re: [Cfrg] Balloon-Hashing or Argon2i.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Aug 2016 22:33:04 -0000

Hi Bill,

First, thanks for all the details. I greatly appreciate hearing about
the perspective of someone working closely with hardware about this stuff.

Let me see if I understood correctly.

So one thing you saying is that if we want to talk about total energy
consumption we should really be including the cost of read/write to memory.

One way to incorporate this into the PROM model (at least for all
algorithms we've ever considered in it) is to change the definition of R
so that it also includes that energy consumption. In particular data is
only ever read/written in conjunction with one call to the compression
function. However if we do this then my understanding is your saying
then R >> n.

To me that sounds like (assuming for a second that energy consumption is
what matters most) the adversary cares primarily about using an
algorithm that minimize the number of calls to the compression function.
So then the optimal algorithm is always going to be the honest one for
pretty much any iMHF I can think of so then really there isn't a lot to
be done here...

However, this line of reasoning is quite sensitive to the relation
between R and n. It would be great to have more concrete data on this
(see bellow).




One thing I want to add is that the way "Energy-complexity" in the PROM
is defined has the following property. If we use

         R = area-core / area-storing-one-block

which is roughly how we actually set R in our experiments in the recent
paper, then

      Energy-complexity =< AT-complexity per instance

Moreover, I think the gap between the two is relatively small.
Especially if R is set to be large enough to account for the area not
just of a core but also the routing needed per core. Though, in this
case, your previous comments on how ASIC routing scales implies one
should probably also have R scale with the the number of parallel cores.

Security Statements in the PROM
-------------------------------
So with that in mind a statement of the form:

       "No algorithm can compute F() with less than X energy-complexity
in the PROM model."

is then really also making a statement about the amortized AT-complexity
of an adversary. My understanding is that the consensus in various works
(including the scrypt paper, the Catena paper and the cryptanalysis of
various MHFs be Biryukov and Khovratovich) is that large AT complexity
is indeed a desirable defence. In fact, in the former works bounding
area for just the memory components is actually already a good defence.
While in the latter (and most of the PROM works) we also take into
account the area of the cores on chip. So with this in mind I believe
such "security statements" in the PROM remain of interest.


Attack Complexity in the PROM
-----------------------------
Turning to statements of the form:

     "Algorithm A evaluates F() with Energy-complexity at most X in the
PROM."

like in AB16, it seems to me that when we evaluate its practical
implications it is key to have the right value of R set. If we care
about the energy efficiency of A then we can derive a meaningful
statement about the actual energy consumption of a custom device
implementing algorithm A as long as we set R to include both the energy
for evaluating a core and the energy for one read and one write.

Similarly, if we want to derive a statement about the AT complexity of
such a device (amortized per instance) then we should set R to include
not just the area of a core but also of the routing.

What do you guys think about this line of reasoning? does it make sense?
are there serious issues here?

And what do you guys think realistic values of R would be. Lets say in
the case of the Argon2 compression function for say 10, 25, 50, 200, 500
and 1000 cores (if such a device with that amount of cores is even
possible of course). I'd love to have data both when R captures the
energy consumption of read+core+write and when R captures area of
core+routing.



- Joel


> This is an interesting model, but does not match real hardware very 
> well, IMO.  Instead of modeling the DRAM power by the static power
> which is comparatively low, why not model the power as a constant
> plus a constant times the rate of read/writes?  I think that would be
> a lot closer to what we see in DDR3 and GDDR5.  I think it also will
> hold with a theoretical through-silicon-via based stacked-die DRAM +
> ASIC.
> 
> Then evaluating Scrypt (RoMix) using the naive algorithm (which only
> has sequential access to H(.)) for n blocks of memory costs n^2+R*r
> \approx n^2 (as typically R << n).
> 
> 
> Since R is the cost of evaluating H, can I assume r is the number of 
> times we call H?  In Scrypt, normally r = 2*n.  In this case, I
> assume n^2 is the static power loss in the memory.  If so, then I
> think R >> n.  Also, we've left out the dynamic power of the memory,
> which is likely on the order of the power of computing H for a read
> or write.
> 
> I would prefer to model the power more like this.  Assume h is the
> power of evaluating H and m is the power of a read or write to memory
> of one block.  I would ignore static power in the DRAM, which
> contributes little to heading real DRAMs.  For Scrypt, the normal
> energy used would be 2*h + 2*m.
> 
> Recently it was shown that, assuming the underlying building block
> H(.) is modelled as a random function, even an adversary who can make
> exponentially many calls to H(.) *for free* and amortize over 
> exponentially many calls, will have cost z*n^2 for some constant
> z>0.
> 
> 
> You lost me there.  If I can compute H for free (zero power), then
> I'd simply recompute every value from the initial block, and avoid
> the power needed to read or write to DRAM.  Wouldn't the total power
> be zero?  Is the argument that the cores each need to have 1 block
> saved, and the static power of storing those block is still O(n^2)?
> Is this some sort of hardened by static power defense?
> 
> Foundries routinely design low-power processes with many orders of 
> magnitude less static power than what we see in modern CPUs.
> Hardening MHFs based on static power is not going to work out well
> for the defender.  The energy cost of storing bits that are not
> accessed can be made very close to zero.  Consider flash memory.  The
> power to read and write is huge, but just sitting there waiting to be
> accessed, these tiny capacitors holding the charge will maintain that
> charge reliably for over 10 years.  We should assume that the power
> is dominated by read/write, not the power required to store some
> number of bits over time.
> 
> 
> All of the iMHF submitted to the PHC can be evaluated at amortized
> cost
> 
> n^c + cost(R,n)
> 
> for some constant c<2 and where cost(R,n) is the cost of evaluating 
> H(.) n^c' (for some c'<2) times. The constant c is <1.75 for 
> Argon2i,Rig.v2 and Gambit, <1.83 for Pomelo, <1.63 for Lyra2, <1.67 
> for Catena (for Pomelo and Lyra this only applies to the first --
> data independent -- phase).
> 
> 
> Is the n^c term the static power term for storing the data?  If so,
> it would be best to ignore it.  Read/write costs will dominate over
> it.
> 
> 
> Unlike in the security proof, for an attack we cannot ignore the 
> cost(R,n) term; whether we have a practical attack depends on
> whether the attack quality
> 
> n^2 / (n^c+cost(R,n))
> 
> is greater than 1.
> 
> 
> What about the read/write cost?  If n^2 is the static power loss,
> which we can reduce by a factor of a million easily in the fab, then
> I would not count on n^2 being significant.
> 
> 
> The cost(R,n) term is different for the various constructions and
> depends on the hardware. So, if you want to use any of these
> constructions, you must certify that for the parameters you're
> interested in, any hardware options and all trade-offs (e.g. on the
> number of parallel cores) that the [AB16] attacks allows, this 
> quality is small, and then pray that no better attacks are found. Or 
> you could not care about that and use a mode where the parallel 
> cumulative memory complexity and the sequential space/time
> complexity are proven to be of the same order (Scrypt for data
> dependent or a mode based on an optimally depth-robust graph for
> data-independent MHFs).
> 
> Krzysztof
> 
> 
> I do prefer the data-dependent modes, like Argon2id for most use
> cases. The data-independent algorithms are much harder to make
> secure, IMO, and I think that we saw that when Argon2i-A was
> partially broken, forcing Argon2i-B to be created.  I don't mean to
> sound negative on the research into iMHFs.  These are required in
> some cases, and I think the research will likely yield significant
> improvements.
> 
> I would try to argue that it makes sense to move one of the 
> data-dependent algorithms forward in CFRG while waiting on results
> from current research on the data-independent version, but I think
> pretty much everyone would hate that idea, so I do not propose it :)
> 
> Bill
> 
> 
> _______________________________________________ Cfrg mailing list 
> Cfrg@irtf.org https://www.irtf.org/mailman/listinfo/cfrg
> 


From nobody Wed Aug 17 00:52:59 2016
Return-Path: <waywardgeek@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AB77412B064 for <cfrg@ietfa.amsl.com>; Wed, 17 Aug 2016 00:52:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=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=gmail.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 SKzno6Ax5Wk7 for <cfrg@ietfa.amsl.com>; Wed, 17 Aug 2016 00:52:55 -0700 (PDT)
Received: from mail-yb0-x229.google.com (mail-yb0-x229.google.com [IPv6:2607:f8b0:4002:c09::229]) (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 6C52812B058 for <cfrg@irtf.org>; Wed, 17 Aug 2016 00:52:55 -0700 (PDT)
Received: by mail-yb0-x229.google.com with SMTP id d10so31452888ybi.1 for <cfrg@irtf.org>; Wed, 17 Aug 2016 00:52:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XapcpEcGP3HPAjogMaHoYDfsto5Oas8bd4xDk1PzHCM=; b=DjSnvMvP6+imRDEeipihLlCXkqu2Ry6coO4E6onsaA5uK+KR3TZMWkLJiFVXLPeDHS She6OtWn5mkLsPncMAN7m6Dk9Fm0NUHIw9bYBdJSPrGoyVJa6qiEpB3LeJ0PcZJukJq8 /pblhVWSLOuR0lHt5ssWeS2UTQwXVy+G75RWGKj7blu/zb3OZnPlYAWX+2jiBCbSEsN2 bGYXjKIguJryBD1CqCEJn4mzAQCmkqOG3jGWNAyq5cFSW72bNTGuR2bFAp0gUcuF3Sbg TrpvCHH5T89ZCgNjjr2p/dVY7iAYKo6L6maa2StPV3uUYvo+Vw1zAD/OtDlX0MXmUms1 +nOA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XapcpEcGP3HPAjogMaHoYDfsto5Oas8bd4xDk1PzHCM=; b=bOmDd6OTuXVbnBEcPHIwonZz+tDnk9diGPkFNnigljB9HzC/jT5iOvptQ66Pe/zQVt GiPQfm38dkZe+n5xx2QhacU+JsfuTScvAGjjn8xy7epKHSvfOSZQ6NFEQf02KfP0jJwF UbZjGCo7T6ACOhEzu63L4UGqkELJHjEx+/QhnM2gcOqaCQ8CLr7MI7VKLVTc4+IGkrFc zIfZ6+dBP/4J990ouWwuJYzXO3uHbgPe9ymZ/TBmkIPjGJoo9bgKXXULl8C1TQW/YUPk BrGbnWJgXWwFfSBu83bqcUSXQFSxm+46QoEw4oyyE2tss5NOIfjLcR2ivUOqyaYTi6FV 9MRg==
X-Gm-Message-State: AEkoouusmZ5l7D5zBMR4D9T62BDrPtU3+4/AQshMTfdXn/0fQCOK10EjTxKCzSPS0M1e5Ox73xYVR/BEj+59Jg==
X-Received: by 10.37.47.196 with SMTP id v187mr25169369ybv.11.1471420374553; Wed, 17 Aug 2016 00:52:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.53.17 with HTTP; Wed, 17 Aug 2016 00:52:53 -0700 (PDT)
In-Reply-To: <f5101446-b8b5-9fb7-9336-2007c4f5c331@ist.ac.at>
References: <CAMgMiWfPZUA4wzPw+T43R8KeVq1va8qshp2Oa24AhhX2SAgTmw@mail.gmail.com> <CAOLP8p6E-Y7a9WK6DCTqT_NYEiD03p4i_z0T_S_Xhr291=zyhg@mail.gmail.com> <f5101446-b8b5-9fb7-9336-2007c4f5c331@ist.ac.at>
From: Bill Cox <waywardgeek@gmail.com>
Date: Wed, 17 Aug 2016 00:52:53 -0700
Message-ID: <CAOLP8p4t6huOCichOtpgdPvBWv7b6oXuPJgysCYym3SccF5mNA@mail.gmail.com>
To: Joel Alwen <jalwen@ist.ac.at>
Content-Type: multipart/alternative; boundary=001a1140b5f4bd9868053a3fc0cb
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/5SjB7EMbeY3qGK784ETpj0Y0aGQ>
Cc: IRTF CFRG <cfrg@irtf.org>
Subject: Re: [Cfrg] Balloon-Hashing or Argon2i.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Aug 2016 07:52:58 -0000

--001a1140b5f4bd9868053a3fc0cb
Content-Type: text/plain; charset=UTF-8

On Tue, Aug 16, 2016 at 3:32 PM, Joel Alwen <jalwen@ist.ac.at> wrote:

> Hi Bill,
>
> First, thanks for all the details. I greatly appreciate hearing about
> the perspective of someone working closely with hardware about this stuff.
>

I enjoy it, too.  I hope I can help.  I believe I made some mistakes above
(I make a lot of them).

Let me see if I understood correctly.
>
> So one thing you saying is that if we want to talk about total energy
> consumption we should really be including the cost of read/write to memory.
>

I think so.  The concept of energy per read/write captures the idea that
moving data is what takes significant energy, not keeping it in one place.
However, this model breaks when scaling memory size.  Power per read/write
grows roughly as the square root of memory size, as does the distance the
data travels.

One way to incorporate this into the PROM model (at least for all
> algorithms we've ever considered in it) is to change the definition of R
> so that it also includes that energy consumption. In particular data is
> only ever read/written in conjunction with one call to the compression
> function. However if we do this then my understanding is your saying
> then R >> n.
>

In the context of R >> n or R << n, if I understand correctly, n represents
the energy for storing n blocks of memory 1 tick, and R is the power of
computing H.  In a "low power" process, leakage power will be insignificant
for on-chip SRAM, and it is typically pretty low in DRAM modules.  I think
this equation will look different when read/write power is added, and I
think leakage power can be probably dropped, assuming we're using a
low-power process like we see in BitCoin mining ASICs.

To me that sounds like (assuming for a second that energy consumption is
> what matters most) the adversary cares primarily about using an
> algorithm that minimize the number of calls to the compression function.
> So then the optimal algorithm is always going to be the honest one for
> pretty much any iMHF I can think of so then really there isn't a lot to
> be done here...
>

There are cases where power is reduced when reducing memory usage in a TMTO
attack.  The simple deep TMTO against Scrypt yields a 4X reduction in naive
At cost (max memory used times total computations of H).  Cutting the
memory by 4X in a TMTO attack reduces memory power per read/write by about
2X, in addition to reducing the number of read/writes.  There is certainly
room for reducing power here against Scrypt by reducing memory.  However, I
see less room in attacks against Balloon hashing and Argon2i-B (for tcost
>=3), though I thought the same thing about Argon2i-A and was wrong.


> One thing I want to add is that the way "Energy-complexity" in the PROM
> is defined has the following property. If we use
>
>          R = area-core / area-storing-one-block
>
> which is roughly how we actually set R in our experiments in the recent
> paper, then
>
>       Energy-complexity =< AT-complexity per instance
>

Looks right to me.


> Moreover, I think the gap between the two is relatively small.
> Especially if R is set to be large enough to account for the area not
> just of a core but also the routing needed per core. Though, in this
> case, your previous comments on how ASIC routing scales implies one
> should probably also have R scale with the the number of parallel cores.
>

Yes, I think it needs to scale as the square root of the number of parallel
cores.  I'd just do a rule-of-thumb check to get a WAG for the routing
power.  I've never been able to route data on a chip using less than 1pF
per cm.  The last chip I worked on was a minimum of 2.5pF per cm, so
assuming 1pF/cm is probably close enough.  Given that, and the bits per
block is all you need to get a WAG for routing power, which could be added
to R.

BTW, if we know the exact paths data will need to be routed over, as we do
in Argon2i-B then we can run a place-and-route algorithm to assign
computation nodes in the DAG to cores to minimize the distance data is
routed while keeping the cores working in parallel.  This can significantly
reduce routing power.

Security Statements in the PROM
> -------------------------------
> So with that in mind a statement of the form:
>
>        "No algorithm can compute F() with less than X energy-complexity
> in the PROM model."
>
> is then really also making a statement about the amortized AT-complexity
> of an adversary. My understanding is that the consensus in various works
> (including the scrypt paper, the Catena paper and the cryptanalysis of
> various MHFs be Biryukov and Khovratovich) is that large AT complexity
> is indeed a desirable defence.


I agree.  If you prove either a high AT cost, or a high power cost, that
counts as "provably secure" to me, though to be competitive, the algorithm
would still need a lot of optimizations for the various defenses such as
those that were considered in the PHC.

In fact, in the former works bounding
> area for just the memory components is actually already a good defence.
> While in the latter (and most of the PROM works) we also take into
> account the area of the cores on chip. So with this in mind I believe
> such "security statements" in the PROM remain of interest.
>

I agree.  I look forward to future results.

Bill

--001a1140b5f4bd9868053a3fc0cb
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Tue, Aug 16, 2016 at 3:32 PM, Joel Alwen <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:jalwen@ist.ac.at" target=3D"_blank">jalwen@ist.ac.at</a>&gt;</=
span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">Hi Bill,<br>
<br>
First, thanks for all the details. I greatly appreciate hearing about<br>
the perspective of someone working closely with hardware about this stuff.<=
br></blockquote><div><br></div><div>I enjoy it, too.=C2=A0 I hope I can hel=
p.=C2=A0 I believe I made some mistakes above (I make a lot of them).</div>=
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">
Let me see if I understood correctly.<br>
<br>
So one thing you saying is that if we want to talk about total energy<br>
consumption we should really be including the cost of read/write to memory.=
<br></blockquote><div><br></div><div>I think so.=C2=A0 The concept of energ=
y per read/write captures the idea that moving data is what takes significa=
nt energy, not keeping it in one place.=C2=A0 However, this model breaks wh=
en scaling memory size.=C2=A0 Power per read/write grows roughly as the squ=
are root of memory size, as does the distance the data travels.</div><div><=
br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">
One way to incorporate this into the PROM model (at least for all<br>
algorithms we&#39;ve ever considered in it) is to change the definition of =
R<br>
so that it also includes that energy consumption. In particular data is<br>
only ever read/written in conjunction with one call to the compression<br>
function. However if we do this then my understanding is your saying<br>
then R &gt;&gt; n.<br></blockquote><div><br></div><div>In the context of R =
&gt;&gt; n or R &lt;&lt; n, if I understand correctly, n represents the ene=
rgy for storing n blocks of memory 1 tick, and R is the power of computing =
H.=C2=A0 In a &quot;low power&quot; process, leakage power will be insignif=
icant for on-chip SRAM, and it is typically pretty low in DRAM modules.=C2=
=A0 I think this equation will look different when read/write power is adde=
d, and I think leakage power can be probably dropped, assuming we&#39;re us=
ing a low-power process like we see in BitCoin mining ASICs.</div><div><br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex">
To me that sounds like (assuming for a second that energy consumption is<br=
>
what matters most) the adversary cares primarily about using an<br>
algorithm that minimize the number of calls to the compression function.<br=
>
So then the optimal algorithm is always going to be the honest one for<br>
pretty much any iMHF I can think of so then really there isn&#39;t a lot to=
<br>
be done here...<br></blockquote><div><br></div><div>There are cases where p=
ower is reduced when reducing memory usage in a TMTO attack.=C2=A0 The simp=
le deep TMTO against Scrypt yields a 4X reduction in naive At cost (max mem=
ory used times total computations of H).=C2=A0 Cutting the memory by 4X in =
a TMTO attack reduces memory power per read/write by about 2X, in addition =
to reducing the number of read/writes.=C2=A0 There is certainly room for re=
ducing power here against Scrypt by reducing memory.=C2=A0 However, I see l=
ess room in attacks against Balloon hashing and Argon2i-B (for tcost &gt;=
=3D3), though I thought the same thing about Argon2i-A and was wrong.</div>=
<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
One thing I want to add is that the way &quot;Energy-complexity&quot; in th=
e PROM<br>
is defined has the following property. If we use<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0R =3D area-core / area-storing-one-block<=
br>
<br>
which is roughly how we actually set R in our experiments in the recent<br>
paper, then<br>
<br>
=C2=A0 =C2=A0 =C2=A0 Energy-complexity =3D&lt; AT-complexity per instance<b=
r></blockquote><div><br></div><div>Looks right to me.</div><div>=C2=A0</div=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex">
Moreover, I think the gap between the two is relatively small.<br>
Especially if R is set to be large enough to account for the area not<br>
just of a core but also the routing needed per core. Though, in this<br>
case, your previous comments on how ASIC routing scales implies one<br>
should probably also have R scale with the the number of parallel cores.<br=
></blockquote><div><br></div><div>Yes, I think it needs to scale as the squ=
are root of the number of parallel cores.=C2=A0 I&#39;d just do a rule-of-t=
humb check to get a WAG for the routing power.=C2=A0 I&#39;ve never been ab=
le to route data on a chip using less than 1pF per cm.=C2=A0 The last chip =
I worked on was a minimum of 2.5pF per cm, so assuming 1pF/cm is probably c=
lose enough.=C2=A0 Given that, and the bits per block is all you need to ge=
t a WAG for routing power, which could be added to R.</div><div><br></div><=
div>BTW, if we know the exact paths data will need to be routed over, as we=
 do in Argon2i-B then we can run a place-and-route algorithm to assign comp=
utation nodes in the DAG to cores to minimize the distance data is routed w=
hile keeping the cores working in parallel.=C2=A0 This can significantly re=
duce routing power.</div><div><br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Security Statements in the PROM<br>
------------------------------<wbr>-<br>
So with that in mind a statement of the form:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0&quot;No algorithm can compute F() with less tha=
n X energy-complexity<br>
in the PROM model.&quot;<br>
<br>
is then really also making a statement about the amortized AT-complexity<br=
>
of an adversary. My understanding is that the consensus in various works<br=
>
(including the scrypt paper, the Catena paper and the cryptanalysis of<br>
various MHFs be Biryukov and Khovratovich) is that large AT complexity<br>
is indeed a desirable defence.</blockquote><div><br></div><div>I agree.=C2=
=A0 If you prove either a high AT cost, or a high power cost, that counts a=
s &quot;provably secure&quot; to me, though to be competitive, the algorith=
m would still need a lot of optimizations for the various defenses such as =
those that were considered in the PHC.</div><div><br></div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">In fact, in the former works bounding<br>
area for just the memory components is actually already a good defence.<br>
While in the latter (and most of the PROM works) we also take into<br>
account the area of the cores on chip. So with this in mind I believe<br>
such &quot;security statements&quot; in the PROM remain of interest.<br></b=
lockquote><div><br></div><div>I agree.=C2=A0 I look forward to future resul=
ts.</div><div><br></div><div>Bill</div></div></div></div>

--001a1140b5f4bd9868053a3fc0cb--


From nobody Thu Aug 18 22:04:39 2016
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cfrg@ietf.org
Delivered-To: cfrg@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 125AB12D1DE; Thu, 18 Aug 2016 22:04:37 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.29.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <147158307706.27924.9494565103560825219.idtracker@ietfa.amsl.com>
Date: Thu, 18 Aug 2016 22:04:37 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/uwaG1vqclc6NcN5_c-IAz9ny1W4>
Cc: cfrg@ietf.org
Subject: [Cfrg] I-D Action: draft-irtf-cfrg-eddsa-07.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Aug 2016 05:04:37 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Crypto Forum of the IETF.

        Title           : Edwards-curve Digital Signature Algorithm (EdDSA) 
        Authors         : Simon Josefsson
                          Ilari Liusvaara
	Filename        : draft-irtf-cfrg-eddsa-07.txt
	Pages           : 59
	Date            : 2016-08-18

Abstract:
   The elliptic curve signature scheme Edwards-curve Digital Signature
   Algorithm (EdDSA) is described.  The algorithm is instantiated with
   recommended parameters for the edwards25519 and edwards448 curves.
   An example implementation and test vectors are provided.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-irtf-cfrg-eddsa/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-irtf-cfrg-eddsa-07

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-irtf-cfrg-eddsa-07


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Thu Aug 18 22:13:45 2016
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DB30D12D559 for <cfrg@ietfa.amsl.com>; Thu, 18 Aug 2016 22:13:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.147
X-Spam-Level: 
X-Spam-Status: No, score=-3.147 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.247] autolearn=ham autolearn_force=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 c-SzFWZGtQHA for <cfrg@ietfa.amsl.com>; Thu, 18 Aug 2016 22:13:40 -0700 (PDT)
Received: from welho-filter1.welho.com (welho-filter1.welho.com [83.102.41.23]) by ietfa.amsl.com (Postfix) with ESMTP id 3058312B019 for <cfrg@irtf.org>; Thu, 18 Aug 2016 22:13:40 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter1.welho.com (Postfix) with ESMTP id 946B7E12B for <cfrg@irtf.org>; Fri, 19 Aug 2016 08:13:38 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter1.welho.com [::ffff:83.102.41.23]) (amavisd-new, port 10024) with ESMTP id RA-9hRddPQRG for <cfrg@irtf.org>; Fri, 19 Aug 2016 08:13:38 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-177-32.bb.dnainternet.fi [87.100.177.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id 3D2BB2315 for <cfrg@irtf.org>; Fri, 19 Aug 2016 08:13:38 +0300 (EEST)
Date: Fri, 19 Aug 2016 08:13:29 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: cfrg@irtf.org
Message-ID: <20160819051329.mcsrd4zlskn2p7l6@LK-Perkele-V2.elisa-laajakaista.fi>
References: <147158307706.27924.9494565103560825219.idtracker@ietfa.amsl.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <147158307706.27924.9494565103560825219.idtracker@ietfa.amsl.com>
User-Agent: Mutt/1.6.2-neo (2016-08-08)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/Un9IvLxBReYRqgXxYqSOj3AmwFc>
Subject: Re: [Cfrg] I-D Action: draft-irtf-cfrg-eddsa-07.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Aug 2016 05:13:43 -0000

On Thu, Aug 18, 2016 at 10:04:37PM -0700, internet-drafts@ietf.org wrote:
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the Crypto Forum of the IETF.
> 
>         Title           : Edwards-curve Digital Signature Algorithm (EdDSA) 
>         Authors         : Simon Josefsson
>                           Ilari Liusvaara

This one actually has some technical changes since -06.

- Add contextualized version of Ed25519. I have given it a new name
  "Ed25519ctx" to avoid confusion with existing "Ed25519".
- Modify Ed25519ph to not collide with Ed25519. Breaks existing
  Ed25519ph signatures (also, requires specialized implementation).
- Modify Ed448ph not to prefix the prehash, instead just using
  raw SHAKE256@512. Breaks existing Ed448ph signatures.

Ed25519 and Ed448 signatures were not modified (yup, the speculative
Ed448 implementations I did in December still work).


Open questions:
- What unclear stuff I introduced?
- What typos I introduced?
- Should contexts be here at all, instead of just having the hooks to
  add those to later?




-Ilari


From nobody Fri Aug 19 02:53:50 2016
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cfrg@ietf.org
Delivered-To: cfrg@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 7CDBB12DD89; Fri, 19 Aug 2016 02:53:44 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.29.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <147160042450.24153.3490570099010698852.idtracker@ietfa.amsl.com>
Date: Fri, 19 Aug 2016 02:53:44 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/WwrrKE0TWaXzTOYoC_y78opAaFM>
Cc: cfrg@ietf.org
Subject: [Cfrg] I-D Action: draft-irtf-cfrg-eddsa-08.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Aug 2016 09:53:44 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Crypto Forum of the IETF.

        Title           : Edwards-curve Digital Signature Algorithm (EdDSA) 
        Authors         : Simon Josefsson
                          Ilari Liusvaara
	Filename        : draft-irtf-cfrg-eddsa-08.txt
	Pages           : 59
	Date            : 2016-08-19

Abstract:
   The elliptic curve signature scheme Edwards-curve Digital Signature
   Algorithm (EdDSA) is described.  The algorithm is instantiated with
   recommended parameters for the edwards25519 and edwards448 curves.
   An example implementation and test vectors are provided.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-irtf-cfrg-eddsa/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-irtf-cfrg-eddsa-08

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-irtf-cfrg-eddsa-08


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Fri Aug 19 02:56:32 2016
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C913512DD75 for <cfrg@ietfa.amsl.com>; Fri, 19 Aug 2016 02:56:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.147
X-Spam-Level: 
X-Spam-Status: No, score=-3.147 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.247] autolearn=ham autolearn_force=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 NbEZ9GXOpqg8 for <cfrg@ietfa.amsl.com>; Fri, 19 Aug 2016 02:56:29 -0700 (PDT)
Received: from welho-filter2.welho.com (welho-filter2.welho.com [83.102.41.24]) by ietfa.amsl.com (Postfix) with ESMTP id ECBB412D1B7 for <cfrg@ietf.org>; Fri, 19 Aug 2016 02:56:28 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id E7AB2112EB for <cfrg@ietf.org>; Fri, 19 Aug 2016 12:56:27 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id C7Es1QK5TCoJ for <cfrg@ietf.org>; Fri, 19 Aug 2016 12:56:27 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-177-32.bb.dnainternet.fi [87.100.177.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id 71E7527F for <cfrg@ietf.org>; Fri, 19 Aug 2016 12:56:27 +0300 (EEST)
Date: Fri, 19 Aug 2016 12:56:19 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: cfrg@ietf.org
Message-ID: <20160819095619.t2p3gjnr3ujgrkkn@LK-Perkele-V2.elisa-laajakaista.fi>
References: <147160042450.24153.3490570099010698852.idtracker@ietfa.amsl.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <147160042450.24153.3490570099010698852.idtracker@ietfa.amsl.com>
User-Agent: Mutt/1.6.2-neo (2016-08-08)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/G1-VaC3sLPmq_e8lZvAMOyGitBY>
Subject: Re: [Cfrg] I-D Action: draft-irtf-cfrg-eddsa-08.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Aug 2016 09:56:31 -0000

On Fri, Aug 19, 2016 at 02:53:44AM -0700, internet-drafts@ietf.org wrote:
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the Crypto Forum of the IETF.
> 
>         Title           : Edwards-curve Digital Signature Algorithm (EdDSA) 
>         Authors         : Simon Josefsson
>                           Ilari Liusvaara
> 	Filename        : draft-irtf-cfrg-eddsa-08.txt
> 	Pages           : 59
> 	Date            : 2016-08-19

Just a few spelling fixes.


-Ilari


From nobody Fri Aug 19 14:16:38 2016
Return-Path: <ietf@augustcellars.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 22C99127058; Fri, 19 Aug 2016 14:16:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.148
X-Spam-Level: 
X-Spam-Status: No, score=-3.148 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.247, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 oHANcrE6SJac; Fri, 19 Aug 2016 14:16:34 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2E1D312D099; Fri, 19 Aug 2016 14:16:34 -0700 (PDT)
Received: from hebrews (50.45.239.150) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Fri, 19 Aug 2016 14:28:26 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: <draft-irtf-cfrg-eddsa@ietf.org>, <cfrg@ietf.org>
Date: Fri, 19 Aug 2016 14:16:07 -0700
Message-ID: <09b401d1fa5e$e85a0ae0$b90e20a0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdH6UjnyCsgCVlGDQQCvkhJ98iaWfA==
Content-Language: en-us
X-Originating-IP: [50.45.239.150]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/zBfJ0L2pRPgKAwIdR6zy-tBvZF4>
Subject: [Cfrg] Review of draft-irtf-cfrg-eddsa-8
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Aug 2016 21:16:36 -0000

This draft satisfies all of my issues.  From that point of view I think it
is ready to progress.

The following at things that might be clarifications and might not.  I would
request that you look at them, but none of them are of the level that I feel
they need to be fixed.

Section 3.3 - paragraph 1 - The text here is slightly misleading.  It was
correct in the past for EdDSA25519 and EdDSA25519ph, but it is not quite
correct now.  Given that much clearer instructions exist in later sections I
don't think this is a problem.

I don't know if this needs to be dealt with in the constant time
verification or not.  Can I short circuit after doing the checks for
validity of S and the public key without doing the math to check the
signature value and not leak any significant information.

I will look at doing validation of the examples sometime this weekend.

Jim





From nobody Sat Aug 20 00:28:35 2016
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1CF9512D5E3; Sat, 20 Aug 2016 00:28:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.147
X-Spam-Level: 
X-Spam-Status: No, score=-3.147 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.247] autolearn=ham autolearn_force=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 EZ0lfYlNT7X0; Sat, 20 Aug 2016 00:28:31 -0700 (PDT)
Received: from welho-filter4.welho.com (welho-filter4.welho.com [83.102.41.26]) by ietfa.amsl.com (Postfix) with ESMTP id C583A12D5CC; Sat, 20 Aug 2016 00:28:30 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter4.welho.com (Postfix) with ESMTP id AEE3114CD1; Sat, 20 Aug 2016 10:28:28 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter4.welho.com [::ffff:83.102.41.26]) (amavisd-new, port 10024) with ESMTP id Ju-geUNVlT2O; Sat, 20 Aug 2016 10:28:28 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-177-32.bb.dnainternet.fi [87.100.177.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id 7EC4AC4; Sat, 20 Aug 2016 10:28:28 +0300 (EEST)
Date: Sat, 20 Aug 2016 10:28:20 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Jim Schaad <ietf@augustcellars.com>
Message-ID: <20160820072819.vckgxbhlmgadxtdd@LK-Perkele-V2.elisa-laajakaista.fi>
References: <09b401d1fa5e$e85a0ae0$b90e20a0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <09b401d1fa5e$e85a0ae0$b90e20a0$@augustcellars.com>
User-Agent: Mutt/1.6.2-neo (2016-08-08)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/GMHnfZSo5gQMDi1CLKIl7cmC2Tc>
Cc: cfrg@ietf.org, draft-irtf-cfrg-eddsa@ietf.org
Subject: Re: [Cfrg] Review of draft-irtf-cfrg-eddsa-8
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Aug 2016 07:28:33 -0000

On Fri, Aug 19, 2016 at 02:16:07PM -0700, Jim Schaad wrote:

I don't know about that EdDSA intro section. I find it hard to
read too.

> I don't know if this needs to be dealt with in the constant time
> verification or not.  Can I short circuit after doing the checks for
> validity of S and the public key without doing the math to check the
> signature value and not leak any significant information.

Well, all inputs for verification are usually public, so verification
usually does not need to be constant-time.

(There might be some bad standards that need constant-time
verification, but those are very rare and quite nasty).


-Ilari


From nobody Sat Aug 20 15:08:04 2016
Return-Path: <ietf@augustcellars.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 221DB12D108; Sat, 20 Aug 2016 15:08:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.449
X-Spam-Level: 
X-Spam-Status: No, score=-2.449 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.548, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 o0NE1QkHnLNm; Sat, 20 Aug 2016 15:08:01 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8FB8D12B03D; Sat, 20 Aug 2016 15:08:01 -0700 (PDT)
Received: from hebrews (192.168.1.152) by mail2.augustcellars.com (192.168.1.201) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Sat, 20 Aug 2016 15:19:53 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: <draft-irtf-cfrg-eddsa@ietf.org>, <cfrg@ietf.org>
References: <09b401d1fa5e$e85a0ae0$b90e20a0$@augustcellars.com>
In-Reply-To: <09b401d1fa5e$e85a0ae0$b90e20a0$@augustcellars.com>
Date: Sat, 20 Aug 2016 15:07:34 -0700
Message-ID: <006101d1fb2f$42b5cb20$c8216160$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQGO/Tr5JuhhMxoAT4AmyyajoPRtdaDYY9kg
Content-Language: en-us
X-Originating-IP: [192.168.1.152]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/6PdQDWGqXMqqgsrSIrW7LKfxi78>
Subject: Re: [Cfrg] Review of draft-irtf-cfrg-eddsa-8
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Aug 2016 22:08:03 -0000

I have validated the following:

1.  All of the examples in the draft validate using the python code
supplied.
2.  All of the examples in the draft validate using my implementation.

Jim


> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Jim Schaad
> Sent: Friday, August 19, 2016 2:16 PM
> To: draft-irtf-cfrg-eddsa@ietf.org; cfrg@ietf.org
> Subject: [Cfrg] Review of draft-irtf-cfrg-eddsa-8
> 
> This draft satisfies all of my issues.  From that point of view I think it
is ready to
> progress.
> 
> The following at things that might be clarifications and might not.  I
would
> request that you look at them, but none of them are of the level that I
feel they
> need to be fixed.
> 
> Section 3.3 - paragraph 1 - The text here is slightly misleading.  It was
correct in
> the past for EdDSA25519 and EdDSA25519ph, but it is not quite correct now.
> Given that much clearer instructions exist in later sections I don't think
this is a
> problem.
> 
> I don't know if this needs to be dealt with in the constant time
verification or
> not.  Can I short circuit after doing the checks for validity of S and the
public key
> without doing the math to check the signature value and not leak any
significant
> information.
> 
> I will look at doing validation of the examples sometime this weekend.
> 
> Jim
> 
> 
> 
> 
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Mon Aug 22 12:04:13 2016
Return-Path: <hallam@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5A4D112D11F for <cfrg@ietfa.amsl.com>; Mon, 22 Aug 2016 12:04:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=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=gmail.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 X1KuSPwGi1W6 for <cfrg@ietfa.amsl.com>; Mon, 22 Aug 2016 12:04:10 -0700 (PDT)
Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (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 ECE2912D1D2 for <cfrg@irtf.org>; Mon, 22 Aug 2016 12:04:09 -0700 (PDT)
Received: by mail-qk0-x229.google.com with SMTP id t7so89951992qkh.1 for <cfrg@irtf.org>; Mon, 22 Aug 2016 12:04:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:from:date:message-id:subject:to; bh=R46glwfuinuQEXLMMrmIX627Z2aZvla+rlJjE7vw5cg=; b=keaCnE+bLsLTjpdMBg/AcCyQ+V0QcBNJ149Y9ZYkfHmMjtapAB16idE5TDII9jRQaS q751gL+9farQVjEOVQZ0prfs+HHDMgGIzEue5e8enNuaYWj/FSn4enD5iS7RhqaaN/nv vbkgzpgtPaPylVBNWdtNgIv7mUR+WcS69KIEUZQeyi1nr30eC4vX9hz0XoxnaP9IYzrc OPJA6N+UQeMeJfMr05fYyzRnQ60jMINPEgyT4riD2w5PRR9KfAVQJo3pR4xlZq83RTaq VwtFaGJcMSlQruUC7wU6gmiJSbekod7q2pe0qjkU1m3gDJQn9D/ypqy3J0IxP3bFym8l UBLg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=R46glwfuinuQEXLMMrmIX627Z2aZvla+rlJjE7vw5cg=; b=AQqH/ptYIV1aOMgR2HUMSKIJTCDJKPcqb4DyIvuVmRz0SZ1JgMlhANUHA+JIRcTV6p sTenSxEj0rHrWvqg7/KCfXzczGXd5o3uYyEN6kXU8snpZ2Is+SO0w2w4MIITFXO5RabE 7dCzkPfjT1V6KzTM3gDw2oiOrMP/Kn3OH36OxsFnN7WMejr5PfHLq33iUb5fHmwQcmBT O01iliGwhuzO7TQDsZQ6pCWAGTB8HwqaHzg5YiS6Dt3PHIv1cSfTmlH4cnlrHwDIWf2T lbaoWFat19fAoWg6ihNHdCXx9TeCGE0gZmx/l7s4An10mtGIwBIlMWv+uoNmaoPsh0a9 hUfw==
X-Gm-Message-State: AEkoousuYHp51pN5n2ZyLF+C0Zm2JzS+j+T6+m5XhlGqtMcrFT3ai4qypM0qjdZxw/qN+Hj+pYLqUyWYggZv6A==
X-Received: by 10.55.99.195 with SMTP id x186mr25013950qkb.26.1471892649031; Mon, 22 Aug 2016 12:04:09 -0700 (PDT)
MIME-Version: 1.0
Sender: hallam@gmail.com
Received: by 10.55.168.151 with HTTP; Mon, 22 Aug 2016 12:04:08 -0700 (PDT)
From: Phillip Hallam-Baker <phill@hallambaker.com>
Date: Mon, 22 Aug 2016 15:04:08 -0400
X-Google-Sender-Auth: 2E1H8l7X350QRopIPTuJz1XG-oU
Message-ID: <CAMm+Lwi3e2TCx79bMQJLcegL2fV_L2jkMmvvpD4Q9k4KMsG-SA@mail.gmail.com>
To: endymail <endymail@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>, IETF OpenPGP <openpgp@ietf.org>, IETF SMIME <smime@ietf.org>
Content-Type: multipart/alternative; boundary=001a114d38227e3edd053aadb633
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/xSuAKoMXygK9JYbQnHZ0HtYSe-k>
Subject: [Cfrg] Proposal to use Proxy Re-Encryption in a messaging protocol
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Aug 2016 19:04:12 -0000

--001a114d38227e3edd053aadb633
Content-Type: text/plain; charset=UTF-8

NB: Please direct followups to endymail@ietf.org alone


The draft is at:

https://www.ietf.org/id/draft-hallambaker-mesh-recrypt-00.txt


At the last IETF, I made a presentation on the use of Proxy Re-Encryption
'recryption' at the CFRG session=. I think that this is a very powerful
technique that solves some real problems we are facing today that were
probably not as apparent when it was first proposed.

In particular, recryption allows end-to-end security to be preserved in
situations where it would normally be lost. For example in a mailing list
application or in a situation where Alice needs to read her email on
multiple devices, some of which might be mobile devices that could get
lost. Recryption also provides the ideal basis for Confidential Document
Control which is an access control system that uses data level encryption,

One slight holdup here is that there is a patent encumbrance that purports
to claim the use of recyption for DRM applications but this will expire
shortly, certainly before any project could get off the ground.


I have written an Internet draft showing how Recryption might be
implemented as a 'clean slate' protocol. Since we don't have anything like
a CDC application yet (Plasma maybe), this is going to be a requirement for
some situations. I am thinking we should probably try to build something
and work out how to get that running before working out how best to fit
these capabilities to S/MIME, OpenPGP, Jabber, etc.

Contrary to my usual practice, there is no code so far, well no
implementation code.I will be filling that in once I finish a few things
ahead of this in the queue, specifically using the Mesh to manage SSH keys.


The one technical holdup I see here is that if we are going to get people
to use it, usability can't be 'OK' or 'not bad'. The only way to get a new
crypto system off the ground is to design something that delivers usability
that is iPhone level perfect. I think that the Mesh makes that possible of
course but I will probably have to prove that with some demos. Which is why
I want to get the Mesh to manage SSH keys.

--001a114d38227e3edd053aadb633
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small">NB:=
 Please direct followups to <a href=3D"mailto:endymail@ietf.org">endymail@i=
etf.org</a> alone</div><div class=3D"gmail_default" style=3D"font-size:smal=
l"><br></div><div class=3D"gmail_default" style=3D"font-size:small"><br></d=
iv><div class=3D"gmail_default" style=3D"font-size:small">The draft is at:<=
/div><div class=3D"gmail_default" style=3D"font-size:small"><br></div><div =
class=3D"gmail_default" style=3D""><a href=3D"https://www.ietf.org/id/draft=
-hallambaker-mesh-recrypt-00.txt">https://www.ietf.org/id/draft-hallambaker=
-mesh-recrypt-00.txt</a><br></div><div class=3D"gmail_default" style=3D"fon=
t-size:small"><br></div><div class=3D"gmail_default" style=3D"font-size:sma=
ll"><br></div><div class=3D"gmail_default" style=3D"font-size:small">At the=
 last IETF, I made a presentation on the use of Proxy Re-Encryption &#39;re=
cryption&#39; at the CFRG session=3D. I think that this is a very powerful =
technique that solves some real problems we are facing today that were prob=
ably not as apparent when it was first proposed.</div><div class=3D"gmail_d=
efault" style=3D"font-size:small"><br></div><div class=3D"gmail_default" st=
yle=3D"font-size:small">In particular, recryption allows end-to-end securit=
y to be preserved in situations where it would normally be lost. For exampl=
e in a mailing list application or in a situation where Alice needs to read=
 her email on multiple devices, some of which might be mobile devices that =
could get lost. Recryption also provides the ideal basis for Confidential D=
ocument Control which is an access control system that uses data level encr=
yption,</div><div class=3D"gmail_default" style=3D"font-size:small"><br></d=
iv><div class=3D"gmail_default" style=3D"font-size:small">One slight holdup=
 here is that there is a patent encumbrance that purports to claim the use =
of recyption for DRM applications but this will expire shortly, certainly b=
efore any project could get off the ground.</div><div class=3D"gmail_defaul=
t" style=3D"font-size:small"><br></div><div class=3D"gmail_default" style=
=3D"font-size:small"><br></div><div class=3D"gmail_default" style=3D"font-s=
ize:small">I have written an Internet draft showing how Recryption might be=
 implemented as a &#39;clean slate&#39; protocol. Since we don&#39;t have a=
nything like a CDC application yet (Plasma maybe), this is going to be a re=
quirement for some situations. I am thinking we should probably try to buil=
d something and work out how to get that running before working out how bes=
t to fit these capabilities to S/MIME, OpenPGP, Jabber, etc.</div><div clas=
s=3D"gmail_default" style=3D"font-size:small"><br></div><div class=3D"gmail=
_default" style=3D"font-size:small">Contrary to my usual practice, there is=
 no code so far, well no implementation code.I will be filling that in once=
 I finish a few things ahead of this in the queue, specifically using the M=
esh to manage SSH keys.</div><div class=3D"gmail_default" style=3D"font-siz=
e:small"><br></div><div class=3D"gmail_default" style=3D"font-size:small"><=
br></div><div class=3D"gmail_default" style=3D"font-size:small">The one tec=
hnical holdup I see here is that if we are going to get people to use it, u=
sability can&#39;t be &#39;OK&#39; or &#39;not bad&#39;. The only way to ge=
t a new crypto system off the ground is to design something that delivers u=
sability that is iPhone level perfect. I think that the Mesh makes that pos=
sible of course but I will probably have to prove that with some demos. Whi=
ch is why I want to get the Mesh to manage SSH keys.</div><div class=3D"gma=
il_default" style=3D"font-size:small"><br></div><div class=3D"gmail_default=
" style=3D"font-size:small"><br></div><div class=3D"gmail_default" style=3D=
"font-size:small"><br></div></div>

--001a114d38227e3edd053aadb633--


From nobody Wed Aug 24 19:08:30 2016
Return-Path: <bascule@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B540812D786 for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 19:08:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 fmZbZnaV1jLt for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 19:08:23 -0700 (PDT)
Received: from mail-ua0-x22d.google.com (mail-ua0-x22d.google.com [IPv6:2607:f8b0:400c:c08::22d]) (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 73CC812D76E for <cfrg@irtf.org>; Wed, 24 Aug 2016 19:08:23 -0700 (PDT)
Received: by mail-ua0-x22d.google.com with SMTP id k90so60802567uak.1 for <cfrg@irtf.org>; Wed, 24 Aug 2016 19:08:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:from:date:message-id:subject:to; bh=UXFmFkxkX9jSFHaJ+D+9YhNuQA9vo9V27dRaxh9z6Wg=; b=G4lLVureeLzbIFK+K86snC7YkRnwTC4IzzBRmHBsIpZYysVCFr2EI/0z1GFRMWxKhj NX0SlMm5tEhmUSXusTeDL9PH6hqznqzJZuzZlmr32CAyIcfJJXdbs2XJBfSxMZ0nHffg zLrJ9Rwq+rcDw8nP8U10Cli+s0lzlGZK3+jeLFMDhcr3NxJaK39d4JL7EatPic3VtS8d 66HtCXh2aNnDZMj6dLWk4PRn0xqhfDM1yFBfY1E82xP9Z1gT7+NGDaPbwce3HlDKy3X5 eCVPDJKHlUqvupicgMRGisNZQfRzaGp+0SOv6+Nt6LbNSX2ULjG3vurd46UqUIR6B+Lf z1og==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UXFmFkxkX9jSFHaJ+D+9YhNuQA9vo9V27dRaxh9z6Wg=; b=JZBxLgpfi15q3RVXUkhubAap0cwgDNu91GP1EZfPTMF2WoR/jiq3Q+iODrtM7O740c sPVB+l9Hnexf4QL6/27KSG3Fbc9IMbmEU0bT6xOXYy2oOrMyU+g9QUW+umUbTpxzo6Jp 5P1OlQA5QCsjChdKzvz/Zd84c3QkROumvF+NV5VmFDy3ujEzJw3xZnY8Plf2u3mttnZM ctLng5I+cYm8sonx95rUSzqaeth7MVhnKxLIqexRsq5yRuj4lqCJU4cWfIYTXh49CUEi qW2eMXNcMBLFBnBHsNbv2Q79YFeVBw4PgOzUzEYPRXz1Zmg7RuQeB/SrIcBV54OBarUt REEg==
X-Gm-Message-State: AEkoouvrsNbh4Fmg4wOxBbqlmnPVYFYP1L0fUF3S5L7PnNYoZkW3/T+FTTek7N1eYT8/yZCE8olgE7IS/F9C/A==
X-Received: by 10.31.148.147 with SMTP id w141mr3533874vkd.1.1472090902596; Wed, 24 Aug 2016 19:08:22 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.82.27 with HTTP; Wed, 24 Aug 2016 19:08:02 -0700 (PDT)
From: Tony Arcieri <bascule@gmail.com>
Date: Wed, 24 Aug 2016 19:08:02 -0700
Message-ID: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com>
To: "<tls@ietf.org>" <tls@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: multipart/alternative; boundary=001a113d33fc5393c0053adbdf1d
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/0UiaZsmPYtcTAWEGZP-QXOB-fXk>
Subject: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 02:08:26 -0000

--001a113d33fc5393c0053adbdf1d
Content-Type: text/plain; charset=UTF-8

This attack was published today[*]:

https://sweet32.info/

I bring it up because I think the threat model is similar to the threats
that lead to RC4 "diediedie"

https://www.rfc-editor.org/info/rfc7465

Should there be a 3DES "diediedie"?

I believe 3DES is MTI for TLS 1.0/1.1(?) but I think it would make sense
for it to be banned from TLS 1.3.

[*] Lest anyone claim the contrary, I am not surprised by this attack, and
have pushed to have 3DES removed from TLS prior to the publication of this
attack, and can probably find a TLS implementer who can back me up on that.

-- 
Tony Arcieri

--001a113d33fc5393c0053adbdf1d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">This attack was published today[*]:<div><br></div><div><a =
href=3D"https://sweet32.info/">https://sweet32.info/</a></div><div><br></di=
v><div>I bring it up because I think the threat model is similar to the thr=
eats that lead to RC4 &quot;diediedie&quot;</div><div><br></div><div><a hre=
f=3D"https://www.rfc-editor.org/info/rfc7465">https://www.rfc-editor.org/in=
fo/rfc7465</a></div><div><div><br></div><div>Should there be a 3DES &quot;d=
iediedie&quot;?</div><div><br></div><div>I believe 3DES is MTI for TLS 1.0/=
1.1(?) but I think it would make sense for it to be banned from TLS 1.3.</d=
iv><div><br></div><div>[*] Lest anyone claim the contrary, I am not surpris=
ed by this attack, and have pushed to have 3DES removed from TLS prior to t=
he publication of this attack, and can probably find a TLS implementer who =
can back me up on that.</div><div><br></div>-- <br><div class=3D"gmail_sign=
ature" data-smartmail=3D"gmail_signature">Tony Arcieri<br></div>
</div></div>

--001a113d33fc5393c0053adbdf1d--


From nobody Wed Aug 24 19:31:58 2016
Return-Path: <kaduk@mit.edu>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 68B6D12D1BD for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 19:31:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.768
X-Spam-Level: 
X-Spam-Status: No, score=-4.768 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.548, SPF_PASS=-0.001, URIBL_RED=0.001] autolearn=ham autolearn_force=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 5Zl3o2CQokn0 for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 19:31:54 -0700 (PDT)
Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu [18.9.25.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C1B6212D0CF for <cfrg@irtf.org>; Wed, 24 Aug 2016 19:31:54 -0700 (PDT)
X-AuditID: 1209190d-cfbff70000005edd-ac-57be589977a1
Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by  (Symantec Messaging Gateway) with SMTP id 88.80.24285.9985EB75; Wed, 24 Aug 2016 22:31:53 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id u7P2Vq91022461; Wed, 24 Aug 2016 22:31:53 -0400
Received: from multics.mit.edu (system-low-sipb.mit.edu [18.187.2.37]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id u7P2Vn7T020339 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 Aug 2016 22:31:52 -0400
Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id u7P2Vnit000179; Wed, 24 Aug 2016 22:31:49 -0400 (EDT)
Date: Wed, 24 Aug 2016 22:31:49 -0400 (EDT)
From: Benjamin Kaduk <kaduk@MIT.EDU>
To: Tony Arcieri <bascule@gmail.com>
In-Reply-To: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com>
Message-ID: <alpine.GSO.1.10.1608242231290.5272@multics.mit.edu>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com>
User-Agent: Alpine 1.10 (GSO 962 2008-03-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGIsWRmVeSWpSXmKPExsUixG6nojszYl+4Qd9kA4tLj1uYLLp/HGSy +HS+i9GB2WPnrLvsHkuW/GTymLzxMFsAcxSXTUpqTmZZapG+XQJXxvw18gUNLBVnz5xhaWCc y9zFyMEhIWAicfeWcxcjF4eQQBuTxKk5h1khnI2MEpt/f2eDcA4xSSxv64fKNDBKzHs9DyjD ycEioC0x7+YvFhCbTUBFYuabjWBxESB76c89YHFmAReJiz0NjCC2sICSxOHmZmYQm1MgUGL/ q5lgNbwCDhKfTp4Es4UEAiQObpzDBGKLCuhIrN4/BapGUOLkzCdQM7Uklk/fxjKBUWAWktQs JKkFjEyrGGVTcqt0cxMzc4pTk3WLkxPz8lKLdI30cjNL9FJTSjcxgoKUU5J3B+O/u16HGAU4 GJV4eHes2hsuxJpYVlyZe4hRkoNJSZQ3vAkoxJeUn1KZkVicEV9UmpNafIhRgoNZSYT3d+C+ cCHelMTKqtSifJiUNAeLkjjv9m/t4UIC6YklqdmpqQWpRTBZGQ4OJQnejHCgRsGi1PTUirTM nBKENBMHJ8hwHqDhy0FqeIsLEnOLM9Mh8qcYdTkW/Li9lkmIJS8/L1VKnPdxGFCRAEhRRmke 3BxwctnNpPqKURzoLWHebpBRPMDEBDfpFdASJqAlLfd3gywpSURISTUwRugqXvJMZdZq21qz 8y1n4s3dyvc3lq1+xcjNz77Vw9vM6/uaZ/NsPaPu13/W+WwsNO3i+UPd64suhRxub5vw/9DL OP9dPMEm4uHqq9NueZv8WzN7795FulPXvDsndPzk48A7OoVf552QdMr+/dDsZumRn3Hy8odF bNe6VeacVv5m+0O88mCqtRJLcUaioRZzUXEiAEcXwz8JAwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/OwoI8fOAj1rr8WesO8_Pt9p-3Ms>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 02:31:56 -0000

On Wed, 24 Aug 2016, Tony Arcieri wrote:

> This attack was published today[*]:
>
> https://sweet32.info/
>
> I bring it up because I think the threat model is similar to the threats
> that lead to RC4 "diediedie"
>
> https://www.rfc-editor.org/info/rfc7465
>
> Should there be a 3DES "diediedie"?

Well, there is
https://tools.ietf.org/html/draft-kaduk-kitten-des-des-des-die-die-die-00
but it is not really what you are looking for, I think, given the
recipient list on the message.

-Ben


From nobody Wed Aug 24 19:34:35 2016
Return-Path: <bascule@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D73012D623 for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 19:34:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 mBfJWoyk-9_5 for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 19:34:32 -0700 (PDT)
Received: from mail-ua0-x230.google.com (mail-ua0-x230.google.com [IPv6:2607:f8b0:400c:c08::230]) (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 EA5C012D127 for <cfrg@irtf.org>; Wed, 24 Aug 2016 19:34:31 -0700 (PDT)
Received: by mail-ua0-x230.google.com with SMTP id 74so61683515uau.0 for <cfrg@irtf.org>; Wed, 24 Aug 2016 19:34:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zhLzcJbC5ibBRBzp8msE98d7IB5JfRfGZbfvzeEb3rc=; b=a4q5UG7+zZN5Ry5T48xJ+HplyCUi4YFfSNMh01RqViraRKUtCVUsBh1Bt75wAVzOY1 avP7s/O7LcFk2TJzfr83YTA6L7TJ8aiWlQu+/tX3Ks/c7nriixicNH/fmSV4RupUgiIl KF448kXuw0wjHkY/Rhzl1fo/6+x1yhaMcBym2nDBX0ACN0DiBnRcy7i7px3rgSH7d12x IFFym6Z0jgbq0fO24n0/jRk5ucDOm6TikkVSuolBJWyFH+MiADY4uR63lGg/PSICNAnh pDjRYRDxy9FS660SzS7E3G/AAeUBpxBpb69wu6g0IHhlKyvRXdyEOUgPMYuCKyhE6Ot/ Mqfw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zhLzcJbC5ibBRBzp8msE98d7IB5JfRfGZbfvzeEb3rc=; b=j52KlrbyxCTsan7roITj/jzfkJCTX7BVpUooW6tMZg3g/4gNRDOk1Niu5BlHLCwVg0 DFWQSLEsImfdL5PbPY8KGMZqobHP6//sHv/zmHUGmiEAeA+KS4yLnfkWgiGaqGoBOP7R uSwK/omDfHt+e3/kjvN4M73ZnbNVscI+6NpcJA/tgzO32NR/T14ZphTaLqnJzKqegZ2E HQ0Lzz7ohM8iJbApy991h8+kgUx5UdZ0UCR0fKKzPyaBywVm8/ybxq/gZ2YE+wIreyVE f2JbqFyQYfWJl0btUVgWeTJSiyKF9FVlsvBbXPZ4/CNuaBIm+LWuy9DcNZXaftF9JEQq p+oA==
X-Gm-Message-State: AE9vXwNZppi1Izf9J6VC4UnGfECkXfc2v27XuenqYRPCuDT7OT0f2ReK48/n5RW+oX7T2K5JZRdlCHWx2HcILA==
X-Received: by 10.176.2.242 with SMTP id 105mr3740627uah.10.1472092471005; Wed, 24 Aug 2016 19:34:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.82.27 with HTTP; Wed, 24 Aug 2016 19:34:10 -0700 (PDT)
In-Reply-To: <alpine.GSO.1.10.1608242231290.5272@multics.mit.edu>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <alpine.GSO.1.10.1608242231290.5272@multics.mit.edu>
From: Tony Arcieri <bascule@gmail.com>
Date: Wed, 24 Aug 2016 19:34:10 -0700
Message-ID: <CAHOTMVKBmDT-okm=ikECrotcEKS5fdn840-gV+5Tnx3eg4JBkQ@mail.gmail.com>
To: Benjamin Kaduk <kaduk@mit.edu>
Content-Type: multipart/alternative; boundary=001a1142e550cf99a2053adc3c6d
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/reGEIeuKOvaZrE7whrikU2gSQPk>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 02:34:34 -0000

--001a1142e550cf99a2053adc3c6d
Content-Type: text/plain; charset=UTF-8

On Wed, Aug 24, 2016 at 7:31 PM, Benjamin Kaduk <kaduk@mit.edu> wrote:

> Well, there is
> https://tools.ietf.org/html/draft-kaduk-kitten-des-des-des-die-die-die-00
> but it is not really what you are looking for, I think, given the
> recipient list on the message.


I am particularly interested in 3DES's usage in TLS, given its previous MTI
status in TLS, and because it was until very recently included in the
OpenSSL "DEFAULT" ciphersuite list.

-- 
Tony Arcieri

--001a1142e550cf99a2053adc3c6d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On W=
ed, Aug 24, 2016 at 7:31 PM, Benjamin Kaduk <span dir=3D"ltr">&lt;<a href=
=3D"mailto:kaduk@mit.edu" target=3D"_blank">kaduk@mit.edu</a>&gt;</span> wr=
ote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border=
-left:1px #ccc solid;padding-left:1ex">Well, there is<br>
<a href=3D"https://tools.ietf.org/html/draft-kaduk-kitten-des-des-des-die-d=
ie-die-00" rel=3D"noreferrer" target=3D"_blank">https://tools.ietf.org/html=
/<wbr>draft-kaduk-kitten-des-des-<wbr>des-die-die-die-00</a><br>
but it is not really what you are looking for, I think, given the<br>
recipient list on the message.</blockquote><div><br></div><div>I am particu=
larly interested in 3DES&#39;s usage in TLS, given its previous MTI status =
in TLS, and because it was until very recently included in the OpenSSL &quo=
t;DEFAULT&quot; ciphersuite list.</div><div>=C2=A0</div></div>-- <br><div c=
lass=3D"gmail_signature" data-smartmail=3D"gmail_signature">Tony Arcieri<br=
></div>
</div></div>

--001a1142e550cf99a2053adc3c6d--


From nobody Wed Aug 24 19:36:29 2016
Return-Path: <bascule@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4276812D127 for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 19:36:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 ZaT6E3Vz6YAa for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 19:36:22 -0700 (PDT)
Received: from mail-ua0-x22f.google.com (mail-ua0-x22f.google.com [IPv6:2607:f8b0:400c:c08::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 730CD12D629 for <cfrg@irtf.org>; Wed, 24 Aug 2016 19:36:22 -0700 (PDT)
Received: by mail-ua0-x22f.google.com with SMTP id n59so61622642uan.2 for <cfrg@irtf.org>; Wed, 24 Aug 2016 19:36:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=aPWAoHCs9vBIoq2sXmK3fvKx3VEV11L+dbxphPfAn+Y=; b=SlLwOzId+eveejMW1dLTWlZ26OKopOmqTw1lb6cJDUhWeniD5nq3bvmhslO8+y31v+ OzEntvDAhhggjlydlPAlx7B9Wd9NmEhlGXOFxup5nXEumiifGzzjXXEZmdAUpAFV0WGf yCNsKMKOBMaCRO0SG14Vo89TBHqrgkTbsj3MXkjqwtyQh06kkF5NiJX/GSL9uHCwyEvg 9VMyBCNQfXToIdBCW8BmYZD35JCaSXcrwBOIVtSlURmncy+OoPSc6sPMXCjW65Kq8V+T uOvsofgEylIt1WLwAd7jZgYwf+4lD5AVXBBsinCs/iRKDqFPw86lPpBOudm0yKXCfuhK dgww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=aPWAoHCs9vBIoq2sXmK3fvKx3VEV11L+dbxphPfAn+Y=; b=QYFRWqYkMvW54/cJyWqw5btvehzu+8QIXTaCGxntKECrWsYUNRQGctzybtfqPFpxb6 +02L80pqeyhIO2tYWJVaSagGMf0U+2j8im3MYaU9X6TnfRfQwoO1eWZO9z1QyTWOMi/K QA2Q4AepD4ZVKq5TSbZ1d3Mg0Ica/SswxMKmCxOxW48JHM44tzmxFLNx1oQL/1SSRrLu La/ah50czrUbpW8E8K/wizu7dXKCE+LW/hE2nBHY89PaNRjR037X8cVIizJ9FaKGMidw KawM9rgrPcxQg9J8TpNFloQeHdtPc731UDsaL1U5CdwcNNmPAeC40rryO8OxVKB0Qi7o OaXQ==
X-Gm-Message-State: AEkoouuCyOrbPewM9ZH2JzrD6HXlm/Q1flu+CkSP5haLumL8OJHeR58fafE69RY6sW8eZR0Z1PwDIcLfhkPvug==
X-Received: by 10.31.110.135 with SMTP id j129mr3581105vkc.81.1472092581640; Wed, 24 Aug 2016 19:36:21 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.82.27 with HTTP; Wed, 24 Aug 2016 19:36:01 -0700 (PDT)
In-Reply-To: <CAHOTMVKBmDT-okm=ikECrotcEKS5fdn840-gV+5Tnx3eg4JBkQ@mail.gmail.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <alpine.GSO.1.10.1608242231290.5272@multics.mit.edu> <CAHOTMVKBmDT-okm=ikECrotcEKS5fdn840-gV+5Tnx3eg4JBkQ@mail.gmail.com>
From: Tony Arcieri <bascule@gmail.com>
Date: Wed, 24 Aug 2016 19:36:01 -0700
Message-ID: <CAHOTMVLTEFYV8MRAJTQumKLVH1k1rPyHuVt3BBSf80-y85bYkg@mail.gmail.com>
To: Benjamin Kaduk <kaduk@mit.edu>
Content-Type: multipart/alternative; boundary=94eb2c14acf267c1d0053adc4385
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/FGLEurV-3PESDL24nrKI0Z_5nz4>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 02:36:26 -0000

--94eb2c14acf267c1d0053adc4385
Content-Type: text/plain; charset=UTF-8

It appears 3DES is not supported in TLS 1.3.

I would still support a "diediedie" RFC banning its use in previous
versions of TLS, despite its previous MTI status.

On Wed, Aug 24, 2016 at 7:34 PM, Tony Arcieri <bascule@gmail.com> wrote:

> On Wed, Aug 24, 2016 at 7:31 PM, Benjamin Kaduk <kaduk@mit.edu> wrote:
>
>> Well, there is
>> https://tools.ietf.org/html/draft-kaduk-kitten-des-des-des-die-die-die-00
>> but it is not really what you are looking for, I think, given the
>> recipient list on the message.
>
>
> I am particularly interested in 3DES's usage in TLS, given its previous
> MTI status in TLS, and because it was until very recently included in the
> OpenSSL "DEFAULT" ciphersuite list.
>
> --
> Tony Arcieri
>



-- 
Tony Arcieri

--94eb2c14acf267c1d0053adc4385
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">It appears 3DES is not supported in TLS 1.3.<div><br></div=
><div>I would still support a &quot;diediedie&quot; RFC banning its use in =
previous versions of TLS, despite its previous MTI status.</div></div><div =
class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, Aug 24, 2016 a=
t 7:34 PM, Tony Arcieri <span dir=3D"ltr">&lt;<a href=3D"mailto:bascule@gma=
il.com" target=3D"_blank">bascule@gmail.com</a>&gt;</span> wrote:<br><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div c=
lass=3D"gmail_quote"><span class=3D"">On Wed, Aug 24, 2016 at 7:31 PM, Benj=
amin Kaduk <span dir=3D"ltr">&lt;<a href=3D"mailto:kaduk@mit.edu" target=3D=
"_blank">kaduk@mit.edu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex">Well, there is<br>
<a href=3D"https://tools.ietf.org/html/draft-kaduk-kitten-des-des-des-die-d=
ie-die-00" rel=3D"noreferrer" target=3D"_blank">https://tools.ietf.org/html=
/dr<wbr>aft-kaduk-kitten-des-des-des-<wbr>die-die-die-00</a><br>
but it is not really what you are looking for, I think, given the<br>
recipient list on the message.</blockquote><div><br></div></span><div>I am =
particularly interested in 3DES&#39;s usage in TLS, given its previous MTI =
status in TLS, and because it was until very recently included in the OpenS=
SL &quot;DEFAULT&quot; ciphersuite list.</div><span class=3D"HOEnZb"><font =
color=3D"#888888"><div>=C2=A0</div></font></span></div><span class=3D"HOEnZ=
b"><font color=3D"#888888">-- <br><div data-smartmail=3D"gmail_signature">T=
ony Arcieri<br></div>
</font></span></div></div>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature" data-smartmail=3D"gmail_signature">Tony Arcieri<br></d=
iv>
</div>

--94eb2c14acf267c1d0053adc4385--


From nobody Wed Aug 24 19:41:29 2016
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BAFCC12D627 for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 19:41:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.848
X-Spam-Level: 
X-Spam-Status: No, score=-4.848 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_MED=-2.3, RP_MATCHES_RCVD=-0.548, SPF_PASS=-0.001, URIBL_RED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
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 XPc_EjUS9MqV for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 19:41:15 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2816712B02A for <cfrg@irtf.org>; Wed, 24 Aug 2016 19:41:15 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id E76E0BE77; Thu, 25 Aug 2016 03:41:11 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hphZ_9MAUUSs; Thu, 25 Aug 2016 03:41:10 +0100 (IST)
Received: from [192.168.138.252] (unknown [58.251.152.17]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 0630DBE39; Thu, 25 Aug 2016 03:41:06 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1472092870; bh=a/L/OBXxpeyXHoMHzIhAwnhJGPPbaB/JbeOUoYV7LD4=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=h+16mHHkZaargdY3Y2XCDbII5hJ5JGeq4K9me+yESLH5cJOk3AINux0p4ZbSNGiil 49Baxt7vnE5VTXw3ECjV/YLRd5aoGbo8W6iU0bVuno3m0TcB1jjhKXH4v9L58OvYjM XJVHZM4j9bIPblsEaK/I6vJDucUz7whtDn6t1x/o=
To: Tony Arcieri <bascule@gmail.com>, Benjamin Kaduk <kaduk@mit.edu>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <alpine.GSO.1.10.1608242231290.5272@multics.mit.edu> <CAHOTMVKBmDT-okm=ikECrotcEKS5fdn840-gV+5Tnx3eg4JBkQ@mail.gmail.com>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <c794102a-a92b-64bf-0ff3-d38c08edc7c5@cs.tcd.ie>
Date: Thu, 25 Aug 2016 03:41:02 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <CAHOTMVKBmDT-okm=ikECrotcEKS5fdn840-gV+5Tnx3eg4JBkQ@mail.gmail.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms070702030107030506090202"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/D4orr1tlQrLDn8I89VCDWbRwRZY>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 02:41:25 -0000

This is a cryptographically signed message in MIME format.

--------------ms070702030107030506090202
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable



On 25/08/16 03:34, Tony Arcieri wrote:
>
> https://sweet32.info/

Nice work.

> On Wed, Aug 24, 2016 at 7:31 PM, Benjamin Kaduk <kaduk@mit.edu> wrote:
>=20
>> Well, there is
>> https://tools.ietf.org/html/draft-kaduk-kitten-des-des-des-die-die-die=
-00
>> but it is not really what you are looking for, I think, given the
>> recipient list on the message.
>=20
>=20
> I am particularly interested in 3DES's usage in TLS, given its previous=
 MTI
> status in TLS, and because it was until very recently included in the
> OpenSSL "DEFAULT" ciphersuite list.

I guess there's sometimes value in those die-die-die RFCs. Given that
we have RFC7525/BCP195 [1] that already has a SHOULD NOT for effective
key sizes less than 128 bits, one could argue that the IETF has covered
that to a reasonable extent, in terms of RFCs saying to not do that.

But, if there was general support for such a draft, I'd be fine with
figuring out how to help get it done.

Cheers,
S.

[1] https://tools.ietf.org/html/rfc7525

>=20
>=20
>=20
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>=20


--------------ms070702030107030506090202
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
CvIwggUIMIID8KADAgECAhBPzaE7pzYviUJyhmHTFBdnMA0GCSqGSIb3DQEBCwUAMHUxCzAJ
BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBD
ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRDb20gQ2xhc3MgMSBDbGll
bnQgQ0EwHhcNMTYwMjA5MDkyODE1WhcNMTcwMjA5MDkyODE1WjBOMSIwIAYDVQQDDBlzdGVw
aGVuLmZhcnJlbGxAY3MudGNkLmllMSgwJgYJKoZIhvcNAQkBFhlzdGVwaGVuLmZhcnJlbGxA
Y3MudGNkLmllMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtuC0rYze/2JinSra
C9F2RjGdQZjNALLcW9C3WKTwYII3wBslobmHuPEYE5JaGItmzuKnAW619R1rD/kfoNWC19N3
rBZ6UX9Cmb9D9exCwYIwVuSwjrCQWGxgCtNQTrwKzCCpI790GRiMTvxvO7UmzmBrCaBLiZW5
R0fBjK5Yn6hUhAzGBkNbkIEL28cLJqH0yVz7Kl92OlzrQqTPEts5m6cDnNdY/ADfeAX18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/OQpqZtd4EXRM/KY913eSpmVyhlwP5SQU65bZ
8utF6qFjW1VCZ374oV9vd4QeOpjHdD6U5m0xL2BA2ceY30RZnWh75mclOXVPSdAaY+M160Lf
LJln26U+4JRT0IRZTvHGaz8mb78wpGA+q/Hy3u2vtazOZXcjs8T93BjjoWsfP0ve6DSFg1dZ
AAAAAAAA
--------------ms070702030107030506090202--


From nobody Wed Aug 24 19:45:21 2016
Return-Path: <bascule@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D57C12D789 for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 19:45:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 gcHnwjkqLhva for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 19:45:19 -0700 (PDT)
Received: from mail-ua0-x22a.google.com (mail-ua0-x22a.google.com [IPv6:2607:f8b0:400c:c08::22a]) (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 0293312D53B for <cfrg@irtf.org>; Wed, 24 Aug 2016 19:45:19 -0700 (PDT)
Received: by mail-ua0-x22a.google.com with SMTP id m60so21730563uam.3 for <cfrg@irtf.org>; Wed, 24 Aug 2016 19:45:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Hn00D9QQHLz/yljPkZx8HMPy8XtOG7JuroMfJ5J9fZE=; b=HKEkl9ZSH8OBncA/yWbJK3Rt0H5a63M8VzxPrkJq4n7GbMYKmSNbeNozprknCIHurT f94aZNL01JpCNUPK9xZAR65o7iE04B98C0LHeW0+HKbLkiMLG1BoRR97+jpeFj8MIZdr oswDU2PJabWS6l3TY8SbfwBQMxtMpRhvJw6RWsjAYXXP2VQqFEkNwnahX9FS0hvH+cYD jcMZNgdF5nHNEQQasy+JpqnsJauVRJ65a+Wf/e0F3KgW5Q5YgFldxiAlIk9gy9dDQSze yyTq//TrFY71ePXFr9sRA0Q/F1CFfw2cXyTy+5MPL6F8+8SvHc8Lq/DBbOxBbUreoJX5 +iZA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Hn00D9QQHLz/yljPkZx8HMPy8XtOG7JuroMfJ5J9fZE=; b=HHEX9OAANUMjqbhTiHADvuuA6+rssEFsdsuqb8pjNmzRaTwK67C5K1SuMlHlEYbm72 fcYS0J0AnxP3twOsgmXmOa0wokILT0K8HD9pkHpAoFw5d6wzXg+L1rsxtxyo0oWRYEE/ n5cpNQ2s9eLj14fNNQVNOiek1gLdxG4W7FRZq2iZBTa8M1BUY03Pg6k9VpyiQDRW1n5T IJqqpGiDJtiRe/7ACfwOOMiUEFsvXoK/VTrcQFl/xybXWN21BH5UsoT4k5C8xkWFum98 oVHsWPIJ6IbtJ+Zf18JHKabrlb+wfwa5M269XqQyp8rMBvFhpQE/4P8TzwXsM6zFbD6l e5VQ==
X-Gm-Message-State: AE9vXwOSKAKvZV7u9fric40eq5CCq3L5nDKGBEWnq1ApOzC+2+V6cZAnhsQmdPYnKzKz5V9FX1FhNdgSR/v4Sg==
X-Received: by 10.176.81.100 with SMTP id f33mr583389uaa.141.1472093118221; Wed, 24 Aug 2016 19:45:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.82.27 with HTTP; Wed, 24 Aug 2016 19:44:57 -0700 (PDT)
In-Reply-To: <c794102a-a92b-64bf-0ff3-d38c08edc7c5@cs.tcd.ie>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <alpine.GSO.1.10.1608242231290.5272@multics.mit.edu> <CAHOTMVKBmDT-okm=ikECrotcEKS5fdn840-gV+5Tnx3eg4JBkQ@mail.gmail.com> <c794102a-a92b-64bf-0ff3-d38c08edc7c5@cs.tcd.ie>
From: Tony Arcieri <bascule@gmail.com>
Date: Wed, 24 Aug 2016 19:44:57 -0700
Message-ID: <CAHOTMVLfrVr7sRO5==KC9rjbvdcjQdPoPXAm+Q0d8SVj1PoPfA@mail.gmail.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Content-Type: multipart/alternative; boundary=94eb2c1914ba635303053adc630d
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/sVAx3Fr_mSLxYHqzDQjAIoxB6rQ>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 02:45:20 -0000

--94eb2c1914ba635303053adc630d
Content-Type: text/plain; charset=UTF-8

On Wed, Aug 24, 2016 at 7:41 PM, Stephen Farrell <stephen.farrell@cs.tcd.ie>
wrote:

> On 25/08/16 03:34, Tony Arcieri wrote:
> I guess there's sometimes value in those die-die-die RFCs. Given that
> we have RFC7525/BCP195 [1] that already has a SHOULD NOT for effective
> key sizes less than 128 bits, one could argue that the IETF has covered
> that to a reasonable extent, in terms of RFCs saying to not do that.


Yes, aside from the 64-bit block size the the 112-bit (or sometimes
108-bit) key sizes are also notable for 3DES

-- 
Tony Arcieri

--94eb2c1914ba635303053adc630d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On W=
ed, Aug 24, 2016 at 7:41 PM, Stephen Farrell <span dir=3D"ltr">&lt;<a href=
=3D"mailto:stephen.farrell@cs.tcd.ie" target=3D"_blank">stephen.farrell@cs.=
tcd.ie</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 25/08/16 =
03:34, Tony Arcieri wrote:<br>I guess there&#39;s sometimes value in those =
die-die-die RFCs. Given that<br>
we have RFC7525/BCP195 [1] that already has a SHOULD NOT for effective<br>
key sizes less than 128 bits, one could argue that the IETF has covered<br>
that to a reasonable extent, in terms of RFCs saying to not do that.</block=
quote><div><br></div><div>Yes, aside from the 64-bit block size the the 112=
-bit (or sometimes 108-bit) key sizes are also notable for 3DES</div></div>=
<div><br></div>-- <br><div class=3D"gmail_signature" data-smartmail=3D"gmai=
l_signature">Tony Arcieri<br></div>
</div></div>

--94eb2c1914ba635303053adc630d--


From nobody Wed Aug 24 19:59:28 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E7D4612D5A2 for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 19:59:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=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 h_2g9gDvTbQx for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 19:59:25 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 46D8912D127 for <cfrg@irtf.org>; Wed, 24 Aug 2016 19:59:25 -0700 (PDT)
Received: from [172.31.24.203] (gzac12-mdf2-1.aoa.twosigma.com [208.77.215.155]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id CFB47284D97; Thu, 25 Aug 2016 02:59:23 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
In-Reply-To: <CAHOTMVKBmDT-okm=ikECrotcEKS5fdn840-gV+5Tnx3eg4JBkQ@mail.gmail.com>
Date: Wed, 24 Aug 2016 22:59:23 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <E201DE55-20AF-4581-B502-5112DBA535A5@dukhovni.org>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <alpine.GSO.1.10.1608242231290.5272@multics.mit.edu> <CAHOTMVKBmDT-okm=ikECrotcEKS5fdn840-gV+5Tnx3eg4JBkQ@mail.gmail.com>
To: tls@ietf.org
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/zZrgwK5VOXX6KGmNvnxYnPQtsx0>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 02:59:27 -0000

> On Aug 24, 2016, at 10:34 PM, Tony Arcieri <bascule@gmail.com> wrote:
>=20
> I am particularly interested in 3DES's usage in TLS, given its =
previous MTI status in TLS, and because it was until very recently =
included in the OpenSSL "DEFAULT" ciphersuite list.

For the record, it is only removed from the "DEFAULT" ciphersuite list =
in
tomorrow's (US/Eastern, today already for folks in Europe) 1.1.0 =
release.

In the 1.0.x releases it will change from "HIGH" to "MEDIUM", but =
remains
in "DEFAULT".  Users who elect just "HIGH" ciphers will not use 3DES, =
but
those who go with "DEFAULT" or explicitly include "MEDIUM" will =
generally
continue to enable 3DES as a low preference ciphersuite.

https://www.openssl.org/blog/blog/2016/08/24/sweet32/

My personal take is quoted in:

=
http://arstechnica.com/security/2016/08/new-attack-can-pluck-secrets-from-=
1-of-https-traffic-affects-top-sites/

   "We're not making a fuss about the 3DES issue, and rating it 'LOW',"
   Dukhovni wrote. "The 3DES issue is of little practical consequence at
   this time. It is just a matter of good hygiene to start saying =
goodbye
   to 3DES."

I am not opposed to a "diediedie" RFC, if that is likely to be helpful.
For TLS, this ciphersuite is already comparatively rare, and perhaps its
disappearance will not be sped up by a "diediedie" RFC?  Would an RFC
help to prod vendors into action more than the already published =
findings?
Would our collective energies be better focused on other, more pressing
goals?

--=20
	Viktor.=


From nobody Wed Aug 24 20:28:10 2016
Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5B13312D75F for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 20:28:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.748
X-Spam-Level: 
X-Spam-Status: No, score=-4.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.548] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=auckland.ac.nz
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 LXD2EzF2Tr1W for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 20:28:07 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 81F7F12D5A2 for <cfrg@irtf.org>; Wed, 24 Aug 2016 20:28:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1472095687; x=1503631687; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=Bow7FQL0B68TP6a/ibo3zU26RBAzqqjRXm7ixNdYfFY=; b=YcvoSN0Ihaflq7bluyT0LypkYbahAau3O5b4hk2T+1BzwmraIbVHkBYf 6uQIFnkHc/PAEjMgcG9ah4gqt9CyIsHMEvjsfJkzHKFRzS8qg/iJJd7Q+ jBvedLLylGqPk8P0TCi5uqdyro/6Vhr1M+VVAubjQdAmacHb8qs8r1/O1 I92n3Mq75kVmFp5lrkaoWDHyYcBZyaPoQw3vgC9bmPloLjG6vEKy2yZ97 UPUTRXvC7betcP3VdOu0KQcy3nOEfOBZ7vAqpuFCbFqgTfYH6w5dwAinA OzKtBQoHdpOUgUAGXHzHnpWBg9X3U69u8xMk1dggshyjD2dC79sZh0mvE A==;
X-IronPort-AV: E=Sophos;i="5.28,573,1464609600"; d="scan'208";a="103440125"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.125 - Outgoing - Outgoing
Received: from uxchange10-fe3.uoa.auckland.ac.nz ([130.216.4.125]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES256-SHA; 25 Aug 2016 15:28:04 +1200
Received: from UXCN10-5.UoA.auckland.ac.nz ([169.254.5.93]) by uxchange10-fe3.UoA.auckland.ac.nz ([169.254.143.234]) with mapi id 14.03.0266.001; Thu, 25 Aug 2016 15:28:04 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Tony Arcieri <bascule@gmail.com>, "<tls@ietf.org>" <tls@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [TLS] 3DES diediedie
Thread-Index: AQHR/nYBgGFjWg5clEOyDz4J8naNqqBZBEfx
Date: Thu, 25 Aug 2016 03:28:03 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73F4D01F6E@uxcn10-5.UoA.auckland.ac.nz>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com>
In-Reply-To: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.6.3.5]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/T7N0xyJ8X6PLzECbKSCFK9WgNVc>
Subject: Re: [Cfrg] [TLS] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 03:28:09 -0000

Tony Arcieri <bascule@gmail.com> writes:=0A=
=0A=
>Should there be a 3DES "diediedie"?=0A=
=0A=
Only if there's an actualy issue.  3DES is still very widely supported =0A=
(particularly in financial systems and embedded), and provides a useful=0A=
backup to AES.  An attack that recovers cookie if you can record 785GB=0A=
of traffic isn't anything I'm losing any sleep over.=0A=
=0A=
Peter.=


From nobody Wed Aug 24 20:38:14 2016
Return-Path: <bascule@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B01D712D0B0 for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 20:38:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 jdYk1u7ykQV2 for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 20:38:09 -0700 (PDT)
Received: from mail-ua0-x22b.google.com (mail-ua0-x22b.google.com [IPv6:2607:f8b0:400c:c08::22b]) (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 2CB9012D5AF for <cfrg@irtf.org>; Wed, 24 Aug 2016 20:38:09 -0700 (PDT)
Received: by mail-ua0-x22b.google.com with SMTP id l94so435722ual.0 for <cfrg@irtf.org>; Wed, 24 Aug 2016 20:38:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=L0/J7IBG4p1Okp7VDG2HErfRhXz/SMdjWyO88gYSHXU=; b=DibTq7wnU3Tp2mGz6/qO7m/od4DmwBc5b9TrNWj0IAZ4g2RSnHqsjYZrRtkpalCiIN OBzdMXN+7YeLZ0gMIyzNoA4/tTJkOqe2QDpVn/IzzGwJoJs6myYHiqbd4PWz/1G3/Wfl RxSqGavK+Us1XAg1v0JufpWBCfislViWlUf0svZS5Q6K9JPafpC7sVA8xJ9gUwOa/Bp9 iH90tcOCL/jSxXi6jUTW7Z+i9Atpcl+lBiHca1Nk+1UnCqmf3FPHGnjq3tkm9ARTMhWE Nlr4e0z/Yp04hglERjRmdcFzwtJKoZZlEbtOqScjIEUgiPWh83U7ed7kCgwYZ5yQ66zc jCdg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=L0/J7IBG4p1Okp7VDG2HErfRhXz/SMdjWyO88gYSHXU=; b=U29dWjv1sTOP3xUFe7Ni/pK+xaE1wn0hUlrXlyHXyInlJqZf2utIXOLpZ3BDU1yeXE ybG00dve5zz9IXpKHZOozzequzBg1nCbB7H3QRK0lNS8lFxSm/C5PP/0g4X1+Cy1a07V YPVoXBUPSNm4MrK93MKohv/j2BrM0zdY76mbeS2ttTDRONIPp+wJBkr+7MZdTiexwiOi 1jsQ5P59yobg3V/aZmebwr3FpCP0cDTyYw//6NLvh4dQQxfrvi3OI8WtmO2wrlXtcK7a zWC6H/CWOy3DVaoFd8dbTSJRm4WnnCrFUy/zX9K7dAc9cdTpv/vQQpLd7A0zXU4darf6 x2IA==
X-Gm-Message-State: AEkoous41uajWdPyCykVYBkw2HiKJuQaCt1aJhzAMFpeWTgZYNm7qnvqwVdh3oGM8MUMDArse2Zk1O0a8EXLVA==
X-Received: by 10.31.110.135 with SMTP id j129mr3700537vkc.81.1472096288166; Wed, 24 Aug 2016 20:38:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.82.27 with HTTP; Wed, 24 Aug 2016 20:37:47 -0700 (PDT)
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C73F4D01F6E@uxcn10-5.UoA.auckland.ac.nz>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <9A043F3CF02CD34C8E74AC1594475C73F4D01F6E@uxcn10-5.UoA.auckland.ac.nz>
From: Tony Arcieri <bascule@gmail.com>
Date: Wed, 24 Aug 2016 20:37:47 -0700
Message-ID: <CAHOTMVKyub+J0Vx+UryDEAHdJRYRTmZ1wvLmEBkSor7pOrXy_w@mail.gmail.com>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>
Content-Type: multipart/alternative; boundary=94eb2c14acf2551280053add208e
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/-4-jCSq-Beas0z0zINH5wwdYAK0>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 03:38:11 -0000

--94eb2c14acf2551280053add208e
Content-Type: text/plain; charset=UTF-8

On Wed, Aug 24, 2016 at 8:28 PM, Peter Gutmann <pgut001@cs.auckland.ac.nz>
wrote:

> Only if there's an actualy issue.  3DES is still very widely supported
> (particularly in financial systems and embedded)


As someone who works professionally in the payments industry alongside
people who are directly implementing EMV protocols, let me note: those are
not IETF protocols and should not have bearing on IETF/IRTF decisions
regarding deprecations of protocols in TLS or other IETF protocols. But I'm
mainly concerned with TLS...

and provides a useful backup to AES.


So does ChaCha20.


>   An attack that recovers cookie if you can record 785GB of traffic isn't
> anything I'm losing any sleep over.


..but is not a terribly dissimilar traffic volume to recover plaintexts
from similar attacks against RC4, which received "diediedie" in RFC7465.

Perhaps notable is the RC4 attacks work across multiple session keys,
whereas SWEET32 requires the same key, but I think the practical
consequences regarding data volume limits are similar.

-- 
Tony Arcieri

--94eb2c14acf2551280053add208e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On W=
ed, Aug 24, 2016 at 8:28 PM, Peter Gutmann <span dir=3D"ltr">&lt;<a href=3D=
"mailto:pgut001@cs.auckland.ac.nz" target=3D"_blank">pgut001@cs.auckland.ac=
.nz</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Only if there&#=
39;s an actualy issue.=C2=A0 3DES is still very widely supported<br>
(particularly in financial systems and embedded)</blockquote><div><br></div=
><div>As someone who works professionally in the payments industry alongsid=
e people who are directly implementing EMV protocols, let me note: those ar=
e not IETF protocols and should not have bearing on IETF/IRTF decisions reg=
arding deprecations of protocols in TLS or other IETF protocols. But I&#39;=
m mainly concerned with TLS...</div><div><br></div><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">and provides a useful=C2=A0backup to AES.</blockquote><div><br></div=
><div>So does ChaCha20.</div><div>=C2=A0</div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">=C2=A0 An attack that recovers cookie if you can record 785GB=C2=A0of tra=
ffic isn&#39;t anything I&#39;m losing any sleep over.</blockquote></div><d=
iv class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">..but is not =
a terribly dissimilar traffic volume to recover plaintexts from similar att=
acks against RC4, which received &quot;diediedie&quot; in RFC7465.</div><di=
v class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Perhaps notabl=
e is the RC4 attacks work across multiple session keys, whereas SWEET32 req=
uires the same key, but I think the practical consequences regarding data v=
olume limits are similar.</div><div class=3D"gmail_extra"><br></div>-- <br>=
<div class=3D"gmail_signature" data-smartmail=3D"gmail_signature">Tony Arci=
eri<br></div>
</div></div>

--94eb2c14acf2551280053add208e--


From nobody Wed Aug 24 20:59:39 2016
Return-Path: <peter.robinson@rsa.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AFD5512D5C5 for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 20:59:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=rsa.com header.b=vF/bi6w6; dkim=pass (1024-bit key) header.d=rsa.com header.b=f1CITTx1
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 l7Qq0uytZTdY for <cfrg@ietfa.amsl.com>; Wed, 24 Aug 2016 20:59:36 -0700 (PDT)
Received: from esa5.dell-outbound.iphmx.com (esa5.dell-outbound.iphmx.com [68.232.153.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 514E912D10C for <cfrg@irtf.org>; Wed, 24 Aug 2016 20:59:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rsa.com; i=@rsa.com; q=dns/txt; s=jan2013; t=1472097576; x=1503633576; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=B/qLmP0ZHxhYkgtsxVLav8vFA/zuv/NtolBVa1lXK6w=; b=vF/bi6w6vS6sgoLoOjjE5XWQf+3zJRecSpXbgsBEdM0sqPMgMXNuxybq 2j8uybhNC3EcDQf4lqd4aJq+WmsWzsDxcssF0+5LW2+tN5eoY04fklLxa KkBbwpsinKRo7BXVeRnRHNEZGuY9h6MSCfLzuzXCgepulKsMwj29lWBvQ M=;
Received: from esa1.dell-outbound2.iphmx.com ([68.232.153.201]) by esa5.dell-outbound.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Aug 2016 22:59:35 -0500
Received: from mailuogwhop.emc.com ([168.159.213.141]) by esa1.dell-outbound2.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Aug 2016 09:59:35 +0600
Received: from maildlpprd01.lss.emc.com (maildlpprd01.lss.emc.com [10.253.24.33]) by mailuogwprd02.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id u7P3xX5D022876 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <cfrg@irtf.org>; Wed, 24 Aug 2016 23:59:34 -0400
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd02.lss.emc.com u7P3xX5D022876
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=rsa.com; s=jan2013; t=1472097574; bh=xftt+Ybh9zm5fl82A7WOFmrJshc=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=f1CITTx1nPNbF2/LBDyJSBlWmDUMrRFgYInzj4WuuxtyUumEhanntQ6JcYQRWHSbY l+izwLUlfVVAdFM80gH2ryj8LFnQJC3tYVxPyckHQoh96u7ZXCBkQ2/2f2PFuPF23I ajltAhj/Y9Klay8dutJIDMQE6xme+r7rzS9/UpHw=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd02.lss.emc.com u7P3xX5D022876
Received: from mailusrhubprd04.lss.emc.com (mailusrhubprd04.lss.emc.com [10.253.24.22]) by maildlpprd01.lss.emc.com (RSA Interceptor) for <cfrg@irtf.org>; Wed, 24 Aug 2016 23:58:00 -0400
Received: from MXHUB210.corp.emc.com (MXHUB210.corp.emc.com [10.253.68.36]) by mailusrhubprd04.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id u7P3xFqM006654 (version=TLSv1.2 cipher=AES128-SHA256 bits=128 verify=FAIL) for <cfrg@irtf.org>; Wed, 24 Aug 2016 23:59:15 -0400
Received: from MX201CL01.corp.emc.com ([fe80::599e:a84:fb62:14d2]) by MXHUB210.corp.emc.com ([10.253.68.36]) with mapi id 14.03.0266.001; Wed, 24 Aug 2016 23:59:14 -0400
From: "Robinson, Peter (RSA Engineering)" <peter.robinson@rsa.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: Cfrg Digest, Vol 136, Issue 27
Thread-Index: AQHR/npEz9ZJzlrn7EWSEdMbhCI3RqBZC6Hg
Date: Thu, 25 Aug 2016 03:59:13 +0000
Message-ID: <AE416A48B40DC046ADA2B9596F910C673F1E67AF@MX201CL01.corp.emc.com>
References: <mailman.668.1472092885.3902.cfrg@irtf.org>
In-Reply-To: <mailman.668.1472092885.3902.cfrg@irtf.org>
Accept-Language: en-AU, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [152.62.49.159]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd04.lss.emc.com
X-RSA-Classifications: public
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/o6Z7vCrlacM0mjYoRfVqNZ7L3QQ>
Subject: Re: [Cfrg] Cfrg Digest, Vol 136, Issue 27
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 03:59:38 -0000

>>> Well, there is
>>> https://tools.ietf.org/html/draft-kaduk-kitten-des-des-des-die-die-di
>>> e-00 but it is not really what you are looking for, I think, given=20
>>> the recipient list on the message.
>>=20
>> I am particularly interested in 3DES's usage in TLS, given its=20
>> previous MTI status in TLS, and because it was until very recently=20
>> included in the OpenSSL "DEFAULT" ciphersuite list.
>
>I guess there's sometimes value in those die-die-die RFCs. Given that we h=
ave RFC7525/BCP195 [1] that=20
>already has a SHOULD NOT for effective key sizes less than 128 bits, one c=
ould argue that the IETF has=20
>covered that to a reasonable extent, in terms of RFCs saying to not do tha=
t.

The attack is practical because of the 64 bit block size of Triple DES. As =
such, perhaps the target of the "die-die-die RFC" should be all symmetric c=
iphers which use block sizes less than 128 bits.

Peter
------------------------------------------------
Peter Robinson - peter.robinson@rsa.com
RSA, The Security Division of EMC - http://www.rsa.com/


From nobody Thu Aug 25 02:54:32 2016
Return-Path: <john.mattsson@ericsson.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 767D712D186 for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 02:54:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level: 
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 1Lub3aMLQCfQ for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 02:54:29 -0700 (PDT)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 635C912D50B for <cfrg@irtf.org>; Thu, 25 Aug 2016 02:54:28 -0700 (PDT)
X-AuditID: c1b4fb2d-903ff700000019a3-71-57bec04fbe3f
Received: from ESESSHC005.ericsson.se (Unknown_Domain [153.88.183.33]) by  (Symantec Mail Security) with SMTP id 87.B3.06563.F40CEB75; Thu, 25 Aug 2016 11:54:26 +0200 (CEST)
Received: from ESESSMB307.ericsson.se ([169.254.7.215]) by ESESSHC005.ericsson.se ([153.88.183.33]) with mapi id 14.03.0301.000; Thu, 25 Aug 2016 11:54:23 +0200
From: John Mattsson <john.mattsson@ericsson.com>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>, Tony Arcieri <bascule@gmail.com>, "<tls@ietf.org>" <tls@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] [TLS] 3DES diediedie
Thread-Index: AQHR/raoCiRg5YveN02k55l7inXbrw==
Date: Thu, 25 Aug 2016 09:54:22 +0000
Message-ID: <D3E489EA.4EC34%john.mattsson@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.6.6.160626
x-originating-ip: [153.88.183.149]
Content-Type: text/plain; charset="utf-8"
Content-ID: <20599B78BF824247A503E60AB1AD6753@ericsson.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphkeLIzCtJLcpLzFFi42KZGbFdUTfowL5wg7kbZS0uPW5hsuj+cZDJ 4uW756wWn853MTqweFxsPMDksXPWXXaPJUt+MnlM3niYLYAlissmJTUnsyy1SN8ugSujbe8D xoJPfBX77u5ibWA8wNfFyMkhIWAicejxWsYuRi4OIYH1jBLHPx5hA0kICSxhlHh8UBXEZhMw kJi7p4ENpEhEYCqjxK0lB1lBEsICGhJLr25lBLFFBDQl+r49Y4Gw9SSWnZgOZrMIqEpcXP2N qYuRg4NXwFziZ2coSJhRQEzi+6k1TCA2s4C4xK0n85kgDhKQWLLnPDOELSrx8vE/sFWiQCOf nVzMCBFXklh7eDsLyEhmoLXrd+lDmNYSZ3bLQkxUlJjS/ZAdxOYVEJQ4OfMJywRGkVlIls1C aJ6F0DwLSfMsJM0LGFlXMYoWpxYX56YbGeulFmUmFxfn5+nlpZZsYgTG0cEtv3V3MK5+7XiI UYCDUYmHd8GDveFCrIllxZW5hxglOJiVRHjv7tsXLsSbklhZlVqUH19UmpNafIhRmoNFSZzX /6ViuJBAemJJanZqakFqEUyWiYNTqoGx1ECP/UXTsgNvpr16oXuxyPbW0r/iBUa9XNF39Hzu zjLn1Yzsnvbs8q5jraKb33oZ9JVNMzITPRDuPu/Qny/Hpm1apPtALEjnx6E9AS63r2vXWn1g kgqctHdSQXby+T95jKYfP+sERjn5JhbV9hl43+mIY+oLvBD1u/qweYoce3fLlZff2l4rsRRn JBpqMRcVJwIA5T45sZ8CAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/4ZH9o7U-enYzs5esApAKY3WxmQo>
Subject: Re: [Cfrg] [TLS] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg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Kb2huDQoNCg0KT24gMjUvMDgvMTYgMDU6MjgsICJDZnJnIG9uIGJlaGFsZiBvZiBQZXRl
ciBHdXRtYW5uIg0KPGNmcmctYm91bmNlc0BpcnRmLm9yZyBvbiBiZWhhbGYgb2YgcGd1dDAwMUBj
cy5hdWNrbGFuZC5hYy5uej4gd3JvdGU6DQoNCj5Ub255IEFyY2llcmkgPGJhc2N1bGVAZ21haWwu
Y29tPiB3cml0ZXM6DQo+DQo+PlNob3VsZCB0aGVyZSBiZSBhIDNERVMgImRpZWRpZWRpZSI/DQo+
DQo+T25seSBpZiB0aGVyZSdzIGFuIGFjdHVhbHkgaXNzdWUuICAzREVTIGlzIHN0aWxsIHZlcnkg
d2lkZWx5IHN1cHBvcnRlZA0KPihwYXJ0aWN1bGFybHkgaW4gZmluYW5jaWFsIHN5c3RlbXMgYW5k
IGVtYmVkZGVkKSwgYW5kIHByb3ZpZGVzIGEgdXNlZnVsDQo+YmFja3VwIHRvIEFFUy4gIEFuIGF0
dGFjayB0aGF0IHJlY292ZXJzIGNvb2tpZSBpZiB5b3UgY2FuIHJlY29yZCA3ODVHQg0KPm9mIHRy
YWZmaWMgaXNuJ3QgYW55dGhpbmcgSSdtIGxvc2luZyBhbnkgc2xlZXAgb3Zlci4NCj4NCj5QZXRl
ci4NCj5fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KPkNm
cmcgbWFpbGluZyBsaXN0DQo+Q2ZyZ0BpcnRmLm9yZw0KPmh0dHBzOi8vd3d3LmlydGYub3JnL21h
aWxtYW4vbGlzdGluZm8vY2ZyZw0KDQo=


From nobody Thu Aug 25 03:10:34 2016
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5F9BC12D50D for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 03:10:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.849
X-Spam-Level: 
X-Spam-Status: No, score=-4.849 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_MED=-2.3, RP_MATCHES_RCVD=-0.548, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
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 HtB8RuEJ2Pvz for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 03:10:32 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 76C4712D7C8 for <cfrg@irtf.org>; Thu, 25 Aug 2016 03:01:11 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 98FC7BE75; Thu, 25 Aug 2016 11:01:09 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9oAFwNiH_S1t; Thu, 25 Aug 2016 11:01:05 +0100 (IST)
Received: from [192.168.138.252] (unknown [58.251.152.17]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id E30CCBE5C; Thu, 25 Aug 2016 11:01:01 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1472119265; bh=LQbsTgbfxps/RWcd3zTXloUKCfI4Ut/Lchs40/UDE5g=; h=Subject:To:References:From:Date:In-Reply-To:From; b=FNJ+hxsegu37ThZV+cpu4P1vRSf8GfcQ0QD4KctPX0E3EiJ6nq0jVBxGHQKQkE3WC HeYzVeRTPkC/LC0QRNfG56liK9Or+8wjwZ8RD7qzYkZOG30fS5qpyPjnUUwPa6bM7w iSnI3jZ2p+zBsLOuM2E1ZGh1YzvBcvkAzHINOHOY=
To: John Mattsson <john.mattsson@ericsson.com>, Peter Gutmann <pgut001@cs.auckland.ac.nz>, Tony Arcieri <bascule@gmail.com>, "<tls@ietf.org>" <tls@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <D3E489EA.4EC34%john.mattsson@ericsson.com>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <1c39a2c0-3338-7941-a7d8-8d9535c0ccfc@cs.tcd.ie>
Date: Thu, 25 Aug 2016 11:00:54 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <D3E489EA.4EC34%john.mattsson@ericsson.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms000209080809070202060605"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/DFN7dP0irv0fagxwBGCzzJXe770>
Subject: Re: [Cfrg] [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 10:10:33 -0000

This is a cryptographically signed message in MIME format.

--------------ms000209080809070202060605
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable



On 25/08/16 10:54, John Mattsson wrote:
> I think the recently published attack has more to do with bad
> implementations/specification than a newly discovered weakness in 3DES.=

> That you should never encrypt anything near 2^32 blocks is well known (=
but
> I don=E2=80=99t know how well this is explained in NIST or IETF specifi=
cations, if
> at all).
>=20
> I am very supportive of everything speeding up the deprecation of weak

Just in case folks haven't considered it, the "d" in the name of
the IETF's curdle WG [1] stands for deprecation. Obviously that
has to be done with care and consideration, but there is a generic
venue where folks can propose that kind of thing.

Cheers,
S.

[1] https://tools.ietf.org/wg/curdle/

> algorithms and protocols, but  then I think CFRG should make a broader
> approach and look at more candidates for general deprecation like SHA-1=

> signatures, 1024-bit MODP, and 1024-bit RSA=E2=80=A6 I think all of the=
se are far
> weaker than 3-key 3DES.
>=20
> Making sure that IETF provides good implementation guidelines and
> requirements for all ciphers might be as important.
>=20
> /John
>=20
>=20
> On 25/08/16 05:28, "Cfrg on behalf of Peter Gutmann"
> <cfrg-bounces@irtf.org on behalf of pgut001@cs.auckland.ac.nz> wrote:
>=20
>> Tony Arcieri <bascule@gmail.com> writes:
>>
>>> Should there be a 3DES "diediedie"?
>>
>> Only if there's an actualy issue.  3DES is still very widely supported=

>> (particularly in financial systems and embedded), and provides a usefu=
l
>> backup to AES.  An attack that recovers cookie if you can record 785GB=

>> of traffic isn't anything I'm losing any sleep over.
>>
>> Peter.
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> https://www.irtf.org/mailman/listinfo/cfrg
>=20
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>=20


--------------ms000209080809070202060605
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEH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CgYIKoZIhvcN
AwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMC
AgEoMIGaBgkrBgEEAYI3EAQxgYwwgYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMw
IQYDVQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQQIQT82hO6c2L4lCcoZh0xQXZzCB
nAYLKoZIhvcNAQkQAgsxgYyggYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29t
IEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMwIQYD
VQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQQIQT82hO6c2L4lCcoZh0xQXZzANBgkq
hkiG9w0BAQEFAASCAQAuDyO1BJoDZaea9D6wgAp4elQ2WNVQJGua07KWwxNIIlfq/c0hSCxv
GMj/PdwVbs6249JjTGPDvPWVfzVaQpNalob0BuIm8BzNP0iiWuMXdT8Ti1xWH/3HFV/G/5by
a1iwPEsuNEVguWNbAUj/phNeKjvd1/31Tt0XBnceGLHJ7cQXSW+eQlilErDRT9o4NUc1nFeN
LCtxu26O2ss2hCMtBLYJzQXTV1Kwml6FGoI+BP4yI1EG6NbokGw9W1xZhDlfsXeARgVHIzhg
dn3rM2SRfJJ1ZMfZT1titsLGzWiAGiPuyqHJXtYEWIcCMdt7RNJ4lEYAl2b5DLEBfDXphttH
AAAAAAAA
--------------ms000209080809070202060605--


From nobody Thu Aug 25 03:33:02 2016
Return-Path: <hkario@redhat.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7EA6D12D7E3 for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 03:33:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.45
X-Spam-Level: 
X-Spam-Status: No, score=-7.45 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.548, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 kIjt1b-9DE1X for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 03:32:59 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3D6812D7E0 for <cfrg@irtf.org>; Thu, 25 Aug 2016 03:32:58 -0700 (PDT)
Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 654C3C057FA5; Thu, 25 Aug 2016 10:32:58 +0000 (UTC)
Received: from pintsize.usersys.redhat.com (dhcp-0-191.brq.redhat.com [10.34.0.191]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7PAWueT016761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 Aug 2016 06:32:57 -0400
From: Hubert Kario <hkario@redhat.com>
To: tls@ietf.org
Date: Thu, 25 Aug 2016 12:32:56 +0200
Message-ID: <6377217.GbyXToEj0o@pintsize.usersys.redhat.com>
User-Agent: KMail/5.2.3 (Linux/4.6.7-300.fc24.x86_64; KDE/5.25.0; x86_64; ; )
In-Reply-To: <E201DE55-20AF-4581-B502-5112DBA535A5@dukhovni.org>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <CAHOTMVKBmDT-okm=ikECrotcEKS5fdn840-gV+5Tnx3eg4JBkQ@mail.gmail.com> <E201DE55-20AF-4581-B502-5112DBA535A5@dukhovni.org>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart1918730.S5z2hGlNiR"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 25 Aug 2016 10:32:58 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/9LmZMRLNyGULb44A7oR5KF4YE9Y>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, Viktor Dukhovni <ietf-dane@dukhovni.org>
Subject: Re: [Cfrg] [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 10:33:00 -0000

--nextPart1918730.S5z2hGlNiR
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"

On Wednesday, 24 August 2016 22:59:23 CEST Viktor Dukhovni wrote:
> I am not opposed to a "diediedie" RFC, if that is likely to be helpful.
> For TLS, this ciphersuite is already comparatively rare, and perhaps its
> disappearance will not be sped up by a "diediedie" RFC?  Would an RFC
> help to prod vendors into action more than the already published findings?
> Would our collective energies be better focused on other, more pressing
> goals?

People that care for support of Windows XP or Windows 2003 will use 3DES=20
either way. People that don't care about those OSes, are probably already=20
doing everything to not negotiate it, if only to conserve TLS terminator=20
resources.

When RC4 die-die-die was published, a lot of servers negotiated RC4 (becaus=
e=20
of BEAST), it's not the case with 3DES.
=2D-=20
Regards,
Hubert Kario
Senior Quality Engineer, QE BaseOS Security team
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purky=C5=88ova 99/71, 612 45, Brno, Czech Republic
--nextPart1918730.S5z2hGlNiR
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJXvslYAAoJEJKo0bgB0vX1iOMP/0/2DSTzsZ33ZWZVlRGYhfIn
03mloZ/uC5xE60oe4EobrsAPTp6QfbQoalArY2gtRFUbwUuT53brAUtFxmBFnG0I
5CKTr/vH4cvDixve/jqAjVyWB9E6a/2bezp5AUt/8gX34jZFvZzOpVvY1cggM7cc
HpNVeaYokh5BkTQpS9zEnUXOu57Fp2roDViNQHNZhGtY0NDFxVqy0oTmQc0Rvooh
p6t9RNqGJ8VQ1pCDShMtfVZhbXgOTPEOvFKvV1ZOJLmr3Oqyd8osOuN293rweNky
XlPscunea6Hefohfu1+oInqfBb45NdS4lxKGTrNQBY1zcZ1N8eY9r46miwp84153
BeDBD5dh4tWlaL2+KxVfPfCDTe1lhIdOtDNSRNTP+I4CvpFDL8MzK2gabZq/18s1
GDt9arhsqbBvPbMbGCNHI/4VPp/T2r4w0X2dwXYrIvqJfbSt9xK4E2gUc8x8nJhm
mttxM1Y4DJxxrJgfF78lixs1K1KM2QOMFOOHxotlbwCye1fnZIIUURpRORBkmxzm
c5HT1GHqQXxMMmwEvcPQPjioVU+r41s4bk4AK70W3C1sOEHfYYrGeGz7kz7KVz+f
2egVeslrxDEleuLEVJ5LGhA7lbhMMNYKjiV1C61NycgSeXoPkPfxGwV1CKk2mp2i
ITUV48kXNhvSImsPbT62
=rPU5
-----END PGP SIGNATURE-----

--nextPart1918730.S5z2hGlNiR--


From nobody Thu Aug 25 06:22:04 2016
Return-Path: <davidwong.crypto@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 248F012D11B for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 06:22:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 MpQhpjv_RHd3 for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 06:22:01 -0700 (PDT)
Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (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 A6C6E12D0BB for <cfrg@irtf.org>; Thu, 25 Aug 2016 06:22:01 -0700 (PDT)
Received: by mail-it0-x22c.google.com with SMTP id x131so270363611ite.0 for <cfrg@irtf.org>; Thu, 25 Aug 2016 06:22:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=3mrTyCfR0wXrPfucftoPZJXlzq3oM0ChYSixFDRXoLI=; b=VVlJgyOV81qPxNR7xLO3/KnM0ehAVEKzBamZepdV98lpW+92jlDdwb3D03yD6UOHgd mbMJ/HPl4oUAFAGuE+quqUZ058A7MzZKi4Qf6V1tmRR9abJlLh9PM47SQ/zYY6eo7TED O56tHAe6bIJWhi/nHDTiKZU5BjWbSsf1wx7XNdWuYWccEIvqP4mapWL65KvXcbxdjx2a Tw+ktd+vgJGysqe/VjGRURsTq2wGSHf/45mp4wmGccH8bdF+Fh2aY+KaIdXYq+QVHk08 3Nb1EVBkh953nNABUeNmi1Vw6s1l2udKxoUpr+Yk75wXBL9kqzTTpe1zU/D+/DJFuAky treQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=3mrTyCfR0wXrPfucftoPZJXlzq3oM0ChYSixFDRXoLI=; b=frJQWKnAM7zQ8X5TiStBdVdGQORKRQxcQTW4o5mWdvZaSECoyerIiF+I8xI2pRY/08 /2/g8Rsxata0h4z6+XovzmIqJVhbO4AlZI2DBZAC6ND7ku7eNdlvZIGN7KSGBHsT1i/w jOrjhnGqyICpdb4xY1d0ETevBT+FchvNpQaU9TaNBJNWIDQbo7EY/yp0+/4+yC1tP+Se czrUG3sBTMl1U1jG51lAUd+39CzkpS2gxeUL144UDVjOMhQBXeJjmCVJ9yVtWs7FY0YZ 4Lqq0y7qKW6fWux3khRts5J8eHOhfJIdaITESfYpHJDpYkLSlBjNZz6/7pwjHQDAIl3S 8ynw==
X-Gm-Message-State: AEkoousyxL/QfbsaMbbyLpIIY7TF9sDvXgw0u1DFES9CkGy3s7VJkqmcmTiHqQnIuJiPLw==
X-Received: by 10.36.225.72 with SMTP id n69mr4925899ith.16.1472131321043; Thu, 25 Aug 2016 06:22:01 -0700 (PDT)
Received: from ?IPv6:2601:240:d700:6a00:a53f:b290:e39:9cfb? ([2601:240:d700:6a00:a53f:b290:e39:9cfb]) by smtp.gmail.com with ESMTPSA id n23sm5472749ioe.18.2016.08.25.06.21.59 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Aug 2016 06:22:00 -0700 (PDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (1.0)
From: david wong <davidwong.crypto@gmail.com>
X-Mailer: iPhone Mail (13G35)
In-Reply-To: <6377217.GbyXToEj0o@pintsize.usersys.redhat.com>
Date: Thu, 25 Aug 2016 08:21:59 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <6933C5DD-9C84-44E0-88D4-6E3D3C9A2C78@gmail.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <CAHOTMVKBmDT-okm=ikECrotcEKS5fdn840-gV+5Tnx3eg4JBkQ@mail.gmail.com> <E201DE55-20AF-4581-B502-5112DBA535A5@dukhovni.org> <6377217.GbyXToEj0o@pintsize.usersys.redhat.com>
To: Hubert Kario <hkario@redhat.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/gSbaNzRb1dRlOUPULpxVrVca8ac>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, tls@ietf.org, Viktor Dukhovni <ietf-dane@dukhovni.org>
Subject: Re: [Cfrg] [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 13:22:03 -0000

I don't think a RFC deprecating them is a good idea:

* TLS 1.3 is almost here and is already doing that
* what browser still use 64-bit ciphers? Who lets his "old" browser open for=
 75 hours?
* in other uses of TLS. It's not always obvious if there is a possible beast=
 style attacks. And their implementation might really well not be vulnerable=
 (due to limiting number of messages according to specs)

David=


From nobody Thu Aug 25 06:34:17 2016
Return-Path: <ekr@rtfm.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4093A12D0AA for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 06:34:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20150623.gappssmtp.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 4xLVdowd1Xcp for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 06:34:10 -0700 (PDT)
Received: from mail-yw0-x234.google.com (mail-yw0-x234.google.com [IPv6:2607:f8b0:4002:c05::234]) (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 0D42012D09D for <cfrg@irtf.org>; Thu, 25 Aug 2016 06:34:10 -0700 (PDT)
Received: by mail-yw0-x234.google.com with SMTP id r9so29419224ywg.0 for <cfrg@irtf.org>; Thu, 25 Aug 2016 06:34:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9Z3r6EIiNm0wCOXMtRS+E9/rhqcFQpLAfwYpZxbR5PI=; b=o2Lthe1IooFd/ydWj+CY1n6iZLkAft0NUP4EQotSl/hlR6y08u2sT9gEqarTOgQSlZ LgrW2iH9/dpFnzQKtgMF0d1wypqXeVGdzRuKfvEWCjDSHyvpLqXx7Wk0RY6Awhern4/U pALpZotmnwu8VByRQh83OgWWjCPmTSQSUmwcY2aNblZB9jW3g4yYz2Qwtfe5Wo/COOWQ Cn8yV9BwQitiiWrrzd+/s8S3JnoWj4IcIAA3ZKtUjUku7I1dzMK2KazhMuxQwpGoHcg3 0zjDmMrZ1OS1YkmTtUMc/Fkpz+OSU3bGYG8m7dLbJxIwIbWyODWCpz+XJxBl6xUzK0fh emuA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9Z3r6EIiNm0wCOXMtRS+E9/rhqcFQpLAfwYpZxbR5PI=; b=MuaHJsUuYX66gyH9DE65XgC9hdYj4DoigstBvhhORnFNuOTD1ugTRn0LmzPx4WToim xQInYezHabYkQLmiP2EgVJGa6iGv27FVXSPDOMYlXHDf9TktIBcyTt2z9j9spyBjsQ+H 57ax9+oPGfS1Zc3VtEFRtAMnPHjMHa1HeIPug3FSToS1bS4/r8C1AqoJBQoRPCXHZczF ECI09PzmTrSGEkPr7Jc5l+YEYRsTOWmh6Ld4mSZrLBdTa7yf1jmBbuBgZ59+prVjX/62 RsexaJOOfkBeU//1zeTWIFOHuarsD3OtU0OehVV2+dGpHW/0gQ5kiXBBaSHkSwMBgt+p El6g==
X-Gm-Message-State: AE9vXwMYXQeDngfSlbcfN4PTy+MEL9E3l+20rHnEO9BUP9JfA0Y0EDWQV+S22O6RSErKCB94qc0vh5zsWXniOA==
X-Received: by 10.13.220.1 with SMTP id f1mr7032826ywe.289.1472132049227; Thu, 25 Aug 2016 06:34:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.48.193 with HTTP; Thu, 25 Aug 2016 06:33:28 -0700 (PDT)
In-Reply-To: <6933C5DD-9C84-44E0-88D4-6E3D3C9A2C78@gmail.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <CAHOTMVKBmDT-okm=ikECrotcEKS5fdn840-gV+5Tnx3eg4JBkQ@mail.gmail.com> <E201DE55-20AF-4581-B502-5112DBA535A5@dukhovni.org> <6377217.GbyXToEj0o@pintsize.usersys.redhat.com> <6933C5DD-9C84-44E0-88D4-6E3D3C9A2C78@gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 25 Aug 2016 06:33:28 -0700
Message-ID: <CABcZeBOCUnVvHbMC09w=STZ2xfQXm9i77Aq++gavOq4Qp5b+4Q@mail.gmail.com>
To: david wong <davidwong.crypto@gmail.com>
Content-Type: multipart/alternative; boundary=94eb2c0809f0db89d0053ae57372
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/4ZIZDviM00ctwmRV3abTxzvTNvY>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "tls@ietf.org" <tls@ietf.org>, Hubert Kario <hkario@redhat.com>, Viktor Dukhovni <ietf-dane@dukhovni.org>
Subject: Re: [Cfrg] [TLS] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 13:34:13 -0000

--94eb2c0809f0db89d0053ae57372
Content-Type: text/plain; charset=UTF-8

On Thu, Aug 25, 2016 at 6:21 AM, david wong <davidwong.crypto@gmail.com>
wrote:

> I don't think a RFC deprecating them is a good idea:
>
> * TLS 1.3 is almost here and is already doing that
> * what browser still use 64-bit ciphers? Who lets his "old" browser open
> for 75 hours?
>

Actually, I believe that all the major browsers support 3DES.

-Ekr

* in other uses of TLS. It's not always obvious if there is a possible
> beast style attacks. And their implementation might really well not be
> vulnerable (due to limiting number of messages according to specs)
>
> David
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg
>

--94eb2c0809f0db89d0053ae57372
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, Aug 25, 2016 at 6:21 AM, david wong <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:davidwong.crypto@gmail.com" target=3D"_blank">davidwong.crypto=
@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don&#3=
9;t think a RFC deprecating them is a good idea:<br>
<br>
* TLS 1.3 is almost here and is already doing that<br>
* what browser still use 64-bit ciphers? Who lets his &quot;old&quot; brows=
er open for 75 hours?<br></blockquote><div><br></div><div>Actually, I belie=
ve that all the major browsers support 3DES.=C2=A0</div><div><br></div><div=
>-Ekr</div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* in other uses of TLS. It&#39;s not always obvious if there is a possible =
beast style attacks. And their implementation might really well not be vuln=
erable (due to limiting number of messages according to specs)<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
David<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5">_____________________=
_________<wbr>_________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
<a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.irtf.org/mailman/<wbr>listinfo/cfrg</a><br>
</div></div></blockquote></div><br></div></div>

--94eb2c0809f0db89d0053ae57372--


From nobody Thu Aug 25 06:55:39 2016
Return-Path: <blueroofmusic@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CBA1812D834 for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 06:55:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.628
X-Spam-Level: 
X-Spam-Status: No, score=-0.628 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URI_NO_WWW_INFO_CGI=2.071] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 LpB3N9fjCoYC for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 06:55:31 -0700 (PDT)
Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (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 60D0D12B053 for <cfrg@irtf.org>; Thu, 25 Aug 2016 06:55:31 -0700 (PDT)
Received: by mail-it0-x231.google.com with SMTP id f6so90865881ith.0 for <cfrg@irtf.org>; Thu, 25 Aug 2016 06:55:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gaCB2wQFq10USHfXhqoBjNSw1smvh8hH04eANyvyGU4=; b=fP0vBwitUL4vdJfbtjERP7lJ99Ohc55Q3g/+DusagjtZaLDycKpRXdpBT0SfE6X0Mq SnpYvhJDS9l+B4oHjJjWBzcaaXHVgkIp2d1/FHaiU2JfjvGDvPKIvtIW4kQdnyCRGONb fwCo48cOwjfbL3b5QtyHMRELOMCY0vEzNhxvPibeC9igXRqQZHv/VRNGV+WT1Hy8iCZ5 jHLdRupQYVD/9Tog9s0iA6bZTyEwr7qHAysGTpAgPttDz5SFVpLtEFihXe3CHViBROyx Mmmd1TWTcA0yueuOWiVgOqlnp2TC8MtIJnUs/PzYYn9Wl9IKA7shCqCL0ngIyXjE8rJb xOsQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gaCB2wQFq10USHfXhqoBjNSw1smvh8hH04eANyvyGU4=; b=Opzg6ORepO4gkUeL0p6FowMQT9kecwU1wtvo9ONS9K33rgIOuCk4CZfaFzxWHtOqPv n7GVkY0S8lJwnAG7+ZH2m1kSD/bAHtm/Ijhnk6f+EcQ9iP0I5jUDhEdP8XORV/F3Y5NS sCBkbrbuUe5yOkfSqybvPH+/q8CTJzxKyp16b8ct/VkO37ln/ptmz2ffFR06tM66sJQ3 revdT9VwvOMbxLuRTQOHLpaAMvWZcpUb3iVlYDtCX9GKE+87ZW4tQ6BdG6wvR/SE1uOr yi3+HxAtIWi76wdHOfhr/MDDKfeP6FwmupuVK/4h/SQ3cqX7XB8epBhBsCcg061tqpji YxsA==
X-Gm-Message-State: AE9vXwOSVsAYoy9WfG3OzbpzA1qfEkkprEOiCtBgXTeBph4cUxkBrk33M3iEj8NcuqjvJCA6Z7xvgYFSmwPKfQ==
X-Received: by 10.36.238.134 with SMTP id b128mr5204572iti.72.1472133330708; Thu, 25 Aug 2016 06:55:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.11.67 with HTTP; Thu, 25 Aug 2016 06:55:10 -0700 (PDT)
In-Reply-To: <CABcZeBOCUnVvHbMC09w=STZ2xfQXm9i77Aq++gavOq4Qp5b+4Q@mail.gmail.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <CAHOTMVKBmDT-okm=ikECrotcEKS5fdn840-gV+5Tnx3eg4JBkQ@mail.gmail.com> <E201DE55-20AF-4581-B502-5112DBA535A5@dukhovni.org> <6377217.GbyXToEj0o@pintsize.usersys.redhat.com> <6933C5DD-9C84-44E0-88D4-6E3D3C9A2C78@gmail.com> <CABcZeBOCUnVvHbMC09w=STZ2xfQXm9i77Aq++gavOq4Qp5b+4Q@mail.gmail.com>
From: Ira McDonald <blueroofmusic@gmail.com>
Date: Thu, 25 Aug 2016 09:55:10 -0400
Message-ID: <CAN40gSu3bvYhEeQ+B8AvfDpyWFt_QA4M2-wgGBZkFAzAWPLOZA@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>, Ira McDonald <blueroofmusic@gmail.com>
Content-Type: multipart/alternative; boundary=f403045c0e563d2fc7053ae5c069
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/P-2HC4tU_XXQLH91_nXcgIOQMDo>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "tls@ietf.org" <tls@ietf.org>, Hubert Kario <hkario@redhat.com>, Viktor Dukhovni <ietf-dane@dukhovni.org>
Subject: Re: [Cfrg] [TLS] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 13:55:38 -0000

--f403045c0e563d2fc7053ae5c069
Content-Type: text/plain; charset=UTF-8

Hi,

This survey of TLS in 1 million web servers shows that 93% support 3DES -
oof!

https://jve.linuxwall.info/blog/index.php?post/TLS_Survey

3DES hasn't quite disappeared on the Internet.

Cheers,
- Ira


Ira McDonald (Musician / Software Architect)
Co-Chair - TCG Trusted Mobility Solutions WG
Chair - Linux Foundation Open Printing WG
Secretary - IEEE-ISTO Printer Working Group
Co-Chair - IEEE-ISTO PWG Internet Printing Protocol WG
IETF Designated Expert - IPP & Printer MIB
Blue Roof Music / High North Inc
http://sites.google.com/site/blueroofmusic
http://sites.google.com/site/highnorthinc
mailto: blueroofmusic@gmail.com
Jan-April: 579 Park Place  Saline, MI  48176  734-944-0094
May-Dec: PO Box 221  Grand Marais, MI 49839  906-494-2434


On Thu, Aug 25, 2016 at 9:33 AM, Eric Rescorla <ekr@rtfm.com> wrote:

>
>
> On Thu, Aug 25, 2016 at 6:21 AM, david wong <davidwong.crypto@gmail.com>
> wrote:
>
>> I don't think a RFC deprecating them is a good idea:
>>
>> * TLS 1.3 is almost here and is already doing that
>> * what browser still use 64-bit ciphers? Who lets his "old" browser open
>> for 75 hours?
>>
>
> Actually, I believe that all the major browsers support 3DES.
>
> -Ekr
>
> * in other uses of TLS. It's not always obvious if there is a possible
>> beast style attacks. And their implementation might really well not be
>> vulnerable (due to limiting number of messages according to specs)
>>
>> David
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> https://www.irtf.org/mailman/listinfo/cfrg
>>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg
>
>

--f403045c0e563d2fc7053ae5c069
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div>Hi,<br><br></div>This survey of TLS in=
 1 million web servers shows that 93% support 3DES - oof!<br><br><a href=3D=
"https://jve.linuxwall.info/blog/index.php?post/TLS_Survey">https://jve.lin=
uxwall.info/blog/index.php?post/TLS_Survey</a><br><br></div>3DES hasn&#39;t=
 quite disappeared on the Internet.<br><br></div>Cheers,<br></div>- Ira<br>=
<br></div><div class=3D"gmail_extra"><br clear=3D"all"><div><div class=3D"g=
mail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><d=
iv dir=3D"ltr">Ira McDonald (Musician / Software Architect)<br>Co-Chair - T=
CG Trusted Mobility Solutions WG<br>Chair - Linux Foundation Open Printing =
WG<br>Secretary - IEEE-ISTO Printer Working Group<br>Co-Chair - IEEE-ISTO P=
WG Internet Printing Protocol WG<br>IETF Designated Expert - IPP &amp; Prin=
ter MIB<br>Blue Roof Music / High North Inc<br><a style=3D"color:rgb(51,51,=
255)" href=3D"http://sites.google.com/site/blueroofmusic" target=3D"_blank"=
>http://sites.google.com/site/blueroofmusic</a><br><a style=3D"color:rgb(10=
2,0,204)" href=3D"http://sites.google.com/site/highnorthinc" target=3D"_bla=
nk">http://sites.google.com/site/highnorthinc</a><br>mailto: <a href=3D"mai=
lto:blueroofmusic@gmail.com" target=3D"_blank">blueroofmusic@gmail.com</a><=
br>Jan-April: 579 Park Place=C2=A0 Saline, MI=C2=A0 48176=C2=A0 734-944-009=
4<br>May-Dec: PO Box 221=C2=A0 Grand Marais, MI 49839=C2=A0 906-494-2434<br=
><br><div style=3D"display:inline"></div><div style=3D"display:inline"></di=
v><div style=3D"display:inline"></div><div></div><div></div><div></div><div=
></div></div></div></div></div></div>
<br><div class=3D"gmail_quote">On Thu, Aug 25, 2016 at 9:33 AM, Eric Rescor=
la <span dir=3D"ltr">&lt;<a href=3D"mailto:ekr@rtfm.com" target=3D"_blank">=
ekr@rtfm.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div d=
ir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quote"><s=
pan class=3D"">On Thu, Aug 25, 2016 at 6:21 AM, david wong <span dir=3D"ltr=
">&lt;<a href=3D"mailto:davidwong.crypto@gmail.com" target=3D"_blank">david=
wong.crypto@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x">I don&#39;t think a RFC deprecating them is a good idea:<br>
<br>
* TLS 1.3 is almost here and is already doing that<br>
* what browser still use 64-bit ciphers? Who lets his &quot;old&quot; brows=
er open for 75 hours?<br></blockquote><div><br></div></span><div>Actually, =
I believe that all the major browsers support 3DES.=C2=A0</div><div><br></d=
iv><div>-Ekr</div><div><br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=
=3D"">
* in other uses of TLS. It&#39;s not always obvious if there is a possible =
beast style attacks. And their implementation might really well not be vuln=
erable (due to limiting number of messages according to specs)<br>
<span><font color=3D"#888888"><br>
David<br>
</font></span></span><div><div>______________________________<wbr>_________=
________<span class=3D""><br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a><br>
<a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.irtf.org/mailman/l<wbr>istinfo/cfrg</a><br>
</span></div></div></blockquote></div><br></div></div>
<br>______________________________<wbr>_________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
<a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.irtf.org/mailman/<wbr>listinfo/cfrg</a><br>
<br></blockquote></div><br></div>

--f403045c0e563d2fc7053ae5c069--


From nobody Thu Aug 25 06:58:40 2016
Return-Path: <hkario@redhat.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6BBF612D13A for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 06:58:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.379
X-Spam-Level: 
X-Spam-Status: No, score=-5.379 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.548, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URI_NO_WWW_INFO_CGI=2.071] autolearn=ham autolearn_force=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 x8T09cU6yV5f for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 06:58:36 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2BC7312D843 for <cfrg@irtf.org>; Thu, 25 Aug 2016 06:58:34 -0700 (PDT)
Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CD92580F6B; Thu, 25 Aug 2016 13:58:33 +0000 (UTC)
Received: from pintsize.usersys.redhat.com (dhcp-0-191.brq.redhat.com [10.34.0.191]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7PDwWns029185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 Aug 2016 09:58:33 -0400
From: Hubert Kario <hkario@redhat.com>
To: Ira McDonald <blueroofmusic@gmail.com>
Date: Thu, 25 Aug 2016 15:58:31 +0200
Message-ID: <1609779.HlDFoKz2ng@pintsize.usersys.redhat.com>
User-Agent: KMail/5.2.3 (Linux/4.6.7-300.fc24.x86_64; KDE/5.25.0; x86_64; ; )
In-Reply-To: <CAN40gSu3bvYhEeQ+B8AvfDpyWFt_QA4M2-wgGBZkFAzAWPLOZA@mail.gmail.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <CABcZeBOCUnVvHbMC09w=STZ2xfQXm9i77Aq++gavOq4Qp5b+4Q@mail.gmail.com> <CAN40gSu3bvYhEeQ+B8AvfDpyWFt_QA4M2-wgGBZkFAzAWPLOZA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart98146633.705ya2F7UW"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 25 Aug 2016 13:58:33 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/-HrJ36h4_QNIKsMDu8ylEoHYP9I>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "tls@ietf.org" <tls@ietf.org>, Viktor Dukhovni <ietf-dane@dukhovni.org>
Subject: Re: [Cfrg] [TLS] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 13:58:38 -0000

--nextPart98146633.705ya2F7UW
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"

On Thursday, 25 August 2016 09:55:10 CEST Ira McDonald wrote:
> Hi,
>=20
> This survey of TLS in 1 million web servers shows that 93% support 3DES -
> oof!
>=20
> https://jve.linuxwall.info/blog/index.php?post/TLS_Survey
>=20
> 3DES hasn't quite disappeared on the Internet.

but less than 0.5% will actually negotiate it, while still between 2% and 3=
%=20
will negotiate RC4:
https://securitypitfalls.wordpress.com/2016/08/07/april-2016-scan-results/

=2D-=20
Regards,
Hubert Kario
Senior Quality Engineer, QE BaseOS Security team
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purky=C5=88ova 99/71, 612 45, Brno, Czech Republic
--nextPart98146633.705ya2F7UW
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJXvvmHAAoJEJKo0bgB0vX1V+sP/AnjR8RyhwqS+Cp5yaTpEzSk
xmMcZ68MFEhZz4s6ggfuKM267Q2fll2A6pnlZwe5iYtnkpkwTAYWdSaZ1MUa/sr5
tmCcpWsJ1hmU1FX9eaDDoWJtvsrUThkO4XVD6wOdgfDcISeGo9ZhgvXY86XHePDE
DIGhvLQiuGN6UsCLF6MM4cDCzJqYfcbvbWYnoJ2nOKAMjr8fPA9+46htTJso6Eg7
MwFg5/b22i2YrVtz8DZ6Iyu81bqSSB6nQ+acfjtmaRRmTPCDOUAJuV9WIsA2nk0p
f+LzFpsSs3LeJTdBft1/RI1AXVLjg1HhZsdoCUJN8zZH4puCnwCbAc3RP2rin8FO
Lc6SNBDMVamG1tVgcGI6JHwJl85O5JLSdB+/vOeZG9aJTNRUdQMk/M3WpUU11qce
g9314X3murF7g1mo+ywQ8RPFOpWozsXQwLhB+qcMplbosrNtaMCVFwpBaU374+VV
QjUIbh3NWHfmHG5PMCyA9Tgw1KkFUCxOVC9iYEMtOqv1jQZCJxLqHNQ5AZLOyCsH
Wj+g1bL4io48JZpqKY1Sb9OQFPEAYuIye7NKGdXx+uK2DRuThqK12nuH8Zf85KzZ
NFG8YX7osnAYunIoP5dl7Q3oGgMmq4DswitEBizPwrLsH0xpnK7BGp3MU6Ily7WB
BUu9BZ59hudTwE/H9wJD
=EW/T
-----END PGP SIGNATURE-----

--nextPart98146633.705ya2F7UW--


From nobody Thu Aug 25 08:56:18 2016
Return-Path: <prvs=7045e2e036=uri@ll.mit.edu>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9EB2612D1C2 for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 08:56:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.746
X-Spam-Level: 
X-Spam-Status: No, score=-4.746 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.548, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=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 1tptrPUV8CYP for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 08:56:14 -0700 (PDT)
Received: from llmx2.ll.mit.edu (LLMX2.LL.MIT.EDU [129.55.12.48]) by ietfa.amsl.com (Postfix) with ESMTP id 903F812D135 for <cfrg@irtf.org>; Thu, 25 Aug 2016 08:56:14 -0700 (PDT)
Received: from LLE2K10-HUB02.mitll.ad.local (LLE2K10-HUB02.mitll.ad.local) by llmx2.ll.mit.edu (unknown) with ESMTP id u7PFqa7N029123; Thu, 25 Aug 2016 11:52:36 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: Tony Arcieri <bascule@gmail.com>, Peter Gutmann <pgut001@cs.auckland.ac.nz>
Thread-Topic: [TLS] 3DES diediedie
Thread-Index: AQHR/nWSg/CphhaeQ0GKsETs7Xni6qBZR4KAgAACuICAAIs4AA==
Date: Thu, 25 Aug 2016 15:56:04 +0000
Message-ID: <386DA563-FA77-4FA7-9E3D-EBF0022E0B43@ll.mit.edu>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <9A043F3CF02CD34C8E74AC1594475C73F4D01F6E@uxcn10-5.UoA.auckland.ac.nz> <CAHOTMVKyub+J0Vx+UryDEAHdJRYRTmZ1wvLmEBkSor7pOrXy_w@mail.gmail.com>
In-Reply-To: <CAHOTMVKyub+J0Vx+UryDEAHdJRYRTmZ1wvLmEBkSor7pOrXy_w@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/f.19.0.160817
x-originating-ip: [172.25.177.156]
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha384; boundary="B_3554970964_947430399"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-08-25_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=inbound_notspam policy=inbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1608250187
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/VXp6x26WXF0mLXx6bpjWw4XC-Ys>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] [TLS] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 15:56:17 -0000

--B_3554970964_947430399
Content-type: text/plain;
	charset="UTF-8"
Content-transfer-encoding: quoted-printable

>>=C2=A0 An attack that recovers cookie if you can record 785GB=C2=A0of traffic isn=
't anything I'm losing any sleep over.
>
> ..but is not a terribly dissimilar traffic volume to recover plaintexts f=
rom similar attacks against RC4,
> which received "diediedie" in RFC7465.
>
> Perhaps notable is the RC4 attacks work across multiple session keys, whe=
reas SWEET32 requires the same key,
> but I think the practical consequences regarding data volume limits are s=
imilar.

I think this difference is crucial, because when the majority of the traffi=
c was RC4, then scourging a lot of it and getting at least one key out of th=
e attack seemed bad enough to do something about it. Hence RFC7465.

With 3DES, you need that much of traffic protected by the key you=E2=80=99re tryi=
ng to attack. This completely removes any notion of practicality. I=E2=80=99m not =
losing my sleep over this either, and think this situation does not justify =
=E2=80=9Cdiediedie=E2=80=9D.

--B_3554970964_947430399
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIIUZwYJKoZIhvcNAQcCoIIUWDCCFFQCAQExDzANBglghkgBZQMEAgIFADALBgk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MTCk1JVExMIENBLTMCCjM7
SmUAAAAAbpkwDQYJYIZIAWUDBAICBQCgeTA/BgkqhkiG9w0BCQQxMgQwwV8B6KLwQ5fLochk
JFk7qoRyygnbceJ3cssWqf0Xy+Csw6KMHmc6QOapbQxOgF6OMBgGCSqGSIb3DQEJAzELBgkq
hkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTE2MDgyNTE1NTYwNFowDQYJKoZIhvcNAQEBBQAE
ggEAfarxEP0oE2OnaFv/hWzpxr1aCjeLUouFp4WXIITVgT6HAs4PgPhE+upm0SSxiLDB28NU
UjcRFOQ3jDH7EFzGqDhz7jjscS5wu6oIMBAO4l94urxm3TDrEa72eK9aIWa/y57nrJt4l8l1
DRMLbhV0DCvGE/CVUKsl55cRPA/l8woNWuCQZ7nNGaoUzLTh1ARBef7xKmXGRtHgSo1QAezF
xr/eQS5P9IsHqKA85qmjbMFc9YAkEASjF9Gl2IKzb+ce0U+JKerE4HM9WDVsruOaDQpezlVT
rGgAnM7J8FA3cQwckTH+p6LY+8GDKXw44Tgn445vggDAioma206S+0f5wA==

--B_3554970964_947430399--


From nobody Thu Aug 25 14:06:51 2016
Return-Path: <ynir.ietf@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7FD1012B02C for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 14:06:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 i0CHqnSC4Qi7 for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 14:06:47 -0700 (PDT)
Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (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 465AF126D74 for <cfrg@ietf.org>; Thu, 25 Aug 2016 14:06:47 -0700 (PDT)
Received: by mail-wm0-x22e.google.com with SMTP id i5so90755740wmg.0 for <cfrg@ietf.org>; Thu, 25 Aug 2016 14:06:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=Rek/FQ3OV4vJ5NN07V1H/+lX16+JQIZ/GMYMiyxtGzQ=; b=H/dlLA33KtJm/dic+gnk04PCW4nvHbK0vQ04Xf/wt8zJYrqnmABdfnptM9u5aksNVz tDIFD3jHe+NtnZ2rPfLfebsnBh63Yonyj0WhNB2w5ErHZDFTIxXiU6Kz6tSzMWVJv0Z4 LKkEWAOsMdzEzsvfIp28ww0+qhfVUV4CyfktLNOruy/dUyAoQFTXQ0/qdFXMwinleuOy kAQHV2mAI3VAaztl+EHPQspeEndqqRcTjabyAWGdGJLnHuuKR0TNnS6V2kl0g0dxDnvb FtaVpJ0qdOTIiCJt3/GnfJZz1zkfhNXP64tth1FnLwXC28r1x6mhI1jQnb3y1GXpayZV Wekg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=Rek/FQ3OV4vJ5NN07V1H/+lX16+JQIZ/GMYMiyxtGzQ=; b=fLAHp4X1aDZEU68wVNbz138SQTgnX1L0db/aBLWVAG8oFS/WggpUXlV8htKxEPYEP2 7SzTQfR6/u/+wWsZz4VGgWkhmkCe3G6PXn61fkSEqlG48euoourT/ypf6GYG4lFN7oWY RFEQuYS9bm4oCTioaY5sv5Rh00ydTPPWInfpZ3nYcIPMrDhvfi7WSx90OOJnYFaodsiy /8uPOVQ3n3Qk3T0THsjXmZUobinn9Ia9mhG7c1jBotoo0BAVLXRR/UtfzrK43sFjoDeN AhBmFvD8xi6D77k8Nu6JmdSye6WEZYO3MhKumqHaXtb6ta5vktPCMvgXnUn5lj9djqz1 IjRQ==
X-Gm-Message-State: AE9vXwO5/2lVLZ3mKo/eSeNgvqM4RBj/vFaHHzTWBxJ/YY6IH8u4MQooZMlTHxmpQZjU6w==
X-Received: by 10.28.37.67 with SMTP id l64mr10058269wml.105.1472159205455; Thu, 25 Aug 2016 14:06:45 -0700 (PDT)
Received: from [192.168.1.14] ([46.120.57.147]) by smtp.gmail.com with ESMTPSA id g1sm16907201wjy.5.2016.08.25.14.06.44 for <cfrg@ietf.org> (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Aug 2016 14:06:44 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <147160042450.24153.3490570099010698852.idtracker@ietfa.amsl.com>
Date: Fri, 26 Aug 2016 00:06:41 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <DA93E216-3C40-465F-A580-4F31C9909355@gmail.com>
References: <147160042450.24153.3490570099010698852.idtracker@ietfa.amsl.com>
To: "<cfrg@ietf.org>" <cfrg@ietf.org>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/DkDuDeCEAoh6xTjyI4yIKEuFPkc>
Subject: Re: [Cfrg] I-D Action: draft-irtf-cfrg-eddsa-08.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 21:06:49 -0000

Hi.

I=E2=80=99ve read this draft in the context of writing both RFC4492bis =
for TLS and draft-nir-ipsecme-eddsa for IPsecME. So of course I=E2=80=99m =
mainly interested in selecting the right variant for each key length. =
I=E2=80=99ll get back to that, bit first some things that I found that I =
don=E2=80=99t think are clear enough:

Section 10.3 begins like this:
   Contexts can be used to separate uses of the protocol between
   different protocols (which is very hard to reliably do otherwise)

So I think you meant to separate uses of the *algorithm* between =
different protocols.

The section proceeds to give some warnings about using contexts. The =
first paragraph requires not to use parts of the message for the =
context, but prohibits this with a SHOULD NOT. No explanation is given =
as to why not, nor in what cases you would do so anyway (it is a SHOULD =
NOT rather than a MUST NOT). The third paragraph is about percolating =
the context string through APIs which currently do not have context =
parameters. That is pretty clear although I don=E2=80=99t like the =
re-use of the word =E2=80=9Cprotocol=E2=80=9D at the very end. I think =
API is more correct.

The second paragraph, I don=E2=80=99t understand:
      Contexts SHOULD NOT be used oppurtunistically, as that kind of use
      is very error-prone.  If contexts are used, one SHOULD require all
      signature schemes avaiable for use in that purpose support
      contexts.

What does that even mean? AFAIK EdDSA is the only scheme with contexts. =
So if I plan to use EdDSA with context I SHOULD use contexts in, say, =
RSA? That can=E2=80=99t work, so should I use contexts only when EdDSA =
is the only defined signature algorithm for the protocol? I don=E2=80=99t =
think that=E2=80=99s what was meant.

Section 10.5 explains well the considerations for choosing between 25519 =
and 448. It also makes the case for not using the pre-hashed version if =
it can be avoided. Then there=E2=80=99s this text about contexts:
   Ed25519ctx and Ed448 have contexts.  However, this is balanced by the
   problems noted in section about contexts.
   On implementation front, Ed25519 is widely implemented, and has many
   high-quality implementations.  The others have much worse support.

I=E2=80=99m assuming that =E2=80=9Csection about contexts=E2=80=9D is =
10.3. Might be worth to clarify that with a reference. And I=E2=80=99m =
guessing the problems noted are the ones in that second paragraph, =
although I still don=E2=80=99t understand why it is error-prone.


So with all that in mind, which variants should I choose for TLS and =
IKE?  Obviously the pre-hashed variants are out, as there is a SHOULD =
NOT against their use and neither TLS nor IKE sign any prohibitively =
large messages. These are not like the multi-megabyte CRLs discussed =
recently on the curdle list. So it comes down to contexts. Do I define =
some context strings like =E2=80=9CIKEv2 Initiator Sign=E2=80=9D, =E2=80=9C=
TLS Server Sign=E2=80=9D, etc. Or do I use the non-context (or empty =
context) versions because both protocols also support other signature =
schemes such as RSA, DSA and ECDSA?

Thanks

Yoav


> On 19 Aug 2016, at 12:53 PM, internet-drafts@ietf.org wrote:
>=20
>=20
> A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
> This draft is a work item of the Crypto Forum of the IETF.
>=20
>        Title           : Edwards-curve Digital Signature Algorithm =
(EdDSA)=20
>        Authors         : Simon Josefsson
>                          Ilari Liusvaara
> 	Filename        : draft-irtf-cfrg-eddsa-08.txt
> 	Pages           : 59
> 	Date            : 2016-08-19
>=20
> Abstract:
>   The elliptic curve signature scheme Edwards-curve Digital Signature
>   Algorithm (EdDSA) is described.  The algorithm is instantiated with
>   recommended parameters for the edwards25519 and edwards448 curves.
>   An example implementation and test vectors are provided.
>=20
>=20
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-irtf-cfrg-eddsa/
>=20
> There's also a htmlized version available at:
> https://tools.ietf.org/html/draft-irtf-cfrg-eddsa-08
>=20
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-irtf-cfrg-eddsa-08
>=20
>=20
> Please note that it may take a couple of minutes from the time of =
submission
> until the htmlized version and diff are available at tools.ietf.org.
>=20
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Thu Aug 25 15:02:27 2016
Return-Path: <ietf@augustcellars.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5BC9512D0D9 for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 15:02:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.449
X-Spam-Level: 
X-Spam-Status: No, score=-2.449 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.548, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 rGE7NsvMs3wq for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 15:02:24 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3E82512D63E for <cfrg@ietf.org>; Thu, 25 Aug 2016 15:02:23 -0700 (PDT)
Received: from hebrews (192.168.1.152) by mail2.augustcellars.com (192.168.1.201) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 25 Aug 2016 15:14:33 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Yoav Nir' <ynir.ietf@gmail.com>, <cfrg@ietf.org>
References: <147160042450.24153.3490570099010698852.idtracker@ietfa.amsl.com> <DA93E216-3C40-465F-A580-4F31C9909355@gmail.com>
In-Reply-To: <DA93E216-3C40-465F-A580-4F31C9909355@gmail.com>
Date: Thu, 25 Aug 2016 15:02:15 -0700
Message-ID: <079801d1ff1c$58dcfd60$0a96f820$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQCapKCzDKDpBiwAPpfNGg4V4HBeOgJ6UAOBorUYy+A=
Content-Language: en-us
X-Originating-IP: [192.168.1.152]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/2RMxIFK4WZirFrz6jxSipGcGQuM>
Subject: Re: [Cfrg] I-D Action: draft-irtf-cfrg-eddsa-08.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 22:02:26 -0000

> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Yoav Nir
> Sent: Thursday, August 25, 2016 2:07 PM
> To: <cfrg@ietf.org> <cfrg@ietf.org>
> Subject: Re: [Cfrg] I-D Action: draft-irtf-cfrg-eddsa-08.txt
>=20
> Hi.
>=20
> I=E2=80=99ve read this draft in the context of writing both RFC4492bis =
for TLS and draft-
> nir-ipsecme-eddsa for IPsecME. So of course I=E2=80=99m mainly =
interested in selecting
> the right variant for each key length. I=E2=80=99ll get back to that, =
bit first some things
> that I found that I don=E2=80=99t think are clear enough:
>=20
> Section 10.3 begins like this:
>    Contexts can be used to separate uses of the protocol between
>    different protocols (which is very hard to reliably do otherwise)
>=20
> So I think you meant to separate uses of the *algorithm* between =
different
> protocols.
>=20
> The section proceeds to give some warnings about using contexts. The =
first
> paragraph requires not to use parts of the message for the context, =
but prohibits
> this with a SHOULD NOT. No explanation is given as to why not, nor in =
what
> cases you would do so anyway (it is a SHOULD NOT rather than a MUST =
NOT).
> The third paragraph is about percolating the context string through =
APIs which
> currently do not have context parameters. That is pretty clear =
although I don=E2=80=99t
> like the re-use of the word =E2=80=9Cprotocol=E2=80=9D at the very =
end. I think API is more
> correct.
>=20
> The second paragraph, I don=E2=80=99t understand:
>       Contexts SHOULD NOT be used oppurtunistically, as that kind of =
use
>       is very error-prone.  If contexts are used, one SHOULD require =
all
>       signature schemes avaiable for use in that purpose support
>       contexts.
>=20
> What does that even mean? AFAIK EdDSA is the only scheme with =
contexts. So if
> I plan to use EdDSA with context I SHOULD use contexts in, say, RSA? =
That can=E2=80=99t
> work, so should I use contexts only when EdDSA is the only defined =
signature
> algorithm for the protocol? I don=E2=80=99t think that=E2=80=99s what =
was meant.

The reading that I have from the text and which is enforced from other =
messages from Ilari is that he is saying don't use a context string =
unless all of the signature algorithms allow for the use of context =
strings.  So I believe that is exactly what is meant.

>=20
> Section 10.5 explains well the considerations for choosing between =
25519 and
> 448. It also makes the case for not using the pre-hashed version if it =
can be
> avoided. Then there=E2=80=99s this text about contexts:
>    Ed25519ctx and Ed448 have contexts.  However, this is balanced by =
the
>    problems noted in section about contexts.
>    On implementation front, Ed25519 is widely implemented, and has =
many
>    high-quality implementations.  The others have much worse support.
>=20
> I=E2=80=99m assuming that =E2=80=9Csection about contexts=E2=80=9D is =
10.3. Might be worth to clarify
> that with a reference. And I=E2=80=99m guessing the problems noted are =
the ones in that
> second paragraph, although I still don=E2=80=99t understand why it is =
error-prone.
>=20
>=20
> So with all that in mind, which variants should I choose for TLS and =
IKE?
> Obviously the pre-hashed variants are out, as there is a SHOULD NOT =
against
> their use and neither TLS nor IKE sign any prohibitively large =
messages. These are
> not like the multi-megabyte CRLs discussed recently on the curdle =
list. So it
> comes down to contexts. Do I define some context strings like =
=E2=80=9CIKEv2 Initiator
> Sign=E2=80=9D, =E2=80=9CTLS Server Sign=E2=80=9D, etc. Or do I use the =
non-context (or empty context)
> versions because both protocols also support other signature schemes =
such as
> RSA, DSA and ECDSA?

I wonder if the SHOULD NOT on pre-hash algorithms cannot be eased with =
the most recent updates to the document.

At this point I am not sure that context strings are going to be useful. =
 In the PKIX and CMS contexts I am planning on pushing the empty string =
or absent context.

Jim

>=20
> Thanks
>=20
> Yoav
>=20
>=20
> > On 19 Aug 2016, at 12:53 PM, internet-drafts@ietf.org wrote:
> >
> >
> > A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
> > This draft is a work item of the Crypto Forum of the IETF.
> >
> >        Title           : Edwards-curve Digital Signature Algorithm =
(EdDSA)
> >        Authors         : Simon Josefsson
> >                          Ilari Liusvaara
> > 	Filename        : draft-irtf-cfrg-eddsa-08.txt
> > 	Pages           : 59
> > 	Date            : 2016-08-19
> >
> > Abstract:
> >   The elliptic curve signature scheme Edwards-curve Digital =
Signature
> >   Algorithm (EdDSA) is described.  The algorithm is instantiated =
with
> >   recommended parameters for the edwards25519 and edwards448 curves.
> >   An example implementation and test vectors are provided.
> >
> >
> > The IETF datatracker status page for this draft is:
> > https://datatracker.ietf.org/doc/draft-irtf-cfrg-eddsa/
> >
> > There's also a htmlized version available at:
> > https://tools.ietf.org/html/draft-irtf-cfrg-eddsa-08
> >
> > A diff from the previous version is available at:
> > https://www.ietf.org/rfcdiff?url2=3Ddraft-irtf-cfrg-eddsa-08
> >
> >
> > Please note that it may take a couple of minutes from the time of
> > submission until the htmlized version and diff are available at =
tools.ietf.org.
> >
> > Internet-Drafts are also available by anonymous FTP at:
> > ftp://ftp.ietf.org/internet-drafts/
> >
> > _______________________________________________
> > Cfrg mailing list
> > Cfrg@irtf.org
> > https://www.irtf.org/mailman/listinfo/cfrg
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Thu Aug 25 15:39:30 2016
Return-Path: <ietf-ssh3@denisbider.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B738012D0EA for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 15:39:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.548
X-Spam-Level: 
X-Spam-Status: No, score=-2.548 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.548, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=denisbider.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 Y68MsHP88PX4 for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 15:39:26 -0700 (PDT)
Received: from skroderider.denisbider.com (skroderider.denisbider.com [50.18.172.175]) (using TLSv1.1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2CA8E12B016 for <cfrg@irtf.org>; Thu, 25 Aug 2016 15:39:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=denisbider.com; s=mail;  h=from:subject:date:message-id:to:cc:mime-version:content-type:in-reply-to: references; bh=Jdik0NtrW8I8M8CvJO+Y47FXh0EKrLFjdZ9Y91lKTJU=; b=EmwWf4iGzAbmCj6CAgUa2nqpB7knB1TXoQm1oipSSUIqJDh6HQDgI5qOSAG+xwynYyKHWuBmA6Tvz swPqngEkTab25DzNVT4qYbKaudQHyqlAL18vXsOwjwq5RnDiGpqdamZHNjEdCalcLLoI9baaueFkf3 L5NgvBUJgJ73lqG2xaxC8c5sMkb+JNz2jYggdp1uySUMH2EpAsVq/jxPYzN/irgbCWDQ4xnr3sdRcx kq3LO1mHjHp4yWfbExwS6hofC7diYOoqCgx9jVOJui9dtj8e+qJJEdwm4Gs8PWbD3XEgUObXqs4j1q t2enZ/CULN0SAGG1sYoUdAof0P6PhzA==
X-Footer: ZGVuaXNiaWRlci5jb20=
Received: from localhost ([127.0.0.1]) by skroderider.denisbider.com (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)); Thu, 25 Aug 2016 23:39:06 +0100
Message-ID: <B7B4274BD48048338321B078E6FDA182@Khan>
From: "denis bider \(Bitvise\)" <ietf-ssh3@denisbider.com>
To: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>, "Tony Arcieri" <bascule@gmail.com>, "Peter Gutmann" <pgut001@cs.auckland.ac.nz>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <9A043F3CF02CD34C8E74AC1594475C73F4D01F6E@uxcn10-5.UoA.auckland.ac.nz> <CAHOTMVKyub+J0Vx+UryDEAHdJRYRTmZ1wvLmEBkSor7pOrXy_w@mail.gmail.com> <386DA563-FA77-4FA7-9E3D-EBF0022E0B43@ll.mit.edu>
In-Reply-To: <386DA563-FA77-4FA7-9E3D-EBF0022E0B43@ll.mit.edu>
Date: Thu, 25 Aug 2016 16:38:43 -0600
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_023A_01D1FEEF.24CCB790"
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Mailer: Microsoft Windows Live Mail 16.4.3528.331
X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/kG9j48hcj4uK6mLEBHV8k6yewaw>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] [SSH] [TLS] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 22:39:28 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_023A_01D1FEEF.24CCB790
Content-Type: text/plain;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

In SSH, 3des-ctr is currently a cipher in good standing (RFC 4344). CBC =
is already discouraged (and alerted by many security scanners) because =
of the issue of naive decryption of packet lengths in this mode.

I might be mistaken, but I do not see applicability of this issue in CTR =
mode. If two ciphertext blocks collide, I don=E2=80=99t see how one =
could take advantage even if one knows the plaintext corresponding to =
one of the blocks. If one knows a lot of the plaintext, and therefore =
finds two key-stream blocks that collide, I=E2=80=99m not seeing what =
use that could be, either.

In addition, SSH has an automatic re-key that is initiated by both =
clients and servers after every 1 GB of data transferred (128k blocks) =
in either direction, or every hour, whichever comes first. Most SSH =
implementations, except rare broken ones that I rarely hear of, either =
initiate key re-exchange themselves, or support it when it is initiated =
by the other party. Key re-exchange replaces both encryption keys and =
the initial IVs in both directions. This also makes attacks against =
3des-cbc more difficult.

Correct me if I=E2=80=99m wrong, but I don=E2=80=99t see that any action =
needs to be taken in SSH against 3des-ctr, whereas CBC mode is defended =
by key re-exchange (with 128k blocks, collision probability less than 1 =
in 1 billion), and is itself already discouraged.

denis


From: Blumenthal, Uri - 0553 - MITLL=20
Sent: Thursday, August 25, 2016 09:56
To: Tony Arcieri ; Peter Gutmann=20
Cc: cfrg@irtf.org=20
Subject: Re: [Cfrg] [TLS] 3DES diediedie

>>  An attack that recovers cookie if you can record 785GB of traffic =
isn't anything I'm losing any sleep over.
>
> ..but is not a terribly dissimilar traffic volume to recover =
plaintexts from similar attacks against RC4,
> which received "diediedie" in RFC7465.
>
> Perhaps notable is the RC4 attacks work across multiple session keys, =
whereas SWEET32 requires the same key,
> but I think the practical consequences regarding data volume limits =
are similar.

I think this difference is crucial, because when the majority of the =
traffic was RC4, then scourging a lot of it and getting at least one key =
out of the attack seemed bad enough to do something about it. Hence =
RFC7465.

With 3DES, you need that much of traffic protected by the key =
you=E2=80=99re trying to attack. This completely removes any notion of =
practicality. I=E2=80=99m not losing my sleep over this either, and =
think this situation does not justify =E2=80=9Cdiediedie=E2=80=9D.

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg

------=_NextPart_000_023A_01D1FEEF.24CCB790
Content-Type: text/html;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD></HEAD>
<BODY dir=3Dltr>
<DIV dir=3Dltr>
<DIV style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Arial'; COLOR: #000000">
<DIV>In SSH, 3des-ctr is currently a cipher in good standing (RFC 4344). =
CBC is=20
already discouraged (and alerted by many security scanners) because of =
the issue=20
of naive decryption of packet lengths in this mode.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I might be mistaken, but I do not see applicability of this issue =
in CTR=20
mode. If two ciphertext blocks collide, I don=E2=80=99t see how one =
could take advantage=20
even if one knows the plaintext corresponding to one of the blocks. If =
one knows=20
a lot of the plaintext, and therefore finds two key-stream blocks that =
collide,=20
I=E2=80=99m not seeing what use that could be, either.</DIV>
<DIV>&nbsp;</DIV>
<DIV>In addition, SSH has an automatic re-key that is initiated by both =
clients=20
and servers after every 1 GB of data transferred (128k blocks) in either =

direction, or every hour, whichever comes first. Most SSH =
implementations,=20
except rare broken ones that I rarely hear of, either initiate key =
re-exchange=20
themselves, or support it when it is initiated by the other party. Key=20
re-exchange replaces both encryption keys and the initial IVs in both=20
directions. This also makes attacks against 3des-cbc more =
difficult.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Correct me if I=E2=80=99m wrong, but I don=E2=80=99t see that any =
action needs to be taken=20
in SSH against 3des-ctr, whereas CBC mode is defended by key re-exchange =
(with=20
128k blocks, collision probability less than 1 in 1 billion), and is =
itself=20
already discouraged.</DIV>
<DIV>&nbsp;</DIV>
<DIV>denis</DIV>
<DIV>&nbsp;</DIV>
<DIV=20
style=3D'FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: =
"Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; =
DISPLAY: inline'>
<DIV style=3D"FONT: 10pt tahoma">
<DIV>&nbsp;</DIV>
<DIV style=3D"BACKGROUND: #f5f5f5">
<DIV style=3D"font-color: black"><B>From:</B> <A title=3Duri@ll.mit.edu=20
href=3D"mailto:uri@ll.mit.edu">Blumenthal, Uri - 0553 - MITLL</A> </DIV>
<DIV><B>Sent:</B> Thursday, August 25, 2016 09:56</DIV>
<DIV><B>To:</B> <A title=3Dbascule@gmail.com =
href=3D"mailto:bascule@gmail.com">Tony=20
Arcieri</A> ; <A title=3Dpgut001@cs.auckland.ac.nz=20
href=3D"mailto:pgut001@cs.auckland.ac.nz">Peter Gutmann</A> </DIV>
<DIV><B>Cc:</B> <A title=3Dcfrg@irtf.org=20
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</A> </DIV>
<DIV><B>Subject:</B> Re: [Cfrg] [TLS] 3DES diediedie</DIV></DIV></DIV>
<DIV><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>
<DIV>&gt;&gt;&nbsp; An attack that recovers cookie if you can record =
785GB of=20
traffic isn't anything I'm losing any sleep over.</DIV>
<DIV>&gt;</DIV>
<DIV>&gt; ..but is not a terribly dissimilar traffic volume to recover=20
plaintexts from similar attacks against RC4,</DIV>
<DIV>&gt; which received "diediedie" in RFC7465.</DIV>
<DIV>&gt;</DIV>
<DIV>&gt; Perhaps notable is the RC4 attacks work across multiple =
session keys,=20
whereas SWEET32 requires the same key,</DIV>
<DIV>&gt; but I think the practical consequences regarding data volume =
limits=20
are similar.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I think this difference is crucial, because when the majority of =
the=20
traffic was RC4, then scourging a lot of it and getting at least one key =
out of=20
the attack seemed bad enough to do something about it. Hence =
RFC7465.</DIV>
<DIV>&nbsp;</DIV>
<DIV>With 3DES, you need that much of traffic protected by the key =
you=E2=80=99re trying=20
to attack. This completely removes any notion of practicality. =
I=E2=80=99m not losing my=20
sleep over this either, and think this situation does not justify=20
=E2=80=9Cdiediedie=E2=80=9D.</DIV>
<DIV><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV></DIV>
<DIV=20
style=3D'FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: =
"Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; =
DISPLAY: inline'>_______________________________________________<BR>Cfrg =

mailing=20
list<BR>Cfrg@irtf.org<BR>https://www.irtf.org/mailman/listinfo/cfrg<BR></=
DIV></DIV></DIV></BODY></HTML>

------=_NextPart_000_023A_01D1FEEF.24CCB790--



From nobody Thu Aug 25 16:02:13 2016
Return-Path: <geoffk@geoffk.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 498AF12D0F5 for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 16:02:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_RED=0.001] autolearn=ham autolearn_force=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 b5tVQ2vX-AXk for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 16:02:09 -0700 (PDT)
Received: from dragaera.releasedominatrix.com (dragaera.releasedominatrix.com [198.0.208.83]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 09EAF12D0C8 for <cfrg@irtf.org>; Thu, 25 Aug 2016 16:02:09 -0700 (PDT)
Received: by dragaera.releasedominatrix.com (Postfix, from userid 501) id 8AC3733D1F0; Thu, 25 Aug 2016 23:02:08 +0000 (UTC)
Sender: geoffk@localhost.localdomain
To: Tony Arcieri <bascule@gmail.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com>
From: Geoffrey Keating <geoffk@geoffk.org>
Date: 25 Aug 2016 16:02:08 -0700
In-Reply-To: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com>
Message-ID: <m2y43ko3kf.fsf@localhost.localdomain>
Lines: 31
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/0U2cJAQbFjvZwsgjGHCjfpQSQXg>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 23:02:10 -0000

Tony Arcieri <bascule@gmail.com> writes:

> This attack was published today[*]:
> 
> https://sweet32.info/
> 
> I bring it up because I think the threat model is similar to the threats
> that lead to RC4 "diediedie"
> 
> https://www.rfc-editor.org/info/rfc7465
> 
> Should there be a 3DES "diediedie"?

I think so.

> I believe 3DES is MTI for TLS 1.0/1.1(?) but I think it would make sense
> for it to be banned from TLS 1.3.

At least one purpose of such a RFC would be to replace the MTI ciphersuite
with a different ciphersuite.

> [*] Lest anyone claim the contrary, I am not surprised by this attack, and
> have pushed to have 3DES removed from TLS prior to the publication of this
> attack, and can probably find a TLS implementer who can back me up on that.

The problem has even been described previously on this very mailing list
<https://www.ietf.org/mail-archive/web/tls/current/msg04560.html> (the
original is off here:
<http://lists.links.org/pipermail/mogul-open/2009-November/000069.html>).



From nobody Thu Aug 25 16:14:55 2016
Return-Path: <prvs=7045e2e036=uri@ll.mit.edu>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9DB3112D658 for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 16:14:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.746
X-Spam-Level: 
X-Spam-Status: No, score=-4.746 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.548, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=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 WXbuZuBjZLcK for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 16:14:50 -0700 (PDT)
Received: from llmx2.ll.mit.edu (LLMX2.LL.MIT.EDU [129.55.12.48]) by ietfa.amsl.com (Postfix) with ESMTP id 9FC3412D649 for <cfrg@irtf.org>; Thu, 25 Aug 2016 16:14:50 -0700 (PDT)
Received: from LLE2K10-HUB01.mitll.ad.local (LLE2K10-HUB01.mitll.ad.local) by llmx2.ll.mit.edu (unknown) with ESMTP id u7PNBAJB018738; Thu, 25 Aug 2016 19:11:10 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: "denis bider (Bitvise)" <ietf-ssh3@denisbider.com>, Tony Arcieri <bascule@gmail.com>, Peter Gutmann <pgut001@cs.auckland.ac.nz>
Thread-Topic: [Cfrg] [SSH] [TLS] 3DES diediedie
Thread-Index: AdH/JnOMg/CphhaeQ0GKsETs7Xni6g==
Date: Thu, 25 Aug 2016 23:14:39 +0000
Message-ID: <20160825231445.18292816.24106.87068@ll.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="===============2018919359=="
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-08-25_13:, , signatures=0
X-Proofpoint-Spam-Details: rule=inbound_notspam policy=inbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1608250256
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/qIwOlJmA1ok8YzKN60MCVwCtZZk>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] [SSH] [TLS] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 23:14:53 -0000

--===============2018919359==
Content-Type: multipart/alternative; boundary="===============2076978631=="
MIME-Version: 1.0

--===============2076978631==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64

RGVuaXMsCgpJIGNvbmN1ci7CoAoKUC5TLiBPbiBteSBzZXJ2ZXJzIDNERVMgaXMgcHJvaGliaXRl
ZCBieSBjb25maWd1cmF0aW9uLCBidXQgc2VjdXJpdHkgaGFzIChhbG1vc3QpIOKAjm5vdGhpbmcg
dG8gZG8gd2l0aCB0aGF0IC0gcmF0aGVyIHVzYWdlIG9mIEFFUyBvZiBTdWl0ZSBCIGFuZCBBRVNO
SS1hY2NlbGVyYXRlZCBwZXJmb3JtYW5jZSAoYW5kIG9mIGNvdXJzZSBteSBjb25uZWN0aW5nIGNs
aWVudHMgaGF2ZSB0aGUgc2FtZSBtaW5kc2V0IGFuZCBwcmlvcml0aWVzIDopLgoKU2VudMKgZnJv
bcKgbXnCoEJsYWNrQmVycnnCoDEwwqBzbWFydHBob25lwqBvbsKgdGhlIFZlcml6b27CoFdpcmVs
ZXNzwqA0R8KgTFRFwqBuZXR3b3JrLgpGcm9tOiBkZW5pcyBiaWRlciAoQml0dmlzZSkKU2VudDog
VGh1cnNkYXksIEF1Z3VzdCAyNSwgMjAxNiAxODozOQpUbzogQmx1bWVudGhhbCwgVXJpIC0gMDU1
MyAtIE1JVExMOyBUb255IEFyY2llcmk7IFBldGVyIEd1dG1hbm4KQ2M6IGNmcmdAaXJ0Zi5vcmcK
U3ViamVjdDogUmU6IFtDZnJnXSBbU1NIXSBbVExTXSAzREVTIGRpZWRpZWRpZQoKSW4gU1NILCAz
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aW9uIG9m
IHByYWN0aWNhbGl0eS4gSeKAmW0gbm90IGxvc2luZyBteSBzbGVlcCBvdmVyIHRoaXMgZWl0aGVy
LCBhbmQgdGhpbmsgdGhpcyBzaXR1YXRpb24gZG9lcyBub3QganVzdGlmeSDigJxkaWVkaWVkaWXi
gJ0uCsKgCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCkNm
cmcgbWFpbGluZyBsaXN0CkNmcmdAaXJ0Zi5vcmcKaHR0cHM6Ly93d3cuaXJ0Zi5vcmcvbWFpbG1h
bi9saXN0aW5mby9jZnJnCgo=

--===============2076978631==
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

<html><head></head><body dir=3D"ltr" lang=3D"en-US" style=3D"background-col=
or: rgb(255, 255, 255); line-height: initial;">                            =
                                                          <div style=3D"wid=
th: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif=
, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-colo=
r: rgb(255, 255, 255);">Denis,</div><div style=3D"width: 100%; font-size: i=
nitial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: r=
gb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);=
"><br></div><div style=3D"width: 100%; font-size: initial; font-family: Cal=
ibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-al=
ign: initial; background-color: rgb(255, 255, 255);">I concur.&nbsp;</div><=
div style=3D"width: 100%; font-size: initial; font-family: Calibri, 'Slate =
Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial;=
 background-color: rgb(255, 255, 255);"><br></div><div style=3D"width: 100%=
; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-s=
erif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(2=
55, 255, 255);">P.S. On my servers 3DES is prohibited by configuration, but=
 security has (almost) =E2=80=8Enothing to do with that - rather usage of A=
ES of Suite B and AESNI-accelerated performance (and of course my connectin=
g clients have the same mindset and priorities :).</div><div style=3D"width=
: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, =
sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color:=
 rgb(255, 255, 255);"><span style=3D"font-size: initial; line-height: initi=
al; text-align: initial;"><br></span></div>                                =
                                                                           =
                                                                           =
             <div style=3D"font-size: initial; font-family: Calibri, 'Slate=
 Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial=
; background-color: rgb(255, 255, 255);">Sent&nbsp;from&nbsp;my&nbsp;BlackB=
erry&nbsp;10&nbsp;smartphone&nbsp;on&nbsp;the&nbsp;Verizon&nbsp;Wireless&nb=
sp;4G&nbsp;LTE&nbsp;network.</div>                                         =
                                                                           =
                                                              <table width=
=3D"100%" style=3D"background-color:white;border-spacing:0px;"> <tbody><tr>=
<td colspan=3D"2" style=3D"font-size: initial; text-align: initial; backgro=
und-color: rgb(255, 255, 255);">                           <div style=3D"bo=
rder-style: solid none none; border-top-color: rgb(181, 196, 223); border-t=
op-width: 1pt; padding: 3pt 0in 0in; font-family: Tahoma, 'BB Alpha Sans', =
'Slate Pro'; font-size: 10pt;">  <div><b>From: </b>denis bider (Bitvise)</d=
iv><div><b>Sent: </b>Thursday, August 25, 2016 18:39</div><div><b>To: </b>B=
lumenthal, Uri - 0553 - MITLL; Tony Arcieri; Peter Gutmann</div><div><b>Cc:=
 </b>cfrg@irtf.org</div><div><b>Subject: </b>Re: [Cfrg] [SSH] [TLS] 3DES di=
ediedie</div></div></td></tr></tbody></table><div style=3D"border-style: so=
lid none none; border-top-color: rgb(186, 188, 209); border-top-width: 1pt;=
 font-size: initial; text-align: initial; background-color: rgb(255, 255, 2=
55);"></div><br><div id=3D"_originalContent" style=3D"">

<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8">


<div dir=3D"ltr">
<div style=3D"font-size:10pt; font-family:'Arial'; color:#000000">
<div>In SSH, 3des-ctr is currently a cipher in good standing (RFC 4344). CB=
C is already discouraged (and alerted by many security scanners) because of=
 the issue of naive decryption of packet lengths in this mode.</div>
<div>&nbsp;</div>
<div>I might be mistaken, but I do not see applicability of this issue in C=
TR mode. If two ciphertext blocks collide, I don=E2=80=99t see how one coul=
d take advantage even if one knows the plaintext corresponding to one of th=
e blocks. If one knows a lot of the plaintext,
 and therefore finds two key-stream blocks that collide, I=E2=80=99m not se=
eing what use that could be, either.</div>
<div>&nbsp;</div>
<div>In addition, SSH has an automatic re-key that is initiated by both cli=
ents and servers after every 1 GB of data transferred (128k blocks) in eith=
er direction, or every hour, whichever comes first. Most SSH implementation=
s, except rare broken ones that
 I rarely hear of, either initiate key re-exchange themselves, or support i=
t when it is initiated by the other party. Key re-exchange replaces both en=
cryption keys and the initial IVs in both directions. This also makes attac=
ks against 3des-cbc more difficult.</div>
<div>&nbsp;</div>
<div>Correct me if I=E2=80=99m wrong, but I don=E2=80=99t see that any acti=
on needs to be taken in SSH against 3des-ctr, whereas CBC mode is defended =
by key re-exchange (with 128k blocks, collision probability less than 1 in =
1 billion), and is itself already discouraged.</div>
<div>&nbsp;</div>
<div>denis</div>
<div>&nbsp;</div>
<div style=3D"font-size:small; text-decoration:none; font-family:&quot;Cali=
bri&quot;; font-weight:normal; color:#000000; font-style:normal; display:in=
line">
<div style=3D"font:10pt tahoma">
<div>&nbsp;</div>
<div style=3D"background:#f5f5f5">
<div style=3D""><b>From:</b> <a title=3D"uri@ll.mit.edu" href=3D"mailto:uri=
@ll.mit.edu">
Blumenthal, Uri - 0553 - MITLL</a> </div>
<div><b>Sent:</b> Thursday, August 25, 2016 09:56</div>
<div><b>To:</b> <a title=3D"bascule@gmail.com" href=3D"mailto:bascule@gmail=
.com">Tony Arcieri</a> ;
<a title=3D"pgut001@cs.auckland.ac.nz" href=3D"mailto:pgut001@cs.auckland.a=
c.nz">Peter Gutmann</a>
</div>
<div><b>Cc:</b> <a title=3D"cfrg@irtf.org" href=3D"mailto:cfrg@irtf.org">cf=
rg@irtf.org</a>
</div>
<div><b>Subject:</b> Re: [Cfrg] [TLS] 3DES diediedie</div>
</div>
</div>
<div><font size=3D"2" face=3D"Arial"></font>&nbsp;</div>
<div>&gt;&gt;&nbsp; An attack that recovers cookie if you can record 785GB =
of traffic isn't anything I'm losing any sleep over.</div>
<div>&gt;</div>
<div>&gt; ..but is not a terribly dissimilar traffic volume to recover plai=
ntexts from similar attacks against RC4,</div>
<div>&gt; which received "diediedie" in RFC7465.</div>
<div>&gt;</div>
<div>&gt; Perhaps notable is the RC4 attacks work across multiple session k=
eys, whereas SWEET32 requires the same key,</div>
<div>&gt; but I think the practical consequences regarding data volume limi=
ts are similar.</div>
<div>&nbsp;</div>
<div>I think this difference is crucial, because when the majority of the t=
raffic was RC4, then scourging a lot of it and getting at least one key out=
 of the attack seemed bad enough to do something about it. Hence RFC7465.</=
div>
<div>&nbsp;</div>
<div>With 3DES, you need that much of traffic protected by the key you=E2=
=80=99re trying to attack. This completely removes any notion of practicali=
ty. I=E2=80=99m not losing my sleep over this either, and think this situat=
ion does not justify =E2=80=9Cdiediedie=E2=80=9D.</div>
<div><font size=3D"2" face=3D"Arial"></font>&nbsp;</div>
</div>
<div style=3D"font-size:small; text-decoration:none; font-family:&quot;Cali=
bri&quot;; font-weight:normal; color:#000000; font-style:normal; display:in=
line">
_______________________________________________<br>
Cfrg mailing list<br>
Cfrg@irtf.org<br>
https://www.irtf.org/mailman/listinfo/cfrg<br>
</div>
</div>
</div>


<br><!--end of _originalContent --></div></body></html>
--===============2076978631==--

--===============2018919359==
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExDTALBglghkgBZQMEAgEwgAYJKoZIhvcNAQcBAACggg7NMIIE
6jCCA9KgAwIBAgIKMz1Y1wAAAABunjANBgkqhkiG9w0BAQsFADBRMQswCQYDVQQGEwJVUzEfMB0G
A1UEChMWT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CSqGSIb3DQEBCwSCAQAisCD2HTAnckn9zDO8q1GR
s4SHDb5AooEHI+rejDlA3IIhr3x3yrJBxrgOTKGPkPaeLdm9Vx0GDvO6QvNuhgCJ0yf3rZwJiswg
UizTcBDojy6I59sVUirlIjXY+mJdjqIA8b02e8ABMqVExKNuxPv0CmHD1PO8fW0BXAF+yhxnEtMY
7MDNVqzkE8VET66XQJssOzV9H/IApXzDu7vftDPkS8XGMA5Epw3uNskphYWRIIubw+G0WkFn08ds
8nf96op3QGHVk1FA8aicoIdVf8+mLstsFQtJLE5O52Z0tG+qu71VtTVbj+/bMBowAfbT0VxkX0mi
1yL09awjweGzxRATAAAAAAAA

--===============2018919359==--


From nobody Thu Aug 25 21:43:47 2016
Return-Path: <dmjacobson@sbcglobal.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E278312D0A5 for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 21:43:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=sbcglobal.net
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 Uj5yK_5OwSO5 for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 21:43:44 -0700 (PDT)
Received: from nm2-vm9.access.bullet.mail.gq1.yahoo.com (nm2-vm9.access.bullet.mail.gq1.yahoo.com [216.39.63.240]) (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 EE159126579 for <cfrg@irtf.org>; Thu, 25 Aug 2016 21:43:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1472186623; bh=ibGtzDLdG3J83F8Y8WzZ5OOqXAMWfMlMjCg8GpEfaTc=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From:Subject; b=Z25bHTnPuZXof0G8oedCPbcButEid0y8pFRZwFs9DrWu9DUKjwY7Bg4Z2u9PDhLeXwoDRM9dZWQTH4p83efK8r6sM6OP5aEQr8+KyaJ1W3Wi7rkBz09rIRDnZqJU/zrSkO2TSIwrwFM510AN+U5zEe15YdCWmgQbiQLDZm78RQa/Kp2kZ9fuUtXQUZA7sQ5Ox+puRRw3CliSLSW/lsAIZ2aUqHfSa8ROk5YPqpN4Pkt9WFAY3IYyJMnJfi7rCue2oFfDSG0O2ikzBgld/3qNBWm2mRImLSZVOLtfbaldEUfzouMgrZf0s0771Ibcva4BhlIDM9K/Xd5wKgOG5218yw==
Received: from [216.39.60.173] by nm2.access.bullet.mail.gq1.yahoo.com with NNFMP; 26 Aug 2016 04:43:43 -0000
Received: from [67.195.23.148] by tm9.access.bullet.mail.gq1.yahoo.com with NNFMP; 26 Aug 2016 04:43:42 -0000
Received: from [127.0.0.1] by smtp120.sbc.mail.gq1.yahoo.com with NNFMP; 26 Aug 2016 04:43:42 -0000
X-Yahoo-Newman-Id: 351413.17023.bm@smtp120.sbc.mail.gq1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: DGsw4PAVM1m8ejXynIU1QCMRHM2sB9uDBQUJVpiOKc1uaxW 8EdRakF0BhXB4VGMOBqi3hKBnd0k3aTRw42466Bp1tN5KP8BaGIbPSMvZcPU FoMnMazK6riOjpGqLWxDvOHdkGHHtxMpVqtX1I1ojOynQPHv7T0DSXKTLh7F NMIx_hSf6AX8m2SGKV5EkQ6u_oHs4aTX7MwOlb8214JiI5N_qd_PtZxZyl58 QoIVKy6OYTZNa0GQK77kSNJmQWvLumGXDt2W7iY7cnJ7VIdngFXn2E69RVc2 HEH5ONDCtAAdBnHsD6H5hkCz2_TwEkVWrqdrWyhaK2D2dUXwXtPXX67lZ3.s WQ4sYkzS8C2PUc5kQh0Fmu0gwlU3SWe8vdsgTBvRhNsjvKVXjE_LiBH1oH61 OhrOrqQkjJbcZ03MbJl20yUYrdvLEYI6dY9qqN1Ri5M1Wom8ZsUxfP_QdYqp J0h4vJXwL_YrbdfATxkhsfgqzdapkaR4TEaDsXEKPUGupR2MrVBmA3_6QQUi 0b2FEqLRKfmlWSfqJoU.hkeNZFuM6Ev.DAIeXJJZhGj4M05L5tfgd.CzlP7P VsWkW6NVKVLA-
X-Yahoo-SMTP: nOrmCa6swBAE50FabWnlVFUpgFVJ9Gbi__8U5mpvhtQq7tTV1g--
To: "denis bider (Bitvise)" <ietf-ssh3@denisbider.com>, "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>, Tony Arcieri <bascule@gmail.com>, Peter Gutmann <pgut001@cs.auckland.ac.nz>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <9A043F3CF02CD34C8E74AC1594475C73F4D01F6E@uxcn10-5.UoA.auckland.ac.nz> <CAHOTMVKyub+J0Vx+UryDEAHdJRYRTmZ1wvLmEBkSor7pOrXy_w@mail.gmail.com> <386DA563-FA77-4FA7-9E3D-EBF0022E0B43@ll.mit.edu> <B7B4274BD48048338321B078E6FDA182@Khan>
From: David Jacobson <dmjacobson@sbcglobal.net>
Message-ID: <1ab41850-79ba-8b91-91bc-ba9b4b01c766@sbcglobal.net>
Date: Thu, 25 Aug 2016 21:43:41 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <B7B4274BD48048338321B078E6FDA182@Khan>
Content-Type: multipart/alternative; boundary="------------0C1AC7C5BBBDF67273FC457A"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/QLwH1bXAOYR1Y5z-hxU7f3IXQDE>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] [SSH] [TLS] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Aug 2016 04:43:46 -0000

This is a multi-part message in MIME format.
--------------0C1AC7C5BBBDF67273FC457A
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit

On 8/25/16 3:38 PM, denis bider (Bitvise) wrote:
> In SSH, 3des-ctr is currently a cipher in good standing (RFC 4344). 
> CBC is already discouraged (and alerted by many security scanners) 
> because of the issue of naive decryption of packet lengths in this mode.
> I might be mistaken, but I do not see applicability of this issue in 
> CTR mode. If two ciphertext blocks collide, I don’t see how one could 
> take advantage even if one knows the plaintext corresponding to one of 
> the blocks. If one knows a lot of the plaintext, and therefore finds 
> two key-stream blocks that collide, I’m not seeing what use that could 
> be, either.
With any block cipher in CTR mode there would be no collisions until the 
counter had wrapped around to the starting value.  Thus for 3DES with a 
full-width counter, there are no collisions until 2^64 + 1 blocks have 
been processed.

Ironically, the limitation to 2^32 blocks is not because of the 
possibility of a collision, but because of the the impossibility of 
collisions.  Collisions would be expected beginning around 2^32 blocks, 
but in 3DES CTR mode with a full width counter, they won't be any 
through 2^64 and thus the keystream can be distinguished from random.

     --David Jacobson

> In addition, SSH has an automatic re-key that is initiated by both 
> clients and servers after every 1 GB of data transferred (128k blocks) 
> in either direction, or every hour, whichever comes first. Most SSH 
> implementations, except rare broken ones that I rarely hear of, either 
> initiate key re-exchange themselves, or support it when it is 
> initiated by the other party. Key re-exchange replaces both encryption 
> keys and the initial IVs in both directions. This also makes attacks 
> against 3des-cbc more difficult.
> Correct me if I’m wrong, but I don’t see that any action needs to be 
> taken in SSH against 3des-ctr, whereas CBC mode is defended by key 
> re-exchange (with 128k blocks, collision probability less than 1 in 1 
> billion), and is itself already discouraged.
> denis
> *From:* Blumenthal, Uri - 0553 - MITLL <mailto:uri@ll.mit.edu>
> *Sent:* Thursday, August 25, 2016 09:56
> *To:* Tony Arcieri <mailto:bascule@gmail.com> ; Peter Gutmann 
> <mailto:pgut001@cs.auckland.ac.nz>
> *Cc:* cfrg@irtf.org <mailto:cfrg@irtf.org>
> *Subject:* Re: [Cfrg] [TLS] 3DES diediedie
> >>  An attack that recovers cookie if you can record 785GB of traffic 
> isn't anything I'm losing any sleep over.
> >
> > ..but is not a terribly dissimilar traffic volume to recover 
> plaintexts from similar attacks against RC4,
> > which received "diediedie" in RFC7465.
> >
> > Perhaps notable is the RC4 attacks work across multiple session 
> keys, whereas SWEET32 requires the same key,
> > but I think the practical consequences regarding data volume limits 
> are similar.
> I think this difference is crucial, because when the majority of the 
> traffic was RC4, then scourging a lot of it and getting at least one 
> key out of the attack seemed bad enough to do something about it. 
> Hence RFC7465.
> With 3DES, you need that much of traffic protected by the key you’re 
> trying to attack. This completely removes any notion of practicality. 
> I’m not losing my sleep over this either, and think this situation 
> does not justify “diediedie”.
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg



--------------0C1AC7C5BBBDF67273FC457A
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 8/25/16 3:38 PM, denis bider
      (Bitvise) wrote:<br>
    </div>
    <blockquote cite="mid:B7B4274BD48048338321B078E6FDA182@Khan"
      type="cite">
      <div dir="ltr">
        <div style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial'; COLOR:
          #000000">
          <div>In SSH, 3des-ctr is currently a cipher in good standing
            (RFC 4344). CBC is already discouraged (and alerted by many
            security scanners) because of the issue of naive decryption
            of packet lengths in this mode.</div>
          <div> </div>
          <div>I might be mistaken, but I do not see applicability of
            this issue in CTR mode. If two ciphertext blocks collide, I
            don’t see how one could take advantage even if one knows the
            plaintext corresponding to one of the blocks. If one knows a
            lot of the plaintext, and therefore finds two key-stream
            blocks that collide, I’m not seeing what use that could be,
            either.</div>
        </div>
      </div>
    </blockquote>
    With any block cipher in CTR mode there would be no collisions until
    the counter had wrapped around to the starting value.  Thus for 3DES
    with a full-width counter, there are no collisions until 2^64 + 1
    blocks have been processed.   <br>
    <br>
    Ironically, the limitation to 2^32 blocks is not because of the
    possibility of a collision, but because of the the impossibility of
    collisions.  Collisions would be expected beginning around 2^32
    blocks, but in 3DES CTR mode with a full width counter, they won't
    be any through 2^64 and thus the keystream can be distinguished from
    random.<br>
    <br>
        --David Jacobson<br>
    <br>
    <blockquote cite="mid:B7B4274BD48048338321B078E6FDA182@Khan"
      type="cite">
      <div dir="ltr">
        <div style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial'; COLOR:
          #000000">
          <div> </div>
          <div>In addition, SSH has an automatic re-key that is
            initiated by both clients and servers after every 1 GB of
            data transferred (128k blocks) in either direction, or every
            hour, whichever comes first. Most SSH implementations,
            except rare broken ones that I rarely hear of, either
            initiate key re-exchange themselves, or support it when it
            is initiated by the other party. Key re-exchange replaces
            both encryption keys and the initial IVs in both directions.
            This also makes attacks against 3des-cbc more difficult.</div>
          <div> </div>
          <div>Correct me if I’m wrong, but I don’t see that any action
            needs to be taken in SSH against 3des-ctr, whereas CBC mode
            is defended by key re-exchange (with 128k blocks, collision
            probability less than 1 in 1 billion), and is itself already
            discouraged.</div>
          <div> </div>
          <div>denis</div>
          <div> </div>
          <div style="FONT-SIZE: small; TEXT-DECORATION: none;
            FONT-FAMILY: &quot;Calibri&quot;; FONT-WEIGHT: normal;
            COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline">
            <div style="FONT: 10pt tahoma">
              <div> </div>
              <div style="BACKGROUND: #f5f5f5">
                <div style="font-color: black"><b>From:</b> <a
                    moz-do-not-send="true" title="uri@ll.mit.edu"
                    href="mailto:uri@ll.mit.edu">Blumenthal, Uri - 0553
                    - MITLL</a> </div>
                <div><b>Sent:</b> Thursday, August 25, 2016 09:56</div>
                <div><b>To:</b> <a moz-do-not-send="true"
                    title="bascule@gmail.com"
                    href="mailto:bascule@gmail.com">Tony Arcieri</a> ; <a
                    moz-do-not-send="true"
                    title="pgut001@cs.auckland.ac.nz"
                    href="mailto:pgut001@cs.auckland.ac.nz">Peter
                    Gutmann</a> </div>
                <div><b>Cc:</b> <a moz-do-not-send="true"
                    title="cfrg@irtf.org" href="mailto:cfrg@irtf.org">cfrg@irtf.org</a>
                </div>
                <div><b>Subject:</b> Re: [Cfrg] [TLS] 3DES diediedie</div>
              </div>
            </div>
            <div> </div>
            <div>&gt;&gt;  An attack that recovers cookie if you can
              record 785GB of traffic isn't anything I'm losing any
              sleep over.</div>
            <div>&gt;</div>
            <div>&gt; ..but is not a terribly dissimilar traffic volume
              to recover plaintexts from similar attacks against RC4,</div>
            <div>&gt; which received "diediedie" in RFC7465.</div>
            <div>&gt;</div>
            <div>&gt; Perhaps notable is the RC4 attacks work across
              multiple session keys, whereas SWEET32 requires the same
              key,</div>
            <div>&gt; but I think the practical consequences regarding
              data volume limits are similar.</div>
            <div> </div>
            <div>I think this difference is crucial, because when the
              majority of the traffic was RC4, then scourging a lot of
              it and getting at least one key out of the attack seemed
              bad enough to do something about it. Hence RFC7465.</div>
            <div> </div>
            <div>With 3DES, you need that much of traffic protected by
              the key you’re trying to attack. This completely removes
              any notion of practicality. I’m not losing my sleep over
              this either, and think this situation does not justify
              “diediedie”.</div>
            <div> </div>
          </div>
          <div style="FONT-SIZE: small; TEXT-DECORATION: none;
            FONT-FAMILY: &quot;Calibri&quot;; FONT-WEIGHT: normal;
            COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline">_______________________________________________<br>
            Cfrg mailing list<br>
            <a class="moz-txt-link-abbreviated" href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
            <a class="moz-txt-link-freetext" href="https://www.irtf.org/mailman/listinfo/cfrg">https://www.irtf.org/mailman/listinfo/cfrg</a><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Cfrg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a>
<a class="moz-txt-link-freetext" href="https://www.irtf.org/mailman/listinfo/cfrg">https://www.irtf.org/mailman/listinfo/cfrg</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>

--------------0C1AC7C5BBBDF67273FC457A--


From nobody Thu Aug 25 22:40:21 2016
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 67F7512D09F for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 22:40:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.448
X-Spam-Level: 
X-Spam-Status: No, score=-2.448 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.548] autolearn=ham autolearn_force=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 hNFVoLzCnbiV for <cfrg@ietfa.amsl.com>; Thu, 25 Aug 2016 22:40:18 -0700 (PDT)
Received: from welho-filter3.welho.com (welho-filter3.welho.com [83.102.41.25]) by ietfa.amsl.com (Postfix) with ESMTP id 0B26D126579 for <cfrg@ietf.org>; Thu, 25 Aug 2016 22:40:17 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id 043E511238; Fri, 26 Aug 2016 08:40:16 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id 2SGHkjxwiZAM; Fri, 26 Aug 2016 08:40:15 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-177-32.bb.dnainternet.fi [87.100.177.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id 87345C4; Fri, 26 Aug 2016 08:40:15 +0300 (EEST)
Date: Fri, 26 Aug 2016 08:40:05 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Jim Schaad <ietf@augustcellars.com>
Message-ID: <20160826054005.hzdnq4h7w44z5vai@LK-Perkele-V2.elisa-laajakaista.fi>
References: <147160042450.24153.3490570099010698852.idtracker@ietfa.amsl.com> <DA93E216-3C40-465F-A580-4F31C9909355@gmail.com> <079801d1ff1c$58dcfd60$0a96f820$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <079801d1ff1c$58dcfd60$0a96f820$@augustcellars.com>
User-Agent: Mutt/1.6.2-neo (2016-08-21)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/t81-amVPePmFVoWMJsY_TiN8pjo>
Cc: cfrg@ietf.org
Subject: Re: [Cfrg] I-D Action: draft-irtf-cfrg-eddsa-08.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Aug 2016 05:40:20 -0000

On Thu, Aug 25, 2016 at 03:02:15PM -0700, Jim Schaad wrote:
> 
> 
> > -----Original Message-----
> > From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Yoav Nir
> > Sent: Thursday, August 25, 2016 2:07 PM
> > To: <cfrg@ietf.org> <cfrg@ietf.org>
> > Subject: Re: [Cfrg] I-D Action: draft-irtf-cfrg-eddsa-08.txt
> > 
> > Hi.
> > 
> > I’ve read this draft in the context of writing both RFC4492bis for TLS and draft-
> > nir-ipsecme-eddsa for IPsecME. So of course I’m mainly interested in selecting
> > the right variant for each key length. I’ll get back to that, bit first some things
> > that I found that I don’t think are clear enough:
> > 
> > Section 10.3 begins like this:
> >    Contexts can be used to separate uses of the protocol between
> >    different protocols (which is very hard to reliably do otherwise)
> > 
> > So I think you meant to separate uses of the *algorithm* between
> > different protocols.

Actually, uses of the same key between different protocols (of the level
that handle signatures).

These uses are actually very difficult to separate besides labeling
the key with the protocol it is used with (which sometimes is not an
option).
 
E.g. TLS server signatures and PKIX CSRs are signed by the same RSA or
ECDSA keypairs. No separation (nor can it reasonably be added), but
fortunately those don't seem to interact in nasty ways.

However, with some pairs that might use the same keys, one is not so
lucky... But best not to mix keys between protocols unless absolutely
necressary (given the problems signatures have).

> > The section proceeds to give some warnings about using contexts. The first
> > paragraph requires not to use parts of the message for the context, but prohibits
> > this with a SHOULD NOT. No explanation is given as to why not, nor in what
> > cases you would do so anyway (it is a SHOULD NOT rather than a MUST NOT).
> > The third paragraph is about percolating the context string through APIs which
> > currently do not have context parameters. That is pretty clear although I don’t
> > like the re-use of the word “protocol” at the very end. I think API is more
> > correct.
> > 
> > The second paragraph, I don’t understand:
> >       Contexts SHOULD NOT be used oppurtunistically, as that kind of use
> >       is very error-prone.  If contexts are used, one SHOULD require all
> >       signature schemes avaiable for use in that purpose support
> >       contexts.
> > 
> > What does that even mean? AFAIK EdDSA is the only scheme with contexts. So if
> > I plan to use EdDSA with context I SHOULD use contexts in, say, RSA? That can’t
> > work, so should I use contexts only when EdDSA is the only defined signature
> > algorithm for the protocol? I don’t think that’s what was meant.
> 
> The reading that I have from the text and which is enforced from other
> messages from Ilari is that he is saying don't use a context string unless
> all of the signature algorithms allow for the use of context strings. 
> So I believe that is exactly what is meant.

Right.

(Making contextualized RSA-based or ECDSA-based signature scheme is not
difficult).


> > Section 10.5 explains well the considerations for choosing between 25519 and
> > 448. It also makes the case for not using the pre-hashed version if it can be
> > avoided. Then there’s this text about contexts:
> >    Ed25519ctx and Ed448 have contexts.  However, this is balanced by the
> >    problems noted in section about contexts.
> >    On implementation front, Ed25519 is widely implemented, and has many
> >    high-quality implementations.  The others have much worse support.
> > 
> > I’m assuming that “section about contexts” is 10.3. Might be worth to clarify
> > that with a reference. And I’m guessing the problems noted are the ones in that
> > second paragraph, although I still don’t understand why it is error-prone.

It is not error-prone. Using contexts plays hell with interfaces (which are
usually not designed to take the new input).

> > So with all that in mind, which variants should I choose for TLS and IKE?
> > Obviously the pre-hashed variants are out, as there is a SHOULD NOT against
> > their use and neither TLS nor IKE sign any prohibitively large messages. These are
> > not like the multi-megabyte CRLs discussed recently on the curdle list. So it
> > comes down to contexts. Do I define some context strings like “IKEv2 Initiator
> > Sign”, “TLS Server Sign”, etc. Or do I use the non-context (or empty context)
> > versions because both protocols also support other signature schemes such as
> > RSA, DSA and ECDSA?
> 
> I wonder if the SHOULD NOT on pre-hash algorithms cannot be eased with the most
> recent updates to the document.

Ed25519ph is still problematic (in a different way now, an implementation
problem, not a security problem).

> At this point I am not sure that context strings are going to be useful.
> In the PKIX and CMS contexts I am planning on pushing the empty string or
> absent context.

Taking interfaces into account, contexts probably are pretty much useless.


-Ilari


From nobody Fri Aug 26 00:58:47 2016
Return-Path: <beldmit@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1CC6112D10C for <cfrg@ietfa.amsl.com>; Fri, 26 Aug 2016 00:58:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 PRORbBZf692N for <cfrg@ietfa.amsl.com>; Fri, 26 Aug 2016 00:58:41 -0700 (PDT)
Received: from mail-lf0-x231.google.com (mail-lf0-x231.google.com [IPv6:2a00:1450:4010:c07::231]) (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 DC91C12D103 for <cfrg@irtf.org>; Fri, 26 Aug 2016 00:58:39 -0700 (PDT)
Received: by mail-lf0-x231.google.com with SMTP id b199so51188046lfe.0 for <cfrg@irtf.org>; Fri, 26 Aug 2016 00:58:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=boTcQ7K8fIxJiEapU1RWMKOAyzjDwY5g3JG8zxVyVXA=; b=dinbOzJHuHiIgxdSB/idlT3k7ocJKZ5SCAMnqvxsGnDhWxxEj+4O7Oy4SoaeiGolvo qNwy9g51mtQinpkmMLndz3ND7BxduapXiCKsKXegjGRkxFQciVk+htQA12rMo426l66H Kp93BSXDC+RCYjxWXVx3iOl/tr6yCi7lCIyb3fPaRhwyZIUzvgMDKgdhoP+8HxFjtvAb qLFqZMdkQhuHp4KoeTlREkLFdvfnAYY5OmHgWtsGbHUOkfoK93Q74bs6tusAn47e0x2f DKa43XOO01j+n/Tz8M8lKi9GJLRmmvlsCrvzKjHEpAU161NcHs47M87inKrc+892fjT8 z7kA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=boTcQ7K8fIxJiEapU1RWMKOAyzjDwY5g3JG8zxVyVXA=; b=A7Gc4vxGIms53tALmBI+9EWZB1x8/3STv0FLHaUPK3su009PvhiaFq78pwaULbrEaU 51qNJenMOZzXAFctKuDSQUKxA1HnKVsf4ZUP465bwXzTBLOXN1NYhw5lD3aJilSEezPQ xtf7WSoOutEFXFOaPTz0wpzfsM2ykRZd4IFkGfYNbnDaFEgy6olyoIn0x5NhfHsaC7W6 vtMIga6dQWrqODN+8Hb2qHiZYUKzrcCN3ezUSm5+A8yw1Z7SQBo/WRNtXFn8s55JrnGh R7DloSUNHBkLv3BgPnhuEMWjlez4m+xUn+7+M8T6Yd9e1JqqWr7sFam8NVgLxD8t7Sq1 WSnQ==
X-Gm-Message-State: AE9vXwMpNyXBNS3acnSjiF7IArGEeVHqUbbqWN2RdaSgD6+GV0RXATUZYWNM04rPZVrJ+GQRbEzQ7n+FNqxNBg==
X-Received: by 10.25.139.135 with SMTP id n129mr555943lfd.111.1472198317933; Fri, 26 Aug 2016 00:58:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.218.5 with HTTP; Fri, 26 Aug 2016 00:58:37 -0700 (PDT)
In-Reply-To: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com>
From: Dmitry Belyavsky <beldmit@gmail.com>
Date: Fri, 26 Aug 2016 10:58:37 +0300
Message-ID: <CADqLbz+nuAkc-m=O6110H2d-1xpy3DXq_XgpxfTfP=fEGt1+xg@mail.gmail.com>
To: Tony Arcieri <bascule@gmail.com>
Content-Type: multipart/alternative; boundary=001a113fc2f6c78b36053af4e1d7
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/sFakI7hSOIgQj6qU8Iqm4uqYgjA>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Aug 2016 07:58:44 -0000

--001a113fc2f6c78b36053af4e1d7
Content-Type: text/plain; charset=UTF-8

Hello all,

Regarding the discussion of the Sweet32 attack, it's worth mentioning that
there is a specification of so called key meshing for the Russian GOST
cipher (which has 64-bit block as well).
Key meshing is a procedure of a predictable change of the current key after
processing an certain amount of data.
It is described in RFC 4357, Section 2.3 (
https://tools.ietf.org/html/rfc4357#section-2.3).

This key meshing defends against any attack that uses a big portion of data
encrypted with the same key.

May be it is useful to specify the similar procedure for modern ciphers too.


On Thu, Aug 25, 2016 at 5:08 AM, Tony Arcieri <bascule@gmail.com> wrote:

> This attack was published today[*]:
>
> https://sweet32.info/
>
> I bring it up because I think the threat model is similar to the threats
> that lead to RC4 "diediedie"
>
> https://www.rfc-editor.org/info/rfc7465
>
> Should there be a 3DES "diediedie"?
>
> I believe 3DES is MTI for TLS 1.0/1.1(?) but I think it would make sense
> for it to be banned from TLS 1.3.
>
> [*] Lest anyone claim the contrary, I am not surprised by this attack, and
> have pushed to have 3DES removed from TLS prior to the publication of this
> attack, and can probably find a TLS implementer who can back me up on that.
>
> --
> Tony Arcieri
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>


-- 
SY, Dmitry Belyavsky

--001a113fc2f6c78b36053af4e1d7
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello all,</div><div><br></div><div>Regarding the dis=
cussion of the Sweet32 attack, it&#39;s worth mentioning that=C2=A0</div><d=
iv>there is a specification of so called key meshing for the Russian GOST c=
ipher (which has 64-bit block as well).</div><div>Key meshing is a procedur=
e of a predictable change of the current key after processing an certain am=
ount of data.=C2=A0</div><div>It is described in RFC 4357, Section 2.3 (<a =
href=3D"https://tools.ietf.org/html/rfc4357#section-2.3">https://tools.ietf=
.org/html/rfc4357#section-2.3</a>).=C2=A0</div><div><br></div><div>This key=
 meshing defends against any attack that uses a big portion of data encrypt=
ed with the same key.</div><div><br></div><div>May be it is useful to speci=
fy the similar procedure for modern ciphers too.</div><div><br></div><div c=
lass=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, Aug 25, 2016 at=
 5:08 AM, Tony Arcieri <span dir=3D"ltr">&lt;<a href=3D"mailto:bascule@gmai=
l.com" target=3D"_blank">bascule@gmail.com</a>&gt;</span> wrote:<br><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
x solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">This attack was=
 published today[*]:<div><br></div><div><a href=3D"https://sweet32.info/" t=
arget=3D"_blank">https://sweet32.info/</a></div><div><br></div><div>I bring=
 it up because I think the threat model is similar to the threats that lead=
 to RC4 &quot;diediedie&quot;</div><div><br></div><div><a href=3D"https://w=
ww.rfc-editor.org/info/rfc7465" target=3D"_blank">https://www.rfc-editor.or=
g/<wbr>info/rfc7465</a></div><div><div><br></div><div>Should there be a 3DE=
S &quot;diediedie&quot;?</div><div><br></div><div>I believe 3DES is MTI for=
 TLS 1.0/1.1(?) but I think it would make sense for it to be banned from TL=
S 1.3.</div><div><br></div><div>[*] Lest anyone claim the contrary, I am no=
t surprised by this attack, and have pushed to have 3DES removed from TLS p=
rior to the publication of this attack, and can probably find a TLS impleme=
nter who can back me up on that.</div><span class=3D""><font color=3D"#8888=
88"><div><br></div>-- <br><div data-smartmail=3D"gmail_signature">Tony Arci=
eri<br></div>
</font></span></div></div>
<br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/tls</a><br>
<br></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div cla=
ss=3D"gmail_signature" data-smartmail=3D"gmail_signature">SY, Dmitry Belyav=
sky</div>
</div></div>

--001a113fc2f6c78b36053af4e1d7--


From nobody Fri Aug 26 01:10:33 2016
Return-Path: <smyshsv@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4709212D0C4 for <cfrg@ietfa.amsl.com>; Fri, 26 Aug 2016 01:10:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 q2wJb-F-hY4u for <cfrg@ietfa.amsl.com>; Fri, 26 Aug 2016 01:10:31 -0700 (PDT)
Received: from mail-qk0-x234.google.com (mail-qk0-x234.google.com [IPv6:2607:f8b0:400d:c09::234]) (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 EA51A12D09C for <cfrg@irtf.org>; Fri, 26 Aug 2016 01:04:30 -0700 (PDT)
Received: by mail-qk0-x234.google.com with SMTP id z190so69377184qkc.0 for <cfrg@irtf.org>; Fri, 26 Aug 2016 01:04:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=i3J25FPSzx4HFloejYJGq7AniBOyNdpjCGsaFPRIOxs=; b=c0l5cPdj2G56HNcCxMHVPFnGcyGhLD2jvtl/wZIQBco+aDkZ47hpS9W8TfR24V0Lxs BQQfDiO9cC3YD2YPKs9rSb18qoqgT8s2PkOUrqUvneSaBccVtnmN7Xo5CslTZRqa8/Yw WqK+PSYtSVzeEf5nqKszeJqy6iBBwOFYjIEFHgk+3bG0X6bVMDt62RsvESzmMEAo3bLg vgB6C8vG+Sv8AFHvhBSB8qtFfzM+muOOMYLqjoqMSVgtafTated9268hiKeOA5DS117Y bibn9IK0fO34o6hsX6oUVDnA3k/r54aCqj9ZafaJlKsxeTfIBjbxwoGDu5rzHmhl8O0Y BenQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=i3J25FPSzx4HFloejYJGq7AniBOyNdpjCGsaFPRIOxs=; b=XqEORxyh1HzASWFP7RBr1GJHyvAMyu1VAuBfy3chC1u06pD6AQHOdzi7LqeQbP7cU4 6lPQymv4lloJscHVuP3aMe0r8RMl/BM4fYK2HBl8gsDTJUv9Tlrm6tIaFYzoi5nITTau lEs/z/cxDQ/16ajfa9perkf2jW+s0IcAGzOi/l+5CCuYSY/jggf2GHDAPoxNMbOYyaBR 1AiidoE+jShvtPzIhnVeIvfVB4coZq1tEK2LqwE37KW32/r0ZF+g2YkI4cPXopPUDitw gpxcetRi4jEj6M08eV6JfyF5hOgoYWeC8Iy/ylMKnNqvufqHaZImEQFWIa5dslG3nuy4 FsEA==
X-Gm-Message-State: AE9vXwPKm6Z8yl5IHrsHiJYtEwJtSAPw5uyPHNxhdd4osyjKEWI9llcdbsBP30I3jBrIxqKHy40xHb/PPylkaQ==
X-Received: by 10.55.209.142 with SMTP id o14mr1914750qkl.266.1472198670103; Fri, 26 Aug 2016 01:04:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.200.50.86 with HTTP; Fri, 26 Aug 2016 01:04:29 -0700 (PDT)
In-Reply-To: <CADqLbz+nuAkc-m=O6110H2d-1xpy3DXq_XgpxfTfP=fEGt1+xg@mail.gmail.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <CADqLbz+nuAkc-m=O6110H2d-1xpy3DXq_XgpxfTfP=fEGt1+xg@mail.gmail.com>
From: "Stanislav V. Smyshlyaev" <smyshsv@gmail.com>
Date: Fri, 26 Aug 2016 11:04:29 +0300
Message-ID: <CAMr0u6nLn1yf2rcS+g_ABP_-qHVJ1BZjO8Gg-tgRGCdYeboY+g@mail.gmail.com>
To: Dmitry Belyavsky <beldmit@gmail.com>
Content-Type: multipart/alternative; boundary=001a11479db0c53f48053af4f634
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/K3YbHPVibse_lm6iRL45HxcR5xw>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Aug 2016 08:10:32 -0000

--001a11479db0c53f48053af4f634
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Dear colleagues!

I'd like to add that the described key meshing procedures (procedures to
increase the lifetime of a key) are proven to be secure (and increasing
security) in case of usage of CTR mode =E2=80=93 see preprint at
http://eprint.iacr.org/2016/628.pdf

In case of CBC/CFB modes an additional separate key for key meshing should
be used.

Kindest regards,
Stanislav


2016-08-26 10:58 GMT+03:00 Dmitry Belyavsky <beldmit@gmail.com>:

> Hello all,
>
> Regarding the discussion of the Sweet32 attack, it's worth mentioning tha=
t
> there is a specification of so called key meshing for the Russian GOST
> cipher (which has 64-bit block as well).
> Key meshing is a procedure of a predictable change of the current key
> after processing an certain amount of data.
> It is described in RFC 4357, Section 2.3 (https://tools.ietf.org/html/
> rfc4357#section-2.3).
>
> This key meshing defends against any attack that uses a big portion of
> data encrypted with the same key.
>
> May be it is useful to specify the similar procedure for modern ciphers
> too.
>
>
> On Thu, Aug 25, 2016 at 5:08 AM, Tony Arcieri <bascule@gmail.com> wrote:
>
>> This attack was published today[*]:
>>
>> https://sweet32.info/
>>
>> I bring it up because I think the threat model is similar to the threats
>> that lead to RC4 "diediedie"
>>
>> https://www.rfc-editor.org/info/rfc7465
>>
>> Should there be a 3DES "diediedie"?
>>
>> I believe 3DES is MTI for TLS 1.0/1.1(?) but I think it would make sense
>> for it to be banned from TLS 1.3.
>>
>> [*] Lest anyone claim the contrary, I am not surprised by this attack,
>> and have pushed to have 3DES removed from TLS prior to the publication o=
f
>> this attack, and can probably find a TLS implementer who can back me up =
on
>> that.
>>
>> --
>> Tony Arcieri
>>
>> _______________________________________________
>> TLS mailing list
>> TLS@ietf.org
>> https://www.ietf.org/mailman/listinfo/tls
>>
>>
>
>
> --
> SY, Dmitry Belyavsky
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg
>
>

--001a11479db0c53f48053af4f634
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div><div class=3D"gmail_signat=
ure" data-smartmail=3D"gmail_signature"><div dir=3D"ltr">Dear colleagues!</=
div><div dir=3D"ltr"><br></div><div dir=3D"ltr">I&#39;d like to add that th=
e described key meshing procedures (procedures to increase the lifetime of =
a key) are proven to be secure (and increasing security) in case of usage o=
f CTR mode =E2=80=93 see preprint at=C2=A0<a href=3D"http://eprint.iacr.org=
/2016/628.pdf">http://eprint.iacr.org/2016/628.pdf</a><br></div><div dir=3D=
"ltr"><br></div><div dir=3D"ltr">In case of CBC/CFB modes an additional sep=
arate key for key meshing should be used.</div><div dir=3D"ltr"><br></div><=
div dir=3D"ltr">Kindest regards,</div><div dir=3D"ltr">Stanislav<br><div><b=
r></div></div></div></div>
<br><div class=3D"gmail_quote">2016-08-26 10:58 GMT+03:00 Dmitry Belyavsky =
<span dir=3D"ltr">&lt;<a href=3D"mailto:beldmit@gmail.com" target=3D"_blank=
">beldmit@gmail.com</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd=
ing-left:1ex"><div dir=3D"ltr"><div>Hello all,</div><div><br></div><div>Reg=
arding the discussion of the Sweet32 attack, it&#39;s worth mentioning that=
=C2=A0</div><div>there is a specification of so called key meshing for the =
Russian GOST cipher (which has 64-bit block as well).</div><div>Key meshing=
 is a procedure of a predictable change of the current key after processing=
 an certain amount of data.=C2=A0</div><div>It is described in RFC 4357, Se=
ction 2.3 (<a href=3D"https://tools.ietf.org/html/rfc4357#section-2.3" targ=
et=3D"_blank">https://tools.ietf.org/html/<wbr>rfc4357#section-2.3</a>).=C2=
=A0</div><div><br></div><div>This key meshing defends against any attack th=
at uses a big portion of data encrypted with the same key.</div><div><br></=
div><div>May be it is useful to specify the similar procedure for modern ci=
phers too.</div><div><br></div><div class=3D"gmail_extra"><br><div class=3D=
"gmail_quote"><div><div class=3D"h5">On Thu, Aug 25, 2016 at 5:08 AM, Tony =
Arcieri <span dir=3D"ltr">&lt;<a href=3D"mailto:bascule@gmail.com" target=
=3D"_blank">bascule@gmail.com</a>&gt;</span> wrote:<br></div></div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex"><div><div class=3D"h5"><div dir=
=3D"ltr">This attack was published today[*]:<div><br></div><div><a href=3D"=
https://sweet32.info/" target=3D"_blank">https://sweet32.info/</a></div><di=
v><br></div><div>I bring it up because I think the threat model is similar =
to the threats that lead to RC4 &quot;diediedie&quot;</div><div><br></div><=
div><a href=3D"https://www.rfc-editor.org/info/rfc7465" target=3D"_blank">h=
ttps://www.rfc-editor.org/inf<wbr>o/rfc7465</a></div><div><div><br></div><d=
iv>Should there be a 3DES &quot;diediedie&quot;?</div><div><br></div><div>I=
 believe 3DES is MTI for TLS 1.0/1.1(?) but I think it would make sense for=
 it to be banned from TLS 1.3.</div><div><br></div><div>[*] Lest anyone cla=
im the contrary, I am not surprised by this attack, and have pushed to have=
 3DES removed from TLS prior to the publication of this attack, and can pro=
bably find a TLS implementer who can back me up on that.</div><span><font c=
olor=3D"#888888"><div><br></div>-- <br><div data-smartmail=3D"gmail_signatu=
re">Tony Arcieri<br></div>
</font></span></div></div>
<br></div></div><span class=3D"">______________________________<wbr>_______=
__________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/tls</a><br>
<br></span></blockquote></div><span class=3D""><font color=3D"#888888"><br>=
<br clear=3D"all"><div><br></div>-- <br><div data-smartmail=3D"gmail_signat=
ure">SY, Dmitry Belyavsky</div>
</font></span></div></div>
<br>______________________________<wbr>_________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
<a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.irtf.org/mailman/<wbr>listinfo/cfrg</a><br>
<br></blockquote></div><br></div></div>

--001a11479db0c53f48053af4f634--


From nobody Fri Aug 26 01:13:10 2016
Return-Path: <hanno@hboeck.de>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2A50A12D0DA for <cfrg@ietfa.amsl.com>; Fri, 26 Aug 2016 01:13:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 ppBrSVX-hVsD for <cfrg@ietfa.amsl.com>; Fri, 26 Aug 2016 01:13:07 -0700 (PDT)
Received: from zucker.schokokeks.org (zucker.schokokeks.org [178.63.68.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D2BD2127077 for <cfrg@irtf.org>; Fri, 26 Aug 2016 01:13:06 -0700 (PDT)
Received: from pc1 (dslb-188-102-031-228.188.102.pools.vodafone-ip.de [::ffff:188.102.31.228]) (AUTH: LOGIN hanno-default@schokokeks.org, TLS: TLSv1/SSLv3, 256bits, ECDHE-RSA-AES256-GCM-SHA384) by zucker.schokokeks.org with ESMTPSA; Fri, 26 Aug 2016 10:13:05 +0200 id 000000000000007D.0000000057BFFA11.00005DC1
Date: Fri, 26 Aug 2016 10:13:04 +0200
From: Hanno =?UTF-8?B?QsO2Y2s=?= <hanno@hboeck.de>
To: Tony Arcieri <bascule@gmail.com>
Message-ID: <20160826101304.4815eecb@pc1>
In-Reply-To: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com>
X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="=_zucker.schokokeks.org-24001-1472199185-0001-2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/MnJo5rX5ImMNKW3chqAvbi-yeGY>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Aug 2016 08:13:09 -0000

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_zucker.schokokeks.org-24001-1472199185-0001-2
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Wed, 24 Aug 2016 19:08:02 -0700
Tony Arcieri <bascule@gmail.com> wrote:

> Should there be a 3DES "diediedie"?

I think a 3des diediedie rfc would be a good idea.

I was wondering yesterday whether I should disable 3des on my servers.
I'd likely exclude a small portion of my visitors for a very small
security gain.

Having a diediedie rfc would indicate that a significant portion of the
net agrees that we want to hard-deprecate 3des. I'd feel more
comfortable disabling it on my servers if I know that a reasonable
number of other servers will do the same thing, because users with a
3des/rc4-only browser will not only see failures on my site, they will
see failures all the time and will be forced to switch.

Forcing them to switch is also probably almost always a good thing.
Even for users who are stuck on Windows XP for whatever reason probably
have better options than sticking to builtin IE - e.g. they can use
Firefox, which is still supporting XP and offers modern ciphers.

Appart from that more operational argument, as far as I can see the
attack scenarios for RC4 and 3DES are in the same ballpark of
complexity. Not very practical, but practical enough to make us feel
uneasy, because we want TLS to provide reasonable protection even
against ulikely scenarios. We decided to deprecate RC4 with an RFC, so
it seems logical to deprecate 3DES as well.

(while we are at it: I'm not sure, do we have any official RFC
deprecating the even older ciphers - Single-DES, RC2 etc. - yet? We
could just stuff that in)

--=20
Hanno B=C3=B6ck
https://hboeck.de/

mail/jabber: hanno@hboeck.de
GPG: FE73757FA60E4E21B937579FA5880072BBB51E42

--=_zucker.schokokeks.org-24001-1472199185-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXv/oQAAoJEKWIAHK7tR5CpvgP/jycmHREWG6wKpVKtziODOSa
AwmpZYf2hFeA3NBS0mZqwsfbcFklJJABi5Bt+eieDloAz2d2AFWsmkiFPJBfIaTD
ETRAJ8zDEx0ZDnER5M68ChGwv7qVNKQ7KxzitbaABSIoWE3gxgTQIzAiqNKk/qqv
si6BkoxVysIJOKLThHI9yG7rllJGDdi3CWUEmhKffcdGQIEpKuLf4eW0IB4pe22B
SaF25QHdKzYBOzPuaI48KCi2WLAPIgNevB20cmr8QzxSROjQCJEpf6AVZxW4za1D
c8LdFq7RT7fwH3j7rKzKGW0l7fTDKfhv4mafGGcPmVN66fsKiKzU4bVUrP90WINL
2PhjHndGLJGcwIj/QS/Qu7bxOk+WhqYQbwI1Xt4sjowLZKLSn4HiJBIS+4TsP8kY
WiJXN9TCTPNbdKvta9rrKeRzrPwi4SsbPuZvVHsEjp4Eq0BSS1TwGVd3dJ3JJFj9
iaTpV0WftCvX59mrkcotYzWfx455dYRSUwXj8OndFWJt7hml1XQwX5bNiM8dcSuB
FB00mFC2vmH7mVicVfPiCRsTyw4PMAf03LyPLv110MtE4Lj7uztl4I7kz1v3ik0X
O96oyrZp412A3PkYoWSc1qKszpkAi/kMhC48L25bRXp5krYBlkMHxkhjxrJ/f6xN
su4+ggt+AKJfkjuo6lEd
=y90o
-----END PGP SIGNATURE-----

--=_zucker.schokokeks.org-24001-1472199185-0001-2--


From nobody Fri Aug 26 09:40:33 2016
Return-Path: <lavrikov_iv@tc26.ru>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 65B1C12D14A for <cfrg@ietfa.amsl.com>; Fri, 26 Aug 2016 09:40:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.548
X-Spam-Level: 
X-Spam-Status: No, score=-2.548 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.548, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=tc26.ru
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 D65WD3UGsIwo for <cfrg@ietfa.amsl.com>; Fri, 26 Aug 2016 09:40:31 -0700 (PDT)
Received: from mail.tc26.ru (mail.tc26.ru [188.40.163.82]) by ietfa.amsl.com (Postfix) with ESMTP id 2E7C512D125 for <cfrg@irtf.org>; Fri, 26 Aug 2016 09:33:07 -0700 (PDT)
Received: from f410.i.mail.ru (f410.i.mail.ru [185.5.136.81]) by mail.tc26.ru (Postfix) with ESMTPSA id 103DA3000B8 for <cfrg@irtf.org>; Fri, 26 Aug 2016 19:32:56 +0300 (MSK)
DKIM-Filter: OpenDKIM Filter v2.10.3 mail.tc26.ru 103DA3000B8
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tc26.ru; s=mx; t=1472229185; bh=iWTVGn049p5aqeobDGKQsBlcvq4zc5V2AN729uzsHpk=; h=From:To:Subject:Date:Reply-To:From; b=sFsunKWUjq4zD7ggY223miWyIeXTWB0Fun++N4h4HZqCflc58I2on7vtbNasvd5XS JA1G62aNPL+eTFwIBSLlvwezij+eQu7k24m3bYqSDO56ApMhCFlB+4TtrjQW+KoUZY 2LCd5f1ve0fEXAuyw719uv/OsTYKABYeHC8CWeq8=
From: =?UTF-8?B?0JjQstCw0L0g0JvQsNCy0YDQuNC60L7Qsg==?= <lavrikov_iv@tc26.ru>
To: =?UTF-8?B?Y2ZyZw==?= <cfrg@irtf.org>
MIME-Version: 1.0
X-Mailer: Mail.Ru Mailer 1.0
X-Originating-IP: [83.220.238.244]
Date: Fri, 26 Aug 2016 19:32:54 +0300
X-Letter-Fingerprint: Dl7cV6zaJ9gqUvq1G8ccydxUV1CrRUp9
X-Priority: 3 (Normal)
Message-ID: <1472229174.787982613@f410.i.mail.ru>
Content-Type: multipart/alternative; boundary="--ALT--a6d799851472229174"
X-Mailru-Sender: 48FBED691A12FFD9B91D167AF4170724678894825AB4477D5F980A42F03921D06717BD620C851590EDD16E8EE75FCBE4
X-Mras: OK
X-Spam: undefined
X-KLMS-Rule-ID: 1
X-KLMS-Message-Action: clean
X-KLMS-AntiSpam-Lua-Profiles: 101564 [Aug 26 2016]
X-KLMS-AntiSpam-Version: 5.6.0.28
X-KLMS-AntiSpam-Envelope-From: lavrikov_iv@tc26.ru
X-KLMS-AntiSpam-Rate: 15
X-KLMS-AntiSpam-Status: not_detected
X-KLMS-AntiSpam-Method: none
X-KLMS-AntiSpam-Info: LuaCore: 530 530 e477956e213337621b63e2bc0d5c7f193f4eac8d, tc26.ru:7.1.1; f410.i.mail.ru:4.0.4,7.1.1; 185.5.136.81:7.1.2,7.5.0; d41d8cd98f00b204e9800998ecf8427e.com:7.1.1; 127.0.0.199:7.1.2, Auth:dmarc=fail header.from=tc26.ru policy=reject; spf=fail smtp.mailfrom=tc26.ru; dkim=none, dmarc_local_policy_1
X-KLMS-AntiSpam-Interceptor-Info: scan successful
X-KLMS-AntiPhishing: Clean, 2016/08/24 15:10:07
X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.721, bases: 2016/08/26 07:56:00 #7804090
X-KLMS-AntiVirus-Status: Clean, skipped
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/PNI2D_98AxN_H7EHQPdPgHAG26Q>
Subject: Re: [Cfrg] =?utf-8?q?=5BTLS=5D_3DES_diediedie?=
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: =?UTF-8?B?0JjQstCw0L0g0JvQsNCy0YDQuNC60L7Qsg==?= <lavrikov_iv@tc26.ru>
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Aug 2016 16:40:32 -0000

----ALT--a6d799851472229174
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64

CkhpIGFsbCwKCkxldCBtZSBhc2sgYSBzbWFsbCBxdWVzdGlvbi4gV2h5IGFsbW9zdCBhbGwgb2Yg
eW91ICh3aG8ganVzdCBtZW50aW9uZWQgdGhhdCkgc3BlYWtpbmcgYWJvdXQgREVTLzNERVMgcmV0
aXJlbWVudC4gQXMgZm9yIG1lIHRoZSBtYWluIGJhZCBpc3N1ZSBpcyB0aGUgQ0JDLW1vZGUsIGFu
ZCBqdXN0IHN3aXRjaGluZyB0byBhbm90aGVyIGNpcGhlcnMgaXMgbm90IGEgc29sdXRpb24uIFRv
byBtdWNoIGRhdGEgd2l0aCAxMjgtYml0cyBibG9jayB0byBhdHRhY2s/IFRlbGwgdG8gZXhwZXJ0
cyBmcm9tID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L2Rpdj48ZGl2PkJlc3QgcmVnYXJkcyw8L2Rpdj48ZGl2PkkuTC48L2Rpdj48ZGl2
Pjxicj48L2Rpdj48ZGl2PlAvUy8gaXQncyBnb29kIHRoYXQgd2VyZSBtZW50aW9uZWQga2V5IG1l
c2hpbmcgYWxnb3JpdGhtcywgc28gTWVzaC1DQkMgaXQncyBsaWtlIHNvbWUgb3RoZXIgbW9kZSBz
dWl0YWJsZSBmb3IgVExTIGFuZCBvdGhlciBwdXJwb3Nlcy4uJm5ic3A7PC9kaXY+PC9kaXY+PC9C
T0RZPjwvSFRNTD4K

----ALT--a6d799851472229174--


From nobody Fri Aug 26 10:55:27 2016
Return-Path: <mcgrew@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5C94412D504 for <cfrg@ietfa.amsl.com>; Fri, 26 Aug 2016 10:55:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.068
X-Spam-Level: 
X-Spam-Status: No, score=-15.068 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.548, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 8F2QtHJiW6sq for <cfrg@ietfa.amsl.com>; Fri, 26 Aug 2016 10:55:21 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 24CDB12D505 for <cfrg@irtf.org>; Fri, 26 Aug 2016 10:55:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8926; q=dns/txt; s=iport; t=1472234120; x=1473443720; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=rXWPx3FJglC3HbHfn01Qr3K2GiDyghvrxQX2L6VSM7c=; b=j1lWaMrz5Mg5eSMvlRuYjve6W/edeckDUt/e1X4rL5nVVj3QG41quY0t 6JjIJjZROCW3Xh0tbkAelR1PqD+1/JxD+PKoW77lNqxuwr3GmTaihUphB 3V+KD03aUFn0YvSAohBN3E7AE3BWmI4liPZMvJA4cwSZhT05OhnL122qM I=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0B5EAChgcBX/49dJa1dgw4zAQEBAQEeV?= =?us-ascii?q?nwHhCSnS4cnhQmCASCFfQIcgTI6EgECAQEBAQEBAV4nhGEBAQMCI2YCAQgOAwM?= =?us-ascii?q?BAigDAgICHxEUCQgCBAESiB4DFw6wIYteDYNOAQEBAQEBAQEBAQEBAQEBAQEBA?= =?us-ascii?q?QEYBYgmCIJNghAzgh2CYiuCLwWTcIUoNAGGH4Y+gkuKeoRYiDqECYN4ASUCLYQ?= =?us-ascii?q?ccAGFTH8BAQE?=
X-IronPort-AV: E=Sophos;i="5.28,581,1464652800";  d="scan'208,217";a="142102898"
Received: from rcdn-core-7.cisco.com ([173.37.93.143]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Aug 2016 17:55:19 +0000
Received: from XCH-RCD-004.cisco.com (xch-rcd-004.cisco.com [173.37.102.14]) by rcdn-core-7.cisco.com (8.14.5/8.14.5) with ESMTP id u7QHtJ0S019328 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 26 Aug 2016 17:55:19 GMT
Received: from xch-aln-004.cisco.com (173.36.7.14) by XCH-RCD-004.cisco.com (173.37.102.14) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 26 Aug 2016 12:55:18 -0500
Received: from xch-aln-004.cisco.com ([173.36.7.14]) by XCH-ALN-004.cisco.com ([173.36.7.14]) with mapi id 15.00.1210.000; Fri, 26 Aug 2016 12:55:18 -0500
From: "David McGrew (mcgrew)" <mcgrew@cisco.com>
To: Tony Arcieri <bascule@gmail.com>, "<tls@ietf.org>" <tls@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] 3DES diediedie
Thread-Index: AQHR/nWfoW+SS6smqUOyCtdxrLUgKaBbmdgA
Date: Fri, 26 Aug 2016 17:55:18 +0000
Message-ID: <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com>
In-Reply-To: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/f.15.1.160411
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.117.10.228]
Content-Type: multipart/alternative; boundary="_000_F42128A0968240428C7EE3686743B314ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/uHjbWe0ccqcRRtwwU6jyBYIm6WY>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Aug 2016 17:55:22 -0000

--_000_F42128A0968240428C7EE3686743B314ciscocom_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

SGkgVG9ueSwNCg0KVGhhbmtzIGZvciBicmluZ2luZyB0aGlzIHVwOyBhbiBSRkMgZGVwcmVjYXRp
bmcgYW5kL29yIGRpc2NvdXJhZ2luZyAzREVTIHdvdWxkIGJlIGEgZ29vZCB0aGluZy4gIFRoZSBv
bmx5IGdvb2QgcmVhc29uIHRvIHVzZSBpdCBpcyBiYWNrd2FyZHMgY29tcGF0aWJpbGl0eSwgYW5k
IHRvbyBtYW55IGFwcGxpY2F0aW9ucyBkb27igJl0IGhlZWQgdGhlIGJpcnRoZGF5IGJvdW5kLg0K
DQpUaGVyZSBpcyBhbm90aGVyIGlzc3VlIHRvIGJlIGNvbnNpZGVyZWQsIHRob3VnaC4gICBNb3N0
IG9mIHRoZSBsaWdodHdlaWdodCDigJxkZXNpZ25lZCBmb3IgSW9U4oCdIGJsb2NrIGNpcGhlcnMg
aGF2ZSBhIDY0IGJpdCBibG9jayBzaXplIChhbmQgc29tZXRpbWVzIGV2ZW4gc21hbGxlcik7IHNl
ZSBmb3IgaW5zdGFuY2UgVGFibGUgMS4xIG9mIGh0dHBzOi8vZXByaW50LmlhY3Iub3JnLzIwMTMv
NDA0LnBkZiAgICAgU28gcGVyaGFwcyB3aGF0IHRoZSBJbnRlcm5ldCBuZWVkcyBoZXJlIGlzIHNv
dW5kIGd1aWRhbmNlIG9uIGhvdyB0byB1c2UgNjQtYml0IGJsb2NrIGNpcGhlcnMuICAgQmVzdCBw
cmFjdGljZXMgaGVyZS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BhIDNERVMg
ImRpZWRpZWRpZSI/DQoNCkkgYmVsaWV2ZSAzREVTIGlzIE1USSBmb3IgVExTIDEuMC8xLjEoPykg
YnV0IEkgdGhpbmsgaXQgd291bGQgbWFrZSBzZW5zZSBmb3IgaXQgdG8gYmUgYmFubmVkIGZyb20g
VExTIDEuMy4NCg0KWypdIExlc3QgYW55b25lIGNsYWltIHRoZSBjb250cmFyeSwgSSBhbSBub3Qg
c3VycHJpc2VkIGJ5IHRoaXMgYXR0YWNrLCBhbmQgaGF2ZSBwdXNoZWQgdG8gaGF2ZSAzREVTIHJl
bW92ZWQgZnJvbSBUTFMgcHJpb3IgdG8gdGhlIHB1YmxpY2F0aW9uIG9mIHRoaXMgYXR0YWNrLCBh
bmQgY2FuIHByb2JhYmx5IGZpbmQgYSBUTFMgaW1wbGVtZW50ZXIgd2hvIGNhbiBiYWNrIG1lIHVw
IG9uIHRoYXQuDQoNCi0tDQpUb255IEFyY2llcmkNCg==

--_000_F42128A0968240428C7EE3686743B314ciscocom_
Content-Type: text/html; charset="utf-8"
Content-ID: <D03A21136D62EF4CB4F5E0D833A4174E@emea.cisco.com>
Content-Transfer-Encoding: base64

PGh0bWw+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIgY29udGVudD0i
dGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjwvaGVhZD4NCjxib2R5IHN0eWxlPSJ3b3JkLXdy
YXA6IGJyZWFrLXdvcmQ7IC13ZWJraXQtbmJzcC1tb2RlOiBzcGFjZTsgLXdlYmtpdC1saW5lLWJy
ZWFrOiBhZnRlci13aGl0ZS1zcGFjZTsiPg0KPGRpdj4NCjxkaXYgc3R5bGU9ImNvbG9yOiByZ2Io
MCwgMCwgMCk7IGZvbnQtZmFtaWx5OiBDYWxpYnJpLCBzYW5zLXNlcmlmOyBmb250LXNpemU6IDE0
cHg7Ij4NCkhpIFRvbnksPC9kaXY+DQo8ZGl2IHN0eWx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mlvciB0byB0aGUgcHVibGljYXRpb24gb2Yg
dGhpcyBhdHRhY2ssIGFuZCBjYW4gcHJvYmFibHkgZmluZCBhIFRMUyBpbXBsZW1lbnRlciB3aG8g
Y2FuIGJhY2sgbWUgdXAgb24gdGhhdC48L2Rpdj4NCjxkaXY+PGJyPg0KPC9kaXY+DQotLSA8YnI+
DQo8ZGl2IGNsYXNzPSJnbWFpbF9zaWduYXR1cmUiIGRhdGEtc21hcnRtYWlsPSJnbWFpbF9zaWdu
YXR1cmUiPlRvbnkgQXJjaWVyaTxicj4NCjwvZGl2Pg0KPC9kaXY+DQo8L2Rpdj4NCjwvZGl2Pg0K
PC9kaXY+DQo8L2Jsb2NrcXVvdGU+DQo8L3NwYW4+PC9zcGFuPg0KPC9ib2R5Pg0KPC9odG1sPg0K

--_000_F42128A0968240428C7EE3686743B314ciscocom_--


From nobody Fri Aug 26 10:59:49 2016
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C2BC412D505 for <cfrg@ietfa.amsl.com>; Fri, 26 Aug 2016 10:59:47 -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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 PsPs9VXp8Kr4 for <cfrg@ietfa.amsl.com>; Fri, 26 Aug 2016 10:59:46 -0700 (PDT)
Received: from mail-ua0-x235.google.com (mail-ua0-x235.google.com [IPv6:2607:f8b0:400c:c08::235]) (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 2737912D501 for <cfrg@irtf.org>; Fri, 26 Aug 2016 10:59:46 -0700 (PDT)
Received: by mail-ua0-x235.google.com with SMTP id n59so150525377uan.2 for <cfrg@irtf.org>; Fri, 26 Aug 2016 10:59:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=QW5mCSwNpSs1OuJC/gHtnhJ++e/IxMaNgs2sVU6LyR4=; b=Gp4rvjvT01+1H9iddg4qHVbhMD+wzMGNHhxsjV8f/B/RacpS+emJOHM5MFVdiX9b9K 22YywMguJNfy3iCfHYHi9bp3rXmPA+327vTJwKwz4REitVMkIVGhJJHc7x2FdKW77ajp Kq7tfaQJxZvPy88YbFgc7oz0b24zp9TkR3yqRJ2qRD7eJdRH7/LWt3dMp11smJhKO/qu qFsuSY+ONkBhsg9DwHioUkX42lV0nGl3PKkYlT83h3S2SxJBvoUCwaZ6IQgREUhUtgrE GH34Y9/mgsYtIY+mi3lhOsMiq4WNcejXCmYVb9IdHOtC7DAy4RhZ5+5MvAGPCV/gvwsx GNCA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=QW5mCSwNpSs1OuJC/gHtnhJ++e/IxMaNgs2sVU6LyR4=; b=VMkgOuFaw5lGg4DCwsi5hgBm9Tz2q+Hyxss2iiUYwapLsuWm1BELVaBMUuSOTDkcmO ia/rdNEsb1U1WX5w1dQ/rHUc/ZDgwNVdZf8hKH7YTxlqZgCzjXUc4U7s3pVdtugkbOyd vOZFIwqhhS0MwH4XDCaO+lrLrgoQWa4rea9X8nv++OhGCr4X3cjHytrLE31rBMJZpU6V SFpXNCucM6myWIX3cnhG4S3YGkPTd5EBtaPjHiwbYHnV0lO2luvdT7G3kUuzaKBiLu3d rQoSo0g/ihBdT4Vn0CtodjjJp5eucGx3MaIbyOYT1guEK4vDTjHoGnaLWksbjxmvL1h2 fd7w==
X-Gm-Message-State: AE9vXwOTwu2e3BT37GlLpFr6EqsMM/4Tn9jF718V90QPVbuRhhaiIVLdbaESyPI581Lbm7SmpE1GExT/TNXP5g==
X-Received: by 10.159.37.101 with SMTP id 92mr2944606uaz.109.1472234385250; Fri, 26 Aug 2016 10:59:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.176.1.209 with HTTP; Fri, 26 Aug 2016 10:59:44 -0700 (PDT)
In-Reply-To: <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Fri, 26 Aug 2016 10:59:44 -0700
Message-ID: <CACsn0cm-zOiqmE+9MjnwTfZa_WQxPv9RWGJeb-hQZqQ0r9P=ag@mail.gmail.com>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/t65kl28R5-JRUJmU1EWHEhF41eQ>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Aug 2016 17:59:48 -0000

On Fri, Aug 26, 2016 at 10:55 AM, David McGrew (mcgrew)
<mcgrew@cisco.com> wrote:
> Hi Tony,
>
> Thanks for bringing this up; an RFC deprecating and/or discouraging 3DES
> would be a good thing.  The only good reason to use it is backwards
> compatibility, and too many applications don=E2=80=99t heed the birthday =
bound.
>
> There is another issue to be considered, though.   Most of the lightweigh=
t
> =E2=80=9Cdesigned for IoT=E2=80=9D block ciphers have a 64 bit block size=
 (and sometimes
> even smaller); see for instance Table 1.1 of
> https://eprint.iacr.org/2013/404.pdf     So perhaps what the Internet nee=
ds
> here is sound guidance on how to use 64-bit block ciphers.   Best practic=
es
> here include both mandatory rekeying well below the birthday bound and/or
> the use of secure beyond the birthday bound modes of operation such as
> Iwata=E2=80=99s CENC.

Or use PRF instead of PRP for counter mode. I'm happy to check the
arithmetic if we want an RFC for this, but am very overcommitted on
editing right now.

>
> Best,
>
> David
>
> From: Cfrg <cfrg-bounces@irtf.org> on behalf of Tony Arcieri
> <bascule@gmail.com>
> Date: Wednesday, August 24, 2016 at 10:08 PM
> To: "tls@ietf.org" <tls@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
> Subject: [Cfrg] 3DES diediedie
>
> This attack was published today[*]:
>
> https://sweet32.info/
>
> I bring it up because I think the threat model is similar to the threats
> that lead to RC4 "diediedie"
>
> https://www.rfc-editor.org/info/rfc7465
>
> Should there be a 3DES "diediedie"?
>
> I believe 3DES is MTI for TLS 1.0/1.1(?) but I think it would make sense =
for
> it to be banned from TLS 1.3.
>
> [*] Lest anyone claim the contrary, I am not surprised by this attack, an=
d
> have pushed to have 3DES removed from TLS prior to the publication of thi=
s
> attack, and can probably find a TLS implementer who can back me up on tha=
t.
>
> --
> Tony Arcieri
>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>



--=20
"Man is born free, but everywhere he is in chains".
--Rousseau.


From nobody Sat Aug 27 04:32:49 2016
Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 42BC012B042 for <cfrg@ietfa.amsl.com>; Sat, 27 Aug 2016 04:32:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.748
X-Spam-Level: 
X-Spam-Status: No, score=-4.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.548] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=auckland.ac.nz
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 98jy8O-_RWVc for <cfrg@ietfa.amsl.com>; Sat, 27 Aug 2016 04:32:39 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E346B12B020 for <cfrg@irtf.org>; Sat, 27 Aug 2016 04:32:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1472297559; x=1503833559; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=1XMWx5mDZ05vGsXOqW6iO8Smnfu+Tx25ZbfICk4Tqqg=; b=vjdaO2wnY/QMXuFlyd7srD0peR3eKpLJZsTOuQjino+ie5QVpmiTza47 0MZdR0qCN/JmW2UWDl7OOkXKEO79B06jA2DGiFmzuk/UMsqi4lHBSvxiG 7A1IVdOE/Td8h+66Oed/Fa4gJh5P4er6MaYiCCNFIdNImI6iC3F3Eg7IA 0twNSAUwvwH49Rkj2iL1nC6IfaY+DYvEdCjLlgnvGyaztpr3RDApD6EP0 Au6b53SscqYn5X468RxXQ/L7EiGW40Opjr44WBdxBGvWIQ61/WtHqcaxR uEMoIO8dqObnlUkuddRgvetyH0bpf3AM2IpGY8gaWEE1spOXw9Y8etWOg A==;
X-IronPort-AV: E=Sophos;i="5.28,586,1464609600"; d="scan'208";a="103682142"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.171 - Outgoing - Outgoing
Received: from uxchange10-fe4.uoa.auckland.ac.nz ([130.216.4.171]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES256-SHA; 27 Aug 2016 23:32:35 +1200
Received: from UXCN10-5.UoA.auckland.ac.nz ([169.254.5.93]) by uxchange10-fe4.UoA.auckland.ac.nz ([169.254.109.63]) with mapi id 14.03.0266.001; Sat, 27 Aug 2016 23:32:35 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Tony Arcieri <bascule@gmail.com>
Thread-Topic: [TLS] 3DES diediedie
Thread-Index: AQHR/nYBgGFjWg5clEOyDz4J8naNqqBZBEfx//85uoCABHJHVQ==
Date: Sat, 27 Aug 2016 11:32:34 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73F4D046C2@uxcn10-5.UoA.auckland.ac.nz>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <9A043F3CF02CD34C8E74AC1594475C73F4D01F6E@uxcn10-5.UoA.auckland.ac.nz>, <CAHOTMVKyub+J0Vx+UryDEAHdJRYRTmZ1wvLmEBkSor7pOrXy_w@mail.gmail.com>
In-Reply-To: <CAHOTMVKyub+J0Vx+UryDEAHdJRYRTmZ1wvLmEBkSor7pOrXy_w@mail.gmail.com>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.6.2.4]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/hSyXQ3R86OBJQyqSx3bww0vdvXw>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Aug 2016 11:32:44 -0000

Tony Arcieri <bascule@gmail.com> writes:=0A=
=0A=
>As someone who works professionally in the payments industry alongside peo=
ple=0A=
>who are directly implementing EMV protocols, let me note: those are not IE=
TF=0A=
>protocols and should not have bearing on IETF/IRTF decisions regarding=0A=
>deprecations of protocols in TLS or other IETF protocols. But I'm mainly=
=0A=
>concerned with TLS...=0A=
=0A=
Some of those uses are in TLS...=0A=
=0A=
>So does ChaCha20.=0A=
=0A=
Widely supported on z/OS, Tandem NSK, and HSMs, is it?=0A=
=0A=
(Sorry, couldn't resist.  You know what I mean :-).=0A=
 =0A=
>..but is not a terribly dissimilar traffic volume to recover plaintexts fr=
om=0A=
>similar attacks against RC4, which received "diediedie" in RFC7465.=0A=
=0A=
RC4 has serious cryptographic weaknesses, 3DES doesn't.=0A=
=0A=
Peter.=


From nobody Sat Aug 27 05:21:16 2016
Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8395512D1A3 for <cfrg@ietfa.amsl.com>; Sat, 27 Aug 2016 05:21:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.748
X-Spam-Level: 
X-Spam-Status: No, score=-4.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.548] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=auckland.ac.nz
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 6Npu3HOyB_8x for <cfrg@ietfa.amsl.com>; Sat, 27 Aug 2016 05:21:13 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D6EA312B046 for <cfrg@irtf.org>; Sat, 27 Aug 2016 05:21:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1472300473; x=1503836473; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=+H9EosnlMnTK+2oM2IFLwkGLFc05wjKA2A7sWFWU3Sk=; b=yFHWCTSwkg6Pw477EN1W8+PuhMr2WCSIKXwxt3DU3dnxirKCMjqUuCNe YrcOtPd1LoNL5NXlZNCzthXeMqxCGy7wakTm2B+g33igzLyhMimllU/rx KgGG/d3S1b+iJMyc5mMhRWB45g02W+tMsTlyYse8xX7e0w+uzgyYmhhgN KyF8opfyDMoBEHSESBESial93b+8gCr+4nYUybyf4S5MUFo6SNgXtxmei LygNSAz0DWgIsJigPFOGqa/oawS3HhV6NKVVvxAH8olkTpO10PW9t5M12 /89l3FWmBX/l32zMr4J3oE4Z4hHuPZU+lfrp/VVylN2ieCo0LfHodd5cV Q==;
X-IronPort-AV: E=Sophos;i="5.28,586,1464609600"; d="scan'208";a="103684428"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.125 - Outgoing - Outgoing
Received: from uxchange10-fe3.uoa.auckland.ac.nz ([130.216.4.125]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES256-SHA; 28 Aug 2016 00:21:10 +1200
Received: from UXCN10-5.UoA.auckland.ac.nz ([169.254.5.93]) by uxchange10-fe3.UoA.auckland.ac.nz ([169.254.143.234]) with mapi id 14.03.0266.001; Sun, 28 Aug 2016 00:21:11 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>, Tony Arcieri <bascule@gmail.com>, "<tls@ietf.org>" <tls@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] 3DES diediedie
Thread-Index: AQHR/8MKtrFGWEVZoU+YIDla8GEE7aBcuoQ1
Date: Sat, 27 Aug 2016 12:21:09 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com>,  <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com>
In-Reply-To: <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.6.2.4]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/cm4cdq9u2cg0EOZ2N8dgmSipkrk>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Aug 2016 12:21:14 -0000

David McGrew (mcgrew) <mcgrew@cisco.com> writes:=0A=
=0A=
>Most of the lightweight =93designed for IoT=94 block ciphers have a 64 bit=
 block=0A=
>size (and sometimes even smaller); see for instance Table 1.1 of=0A=
>https://eprint.iacr.org/2013/404.pdf So perhaps what the Internet needs he=
re=0A=
>is sound guidance on how to use 64-bit block ciphers.   Best practices her=
e=0A=
>include both mandatory rekeying well below the birthday bound and/or the u=
se=0A=
>of secure beyond the birthday bound modes of operation such as Iwata=92s C=
ENC.=0A=
=0A=
IoT devices are, pretty much by default, insecure.  And I mean, really, rea=
lly=0A=
insecure, I've heard phrases like "hack like it's 199x" a number of times=
=0A=
during talks on all the holes people have found in these things.  In additi=
on,=0A=
the reason why devs are using lightweight ciphers in IoT devices is because=
=0A=
they know that their device can't use anything more powerful, in the same w=
ay=0A=
they they know that a strcpy() into a ten-byte fixed-size buffer is a good =
way=0A=
to decode network packets.=0A=
=0A=
Looking at it from the other side, your typical IoT device will be sending,=
=0A=
for example, a 12-byte message every 15 minutes, meaning it'll take, if my=
=0A=
calculations are right, just under two million years to collect the 785GB o=
f=0A=
data required to perform the attack.=0A=
=0A=
So you've got something where the devices aren't vulnerable to the problem=
=0A=
(and nor, in any practical case, is anything else), for which the devs=0A=
involved won't even know that any guidance on the situation exists, and for=
=0A=
which, if anyone really wants to attack them, they can use any of the dozen=
s=0A=
of insecure-by-design holes that are present in the device to own the whole=
=0A=
thing, at which point what you do with your crypto becomes meaningless.=0A=
=0A=
So what you're proposing is essentially a non-solution to a non-problem...=
=0A=
still, if you feel like writing the memo for it, don't let me stand in your=
=0A=
way.=0A=
=0A=
Peter.=


From nobody Sat Aug 27 05:53:18 2016
Return-Path: <mcgrew@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9B78812D113 for <cfrg@ietfa.amsl.com>; Sat, 27 Aug 2016 05:53:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.069
X-Spam-Level: 
X-Spam-Status: No, score=-15.069 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_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.548, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 rv1JdaT_mTiH for <cfrg@ietfa.amsl.com>; Sat, 27 Aug 2016 05:53:11 -0700 (PDT)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EEF0E12D169 for <cfrg@irtf.org>; Sat, 27 Aug 2016 05:53:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3346; q=dns/txt; s=iport; t=1472302390; x=1473511990; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=zs1FoM5LXE4cGj5OranKFgCbO6DyASmtAess9LBV8zI=; b=JbLcZO08QLpY3usK0vg4JlQ/jfxTOrPou9iC31FwUsSmLQ32ha9tuJPE EakAz0cElRuVU95JmzHAwCFHulvJJwOlwi4M2QR5gKFRE99UkWzmJn9xI EvNF3EbqP/Ivn3kG4oVg5vxAffLqJ3as3DHqvQd5jMtXTcSrHFIED13zr o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0DbAQChjMFX/5hdJa1dDgwBAQEBAgEBA?= =?us-ascii?q?QGDKQEBAQEBHld8B4NAiWiqeYIBIIV9AhyBJjgUAQIBAQEBAQEBXieEYgEBAgI?= =?us-ascii?q?jEVUCAQgODAImAgICMBUQAgQBEhuIJQ6wSo8zAQEBAQEBAQEBAQEBAQEBAQEBA?= =?us-ascii?q?QEBFwWBA4cjglWCEIITAQEbgwIrgi8FhhKTPQGGH4I9gz6DEI9VkDwBHjaCNBy?= =?us-ascii?q?BETtwAYQsgSB/AQEB?=
X-IronPort-AV: E=Sophos;i="5.28,586,1464652800"; d="scan'208";a="314578619"
Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Aug 2016 12:53:09 +0000
Received: from XCH-RCD-003.cisco.com (xch-rcd-003.cisco.com [173.37.102.13]) by rcdn-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id u7RCr9ZO013092 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Sat, 27 Aug 2016 12:53:09 GMT
Received: from xch-aln-004.cisco.com (173.36.7.14) by XCH-RCD-003.cisco.com (173.37.102.13) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Sat, 27 Aug 2016 07:53:09 -0500
Received: from xch-aln-004.cisco.com ([173.36.7.14]) by XCH-ALN-004.cisco.com ([173.36.7.14]) with mapi id 15.00.1210.000; Sat, 27 Aug 2016 07:53:08 -0500
From: "David McGrew (mcgrew)" <mcgrew@cisco.com>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>, Tony Arcieri <bascule@gmail.com>, "<tls@ietf.org>" <tls@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] 3DES diediedie
Thread-Index: AQHR/nWfoW+SS6smqUOyCtdxrLUgKaBbmdgAgAF4CoD//8XhAA==
Date: Sat, 27 Aug 2016 12:53:08 +0000
Message-ID: <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz>
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/f.15.1.160411
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.117.10.228]
Content-Type: text/plain; charset="utf-8"
Content-ID: <2092DCF482106A4B8AA88B2A25DAE0D2@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/aF0jTKdB3hXZWNE_HvRTku-MLSE>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Aug 2016 12:53:13 -0000

SGkgUGV0ZXIsDQoNCg0KDQoNCk9uIDgvMjcvMTYsIDg6MjEgQU0sICJQZXRlciBHdXRtYW5uIiA8
cGd1dDAwMUBjcy5hdWNrbGFuZC5hYy5uej4gd3JvdGU6DQoNCj5EYXZpZCBNY0dyZXcgKG1jZ3Jl
dykgPG1jZ3Jld0BjaXNjby5jb20+IHdyaXRlczoNCj4NCj4+TW9zdCBvZiB0aGUgbGlnaHR3ZWln
aHQg4oCcZGVzaWduZWQgZm9yIElvVOKAnSBibG9jayBjaXBoZXJzIGhhdmUgYSA2NCBiaXQgYmxv
Y2sNCj4+c2l6ZSAoYW5kIHNvbWV0aW1lcyBldmVuIHNtYWxsZXIpOyBzZWUgZm9yIGluc3RhbmNl
IFRhYmxlIDEuMSBvZg0KPj5odHRwczovL2VwcmludC5pYWNyLm9yZy8yMDEzLzQwNC5wZGYgU28g
cGVyaGFwcyB3aGF0IHRoZSBJbnRlcm5ldCBuZWVkcyBoZXJlDQo+PmlzIHNvdW5kIGd1aWRhbmNl
IG9uIGhvdyB0byB1c2UgNjQtYml0IGJsb2NrIGNpcGhlcnMuICAgQmVzdCBwcmFjdGljZXMgaGVy
ZQ0KPj5pbmNsdWRlIGJvdGggbWFuZGF0b3J5IHJla2V5aW5nIHdlbGwgYmVsb3cgdGhlIGJpcnRo
ZGF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gbm90IGZvcmdldCBhYm91dCB0aGVzZSBkZXZpY2VzLCBhbWlk
c3QgdGhlIGN1cnJlbnQgYXR0ZW50aW9uIGJlaW5nIHBhaWQgdG8gbWlzdXNlcyBvZiA2NC1iaXQg
YmxvY2sgY2lwaGVycywgd2hpY2ggd2FzIHRoZSB1bHRpbWF0ZSBjYXVzZSBvZiB0aGlzIG1haWwg
dGhyZWFkLg0KDQoNCg0KPg0KPlNvIHdoYXQgeW91J3JlIHByb3Bvc2luZyBpcyBlc3NlbnRpYWxs
eSBhIG5vbi1zb2x1dGlvbiB0byBhIG5vbi1wcm9ibGVtLi4uDQo+c3RpbGwsIGlmIHlvdSBmZWVs
IGxpa2Ugd3JpdGluZyB0aGUgbWVtbyBmb3IgaXQsIGRvbid0IGxldCBtZSBzdGFuZCBpbiB5b3Vy
DQo+d2F5Lg0KDQpHZWUsIHRoYW5rcy4gIA0KDQpEYXZpZA0KDQo+DQo+UGV0ZXIuDQo=


From nobody Sat Aug 27 09:36:04 2016
Return-Path: <karthik.bhargavan@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C2B1412D0CB for <cfrg@ietfa.amsl.com>; Sat, 27 Aug 2016 09:36:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 nzaFKHSkrt_v for <cfrg@ietfa.amsl.com>; Sat, 27 Aug 2016 09:36:02 -0700 (PDT)
Received: from mail-qk0-x232.google.com (mail-qk0-x232.google.com [IPv6:2607:f8b0:400d:c09::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 60F0612B008 for <cfrg@irtf.org>; Sat, 27 Aug 2016 09:36:02 -0700 (PDT)
Received: by mail-qk0-x232.google.com with SMTP id l2so104030347qkf.3 for <cfrg@irtf.org>; Sat, 27 Aug 2016 09:36:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=gNoMXmKYkIczqbrXF3X8I4spaZqofIFOgM/GsJ91eyU=; b=fXJhGT7pm9AS89n6pOjML7KZLivUCbRftLJTxpv2+pibpc5VwR+cTWOE/MdjkQYNV1 HeHIrof/AASRbmTaBDxdhd4mE4TI2JXLSgpfD44/y4VPqPP5iUTfK2GY5QVQBKDDm3br YnEdSUgpCujKsgrVbMFqAryFukFkN8tIZIgQrAUaE7oYTkhsISmm+a+9Nuq7HoTYrWCt wZJNAjT8yMJPTkHbeCbAAFuIia8Lm0Z1MBwvd0H8DVTuqDOc72HaSZwEJ/p5uTVB1BZE /tL3Wf0PaSz0oA2Zzhc8BliEeL3LfILt+Cjd+7z71BH6hEUEK6ngQW54+85EAsvFPfq+ jO/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=gNoMXmKYkIczqbrXF3X8I4spaZqofIFOgM/GsJ91eyU=; b=O4cGpJvS7prf/fdb4B9b1a8/+Gamsp8sSDCZuXHkHfpX4WsL2k0qAoFrpkKK02rzbp DlzRqK9wdNWG4Q6Z16feLXSmWhTuAibe8vzBUmWFkmqo4oHuoi2GSfOEwuRNIsodcUVV 8k70K13E9ZGuCADcvfuZr6Wa7ZQ7l4/ABpcZehqub4wzUiPGcY77w31NsoDJbQXNdTzt 2s5nNHsR3wqTZDFTX6Er47cCQvA6LLL95HvBOKISekwMEaDQ391MvnKvducD5RBi3srW hczlHEHHzdR1FGgwdIpFO2Cy320salBKEVckNRBSPGHfetgdwETbM+41AyY2SqR1ceDa T6PQ==
X-Gm-Message-State: AE9vXwPgLx6IC4Pm73sgGQzvBIefcfwCQiN+HGhoDNCza7qr/BBq1y7kpc6db6odTXbIPw==
X-Received: by 10.55.82.8 with SMTP id g8mr8768615qkb.33.1472315761549; Sat, 27 Aug 2016 09:36:01 -0700 (PDT)
Received: from [192.168.0.100] ([71.181.71.184]) by smtp.gmail.com with ESMTPSA id y36sm13399423qtc.46.2016.08.27.09.35.59 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 27 Aug 2016 09:36:00 -0700 (PDT)
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Karthikeyan Bhargavan <karthik.bhargavan@gmail.com>
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz>
Date: Sat, 27 Aug 2016 12:35:59 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <3F61CE56-4F24-4B88-889E-344F11AEB4D5@gmail.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/hEiOlKn2u0dFKu4ekB9VGdXGeM4>
Cc: "David McGrew \(mcgrew\)" <mcgrew@cisco.com>, "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Aug 2016 16:36:03 -0000

> Looking at it from the other side, your typical IoT device will be =
sending,
> for example, a 12-byte message every 15 minutes, meaning it'll take, =
if my
> calculations are right, just under two million years to collect the =
785GB of
> data required to perform the attack.

I agree that it would be wise to evaluate each deployment scenario to =
decide
which vulnerabilities have higher priority. But just a brief comment.

If every message IoT device sends is a 16 bytes message consisting of =
one 8 byte secret and one 8 byte known plaintext,
then with a 64-bit cipher, we only need roughly 64GB in order to get a =
meaningful collision (50% chance of recovering the secret).
The 768GB value we gave was for recovering cookies from realistic web =
browser traffic that could be triggered from JavaScript.

It is true that in other TLS use cases (such as IoT) some attacks may no =
longer be relevant, but unless we are careful
some HTTPS attacks may even be worse in these scenarios.

Best regards,
Karthik


>=20
> So you've got something where the devices aren't vulnerable to the =
problem
> (and nor, in any practical case, is anything else), for which the devs
> involved won't even know that any guidance on the situation exists, =
and for
> which, if anyone really wants to attack them, they can use any of the =
dozens
> of insecure-by-design holes that are present in the device to own the =
whole
> thing, at which point what you do with your crypto becomes =
meaningless.
>=20
> So what you're proposing is essentially a non-solution to a =
non-problem...
> still, if you feel like writing the memo for it, don't let me stand in =
your
> way.
>=20
> Peter.
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls


From nobody Sun Aug 28 03:48:07 2016
Return-Path: <smyshsv@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C11412D0B7 for <cfrg@ietfa.amsl.com>; Sun, 28 Aug 2016 03:48:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 5aBkO_8w2kpU for <cfrg@ietfa.amsl.com>; Sun, 28 Aug 2016 03:48:03 -0700 (PDT)
Received: from mail-qt0-x22d.google.com (mail-qt0-x22d.google.com [IPv6:2607:f8b0:400d:c0d::22d]) (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 D766712B038 for <cfrg@irtf.org>; Sun, 28 Aug 2016 03:48:02 -0700 (PDT)
Received: by mail-qt0-x22d.google.com with SMTP id w38so56831218qtb.0 for <cfrg@irtf.org>; Sun, 28 Aug 2016 03:48:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:from:date:message-id:subject:to; bh=mOUN216xTOQQqE0RrLvb6hO1FZ6ksvIyphAfitLTOmk=; b=YaZJnAOfNdq2Y7ie+TVjb60GNfLknl+LCwAhudkXv1Mu0eQ2vrWJ+QhESNhnKjkOcQ 5JvJyqO0vQDTcvKqF4chmkdzl7Vog+Sp390CG3mgtp5agVpU0OL/AL9hXLNSFEYd/j1k HScNMCDcQ+dz0d+gnA+bu5qzHiLWSoDZZosu7I0gWwpanY/dj8WQaH9v0xQgBYIor8B1 FPFxCVbYJXexzd4246G3bv6Q7IebVeD9S/8TGeEqJ6J6IrOt6Ut33IJIO3H4BEkhTzcq 7+b4py9NiurdBj8Gf8U/EqQqHxQpYS+Y1ih+3jY1pmRk1V2sSuAriGwzt/KBtxOSaoHw l/Cg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=mOUN216xTOQQqE0RrLvb6hO1FZ6ksvIyphAfitLTOmk=; b=gvZ3qM3GDY8d7+G1dcjvWzfzlUMjZxBJNN9cE80piI72pGiawJrbR3Rr4MpxGbSAoa uZHJNSIZair6/y3SwOgbOM245lQY/qwxrEPG0CEdr11cBDXm1jOzxx02ywt/Y5y9O+pN mwYk6tIlBGVIvZrgaWDRNFALXV2LS8BO0QvYRyqiiTxve7TPAC96ggBZNRq3MDJB/Dtm b+Lnu381C+IONq1nKwdiEXDe0V1Uc5frOHkJtIkcGcBIh23np3veyOcz+pk/cFls+Pm4 fn+DNc4juWleD8cJG+4zF3lTa/byyqYpi9dAIR06zawfjqdgjBYteYbZ6i4ioUnMjzfO RpLA==
X-Gm-Message-State: AE9vXwNrUWd24HAwd+Y9U0eDwiJe8ILrqfO7LgfSizMAG5r1jmo093ZYO6yWuaSwXBg5OKnVWaZqaaXAc2b57w==
X-Received: by 10.200.52.193 with SMTP id x1mr12345297qtb.65.1472381282034; Sun, 28 Aug 2016 03:48:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.200.50.86 with HTTP; Sun, 28 Aug 2016 03:48:01 -0700 (PDT)
From: "Stanislav V. Smyshlyaev" <smyshsv@gmail.com>
Date: Sun, 28 Aug 2016 13:48:01 +0300
Message-ID: <CAMr0u6mafme1Kh_gv7d8krToSnDxW1AxXuZrJvzcG8fa==U7rA@mail.gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>, Mihir Bellare <mihir@eng.ucsd.edu>, Paul Lambert <paul@marvell.com>,  "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, Mike Hamburg <mike@shiftleft.org>, "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary=001a114757864a292c053b1f7bf7
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/hlTmNlpyVkgHAl7dfp3B2EZP3hY>
Subject: [Cfrg] Document on increasing the lifetime of session keys
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Aug 2016 10:48:05 -0000

--001a114757864a292c053b1f7bf7
Content-Type: text/plain; charset=UTF-8

Dear colleagues,

Since there is a considerable interest to the question of increasing
session keys lifetime (several productive off-the-list personal discussions
about CryptoPro key meshing algorithms and
http://eprint.iacr.org/2016/628 started
after the Friday posting), maybe we should think about getting started a
work on a document on efficient re-keying (about techniques without secret
state and/or techniques with it (like in M. Abdalla and M. Bellare work,
https://cseweb.ucsd.edu/~mihir/papers/rekey.html)) mechanisms for common
cipher modes (CTR, CCM, GCM, CBC, CFB) in CFRG?

If you consider it reasonable, we can prepare a first version of such a
draft based on our results (both included in that our preprint and new ones
which we are working on currently) before IETF 97 to be able to have a
discussion on this issue there in Seoul.
Kindest regards,
Stanislav Smyshlyaev

--001a114757864a292c053b1f7bf7
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div class=3D"gmail_signature" data-smartmail=3D"gmai=
l_signature"><div dir=3D"ltr"><p>Dear colleagues,</p><p>Since there is a co=
nsiderable interest to the question of increasing session keys lifetime (se=
veral productive off-the-list personal discussions about CryptoPro key mesh=
ing algorithms and=C2=A0<a href=3D"http://eprint.iacr.org/2016/628">http://=
eprint.iacr.org/2016/628</a>=C2=A0started after the Friday posting), maybe =
we should think about getting started a work on a document on efficient re-=
keying (about techniques without secret state and/or techniques with it (li=
ke in M. Abdalla and M. Bellare work, <a href=3D"https://cseweb.ucsd.edu/~m=
ihir/papers/rekey.html">https://cseweb.ucsd.edu/~mihir/papers/rekey.html</a=
>)) mechanisms for common cipher modes (CTR, CCM, GCM, CBC, CFB) in CFRG?=
=C2=A0</p><p>If you consider it reasonable, we can prepare a first version =
of such a draft based on our results (both included in that our preprint an=
d new ones which we are working on currently) before IETF 97 to be able to =
have a discussion on this issue there in Seoul.<br></p><div>Kindest regards=
,</div><div>Stanislav Smyshlyaev</div></div></div></div>
</div>

--001a114757864a292c053b1f7bf7--


From nobody Sun Aug 28 05:02:21 2016
Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8B9FB12D0FE for <cfrg@ietfa.amsl.com>; Sun, 28 Aug 2016 05:02:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.748
X-Spam-Level: 
X-Spam-Status: No, score=-4.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.548] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=auckland.ac.nz
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 BX5Rpk8XslNZ for <cfrg@ietfa.amsl.com>; Sun, 28 Aug 2016 05:02:15 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5B00112D151 for <cfrg@irtf.org>; Sun, 28 Aug 2016 05:02:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1472385735; x=1503921735; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=7vok7lxny8YWwrQOHmTr095CyKyjDn680s/jJtxsOnE=; b=dzkt4O+CLIHNDrsT9xZt49om1H20c8fGC7pfwdGD9PdUsGWGXQAGvxZ3 b4XDeEpDGvV8e3rKHcT92G3I6AOLeCI5G1h0QpkcD77ZOY8aKu5PluENg nwEvA7LV+3gomKSweof+AG2f0rvtqrxlGvI4mKcwyXgc/bDsDw/OBqRKc boxWFlMUfjneC30bH19nHY2cJ8jpoX4+kYofktmmgbayl2UBKty2YTyNf NwrFLTrIAHAF91A3G0HRrPBkz+RTfUL/hpIPmkreIHdqs7KpAQPb3lwHj lq3UdteyfBidLVgYy0FSStwka5d1x7x2LwBA4IG81sG6h/DF720MWQyRx Q==;
X-IronPort-AV: E=Sophos;i="5.28,591,1464609600"; d="scan'208";a="103742355"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.112 - Outgoing - Outgoing
Received: from uxchange10-fe1.uoa.auckland.ac.nz ([130.216.4.112]) by mx4-int.auckland.ac.nz with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Aug 2016 00:01:48 +1200
Received: from UXCN10-5.UoA.auckland.ac.nz ([169.254.5.93]) by uxchange10-fe1.UoA.auckland.ac.nz ([130.216.4.112]) with mapi id 14.03.0266.001; Mon, 29 Aug 2016 00:01:48 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>, Tony Arcieri <bascule@gmail.com>, "<tls@ietf.org>" <tls@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] 3DES diediedie
Thread-Index: AQHR/8MKtrFGWEVZoU+YIDla8GEE7aBcuoQ1//9AtgCAAkz7eQ==
Date: Sun, 28 Aug 2016 12:01:48 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz>, <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com>
In-Reply-To: <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.6.2.2]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/8sFn7jUt4e4eMfMh_Pb4j2Ed0sA>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Aug 2016 12:02:16 -0000

David McGrew (mcgrew) <mcgrew@cisco.com> writes:=0A=
=0A=
>I don=92t think you understood my point. IoT is about small devices connec=
ting=0A=
>to the Internet, and IETF standards should expect designed-for-IoT crypto =
to=0A=
>be increasingly in scope.  It is important to not forget about these devic=
es,=0A=
>amidst the current attention being paid to misuses of 64-bit block ciphers=
,=0A=
>which was the ultimate cause of this mail thread.=0A=
=0A=
But the IETF has a long history of creating standards that completely ignor=
e=0A=
IoT.  I can't think of a single general-purpose IETF security standard (TLS=
,=0A=
SSH, IPsec, etc) that has any hope of working with IoT devices (say a 40Mhz=
=0A=
ARM-core ASIC with 32kB RAM and 64kB flash).  This is why the ITU/IEC and a=
=0A=
million lesser-known standards bodies are all busy inventing their own=0A=
exquisitely homebrew crypto protocols, most of which make WEP look like a=
=0A=
model of good design.=0A=
=0A=
(I've always wanted to sit down and design a generic "encrypted pipe from A=
 to=0A=
B using minimal resources" spec, and I'm sure many other people have had th=
e=0A=
same thought at one time or another).=0A=
=0A=
So it seems like you've got:=0A=
=0A=
- The "TLS =3D the web" crowd (browser vendors and the like) who will imple=
ment=0A=
  whatever's trendy at the moment and assume everyone has a quad-core 2GHz =
CPU=0A=
  with gigabytes of RAM and access to weekly live updates and hotfixes.=0A=
=0A=
- Embedded/SCADA folks who need to deal with 10-15 year product cycles (see=
 my=0A=
  TLS-LTS draft for more on this) and are kind of stuck.=0A=
=0A=
- IoT people, who can't use any standard protocol and will get the least=0A=
  unqualified person on staff to invent something that seems OK to them.=0A=
=0A=
I'm not sure that a draft on theoretical weaknesses in 64-bit block ciphers=
 is=0A=
going to affect any of those...=0A=
=0A=
Peter.=


From nobody Sun Aug 28 05:16:21 2016
Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9C42512D5F7 for <cfrg@ietfa.amsl.com>; Sun, 28 Aug 2016 05:16:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.748
X-Spam-Level: 
X-Spam-Status: No, score=-4.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.548] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=auckland.ac.nz
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 dWzbTtNdhsoM for <cfrg@ietfa.amsl.com>; Sun, 28 Aug 2016 05:16:18 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3236E12D0FE for <cfrg@irtf.org>; Sun, 28 Aug 2016 05:16:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1472386578; x=1503922578; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=IcPZTVF09HKWBmY/W+NjjsXFdmPCsE+3514GuOW0fzA=; b=bG4c/+wBklhQjTtURmXeNsNeq/O5I4T1kvBtXBNSsO+g4xNdxkJkaaCI R6EbgPNspAL6wxZzlkHMzJm+iBhHRCnNjNS3b3DPvdPNYkpvhUrMgVJ5i zypRYcOPnP+eoqFFDYn7zQ9bWCTwXyULnP6kVCEid0nSJulm1r4GCfqnW bPxge6FssCCecn5p1hd1HSOt1R1F9HIX8p/NI6rfiv2P4JRXBzFBIXFoK dfA9ENceTWNZGlmxJKH4HVTzmv4s8jdGruPKU94+D8YOpgE4QVt8ZrHyP DR7vITq7/KFdoXvbTFmYVxhMMJZhtARCHZxAS5fx8ywLOkqKwXDoHkLK4 w==;
X-IronPort-AV: E=Sophos;i="5.28,591,1464609600"; d="scan'208";a="103742998"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.112 - Outgoing - Outgoing
Received: from uxchange10-fe1.uoa.auckland.ac.nz ([130.216.4.112]) by mx4-int.auckland.ac.nz with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Aug 2016 00:16:16 +1200
Received: from UXCN10-5.UoA.auckland.ac.nz ([169.254.5.93]) by uxchange10-fe1.UoA.auckland.ac.nz ([130.216.4.112]) with mapi id 14.03.0266.001; Mon, 29 Aug 2016 00:16:16 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Karthikeyan Bhargavan <karthik.bhargavan@gmail.com>
Thread-Topic: [TLS] [Cfrg] 3DES diediedie
Thread-Index: AQHR/8MKtrFGWEVZoU+YIDla8GEE7aBcuoQ1//9++oCAAhKmbg==
Date: Sun, 28 Aug 2016 12:16:16 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73F4D052A9@uxcn10-5.UoA.auckland.ac.nz>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz>, <3F61CE56-4F24-4B88-889E-344F11AEB4D5@gmail.com>
In-Reply-To: <3F61CE56-4F24-4B88-889E-344F11AEB4D5@gmail.com>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.6.2.2]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/I4-1F57mr7K7L4VhG4yMcTSBlQI>
Cc: "David McGrew \(mcgrew\)" <mcgrew@cisco.com>, "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Aug 2016 12:16:19 -0000

Karthikeyan Bhargavan <karthik.bhargavan@gmail.com> writes:=0A=
=0A=
>If every message IoT device sends is a 16 bytes message consisting of one =
8=0A=
>byte secret and one 8 byte known plaintext, then with a 64-bit cipher, we=
=0A=
>only need roughly 64GB in order to get a meaningful collision (50% chance =
of=0A=
>recovering the secret). The 768GB value we gave was for recovering cookies=
=0A=
>from realistic web browser traffic that could be triggered from JavaScript=
.=0A=
=0A=
Sure, and I picked the 768GB value because it looks especially unrealistic=
=0A=
:-).  However, for typical SCADA/IoT even a value of 100MB is probably=0A=
unrealistic in practice, for the combined reasons that the device just isn'=
t=0A=
interesting to attack, it doesn't send enough data to collect lots of it=0A=
unless you're prepared to wait a really long time, and, most importantly,=
=0A=
there are a thousand easier ways to get in if you really want to.=0A=
=0A=
Has anyone every seen a SCADA device that stood up to even the smallest amo=
unt=0A=
of analysis/pen-testing?  I've currently got a rather pricey security=0A=
monitoring box sitting here awaiting investigation, and I can pretty much=
=0A=
guarantee I'll find something like unencrypted C&C, calling home to random=
=0A=
addresses overseas, unauthenticated firmware updates, and who knows what el=
se,=0A=
just from simple Pineapple or Ettercap check, let alone any kind of active=
=0A=
pen-testing.=0A=
=0A=
So I think it's important to distinguish between a cool demo in the lab and=
=0A=
something an attacker would actually do.  Of all the talks and demos I've s=
een=0A=
of people compromising SCADA and IoT devices, precisely zero even looked at=
=0A=
the crypto, let alone tried to attack it [0].  So if it's something that no=
-=0A=
one bothers attacking because there's always an easier way, it doesn't matt=
er=0A=
how strong or weak it is.=0A=
=0A=
As Ian Grigg recently put it:=0A=
=0A=
  The problem we have is not how to get stronger crypto in place, it's how =
to=0A=
  get more crypto in place.=0A=
=0A=
Securing something like MQTT would be a good start...=0A=
=0A=
Peter.=0A=
=0A=
[0] Alongside simply ignoring the fact that crypto may or may not be presen=
t,=0A=
    I'm also taking things like "fails to check cert issuers" and "allows=
=0A=
    unauthenticated remote firmware updates" as "not looking at the crypto"=
.=


From nobody Sun Aug 28 05:26:16 2016
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DC10912D603 for <cfrg@ietfa.amsl.com>; Sun, 28 Aug 2016 05:26:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.849
X-Spam-Level: 
X-Spam-Status: No, score=-4.849 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_MED=-2.3, RP_MATCHES_RCVD=-0.548, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
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 z_pKVSMPzpPQ for <cfrg@ietfa.amsl.com>; Sun, 28 Aug 2016 05:26:12 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DEA3512B042 for <cfrg@irtf.org>; Sun, 28 Aug 2016 05:26:11 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id C51ADBE29; Sun, 28 Aug 2016 13:26:09 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vZJcMzSm3Tcw; Sun, 28 Aug 2016 13:26:07 +0100 (IST)
Received: from [10.87.48.210] (95-45-153-252-dynamic.agg2.phb.bdt-fng.eircom.net [95.45.153.252]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 61494BE25; Sun, 28 Aug 2016 13:26:07 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1472387167; bh=a6TVWHLRZpMy1pfwIxOjruotYScitl1XCiTg7QaG8o8=; h=Subject:To:References:From:Date:In-Reply-To:From; b=k1vMO/vfJHhHIgbThqQZSc6DELZ9vtade78Fy5j79xRS9nXI0iwKoGh+Wb5Su9N1b 2ZmzFBKy3q8YFfezV02D/vkyOlGkKnIZOvBHfqe62RiJl93bkrmZqSJPlZ/F5z3+4L oHcseA3e3mlFexzGq+nR8TJ5yY2LxY6lpPkk3o/w=
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>, "David McGrew (mcgrew)" <mcgrew@cisco.com>, Tony Arcieri <bascule@gmail.com>, "<tls@ietf.org>" <tls@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <b2fb4b70-7b65-2d6c-2073-c9db8d86f608@cs.tcd.ie>
Date: Sun, 28 Aug 2016 13:26:07 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms020207040104090309010201"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/3rgznS03UOq4zo4bPmGpRMKuwpc>
Subject: Re: [Cfrg] [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Aug 2016 12:26:14 -0000

This is a cryptographically signed message in MIME format.

--------------ms020207040104090309010201
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Peter,

On 28/08/16 13:01, Peter Gutmann wrote:
> David McGrew (mcgrew) <mcgrew@cisco.com> writes:
>=20
>> I don=E2=80=99t think you understood my point. IoT is about small devi=
ces connecting
>> to the Internet, and IETF standards should expect designed-for-IoT cry=
pto to
>> be increasingly in scope.  It is important to not forget about these d=
evices,
>> amidst the current attention being paid to misuses of 64-bit block cip=
hers,
>> which was the ultimate cause of this mail thread.
>=20
> But the IETF has a long history of creating standards that completely i=
gnore
> IoT. =20

IIRC the IoT marketing term doesn't have a very long history so I
don't really know what substance lies behind that remark.

> I can't think of a single general-purpose IETF security standard (TLS,
> SSH, IPsec, etc) that has any hope of working with IoT devices (say a 4=
0Mhz
> ARM-core ASIC with 32kB RAM and 64kB flash).  This is why the ITU/IEC a=
nd a
> million lesser-known standards bodies are all busy inventing their own
> exquisitely homebrew crypto protocols, most of which make WEP look like=
 a
> model of good design.
>=20
> (I've always wanted to sit down and design a generic "encrypted pipe fr=
om A to
> B using minimal resources" spec, and I'm sure many other people have ha=
d the
> same thought at one time or another).

Then why don't you do that? If others found it useful, then I'm sure
they'd want to use it and there'd be support for it in the IETF. (And
to be clear, I don't think your lts draft for TLS matches the above.)

One wrinkle though is that it seems that there's a real demand for
"encrypted pipe from A to B and hundreds of others using minimal
resources" spec - I'm not sure that the two party version is really
the main missing spec here.

S.

>=20
> So it seems like you've got:
>=20
> - The "TLS =3D the web" crowd (browser vendors and the like) who will i=
mplement
>   whatever's trendy at the moment and assume everyone has a quad-core 2=
GHz CPU
>   with gigabytes of RAM and access to weekly live updates and hotfixes.=

>=20
> - Embedded/SCADA folks who need to deal with 10-15 year product cycles =
(see my
>   TLS-LTS draft for more on this) and are kind of stuck.
>=20
> - IoT people, who can't use any standard protocol and will get the leas=
t
>   unqualified person on staff to invent something that seems OK to them=
=2E
>=20
> I'm not sure that a draft on theoretical weaknesses in 64-bit block cip=
hers is
> going to affect any of those...
>=20
> Peter.
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>=20


--------------ms020207040104090309010201
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
CvIwggUIMIID8KADAgECAhBPzaE7pzYviUJyhmHTFBdnMA0GCSqGSIb3DQEBCwUAMHUxCzAJ
BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBD
ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRDb20gQ2xhc3MgMSBDbGll
bnQgQ0EwHhcNMTYwMjA5MDkyODE1WhcNMTcwMjA5MDkyODE1WjBOMSIwIAYDVQQDDBlzdGVw
aGVuLmZhcnJlbGxAY3MudGNkLmllMSgwJgYJKoZIhvcNAQkBFhlzdGVwaGVuLmZhcnJlbGxA
Y3MudGNkLmllMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtuC0rYze/2JinSra
C9F2RjGdQZjNALLcW9C3WKTwYII3wBslobmHuPEYE5JaGItmzuKnAW619R1rD/kfoNWC19N3
rBZ6UX9Cmb9D9exCwYIwVuSwjrCQWGxgCtNQTrwKzCCpI790GRiMTvxvO7UmzmBrCaBLiZW5
R0fBjK5Yn6hUhAzGBkNbkIEL28cLJqH0yVz7Kl92OlzrQqTPEts5m6cDnNdY/ADfeAX18c1r
dxZqcAxhLotrCqgsVA4ilbQDMMXGTLlB5TP35HeWZuGBU7xu003rLcFLdOkD8xvpJoYZy9Kt
3oABXPS5yqtMK+XCNdqmMn+4mOtLwQSMmPCSiQIDAQABo4IBuTCCAbUwCwYDVR0PBAQ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DQkq0pSsjO4p6lvheYfYtpl6tmxCDIjvvLWFr40TNIU+wre
AAAAAAAA
--------------ms020207040104090309010201--


From nobody Sun Aug 28 06:52:36 2016
Return-Path: <ekr@rtfm.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0554812B046 for <cfrg@ietfa.amsl.com>; Sun, 28 Aug 2016 06:52:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20150623.gappssmtp.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 Gx8Msf9gPbfq for <cfrg@ietfa.amsl.com>; Sun, 28 Aug 2016 06:52:33 -0700 (PDT)
Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com [IPv6:2607:f8b0:4002:c05::229]) (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 50C7A12B00B for <cfrg@irtf.org>; Sun, 28 Aug 2016 06:52:33 -0700 (PDT)
Received: by mail-yw0-x229.google.com with SMTP id j12so73101076ywb.2 for <cfrg@irtf.org>; Sun, 28 Aug 2016 06:52:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=uL1ns/HISJBhSMxlcpPpQRj0t03oGbHvMJeGjMgckQw=; b=MDmSkrMkkr1mujCgNWm+cq5AhVPeyUg+qt9+uTRyShSP4AgxG40CCEJQdL+izDFZFu Fh4zyEVJSi1OolZNZ3+jY9xINSME0+mSxlK6t6TmseHn/oo2pGPycEbU8ahsAWdq/juh zZZ/Fgi0mKXZw55CEpM3MEONibBI7Jw4IMry32NxjaYa0XSi3A7XTiUbWBYxSqr/OoqQ wNdtyh2jGtG4brw18LsgFgs1VqxmNB928eKinupeDpNBTYawIEYLxzTdZEt0e0DvYEDG whE2D+RZ42qb74PWxjcc2YLOjcRpmL4crnKziC2s9haLoqVv80IoIjrIPyfyVe9IaH8p 2kNw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=uL1ns/HISJBhSMxlcpPpQRj0t03oGbHvMJeGjMgckQw=; b=mWFKnYYXNjxdYcUptmMyAilDZecppYgx8+khpkLNCYGV9jk16AzjeDiQjfS0AWdPzA xEExnzdF4M+5STEVxImmeNRYuX5224e6sTo1J2UOP7dmPUIBBY+8axU0nkDaBzxUCaPV dOqhXIKkN1MR589fQ/HSqeCjnB8w1aSiL3X103zj2FIF1Ot02J8n3sfLmrOQ9v1eAemP eDTia8lNy5mZk8eiqD+8AqzoYNXhEDS0HlemgJRVhpyIP5npqv3gteaW8kAhOJCzJd+C vBOpUmmd8SnFEsICUYHKjqKqThHCyydwZiAsQfSHl01Z1JiYPd5QD0qFJ0x2Sp0o+DdN exQA==
X-Gm-Message-State: AE9vXwMHEtvzFy8jyH+RXjgaaycd8web0AnfQ3f2ggcivM0onWL9/64QuKJRM+GVJdc5g0D2d8OjdusOHG0+bw==
X-Received: by 10.129.161.129 with SMTP id y123mr12169375ywg.214.1472392352658;  Sun, 28 Aug 2016 06:52:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.48.193 with HTTP; Sun, 28 Aug 2016 06:51:52 -0700 (PDT)
In-Reply-To: <CAMr0u6mafme1Kh_gv7d8krToSnDxW1AxXuZrJvzcG8fa==U7rA@mail.gmail.com>
References: <CAMr0u6mafme1Kh_gv7d8krToSnDxW1AxXuZrJvzcG8fa==U7rA@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 28 Aug 2016 06:51:52 -0700
Message-ID: <CABcZeBOh=3zqYv=U+Yd1vF-niwpziPA-rawSRdTLqyTOSeDC+Q@mail.gmail.com>
To: "Stanislav V. Smyshlyaev" <smyshsv@gmail.com>
Content-Type: multipart/alternative; boundary=001a114f8db226a89f053b220f8d
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/gkhBgGrTGaRfgJ4t9IKTl-j048g>
Cc: Mihir Bellare <mihir@eng.ucsd.edu>, "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS] Document on increasing the lifetime of session keys
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Aug 2016 13:52:35 -0000

--001a114f8db226a89f053b220f8d
Content-Type: text/plain; charset=UTF-8

Stanislav,

TLS 1.3 incorporates a rekeying mechanism (KeyUpdate) similar to that if
Abdalla and Bellare 1(b).

-Ekr


On Sun, Aug 28, 2016 at 3:48 AM, Stanislav V. Smyshlyaev <smyshsv@gmail.com>
wrote:

> Dear colleagues,
>
> Since there is a considerable interest to the question of increasing
> session keys lifetime (several productive off-the-list personal discussions
> about CryptoPro key meshing algorithms and http://eprint.iacr.org/2016/628 started
> after the Friday posting), maybe we should think about getting started a
> work on a document on efficient re-keying (about techniques without secret
> state and/or techniques with it (like in M. Abdalla and M. Bellare work,
> https://cseweb.ucsd.edu/~mihir/papers/rekey.html)) mechanisms for common
> cipher modes (CTR, CCM, GCM, CBC, CFB) in CFRG?
>
> If you consider it reasonable, we can prepare a first version of such a
> draft based on our results (both included in that our preprint and new ones
> which we are working on currently) before IETF 97 to be able to have a
> discussion on this issue there in Seoul.
> Kindest regards,
> Stanislav Smyshlyaev
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>

--001a114f8db226a89f053b220f8d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Stanislav,<div><br></div><div>TLS 1.3 incorporates a rekey=
ing mechanism (KeyUpdate) similar to that if Abdalla and Bellare 1(b).</div=
><div><br></div><div>-Ekr</div><div><br></div><div class=3D"gmail_extra"><b=
r><div class=3D"gmail_quote">On Sun, Aug 28, 2016 at 3:48 AM, Stanislav V. =
Smyshlyaev <span dir=3D"ltr">&lt;<a href=3D"mailto:smyshsv@gmail.com" targe=
t=3D"_blank">smyshsv@gmail.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><div dir=3D"ltr"><div><div data-smartmail=3D"gmail_signature"=
><div dir=3D"ltr"><p>Dear colleagues,</p><p>Since there is a considerable i=
nterest to the question of increasing session keys lifetime (several produc=
tive off-the-list personal discussions about CryptoPro key meshing algorith=
ms and=C2=A0<a href=3D"http://eprint.iacr.org/2016/628" target=3D"_blank">h=
ttp://eprint.iacr.org/201<wbr>6/628</a>=C2=A0started after the Friday posti=
ng), maybe we should think about getting started a work on a document on ef=
ficient re-keying (about techniques without secret state and/or techniques =
with it (like in M. Abdalla and M. Bellare work, <a href=3D"https://cseweb.=
ucsd.edu/~mihir/papers/rekey.html" target=3D"_blank">https://cseweb.ucsd.ed=
u/~mihir<wbr>/papers/rekey.html</a>)) mechanisms for common cipher modes (C=
TR, CCM, GCM, CBC, CFB) in CFRG?=C2=A0</p><p>If you consider it reasonable,=
 we can prepare a first version of such a draft based on our results (both =
included in that our preprint and new ones which we are working on currentl=
y) before IETF 97 to be able to have a discussion on this issue there in Se=
oul.<br></p><div>Kindest regards,</div><div>Stanislav Smyshlyaev</div></div=
></div></div>
</div>
<br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/tls</a><br>
<br></blockquote></div><br></div></div>

--001a114f8db226a89f053b220f8d--


From nobody Sun Aug 28 06:55:53 2016
Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ED24312B025 for <cfrg@ietfa.amsl.com>; Sun, 28 Aug 2016 06:55:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.748
X-Spam-Level: 
X-Spam-Status: No, score=-4.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.548] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=auckland.ac.nz
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 mIg8lgv0TQhm for <cfrg@ietfa.amsl.com>; Sun, 28 Aug 2016 06:55:50 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1CD0412B00B for <cfrg@irtf.org>; Sun, 28 Aug 2016 06:55:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1472392550; x=1503928550; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=unBSma0q9IPv//s4e317Rn1Lmqgw2jshSM1Y4Xk/pdY=; b=bCV1Dp5ByChOJixvpGzHmuGn1MXp8dE164Ck+1/MturRQIAMTITVf3Nt BeyK498UGgr6mGawI4jM+mLUGSIuEAfalYuUj0hcmfcJ9j3dPw5X6+9XU wAwwhm8ELWYyZWPFVC6ftnttqMe/MTewj2JW2IWhTJQEHe4GpyGvMFQjs Kz5sUPQEbK4/wBPzEMC23Nigl7WK9ABVnPhSeOOcGTzutIbXVAeyMrUWQ kaY7UOUtJlQlzC0MWCcVDlnQx6+Q9cohOzRzk3ol6xdsnuXjYfHQ5/Cw8 w1ZugMLync6tYR35lJEzi+BVdMwQ/EgDObLDzv2vYc+oorY9h3QGBtP6H w==;
X-IronPort-AV: E=Sophos;i="5.28,591,1464609600"; d="scan'208";a="103747894"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.112 - Outgoing - Outgoing
Received: from uxchange10-fe1.uoa.auckland.ac.nz ([130.216.4.112]) by mx4-int.auckland.ac.nz with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Aug 2016 01:55:47 +1200
Received: from UXCN10-5.UoA.auckland.ac.nz ([169.254.5.93]) by uxchange10-fe1.UoA.auckland.ac.nz ([130.216.4.112]) with mapi id 14.03.0266.001; Mon, 29 Aug 2016 01:55:47 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, "David McGrew (mcgrew)" <mcgrew@cisco.com>, Tony Arcieri <bascule@gmail.com>, "<tls@ietf.org>" <tls@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [TLS] [Cfrg] 3DES diediedie
Thread-Index: AQHR/8MKtrFGWEVZoU+YIDla8GEE7aBcuoQ1//9AtgCAAkz7ef//Pc6AgADiEHs=
Date: Sun, 28 Aug 2016 13:55:47 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73F4D053AB@uxcn10-5.UoA.auckland.ac.nz>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz>, <b2fb4b70-7b65-2d6c-2073-c9db8d86f608@cs.tcd.ie>
In-Reply-To: <b2fb4b70-7b65-2d6c-2073-c9db8d86f608@cs.tcd.ie>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.6.2.2]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/mTf_RzeSrCxOh6INhfLAZLETmfw>
Subject: Re: [Cfrg] [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Aug 2016 13:55:52 -0000

Stephen Farrell <stephen.farrell@cs.tcd.ie> writes:=0A=
=0A=
>IIRC the IoT marketing term doesn't have a very long history so I don't=0A=
>really know what substance lies behind that remark.=0A=
=0A=
I just used "IoT" because someone else had used it, since it's about as wel=
l-=0A=
defined as "Web 2.0" I agree that it's not terribly useful to define a feat=
ure=0A=
set.  What I meant was low-power embedded, smart meters and the like, IoT i=
n=0A=
the sense of "little internet-enabled things".=0A=
=0A=
>>(I've always wanted to sit down and design a generic "encrypted pipe from=
 A=0A=
>>to B using minimal resources" spec, and I'm sure many other people have h=
ad=0A=
>>the same thought at one time or another).=0A=
>=0A=
>Then why don't you do that?=0A=
=0A=
It's a bit like designing a new { OS | programming language | network proto=
col=0A=
| ... }, everybody who works in the relevant field would like to have a go =
at=0A=
something like this, and probably have a lot of fun fiddling with it, but I=
'm=0A=
not sure how much appeal it would have to anyone apart from the person play=
ing=0A=
with it.  So the answer is "for the same reason I haven't had a go at=0A=
designing a new OS, programming language, network protocol, etc".=0A=
=0A=
Peter.=


From nobody Sun Aug 28 07:42:27 2016
Return-Path: <smyshsv@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E23CF12D08E for <cfrg@ietfa.amsl.com>; Sun, 28 Aug 2016 07:42:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.206
X-Spam-Level: 
X-Spam-Status: No, score=-1.206 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, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.723, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_SORBS_WEB=0.77, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 kicqD4S-g3jT for <cfrg@ietfa.amsl.com>; Sun, 28 Aug 2016 07:42:24 -0700 (PDT)
Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::234]) (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 F3A8012B00B for <cfrg@irtf.org>; Sun, 28 Aug 2016 07:42:23 -0700 (PDT)
Received: by mail-lf0-x234.google.com with SMTP id g62so85179070lfe.3 for <cfrg@irtf.org>; Sun, 28 Aug 2016 07:42:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:content-transfer-encoding:message-id:date:subject:from :in-reply-to:references:to:cc; bh=xrw66QyWF7UMh7uLhJ/mOwz0oG+ekBTR2wBTkownCA8=; b=w+fwxZPNjTL7HOThAS7QmUloQP3ADoTEXU7m7zYHMSmn4sfRf+gjYEwDlZJI7r2+8f giHddPX3PndL29JuVHUg1DZFo2Vk/XH1od/BeZbav1foHb5BJhOPeVcThgmKf7i1yeWl aF4R0CkYjm1kwDD4NfsvspilC6l/VIqSe2mxpW1mhqxEB/yLUcpk4kYhQbsdp5gSn3u5 QHg/Tbw6LkJaisGkG+B2fY+cWdxFYTcnnr0bEr3zVx+0NBd0ySYVCSWwEgu1zFVKMuzK 7D4Pvs1z0F7vPu/zcl1VXEsr6ZAweoCPzHAbZOOEu8PWY4H88HygyeGJrndT9326G5ff zcag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:content-transfer-encoding :message-id:date:subject:from:in-reply-to:references:to:cc; bh=xrw66QyWF7UMh7uLhJ/mOwz0oG+ekBTR2wBTkownCA8=; b=W4BxqWet9vikO4WEG93yEbSoZQMg0X3reJfhPRkkcQWeBBFKsPiz2XffZ7+CM3dvcy aOQu7vgF3a7CS9ox+D6ujS79Af37mWpfMN8ECaVdKLKHdf0JS1yMpTfp7zDEa/M5XTSz nb+oI/MHT2dV9FLDA9UgyL0rpqmEvlngMTGYU80QkPRiN/XSpj+ghjMSoopyS5Ty525g 2g/KKdu8w4IL+TcLYWnJbBuGsZXTclo6BVHlovhWK0iMce4hdnbKOULqrAgLds36vRPE 8fu6WafFJTLWjUIsSDljsrd6cktROTYKnyvjuCKNheW6r3+Esi13JnFrzonQoJ/wCksd Rhlw==
X-Gm-Message-State: AE9vXwOLXXYMXSsG6UNFGJaY0Ty/k85QpYVpNh+jqUQxwRHqAmOeyCoagN2S8rh2f+KB4A==
X-Received: by 10.25.159.205 with SMTP id i196mr4194531lfe.45.1472395341965; Sun, 28 Aug 2016 07:42:21 -0700 (PDT)
Received: from [127.0.0.1] ([213.87.134.26]) by smtp.gmail.com with ESMTPSA id 74sm5714418ljb.36.2016.08.28.07.42.20 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 28 Aug 2016 07:42:21 -0700 (PDT)
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Mailer: BlackBerry Email (10.3.2.2876)
Message-ID: <20160828144220.5828688.24760.6532@gmail.com>
Date: Sun, 28 Aug 2016 17:42:20 +0300
From: "Stanislav V. Smyshlyaev" <smyshsv@gmail.com>
In-Reply-To: <CABcZeBOh=3zqYv=U+Yd1vF-niwpziPA-rawSRdTLqyTOSeDC+Q@mail.gmail.com>
References: <CAMr0u6mafme1Kh_gv7d8krToSnDxW1AxXuZrJvzcG8fa==U7rA@mail.gmail.com> <CABcZeBOh=3zqYv=U+Yd1vF-niwpziPA-rawSRdTLqyTOSeDC+Q@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/evq5_oXU0U0HCyS1OZbXE-POPqQ>
Cc: Mihir Bellare <mihir@eng.ucsd.edu>, cfrg@irtf.org, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS] Document on increasing the lifetime of session keys
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Aug 2016 14:42:26 -0000

<html><head></head><body lang=3D"ru-RU" style=3D"background-color: rgb(255,=
 255, 255); line-height: initial;">                                        =
                                              <div style=3D"width: 100%; fo=
nt-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif=
; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, =
255, 255);">=E2=80=8EDear Eric,</div><div style=3D"width: 100%; font-size: =
initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: =
rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255)=
;"><br></div><div style=3D"width: 100%; font-size: initial; font-family: Ca=
libri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-a=
lign: initial; background-color: rgb(255, 255, 255);">Thank you for your co=
mment - indeed, re-keying mechanisms based on secret state are widely used =
in the protocols (key trees are usual practice in ESP with GOSTs for more t=
han 10 years, for example). My point is that a simple (e.g. without any add=
itional keys or structures) and effective mechanism to increase =E2=80=8Ebl=
ock cipher modes limitations on plaintext size can be helpful itself, witho=
ut incorporating to a protocol.&nbsp;</div><div style=3D"width: 100%; font-=
size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; c=
olor: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255=
, 255);"><br></div><div style=3D"width: 100%; font-size: initial; font-fami=
ly: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); =
text-align: initial; background-color: rgb(255, 255, 255);">About connectio=
n with TLS 1.3 draft - for example, we don't want the GCM mode be defined i=
nside some protocol RFC, it should be defined separately, isn't it? &nbsp;S=
o the question is that if such mechanisms are needed, than separate documen=
ts on them can be a better solution.<span style=3D"font-size: initial; line=
-height: initial; text-align: initial;"></span></div><div style=3D"width: 1=
00%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, san=
s-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rg=
b(255, 255, 255);"><br></div><div style=3D"width: 100%; font-size: initial;=
 font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, =
73, 125); text-align: initial; background-color: rgb(255, 255, 255);">And m=
y primary point here is about stateless techniques: as follows from t=E2=80=
=8Ehe preprint I cited before, the key lifetime for CTR can be increased qu=
adratically, for example.&nbsp;</div><div style=3D"width: 100%; font-size: =
initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: =
rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255)=
;"><span style=3D"font-family: Calibri, 'Slate Pro', sans-serif, sans-serif=
; font-size: initial; text-align: initial; line-height: initial;"><br></spa=
n></div><div style=3D"width: 100%; font-size: initial; font-family: Calibri=
, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align:=
 initial; background-color: rgb(255, 255, 255);"><span style=3D"font-family=
: Calibri, 'Slate Pro', sans-serif, sans-serif; font-size: initial; text-al=
ign: initial; line-height: initial;">Kindest regards,</span></div><div styl=
e=3D"width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sa=
ns-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; backgro=
und-color: rgb(255, 255, 255);"><span style=3D"font-family: Calibri, 'Slate=
 Pro', sans-serif, sans-serif; font-size: initial; text-align: initial; lin=
e-height: initial;">Stanislav</span></div><div style=3D"width: 100%; font-s=
ize: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; co=
lor: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255,=
 255);"><span style=3D"font-family: Calibri, 'Slate Pro', sans-serif, sans-=
serif; font-size: initial; text-align: initial; line-height: initial;"><br>=
</span></div>                                                              =
                                                                           =
                                         <table width=3D"100%" style=3D"bac=
kground-color:white;border-spacing:0px;"> <tbody><tr><td colspan=3D"2" styl=
e=3D"font-size: initial; text-align: initial; background-color: rgb(255, 25=
5, 255);">                           <div style=3D"border-style: solid none=
 none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding=
: 3pt 0in 0in; font-family: Tahoma, 'BB Alpha Sans', 'Slate Pro'; font-size=
: 10pt;">  <div><b>=D0=9E=D1=82: </b>Eric Rescorla</div><div><b>=D0=9E=D1=
=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=BE: </b>=D0=B2=D0=BE=D1=81=
=D0=BA=D1=80=D0=B5=D1=81=D0=B5=D0=BD=D1=8C=D0=B5, 28 =D0=B0=D0=B2=D0=B3=D1=
=83=D1=81=D1=82=D0=B0 2016&nbsp;=D0=B3., 16:52</div><div><b>=D0=9A=D0=BE=D0=
=BC=D1=83: </b>Stanislav V. Smyshlyaev</div><div><b>=D0=9A=D0=BE=D0=BF=D0=
=B8=D1=8F: </b>cfrg@irtf.org; Mihir Bellare; Paul Lambert; Paterson, Kenny;=
 Mike Hamburg; &lt;tls@ietf.org&gt;</div><div><b>=D0=A2=D0=B5=D0=BC=D0=B0: =
</b>Re: [TLS] Document on increasing the lifetime of session keys</div></di=
v></td></tr></tbody></table><div style=3D"border-style: solid none none; bo=
rder-top-color: rgb(186, 188, 209); border-top-width: 1pt; font-size: initi=
al; text-align: initial; background-color: rgb(255, 255, 255);"></div><br><=
div id=3D"_originalContent" style=3D""><div dir=3D"ltr">Stanislav,<div><br>=
</div><div>TLS 1.3 incorporates a rekeying mechanism (KeyUpdate) similar to=
 that if Abdalla and Bellare 1(b).</div><div><br></div><div>-Ekr</div><div>=
<br></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Sun,=
 Aug 28, 2016 at 3:48 AM, Stanislav V. Smyshlyaev <span dir=3D"ltr">&lt;<a =
href=3D"mailto:smyshsv@gmail.com" target=3D"_blank">smyshsv@gmail.com</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><d=
iv data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><p>Dear colleagues,<=
/p><p>Since there is a considerable interest to the question of increasing =
session keys lifetime (several productive off-the-list personal discussions=
 about CryptoPro key meshing algorithms and&nbsp;<a href=3D"http://eprint.i=
acr.org/2016/628" target=3D"_blank">http://eprint.iacr.org/201<wbr>6/628</a=
>&nbsp;started after the Friday posting), maybe we should think about getti=
ng started a work on a document on efficient re-keying (about techniques wi=
thout secret state and/or techniques with it (like in M. Abdalla and M. Bel=
lare work, <a href=3D"https://cseweb.ucsd.edu/~mihir/papers/rekey.html" tar=
get=3D"_blank">https://cseweb.ucsd.edu/~mihir<wbr>/papers/rekey.html</a>)) =
mechanisms for common cipher modes (CTR, CCM, GCM, CBC, CFB) in CFRG?&nbsp;=
</p><p>If you consider it reasonable, we can prepare a first version of suc=
h a draft based on our results (both included in that our preprint and new =
ones which we are working on currently) before IETF 97 to be able to have a=
 discussion on this issue there in Seoul.<br></p><div>Kindest regards,</div=
><div>Stanislav Smyshlyaev</div></div></div></div>
</div>
<br>______________________________<wbr>_________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/tls</a><br>
<br></blockquote></div><br></div></div>
<br><!--end of _originalContent --></div></body></html>


From nobody Mon Aug 29 05:00:47 2016
Return-Path: <hkario@redhat.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8259112D0B7 for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 05:00:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.47
X-Spam-Level: 
X-Spam-Status: No, score=-7.47 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.548, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 YBXIpVF2aqsJ for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 05:00:43 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D25E912D6AC for <cfrg@irtf.org>; Mon, 29 Aug 2016 05:00:43 -0700 (PDT)
Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 30485A0771; Mon, 29 Aug 2016 12:00:42 +0000 (UTC)
Received: from pintsize.usersys.redhat.com (dhcp-0-191.brq.redhat.com [10.34.0.191]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7TC0eVS014926 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Aug 2016 08:00:41 -0400
From: Hubert Kario <hkario@redhat.com>
To: tls@ietf.org
Date: Mon, 29 Aug 2016 14:00:39 +0200
Message-ID: <2123223.JzJ8ujFHJJ@pintsize.usersys.redhat.com>
User-Agent: KMail/5.2.3 (Linux/4.6.7-300.fc24.x86_64; KDE/5.25.0; x86_64; ; )
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C73F4D053AB@uxcn10-5.UoA.auckland.ac.nz>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <b2fb4b70-7b65-2d6c-2073-c9db8d86f608@cs.tcd.ie> <9A043F3CF02CD34C8E74AC1594475C73F4D053AB@uxcn10-5.UoA.auckland.ac.nz>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart2215477.aiTK73ayqa"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Mon, 29 Aug 2016 12:00:43 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/R7nWMPewjrsDSxZQteDJChIrASs>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "David McGrew \(mcgrew\)" <mcgrew@cisco.com>, Peter Gutmann <pgut001@cs.auckland.ac.nz>
Subject: Re: [Cfrg] [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Aug 2016 12:00:46 -0000

--nextPart2215477.aiTK73ayqa
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"

On Sunday, 28 August 2016 13:55:47 CEST Peter Gutmann wrote:
> Stephen Farrell <stephen.farrell@cs.tcd.ie> writes:
> >IIRC the IoT marketing term doesn't have a very long history so I don't
> >really know what substance lies behind that remark.
>=20
> I just used "IoT" because someone else had used it, since it's about as
> well- defined as "Web 2.0" I agree that it's not terribly useful to define
> a feature set.  What I meant was low-power embedded, smart meters and the
> like, IoT in the sense of "little internet-enabled things".

while others define it as "anything that is not a general purpose computer,=
=20
tablet or phone", in effect including also SCADA, TVs, ATMs, traffic lights=
,=20
etc.

and for those you need proper encryption
=20
> >>(I've always wanted to sit down and design a generic "encrypted pipe fr=
om
> >>A
> >>to B using minimal resources" spec, and I'm sure many other people have
> >>had
> >>the same thought at one time or another).
> >
> >Then why don't you do that?
>=20
> It's a bit like designing a new { OS | programming language | network
> protocol
> | ... }, everybody who works in the relevant field would like to have a go
> | at
>=20
> something like this, and probably have a lot of fun fiddling with it, but
> I'm not sure how much appeal it would have to anyone apart from the person
> playing with it.  So the answer is "for the same reason I haven't had a go
> at designing a new OS, programming language, network protocol, etc".

we have enough problems weeding out implementation mistakes in TLS, we don'=
t=20
need yet another protocol and two dozen implementations that come with it

=2D-=20
Regards,
Hubert Kario
Senior Quality Engineer, QE BaseOS Security team
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purky=C5=88ova 99/71, 612 45, Brno, Czech Republic
--nextPart2215477.aiTK73ayqa
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJXxCPnAAoJEJKo0bgB0vX1QoMP/1NWwtorP36t79Da1RVFRkhP
2cDecOIkW8qX2oJGODCwVmKZhp4/lzjhLw0K0DH/I1d5VZOaIoLu1veD/WRcNUkm
hbvRgcXmDyJxweQT/vQLGt/Ybwx/WkqK3+htS+Yi44NNwGg0BCgpz9zQZHKOC/tK
qdSR+77jkZtyTMA59PwIZ/yn/NIsXf8D/8cuKM0RMzcCWOWvsAhiTSg8kUTgFABi
vTsRDZ90f1wS5SSwDZONoeq+Fb5YDnqIRGhGfXHhaQdM8t1Ky6wmMT4odrMuCODF
tInz3jaje2GrF20sokVs+X4WzZVdMIHwJDfr52hd9VE5PJm4FaUvLGH+DyYppoEW
KxYhOcIxB8P2dN99YU/BL7YEzcH67m6CnhoDgc9MLfOFC/p2e9fcmsUEJYPy8NMW
3uTO7/4KI2vbw0oXckewfXXUrdiSXpNcBgCa6mep1so5c0iCTZ5RTioENAbGCnIR
7xynXurWDNAKI69KjQ4SUWDNTBOw77pRpljcZGjQwo4o3MHbtmBZ95Iw32pe7iCr
N5PBaMksnW3JQYBsaIAGdhIJRe1Dh9f3ruizwZRW7OESl6wH9lg+OQzfgJdk9jiM
QPaTH4gzAqN1RN2gQeVM6Kvi69LIhpVpP7Lp0jR8sWgZx77TuVkEFfbfES8EXiCJ
/B0l9NLr65BbslxVQuAh
=q2eQ
-----END PGP SIGNATURE-----

--nextPart2215477.aiTK73ayqa--


From nobody Mon Aug 29 05:44:49 2016
Return-Path: <mcgrew@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 949FC12D736 for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 05:44:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.069
X-Spam-Level: 
X-Spam-Status: No, score=-15.069 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_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.548, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 NB5NVnyXwkpX for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 05:44:44 -0700 (PDT)
Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A741E12D733 for <cfrg@irtf.org>; Mon, 29 Aug 2016 05:44:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3720; q=dns/txt; s=iport; t=1472474684; x=1473684284; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=wc/z0nTzceVj3ErQgg98EPtfwKLv8eeI5T15A+1bUz0=; b=c4+9Evy5tdDH9G4bMGswsBiBOdiJ/h19WlLWKUmy/t0VfC7FS1y3l9WI l2YOx1GH19zBuodPAAuTWDaunrBi+wFpcH5+H0lOqdCelu+XdVVJMcGXI y0BrglcOy/+uGcs7Fmz2ORO77Rej/k6PdMcuHzBOHFHOhDKsXH3w8AV0P Q=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0DOAQA6LcRX/5pdJa1cDgwBAQEBAgEBA?= =?us-ascii?q?QGDKQEBAQEBHld8B40nqneCASaFdwIcgSc4FAECAQEBAQEBAV4nhGIBAQICIxF?= =?us-ascii?q?VAgEIDgwCJgICAjAVEAIEARKIQA6uCo8vAQEBAQEBAQEBAQEBAQEBAQEBAQEdg?= =?us-ascii?q?QOHI4JVghCCEwEBgx0rgi8FhhKTPQGGH4I9gz6DEII7jRqQPAEeNoI0HIERO3A?= =?us-ascii?q?BhCyBIH8BAQE?=
X-IronPort-AV: E=Sophos;i="5.28,596,1464652800"; d="scan'208";a="140705387"
Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by rcdn-iport-9.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Aug 2016 12:44:43 +0000
Received: from XCH-ALN-002.cisco.com (xch-aln-002.cisco.com [173.36.7.12]) by rcdn-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id u7TCihAB021445 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 29 Aug 2016 12:44:43 GMT
Received: from xch-aln-004.cisco.com (173.36.7.14) by XCH-ALN-002.cisco.com (173.36.7.12) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 29 Aug 2016 07:44:42 -0500
Received: from xch-aln-004.cisco.com ([173.36.7.14]) by XCH-ALN-004.cisco.com ([173.36.7.14]) with mapi id 15.00.1210.000; Mon, 29 Aug 2016 07:44:42 -0500
From: "David McGrew (mcgrew)" <mcgrew@cisco.com>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>, Tony Arcieri <bascule@gmail.com>, "<tls@ietf.org>" <tls@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] 3DES diediedie
Thread-Index: AQHR/nWfoW+SS6smqUOyCtdxrLUgKaBbmdgAgAF4CoD//8XhAIABxwsAgAFbRAA=
Date: Mon, 29 Aug 2016 12:44:42 +0000
Message-ID: <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz>
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/f.15.1.160411
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.117.10.228]
Content-Type: text/plain; charset="utf-8"
Content-ID: <522EA66CF2E28E43A944C93BD1A91FF5@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/IorxWUgOHGi0hHzxHTGXoQofAbc>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Aug 2016 12:44:47 -0000

SGkgUGV0ZXIsDQoNCllvdSBtYWtlIGEgYnVuY2ggb2YgZ29vZCBwb2ludHMuICAgQnV0IGl0IGlz
IGFsc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zKSBhbmQgYXJlIGtpbmQgb2Ygc3R1Y2suDQo+DQo+LSBJb1QgcGVvcGxl
LCB3aG8gY2FuJ3QgdXNlIGFueSBzdGFuZGFyZCBwcm90b2NvbCBhbmQgd2lsbCBnZXQgdGhlIGxl
YXN0DQo+ICB1bnF1YWxpZmllZCBwZXJzb24gb24gc3RhZmYgdG8gaW52ZW50IHNvbWV0aGluZyB0
aGF0IHNlZW1zIE9LIHRvIHRoZW0uDQo+DQo+SSdtIG5vdCBzdXJlIHRoYXQgYSBkcmFmdCBvbiB0
aGVvcmV0aWNhbCB3ZWFrbmVzc2VzIGluIDY0LWJpdCBibG9jayBjaXBoZXJzIGlzDQo+Z29pbmcg
dG8gYWZmZWN0IGFueSBvZiB0aG9zZS4uLg0KPg0KPlBldGVyLg0K


From nobody Mon Aug 29 05:56:48 2016
Return-Path: <joachim@secworks.se>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 07C4012D531 for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 05:56:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=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 Ju5PAMESDYIf for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 05:56:40 -0700 (PDT)
Received: from mail.frobbit.se (mail.frobbit.se [85.30.129.185]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0EC3F12D0C5 for <cfrg@irtf.org>; Mon, 29 Aug 2016 05:56:40 -0700 (PDT)
Received: from Knubbis.local (unknown [80.252.219.34]) by mail.frobbit.se (Postfix) with ESMTPSA id DA4E421EEE; Mon, 29 Aug 2016 14:56:37 +0200 (CEST)
Message-ID: <57C43102.7090902@secworks.se>
Date: Mon, 29 Aug 2016 14:56:34 +0200
From: =?UTF-8?B?Sm9hY2hpbSBTdHLDtm1iZXJnc29u?= <joachim@secworks.se>
User-Agent: Postbox 4.0.8 (Macintosh/20151105)
MIME-Version: 1.0
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz> <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com>
In-Reply-To: <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/8aWcT7co5Wvy_E1QrXSfOwLUDuo>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>, Peter Gutmann <pgut001@cs.auckland.ac.nz>
Subject: Re: [Cfrg] [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Aug 2016 12:56:43 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Aloha!

As a side note, there has been a bunch of lightweight block ciphers
suggested the last few years, most of them with a block size of 64 bits.
And there has been discussion on IETF maillists about IETF accepting
them. For example the SIMON and SPECK ciphers. These ciphers can have
block sizes as small as 32 bits.

https://www.cryptolux.org/images/a/a0/Beaulieu-DAC2015.pdf
https://eprint.iacr.org/2015/209.pdf

Yours
JoachimS



David McGrew (mcgrew) wrote:
> Hi Peter,
> 
> You make a bunch of good points.   But it is also worth noting that
> some people feel that current crypto standards, including IETF
> standards, are suitable for IoT.   See for instance slides 8 and 9 of
> Daniel Shumow's talk at NIST’s LWC workshop last year:
> http://csrc.nist.gov/groups/ST/lwc-workshop2015/presentations/session4-shumow.pdf
> Also, CoAP isn’t on his list, but it could be, and it uses DTLS.   So
> while I agree with you that overuse of a 64-bit block cipher is far
> from the biggest security concern for IoT, the IETF should expect its
> protocols to be used in some IoT scenarios.
> 
> The malleability of the term IoT is causing trouble here.   Slide 6
> of Daniel’s talk is quite revealing.  To my thinking, by definition
> IoT devices are connected to the Internet in some way.
> 
> David
> 
> 
> 
> On 8/28/16, 8:01 AM, "Peter Gutmann" <pgut001@cs.auckland.ac.nz>
> wrote:
> 
>> David McGrew (mcgrew) <mcgrew@cisco.com> writes:
>> 
>>> I don’t think you understood my point. IoT is about small devices
>>> connecting to the Internet, and IETF standards should expect
>>> designed-for-IoT crypto to be increasingly in scope.  It is
>>> important to not forget about these devices, amidst the current
>>> attention being paid to misuses of 64-bit block ciphers, which
>>> was the ultimate cause of this mail thread.
>> But the IETF has a long history of creating standards that
>> completely ignore IoT.  I can't think of a single general-purpose
>> IETF security standard (TLS, SSH, IPsec, etc) that has any hope of
>> working with IoT devices (say a 40Mhz ARM-core ASIC with 32kB RAM
>> and 64kB flash).  This is why the ITU/IEC and a million
>> lesser-known standards bodies are all busy inventing their own 
>> exquisitely homebrew crypto protocols, most of which make WEP look
>> like a model of good design.
>> 
>> (I've always wanted to sit down and design a generic "encrypted
>> pipe from A to B using minimal resources" spec, and I'm sure many
>> other people have had the same thought at one time or another).
>> 
>> So it seems like you've got:
>> 
>> - The "TLS = the web" crowd (browser vendors and the like) who will
>> implement whatever's trendy at the moment and assume everyone has a
>> quad-core 2GHz CPU with gigabytes of RAM and access to weekly live
>> updates and hotfixes.
>> 
>> - Embedded/SCADA folks who need to deal with 10-15 year product
>> cycles (see my TLS-LTS draft for more on this) and are kind of
>> stuck.
>> 
>> - IoT people, who can't use any standard protocol and will get the
>> least unqualified person on staff to invent something that seems OK
>> to them.
>> 
>> I'm not sure that a draft on theoretical weaknesses in 64-bit block
>> ciphers is going to affect any of those...
>> 
>> Peter.
> _______________________________________________ TLS mailing list 
> TLS@ietf.org https://www.ietf.org/mailman/listinfo/tls


- -- 
Med vänlig hälsning, Yours

Joachim Strömbergson - Alltid i harmonisk svängning.
========================================================================
 Joachim Strömbergson          Secworks AB          joachim@secworks.se
========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJXxDECAAoJEF3cfFQkIuyNY1UP/2lUJo53s27wlqvgPWpZYWzi
HViof7jYA7yvbZm9SeYkV88y4sOMUQrhSsAWUZ7GfwcjkjC8+sL8mD7uacPx0zpW
rAnLnAHJbnU8rkWRT2OKWiZBvwMpMNw/UYGy13dwilRExj22N4dsLK98vath3r52
FjAIL2GpCWUuzPB6P5d+B8MjEwEr1tEYzvlvWo032RB91irOOKveryGGe5ifnSKj
SP1a9CbakaLdTHMkrhOre0I4Ckr2A97eI3oo/5QjRJ81zKJ/4VZzOOe3lGjPkXhO
kzkANctte+Eb5ttlaXcg/dL7lStzaYo8rnm3PRHsBKpHr/oNEgbdJti1U78/MfLf
o0v+s4TbY7YBPXOU7zKWpo9VD1Mcq9eMAslIQokEE2CfIq3wBSEEgKwJXu6HVSht
Ohahc7HUBnz2+uXJ+x4hl/bW/qM3DFhTfhPCYQ11IiXpPlxhsAnxbszBe4XtHd7y
z2Uc+Jef8aUq7sEGYBdcnGs+SSNFQwtUIicKI3pU61xvtAhqRriNOsfmCVvC2V7Z
iz5EodInPjUBkVMwDbmiFd5lp782SqYZsivwabPGE1p2GG+o421KZmQJ3VRC3ctw
xjwk2HszIv7Wo+gomL0hqF7Wi0YIP556rRYrRMc9gLV513xzxD5T99eR+2HtiRJF
TvYYPXZjzP087liGF7SA
=Z0iM
-----END PGP SIGNATURE-----


From nobody Mon Aug 29 06:21:06 2016
Return-Path: <john.mattsson@ericsson.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A781D12D5FF for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 06:20:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level: 
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=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 i9X-DcwoBfX4 for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 06:20:55 -0700 (PDT)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7CA2212D606 for <cfrg@irtf.org>; Mon, 29 Aug 2016 06:20:55 -0700 (PDT)
X-AuditID: c1b4fb30-ea88e980000009f9-af-57c436b52fd8
Received: from ESESSHC012.ericsson.se (Unknown_Domain [153.88.183.54]) by  (Symantec Mail Security) with SMTP id DA.95.02553.5B634C75; Mon, 29 Aug 2016 15:20:53 +0200 (CEST)
Received: from ESESSMB307.ericsson.se ([169.254.7.215]) by ESESSHC012.ericsson.se ([153.88.183.54]) with mapi id 14.03.0301.000; Mon, 29 Aug 2016 15:20:49 +0200
From: John Mattsson <john.mattsson@ericsson.com>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>, Peter Gutmann <pgut001@cs.auckland.ac.nz>, Tony Arcieri <bascule@gmail.com>, "<tls@ietf.org>" <tls@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] 3DES diediedie
Thread-Index: AQHR/8MHpyiCNxbgBkyiSa8rLoEeV6Bcme6AgAAI8ACAAYP9AIABnlEAgAArnoA=
Date: Mon, 29 Aug 2016 13:20:49 +0000
Message-ID: <D3E9FF6F.4EE20%john.mattsson@ericsson.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz> <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com>
In-Reply-To: <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.6.6.160626
x-originating-ip: [153.88.183.16]
Content-Type: text/plain; charset="utf-8"
Content-ID: <655B9B4838F88A44865C5CCFF947DF4E@ericsson.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrAIsWRmVeSWpSXmKPExsUyM2K7me5WsyPhBvd2aFlcetzCZNH94yCT xdVVf9gtXr57zmrx6XwXowOrx5TfG1k9LjYeYPLYOesuu8eSJT+ZPCZvPMwWwBrFZZOSmpNZ llqkb5fAlfH9cSNTwR7tiodbUhoY12h1MXJySAiYSLzd+Yepi5GLQ0hgPaPEsRkzmUASQgJL GCXu7OAEsdkEDCTm7mlgAykSETjIKPFs+VI2kISwgJLE4eZm5i5GDqCEssS01/EgYREBP4lp 6zvYQWwWAVWJyV0rmUFsXgFzie2Pp7BALPvNJPG6aRIjSIJTwFbi/8eFLCA2o4CYxPdTa8CO YBYQl7j1ZD4TxKUCEkv2nGeGsEUlXj7+xwpiiwroSTw7uZgRIq4osfNsO9g9zAKaEut36UOM sZa4fHIxG4StKDGl+yE7xD2CEidnPmGZwCg2C8m2WQjds5B0z0LSPQtJ9wJG1lWMosWpxUm5 6UZGeqlFmcnFxfl5enmpJZsYgfF4cMtvgx2ML587HmIU4GBU4uFNeHcoXIg1say4MvcQowQH s5II7xvTI+FCvCmJlVWpRfnxRaU5qcWHGKU5WJTEef1fKoYLCaQnlqRmp6YWpBbBZJk4OKUa GI2L2rcvu9SxRvPciT0zUwIeZ7W2JuzP4NL4Wb+Rff7+TcmL7p76uPLFIUaRdVd239X/XHDq SOf0kD8y/39xnp6w/MNuIZFe2z4GO9ad2k5tkvtDFlpLCv/1lM6J9TC21Lx4Y6bXstl/D0ks f5HSzeEj+pE3c66U5s3jdlPyvv97uervrSSf3v9KLMUZiYZazEXFiQBEUGtcwwIAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/AW3d-fvuw0SrwHVeS51UjPpgFCI>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Aug 2016 13:21:00 -0000

SGkgRGF2aWQgYW5kIFBldGVyLA0KDQpJIHRoaW5rIERhbmllbHMgcHJlc2VudGF0aW9uIGlzIGEg
Z29vZCBzdW1tYXJ5IGFuZCBJIHRlbmQgdG8gYWdyZWUgd2l0aA0KdGhlIOKAnE5vIGxpZ2h0d2Vp
Z2h0IGNyeXB0b2dyYXBoeSBpbiBzb2Z0d2FyZeKAnS4gQnV0IGhvdyByZWxldmFudCBpcw0KbGln
aHR3ZWlnaHQgY3J5cHRvZ3JhcGh5IGluIElvVCBoYXJkd2FyZT8gSSBiZWVuIGhlYXJpbmcgc29t
ZSBoYXJkd2FyZQ0KcGVvcGxlIHN0YXRpbmcgdGhhdCB0aGUgbnVtYmVyIG9mIGdhdGVzIGlzIG1v
cmUgYW5kIG1vcmUgaXJyZWxldmFudCBhbmQNCnRoYXQgdGhlIGFkZGl0aW9uYWwgY29zdCBvZiAx
MDAwIEdFIGlzIG5lZ2xpZ2libGUgd2l0aCBjdXJyZW50DQptYW51ZmFjdHVyaW5nIHRlY2huaXF1
ZXMgKGkuZS4gMTAwMCBHRSBpcyBzbWFsbCBjb21wYXJlZCB0byB0aGUgYXJlIG5lZWRlZA0KdG8g
Y3V0IG91dCB0aGUgY2lyY3VpdCBhbmQgY29ubmVjdGluZyBpdCkuIFdlIGFscmVhZHkga25vdyB0
aGF0IHRoZSBlbmVyZ3kNCmNvc3Qgb2Ygc3ltbWV0cmljICBjcnlwdG8gaXMgbmVnbGlnaWJsZSBj
b21wYXJlZCB0byB3aXJlbG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zdA0KPj4gIHVucXVhbGlmaWVkIHBlcnNvbiBvbiBzdGFmZiB0byBpbnZlbnQgc29t
ZXRoaW5nIHRoYXQgc2VlbXMgT0sgdG8gdGhlbS4NCj4+DQo+PkknbSBub3Qgc3VyZSB0aGF0IGEg
ZHJhZnQgb24gdGhlb3JldGljYWwgd2Vha25lc3NlcyBpbiA2NC1iaXQgYmxvY2sNCj4+Y2lwaGVy
cyBpcw0KPj5nb2luZyB0byBhZmZlY3QgYW55IG9mIHRob3NlLi4uDQo+Pg0KPj5QZXRlci4NCj5f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KPkNmcmcgbWFp
bGluZyBsaXN0DQo+Q2ZyZ0BpcnRmLm9yZw0KPmh0dHBzOi8vd3d3LmlydGYub3JnL21haWxtYW4v
bGlzdGluZm8vY2ZyZw0KDQo=


From nobody Mon Aug 29 06:26:41 2016
Return-Path: <rstruik.ext@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C126E12D555 for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 06:26:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 vJxde8gQCu_N for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 06:26:37 -0700 (PDT)
Received: from mail-qk0-x233.google.com (mail-qk0-x233.google.com [IPv6:2607:f8b0:400d:c09::233]) (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 33F6F12D610 for <cfrg@irtf.org>; Mon, 29 Aug 2016 06:26:35 -0700 (PDT)
Received: by mail-qk0-x233.google.com with SMTP id v123so137214866qkh.2 for <cfrg@irtf.org>; Mon, 29 Aug 2016 06:26:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=oSbXFj9Wy3vRGhlwz0fa0s+4xLeLxGwN1RcbliviTY8=; b=HQHSaDNq2R9VyplPnqk15ZdkfZ+I5EEaKMJANmtNDHGK+9vYVDkp4L97mut9XX7L+n UTef5NirGI3ydadCFHvzx24Lw3GR1moti68M/jOC4Ce1HRmEa07FrRLYv4wtgp0AXGii OYRZENYxmfssHTIFsZjSGv3TYyZ4wo2QyX6hmOvbJ/5MptCc2c8X22v2Rl2nQ6cVOGUv iE0T/+YEVqwxiOdqw05XeaCDdyeT7SJSMFMTuwboYXiBFVgLNCNK2qectg+AlFN9EcLF tMnCBHUb+Dl3aUr5z89pINZ+5iv+xV+3aSrzYpGx133CvkCUQH5BJf4mdwdHlzwUO8UL usfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=oSbXFj9Wy3vRGhlwz0fa0s+4xLeLxGwN1RcbliviTY8=; b=a53ND9qaYij+KybysHEn3uGTN0Zt1ICfs+Qp1ZLPfDB2fLVcpIKT7c6KVEykxLyU6U +YrAJEDLImpmVpVmGKC3aoCB0v/zYEsbr5wwa4TdcZC7ddY/GyrATZJ1mxEah0vca/Z6 N4RvWiHp48LsGWZxxZtFpEglSbpVJKhIpV9Mvk4chXhMtaWJSqImqA9Yxyde5WKAVe79 swQccsOv0ML3bNBerp8QTdFR5Itl0IjBbUNLJcWyozOvhA87FDY2N6zok0HFJCqT2GtA aofO4up22e+CIoGmHTXqmkOYhD60OFrjUuoNp0UX0qaEmnXQBePc/Sp21B3/zY5u4R+P hc7w==
X-Gm-Message-State: AE9vXwMiONi6tJuv9l6RHBCF0sW3ajwnLWNa0M5DNe3EmLyYS1nurGQadMxtSaFldwHf0g==
X-Received: by 10.55.48.10 with SMTP id w10mr18790946qkw.43.1472477194219; Mon, 29 Aug 2016 06:26:34 -0700 (PDT)
Received: from [192.168.0.14] (CPE7cb21b2cb904-CM7cb21b2cb901.cpe.net.cable.rogers.com. [174.112.186.144]) by smtp.gmail.com with ESMTPSA id c26sm18598415qte.1.2016.08.29.06.26.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Aug 2016 06:26:33 -0700 (PDT)
To: =?UTF-8?Q?Joachim_Str=c3=b6mbergson?= <joachim@secworks.se>, "David McGrew (mcgrew)" <mcgrew@cisco.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz> <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com> <57C43102.7090902@secworks.se>
From: Rene Struik <rstruik.ext@gmail.com>
Message-ID: <b1956113-b21a-f995-2e35-3011eb76ce8a@gmail.com>
Date: Mon, 29 Aug 2016 09:26:18 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <57C43102.7090902@secworks.se>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/ZYScSHxpFMLcZl7FKDnwbD_cKcs>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: [Cfrg] (confusing the issues) Re: [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Aug 2016 13:26:40 -0000

I think it is a mistake to think that simply using block ciphers with a 
larger block size is enough to counter attacks, as the literature on 
successful side channel attacks on such block cipher demonstrates. The 
real message is that one should not reuse keys ad infinitum, which 
unfortunately seems hard to sink in.

Singling out 3-DES in this respect does not seem to tackle the real 
issue (which is a system security issue often only paid lip service to 
in practice).

Rene

On 8/29/2016 8:56 AM, Joachim Strömbergson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Aloha!
>
> As a side note, there has been a bunch of lightweight block ciphers
> suggested the last few years, most of them with a block size of 64 bits.
> And there has been discussion on IETF maillists about IETF accepting
> them. For example the SIMON and SPECK ciphers. These ciphers can have
> block sizes as small as 32 bits.
>
> https://www.cryptolux.org/images/a/a0/Beaulieu-DAC2015.pdf
> https://eprint.iacr.org/2015/209.pdf
>
> Yours
> JoachimS
>
>
>
> David McGrew (mcgrew) wrote:
>> Hi Peter,
>>
>> You make a bunch of good points.   But it is also worth noting that
>> some people feel that current crypto standards, including IETF
>> standards, are suitable for IoT.   See for instance slides 8 and 9 of
>> Daniel Shumow's talk at NIST’s LWC workshop last year:
>> http://csrc.nist.gov/groups/ST/lwc-workshop2015/presentations/session4-shumow.pdf
>> Also, CoAP isn’t on his list, but it could be, and it uses DTLS.   So
>> while I agree with you that overuse of a 64-bit block cipher is far
>> from the biggest security concern for IoT, the IETF should expect its
>> protocols to be used in some IoT scenarios.
>>
>> The malleability of the term IoT is causing trouble here.   Slide 6
>> of Daniel’s talk is quite revealing.  To my thinking, by definition
>> IoT devices are connected to the Internet in some way.
>>
>> David
>>
>>
>>
>> On 8/28/16, 8:01 AM, "Peter Gutmann" <pgut001@cs.auckland.ac.nz>
>> wrote:
>>
>>> David McGrew (mcgrew) <mcgrew@cisco.com> writes:
>>>
>>>> I don’t think you understood my point. IoT is about small devices
>>>> connecting to the Internet, and IETF standards should expect
>>>> designed-for-IoT crypto to be increasingly in scope.  It is
>>>> important to not forget about these devices, amidst the current
>>>> attention being paid to misuses of 64-bit block ciphers, which
>>>> was the ultimate cause of this mail thread.
>>> But the IETF has a long history of creating standards that
>>> completely ignore IoT.  I can't think of a single general-purpose
>>> IETF security standard (TLS, SSH, IPsec, etc) that has any hope of
>>> working with IoT devices (say a 40Mhz ARM-core ASIC with 32kB RAM
>>> and 64kB flash).  This is why the ITU/IEC and a million
>>> lesser-known standards bodies are all busy inventing their own
>>> exquisitely homebrew crypto protocols, most of which make WEP look
>>> like a model of good design.
>>>
>>> (I've always wanted to sit down and design a generic "encrypted
>>> pipe from A to B using minimal resources" spec, and I'm sure many
>>> other people have had the same thought at one time or another).
>>>
>>> So it seems like you've got:
>>>
>>> - The "TLS = the web" crowd (browser vendors and the like) who will
>>> implement whatever's trendy at the moment and assume everyone has a
>>> quad-core 2GHz CPU with gigabytes of RAM and access to weekly live
>>> updates and hotfixes.
>>>
>>> - Embedded/SCADA folks who need to deal with 10-15 year product
>>> cycles (see my TLS-LTS draft for more on this) and are kind of
>>> stuck.
>>>
>>> - IoT people, who can't use any standard protocol and will get the
>>> least unqualified person on staff to invent something that seems OK
>>> to them.
>>>
>>> I'm not sure that a draft on theoretical weaknesses in 64-bit block
>>> ciphers is going to affect any of those...
>>>
>>> Peter.
>> _______________________________________________ TLS mailing list
>> TLS@ietf.org https://www.ietf.org/mailman/listinfo/tls
>
> - -- 
> Med vänlig hälsning, Yours
>
> Joachim Strömbergson - Alltid i harmonisk svängning.
> ========================================================================
>   Joachim Strömbergson          Secworks AB          joachim@secworks.se
> ========================================================================
> -----BEGIN PGP SIGNATURE-----
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQIcBAEBCAAGBQJXxDECAAoJEF3cfFQkIuyNY1UP/2lUJo53s27wlqvgPWpZYWzi
> HViof7jYA7yvbZm9SeYkV88y4sOMUQrhSsAWUZ7GfwcjkjC8+sL8mD7uacPx0zpW
> rAnLnAHJbnU8rkWRT2OKWiZBvwMpMNw/UYGy13dwilRExj22N4dsLK98vath3r52
> FjAIL2GpCWUuzPB6P5d+B8MjEwEr1tEYzvlvWo032RB91irOOKveryGGe5ifnSKj
> SP1a9CbakaLdTHMkrhOre0I4Ckr2A97eI3oo/5QjRJ81zKJ/4VZzOOe3lGjPkXhO
> kzkANctte+Eb5ttlaXcg/dL7lStzaYo8rnm3PRHsBKpHr/oNEgbdJti1U78/MfLf
> o0v+s4TbY7YBPXOU7zKWpo9VD1Mcq9eMAslIQokEE2CfIq3wBSEEgKwJXu6HVSht
> Ohahc7HUBnz2+uXJ+x4hl/bW/qM3DFhTfhPCYQ11IiXpPlxhsAnxbszBe4XtHd7y
> z2Uc+Jef8aUq7sEGYBdcnGs+SSNFQwtUIicKI3pU61xvtAhqRriNOsfmCVvC2V7Z
> iz5EodInPjUBkVMwDbmiFd5lp782SqYZsivwabPGE1p2GG+o421KZmQJ3VRC3ctw
> xjwk2HszIv7Wo+gomL0hqF7Wi0YIP556rRYrRMc9gLV513xzxD5T99eR+2HtiRJF
> TvYYPXZjzP087liGF7SA
> =Z0iM
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls


-- 
email: rstruik.ext@gmail.com | Skype: rstruik
cell: +1 (647) 867-5658 | US: +1 (415) 690-7363


From nobody Mon Aug 29 06:39:09 2016
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A608612D5FF for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 06:39:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.448
X-Spam-Level: 
X-Spam-Status: No, score=-2.448 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.548] autolearn=unavailable autolearn_force=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 cRMor2S-84Hq for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 06:39:01 -0700 (PDT)
Received: from welho-filter3.welho.com (welho-filter3.welho.com [83.102.41.25]) by ietfa.amsl.com (Postfix) with ESMTP id 5FB1F12D60F for <cfrg@irtf.org>; Mon, 29 Aug 2016 06:39:01 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id 938B4FE95; Mon, 29 Aug 2016 16:38:59 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id zGh8Ao71un19; Mon, 29 Aug 2016 16:38:59 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-177-32.bb.dnainternet.fi [87.100.177.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id 652DB2310; Mon, 29 Aug 2016 16:38:59 +0300 (EEST)
Date: Mon, 29 Aug 2016 16:38:49 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>
Message-ID: <20160829133849.vmslsp4x3mhtaug6@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz> <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com>
User-Agent: Mutt/1.6.2-neo (2016-08-21)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/3lnW1mA2kCKgMwuG9ZdkAE74Wos>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Aug 2016 13:39:04 -0000

On Mon, Aug 29, 2016 at 12:44:42PM +0000, David McGrew (mcgrew) wrote:
> 
> The malleability of the term IoT is causing trouble here.   Slide 6
> of Daniel’s talk is quite revealing.  To my thinking, by definition
> IoT devices are connected to the Internet in some way.

Yes, the variability of capabilities of IoT devices is extreme. From
devices that just barely can run some cipher gated to PSK, to ones
that can easily run TLS without any hacks to save resources.

There is no way to make TLS realistically work for the first kind,
since just the flexibility of TLS would impose unreasonable burden,
even if profiled down.

If one limits oneself to the low end, I would think that anything
that can realistically handle any profile of TLS can probably handle
a real symmetric cipher (>=128 blocks, >=128 bit keys).


-Ilari


From nobody Mon Aug 29 08:37:24 2016
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cfrg@ietf.org
Delivered-To: cfrg@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 556EC12D794; Mon, 29 Aug 2016 08:37:19 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.31.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <147248503934.19073.2852863561765850922.idtracker@ietfa.amsl.com>
Date: Mon, 29 Aug 2016 08:37:19 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/kCEsXX8lC2e34xpE9ZzreJaRvRQ>
Cc: cfrg@ietf.org
Subject: [Cfrg] I-D Action: draft-irtf-cfrg-gcmsiv-02.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Aug 2016 15:37:19 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Crypto Forum of the IETF.

        Title           : AES-GCM-SIV: Nonce Misuse-Resistant Authenticated Encryption
        Authors         : Shay Gueron
                          Adam Langley
                          Yehuda Lindell
	Filename        : draft-irtf-cfrg-gcmsiv-02.txt
	Pages           : 89
	Date            : 2016-08-29

Abstract:
   This memo specifies two authenticated encryption algorithms that are
   nonce misuse-resistant - that is that they do not fail
   catastrophically if a nonce is repeated.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-irtf-cfrg-gcmsiv/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-irtf-cfrg-gcmsiv-02

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-irtf-cfrg-gcmsiv-02


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Mon Aug 29 08:37:51 2016
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cfrg@ietf.org
Delivered-To: cfrg@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id A740612D795; Mon, 29 Aug 2016 08:37:49 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.31.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <147248506967.19053.9380523909896503813.idtracker@ietfa.amsl.com>
Date: Mon, 29 Aug 2016 08:37:49 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/PDwjAwrIESutz-JWaCfM_Ar0hyA>
Cc: cfrg@ietf.org
Subject: [Cfrg] I-D Action: draft-irtf-cfrg-pake-reqs-06.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Aug 2016 15:37:50 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Crypto Forum of the IETF.

        Title           : Requirements for PAKE schemes
        Author          : Joern-Marc Schmidt
	Filename        : draft-irtf-cfrg-pake-reqs-06.txt
	Pages           : 11
	Date            : 2016-08-29

Abstract:
   Password-Authenticated Key Agreement (PAKE) schemes are interactive
   protocols that allow the participants to authenticate each other and
   derive shared cryptographic keys using a (weaker) shared password.
   This document reviews different types of PAKE schemes.  Furthermore,
   it presents requirements and gives recommendations to designers of
   new schemes.  It is a product of the Crypto Forum Research Group
   (CFRG).


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-irtf-cfrg-pake-reqs/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-irtf-cfrg-pake-reqs-06

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-irtf-cfrg-pake-reqs-06


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Mon Aug 29 08:40:22 2016
Return-Path: <alangley@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB95712D79D; Mon, 29 Aug 2016 08:40:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 jaelpNpCGHSB; Mon, 29 Aug 2016 08:40:18 -0700 (PDT)
Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::235]) (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 358C312D5F2; Mon, 29 Aug 2016 08:40:18 -0700 (PDT)
Received: by mail-qk0-x235.google.com with SMTP id z190so141656829qkc.0; Mon, 29 Aug 2016 08:40:18 -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:from:date:message-id :subject:to:cc; bh=XNN5lmjs9Vv/iK2RzkZngA4mY/RO70JCK7E9KHUNnsY=; b=fIi73RqNyvMOVjynLBjY2x6yrqx5GuctF/MHNNBRssDt8JY8zayEkmwSzxRgGkLCVY I1WBjmyQeORlAByoIqDnVeP0p3Q7Xn+3OyX/2YSuxgobR1U42cYUxzsf5UDkdeBwJZer LfPKyqMRmGPCUafjCa5KNeiWOw5jZkEobdQTpEsT5a+CTBsz0fs1zN71CLBIRbStKQO3 DglUjW0CSRpIi4YKiij4Xs+4WW9MtoIyXYQifkzPQT4cqBuP/sJNwqDs15crBjjzZEyd cSlH5St+Sg6+dlUlvlRA8rWx9eI+xH4mpN8GIbpiVqb6gYITvk40a6xuputKdqbuW4C0 zCZA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=XNN5lmjs9Vv/iK2RzkZngA4mY/RO70JCK7E9KHUNnsY=; b=mpuFZbgRigKmhSiL0NBWufi85JueDF/J4vfRaEaFY3sbkrT7nA2G44JaSAhaaC3BaG Nq2ZgRoq5TzUH2g0H3pXJxR8B0U0pDb8TAIisqFy3g/rEYiKvrqDXHVMq/Dcoget0D5H VyNUbSaYqCdL0okRpikoAz995fc+hdrDqbGBPe7NnoJXuwW74UMUYPjTSWnADjZq00TN L1PTc/Bsf/w186yXUSsS5+MWMONXpGlOVAvgUwsCAmrp1NJ5SxIzFvtxTltbsJHY4e98 ZKU0bQN4m/8nb2uKPcdjto5Q7Y1eGWxVoKMqLbZRSNrasy/9eRcg2FKFAAlE0vzTQvU4 RFZw==
X-Gm-Message-State: AE9vXwP30dy1glu3OiynCQyuqWfDrxDZiDiulJC3i09PCoKjpFGk78kCiURU7uIzQegE7nWy4QRfZrrivkXNFw==
X-Received: by 10.55.156.135 with SMTP id f129mr19213703qke.155.1472485217142;  Mon, 29 Aug 2016 08:40:17 -0700 (PDT)
MIME-Version: 1.0
Sender: alangley@gmail.com
Received: by 10.200.36.199 with HTTP; Mon, 29 Aug 2016 08:40:16 -0700 (PDT)
In-Reply-To: <147248503934.19073.2852863561765850922.idtracker@ietfa.amsl.com>
References: <147248503934.19073.2852863561765850922.idtracker@ietfa.amsl.com>
From: Adam Langley <agl@imperialviolet.org>
Date: Mon, 29 Aug 2016 08:40:16 -0700
X-Google-Sender-Auth: V67-N9EMAbCU1mxMm_ifeDtzoBs
Message-ID: <CAMfhd9XmW2Bgo8bYw_xA61NO0x4qKx7+_Qv=vBsnQYK0GdcdaA@mail.gmail.com>
To: internet-drafts@ietf.org
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/izTUIUVWB70srUdSBSb1POpVrpA>
Cc: cfrg@ietf.org, i-d-announce@ietf.org
Subject: Re: [Cfrg] I-D Action: draft-irtf-cfrg-gcmsiv-02.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Aug 2016 15:40:21 -0000

On Mon, Aug 29, 2016 at 8:37 AM, <internet-drafts@ietf.org> wrote:
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the Crypto Forum of the IETF.

Dear all,

We have just published an updated version of the AES-GCM-SIV draft.
The major change in this update is the use of nonce-specific POLYVAL
keys. Previous versions of GCM-SIV did not do this and, instead, used
part of the AEAD's key as the POLYVAL key. Bleichenbacher pointed out
(https://mailarchive.ietf.org/arch/msg/cfrg/qgh-Yxmj7CC7cq2YZLpmfGA3x-o)
that this allowed some unexpected behavior if AES-GCM-SIV is used
under the assumption that the additional data is confidential. In such
a case, an attacker who controls the AEAD key can force the POLYVAL
key to be zero. If a user uses this AEAD to authenticate messages
based on a secret additional-data value, then this would be insecure,
as the attacker could calculate a valid authenticator without knowing
the input. This does not violate the standard properties of an AEAD,
as the additional data is not assumed to be confidential. However, it
demonstrates that AES-GCM-SIV is not a drop-in replacement to AES-GCM
in this scenario. We want the AES-GCM-SIV AEADs to be robust to
plausible misuse and also to be drop-in replacements for AES-GCM, and
therefore derive nonce-specific POLYVAL keys to avoid this issue.

The source code implementations of AES-GCM-SIV are updated in
https://github.com/Shay-Gueron/AES-GCM-SIV.


Shay, Yehuda and Adam


From nobody Mon Aug 29 10:03:59 2016
Return-Path: <davemgarrett@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9E67D12D5F2 for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 10:03:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 GFtHXblfKoDk for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 10:03:53 -0700 (PDT)
Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::230]) (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 1368412D500 for <cfrg@irtf.org>; Mon, 29 Aug 2016 10:03:53 -0700 (PDT)
Received: by mail-qk0-x230.google.com with SMTP id z190so144243540qkc.0 for <cfrg@irtf.org>; Mon, 29 Aug 2016 10:03:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-transfer-encoding:message-id; bh=p84lw8XM4/W58vlvYbcvxxT5BFiQVg5H5AEefrc1pv8=; b=IBeKjTHQ+R9S2AmxKhIbM7gFK5qukioYTH+8O0XXgYa1jtgNS6LTU1Pe7iP3XGr5/O dazYRvLd/cyrwsMuVJwhplO4nTPTCIQ7mIX2rbfd1+rzC3pvxceKuyu2+EURpbACqIJG q1sQ18QdD5CfRcn3QOff+85qalw7hYpaGRCOTGngeefvjuX517pisN0uA6ec9zF5Xj4u YHmxzzIchIqUV7gH17+ZK+zCiLGfbE5gwqsPe5+xGXW4g2rHnzLL3SoNDYtAW5/oxQcR W44D69LdPbw4Q51Ah5ToyPmgYBFQjQpM/7QTqDp4the3gnhwfwy2uiWbOfY+Ya5kFaJ7 MLFw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-transfer-encoding:message-id; bh=p84lw8XM4/W58vlvYbcvxxT5BFiQVg5H5AEefrc1pv8=; b=GYSBjjUz6F2MihEIbqrH7l4Xyz6ckf4xoauNs6Li6IeiAjnC2wHu4Q0NjxOEUvSbE7 YeEP2/YukFgZsKyrJTOHWMPb6amvZpnZwthASW8RYXE7jp9msfjE31BMlWg+1IJt0pBg TtxE3rpuMlxj2bpDqyaSV341kYhXZAlqPEYXUI0pEF63yFi3mQruKo+f7why7Urez1Uh NFDBl2iQoX0wwjuHUOUD/oVcQh464510b/nMLY21aYT9jHfSjcf8Z7ELYV2xXcNggf9B tlRjGBxAyobDRCYyC7vhvYek1pjrVLETqCJtCe7nQ7Exh9+oqUDVtpRWc+K6l893wWGC 2Uzg==
X-Gm-Message-State: AE9vXwPHPTnH0wWFdzrJ+4QV77Axk2lYJHtkfZe4NP+WFo+MmjpPdMFtLiE+vzXxm5kGJw==
X-Received: by 10.55.41.86 with SMTP id p83mr20307841qkh.93.1472490227194; Mon, 29 Aug 2016 10:03:47 -0700 (PDT)
Received: from dave-laptop.localnet (pool-71-185-27-22.phlapa.fios.verizon.net. [71.185.27.22]) by smtp.gmail.com with ESMTPSA id v68sm19054502qkd.9.2016.08.29.10.03.46 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 29 Aug 2016 10:03:46 -0700 (PDT)
From: Dave Garrett <davemgarrett@gmail.com>
To: tls@ietf.org
Date: Mon, 29 Aug 2016 13:03:45 -0400
User-Agent: KMail/1.13.5 (Linux/2.6.32-74-generic-pae; KDE/4.4.5; i686; ; )
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <57C43102.7090902@secworks.se> <b1956113-b21a-f995-2e35-3011eb76ce8a@gmail.com>
In-Reply-To: <b1956113-b21a-f995-2e35-3011eb76ce8a@gmail.com>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Message-Id: <201608291303.45728.davemgarrett@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/lDIe7lynPjsKBck4EQGj_hCgLzg>
Cc: "David McGrew \(mcgrew\)" <mcgrew@cisco.com>, "cfrg@irtf.org" <cfrg@irtf.org>, Joachim =?utf-8?q?Str=C3=B6mbergson?= <joachim@secworks.se>
Subject: Re: [Cfrg] [TLS] (confusing the issues) Re:   3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Aug 2016 17:03:54 -0000

Within this line of thought, an unlimited-key-use-diediedie would have far =
more value. An RFC precisely defining a set of key data limits would addres=
s both this 3DES issue as well as AES and any other cipher. As cited on htt=
ps://sweet32.info/ , data limits is a primary way Mozilla is dealing with t=
his attack.


Dave


On Monday, August 29, 2016 09:26:18 am Rene Struik wrote:
> I think it is a mistake to think that simply using block ciphers with a=20
> larger block size is enough to counter attacks, as the literature on=20
> successful side channel attacks on such block cipher demonstrates. The=20
> real message is that one should not reuse keys ad infinitum, which=20
> unfortunately seems hard to sink in.
>=20
> Singling out 3-DES in this respect does not seem to tackle the real=20
> issue (which is a system security issue often only paid lip service to=20
> in practice).
>=20
> Rene
>=20
> On 8/29/2016 8:56 AM, Joachim Str=C3=B6mbergson wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> >
> > Aloha!
> >
> > As a side note, there has been a bunch of lightweight block ciphers
> > suggested the last few years, most of them with a block size of 64 bits.
> > And there has been discussion on IETF maillists about IETF accepting
> > them. For example the SIMON and SPECK ciphers. These ciphers can have
> > block sizes as small as 32 bits.
> >
> > https://www.cryptolux.org/images/a/a0/Beaulieu-DAC2015.pdf
> > https://eprint.iacr.org/2015/209.pdf
> >
> > Yours
> > JoachimS
> >
> >
> >
> > David McGrew (mcgrew) wrote:
> >> Hi Peter,
> >>
> >> You make a bunch of good points.   But it is also worth noting that
> >> some people feel that current crypto standards, including IETF
> >> standards, are suitable for IoT.   See for instance slides 8 and 9 of
> >> Daniel Shumow's talk at NIST=E2=80=99s LWC workshop last year:
> >> http://csrc.nist.gov/groups/ST/lwc-workshop2015/presentations/session4=
=2Dshumow.pdf
> >> Also, CoAP isn=E2=80=99t on his list, but it could be, and it uses DTL=
S.   So
> >> while I agree with you that overuse of a 64-bit block cipher is far
> >> from the biggest security concern for IoT, the IETF should expect its
> >> protocols to be used in some IoT scenarios.
> >>
> >> The malleability of the term IoT is causing trouble here.   Slide 6
> >> of Daniel=E2=80=99s talk is quite revealing.  To my thinking, by defin=
ition
> >> IoT devices are connected to the Internet in some way.
> >>
> >> David
> >>
> >>
> >>
> >> On 8/28/16, 8:01 AM, "Peter Gutmann" <pgut001@cs.auckland.ac.nz>
> >> wrote:
> >>
> >>> David McGrew (mcgrew) <mcgrew@cisco.com> writes:
> >>>
> >>>> I don=E2=80=99t think you understood my point. IoT is about small de=
vices
> >>>> connecting to the Internet, and IETF standards should expect
> >>>> designed-for-IoT crypto to be increasingly in scope.  It is
> >>>> important to not forget about these devices, amidst the current
> >>>> attention being paid to misuses of 64-bit block ciphers, which
> >>>> was the ultimate cause of this mail thread.
> >>> But the IETF has a long history of creating standards that
> >>> completely ignore IoT.  I can't think of a single general-purpose
> >>> IETF security standard (TLS, SSH, IPsec, etc) that has any hope of
> >>> working with IoT devices (say a 40Mhz ARM-core ASIC with 32kB RAM
> >>> and 64kB flash).  This is why the ITU/IEC and a million
> >>> lesser-known standards bodies are all busy inventing their own
> >>> exquisitely homebrew crypto protocols, most of which make WEP look
> >>> like a model of good design.
> >>>
> >>> (I've always wanted to sit down and design a generic "encrypted
> >>> pipe from A to B using minimal resources" spec, and I'm sure many
> >>> other people have had the same thought at one time or another).
> >>>
> >>> So it seems like you've got:
> >>>
> >>> - The "TLS =3D the web" crowd (browser vendors and the like) who will
> >>> implement whatever's trendy at the moment and assume everyone has a
> >>> quad-core 2GHz CPU with gigabytes of RAM and access to weekly live
> >>> updates and hotfixes.
> >>>
> >>> - Embedded/SCADA folks who need to deal with 10-15 year product
> >>> cycles (see my TLS-LTS draft for more on this) and are kind of
> >>> stuck.
> >>>
> >>> - IoT people, who can't use any standard protocol and will get the
> >>> least unqualified person on staff to invent something that seems OK
> >>> to them.
> >>>
> >>> I'm not sure that a draft on theoretical weaknesses in 64-bit block
> >>> ciphers is going to affect any of those...


From nobody Mon Aug 29 14:47:12 2016
Return-Path: <jon@callas.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EC14312D8A3 for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 14:46:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 rmVpHWjMlYsH for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 14:46:58 -0700 (PDT)
Received: from mail.merrymeet.com (merrymeet.com [173.164.244.100]) by ietfa.amsl.com (Postfix) with ESMTP id 4E97912B056 for <cfrg@irtf.org>; Mon, 29 Aug 2016 14:46:58 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.merrymeet.com (Postfix) with ESMTP id 63FE6A14A693 for <cfrg@irtf.org>; Mon, 29 Aug 2016 14:46:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at merrymeet.com
Received: from mail.merrymeet.com ([127.0.0.1]) by localhost (merrymeet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wsYy5C4lahT6 for <cfrg@irtf.org>; Mon, 29 Aug 2016 14:46:49 -0700 (PDT)
Received: from keys.merrymeet.com (keys.merrymeet.com [173.164.244.97]) by mail.merrymeet.com (Postfix) with ESMTPSA id EF7D1A14A682 for <cfrg@irtf.org>; Mon, 29 Aug 2016 14:46:49 -0700 (PDT)
Received: from [10.119.8.127] ([173.245.83.244]) by keys.merrymeet.com (PGP Universal service); Mon, 29 Aug 2016 14:46:49 -0700
X-PGP-Universal: processed; by keys.merrymeet.com on Mon, 29 Aug 2016 14:46:49 -0700
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Jon Callas <jon@callas.org>
In-Reply-To: <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com>
Date: Mon, 29 Aug 2016 14:46:47 -0700
Message-Id: <89A46793-73A1-4C71-9954-37BF6ED6F297@callas.org>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz> <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>
X-Mailer: Apple Mail (2.3124)
X-PGP-Encoding-Format: Partitioned
X-PGP-Encoding-Version: 2.0.2
X-Content-PGP-Universal-Saved-Content-Transfer-Encoding: quoted-printable
X-Content-PGP-Universal-Saved-Content-Type: text/plain; charset=utf-8
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: QUOTED-PRINTABLE
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/qk3WjBPn2GBKZq5vq5EaDC0EwQo>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, Jon Callas <jon@callas.org>, "<tls@ietf.org>" <tls@ietf.org>, Peter Gutmann <pgut001@cs.auckland.ac.nz>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Aug 2016 21:47:00 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


> On Aug 29, 2016, at 5:44 AM, David McGrew (mcgrew) <mcgrew@cisco.com> wro=
te:
>=20
> Hi Peter,
>=20
> You make a bunch of good points.   But it is also worth noting that some =
people feel that current crypto standards, including IETF standards, are su=
itable for IoT.   See for instance slides 8 and 9 of Daniel Shumow's talk a=
t NIST=E2=80=99s LWC workshop last year: http://csrc.nist.gov/groups/ST/lwc=
-workshop2015/presentations/session4-shumow.pdf   Also, CoAP isn=E2=80=99t =
on his list, but it could be, and it uses DTLS.   So while I agree with you=
 that overuse of a 64-bit block cipher is far from the biggest security con=
cern for IoT, the IETF should expect its protocols to be used in some IoT s=
cenarios. =20
>=20
> The malleability of the term IoT is causing trouble here.   Slide 6 of Da=
niel=E2=80=99s talk is quite revealing.  To my thinking, by definition IoT =
devices are connected to the Internet in some way.

Definitely. But to quote Shumow's talk on Slide 10 (which has the title "Io=
T Does Not Need Its Own Crypto Standards"):

=E2=80=A2 Current cryptographic standards work for IoT
	=E2=80=A2 Current standards are not a limit on IoT performance.
	=E2=80=A2 Perspective: Common IoT platforms are approximately as=20
	  powerful as PCs from 15 years ago when AES was standardized.

And on Slide 11:

=E2=80=A2 Adding new standards can be problematic:
	=E2=80=A2 New standards, especially with lower key sizes could be=20
	  used in scenarios where they aren=E2=80=99t intended.

	Example: Standardizing ECC over 160bit prime for an RFID
	  card and it ends up being used for https; block cipher
	  with 80bit key space ends up being used to encrypt hard
	  drives.

His conclusion (slide 13) says that we don't need Lightweight Crypto in sof=
tware, but admits there are some hardware places (like RFID) for it.

And that gets to Peter's basic, good points. While Peter is being brash, hi=
s larger point is the same point as Shumow's, that we should just be using =
our existing toolbox and that even *that* has too many choices. The AllJoyn=
 suite, which is the most stripped down, is brilliantly simple: RSA, ECDSA/=
ECDHE P256, and AES-CCM. You can quibble with it, but it's to the point. (M=
y quibbles would be to toss RSA and Curve 41417 instead because it has an A=
RM NEON implementation that's as fast as P-160. But those are quibbles.)

Folding back up to the subject here -- AES is faster than DES. That is one =
of the reasons it was selected as AES. (So are Twofish and Serpent.) We nee=
d to toss all 64-bit block ciphers. They were okay way back in the 1900s. I=
t is no longer then. AES is cheap and getting cheaper. We don't need to pat=
ch up any of those old ciphers with meshing or what. We just need to use wh=
at's in our toolbox. 3DES needs to go solely because it's a patch on DES th=
at needs to be patched for its small block size. I know it's boring to just=
 use AES, but it meets all the goals.

	Jon



-----BEGIN PGP SIGNATURE-----
Version: PGP Universal 3.3.0 (Build 9060)
Charset: utf-8

wsBVAwUBV8StSfaTaG6hZJn9AQiJUgf+OyN1plOyUMtTU7pHGsgTxoqCJYq8b6tY
+g4j/zRLTspNi4E5CzGnRXGx20E0EhklUG3BbxrsaefK1wxDOpypWjEUF8SwVR/E
v+1zimy+ZVzrBw/cdJUl7yWaDYGkmqwd3oPogzzrwzlg/3Vdpbi+Ha9RbsyMIbht
oP8NVAy5rJwCwHhiLt/CcDeeotp36VviBMq0SiHpC4KygfeSMTAjC4WbsXLjnMKh
lHiA3FbpITm04Ry/eFALtzKGCMswzTFGzZEOXcP9SBn54X19D70ZJS1/DfyJvk6G
+fK+aFhhHUEM4JFCbUmjKAjkC10PpRjBn6wZ4Qqh1fo3EEyR9D1JyQ=3D=3D
=3DiAY7
-----END PGP SIGNATURE-----


From nobody Mon Aug 29 14:48:49 2016
Return-Path: <jon@callas.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C8157126FDC for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 14:48:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 Xv5dI4Qw5FYW for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 14:48:43 -0700 (PDT)
Received: from mail.merrymeet.com (merrymeet.com [173.164.244.100]) by ietfa.amsl.com (Postfix) with ESMTP id 0273E12D74E for <cfrg@irtf.org>; Mon, 29 Aug 2016 14:48:43 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.merrymeet.com (Postfix) with ESMTP id BB599A14A771 for <cfrg@irtf.org>; Mon, 29 Aug 2016 14:48:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at merrymeet.com
Received: from mail.merrymeet.com ([127.0.0.1]) by localhost (merrymeet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9ph1dxhcz8qS for <cfrg@irtf.org>; Mon, 29 Aug 2016 14:48:42 -0700 (PDT)
Received: from keys.merrymeet.com (keys.merrymeet.com [173.164.244.97]) by mail.merrymeet.com (Postfix) with ESMTPSA id 82968A14A763 for <cfrg@irtf.org>; Mon, 29 Aug 2016 14:48:42 -0700 (PDT)
Received: from [10.119.8.127] ([173.245.83.244]) by keys.merrymeet.com (PGP Universal service); Mon, 29 Aug 2016 14:48:42 -0700
X-PGP-Universal: processed; by keys.merrymeet.com on Mon, 29 Aug 2016 14:48:42 -0700
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Jon Callas <jon@callas.org>
In-Reply-To: <b1956113-b21a-f995-2e35-3011eb76ce8a@gmail.com>
Date: Mon, 29 Aug 2016 14:48:40 -0700
Message-Id: <8699AC5D-AD51-4287-A302-55CF9549A7FC@callas.org>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz> <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com> <57C43102.7090902@secworks.se> <b1956113-b21a-f995-2e35-3011eb76ce8a@gmail.com>
To: Rene Struik <rstruik.ext@gmail.com>
X-Mailer: Apple Mail (2.3124)
X-PGP-Encoding-Format: Partitioned
X-PGP-Encoding-Version: 2.0.2
X-Content-PGP-Universal-Saved-Content-Transfer-Encoding: quoted-printable
X-Content-PGP-Universal-Saved-Content-Type: text/plain; charset=us-ascii
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: QUOTED-PRINTABLE
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/SUuLDg0wTvjR7H46oNyEtyGVdno>
Cc: "<tls@ietf.org>" <tls@ietf.org>, "David McGrew \(mcgrew\)" <mcgrew@cisco.com>, "cfrg@irtf.org" <cfrg@irtf.org>, Jon Callas <jon@callas.org>, =?utf-8?Q?Joachim_Str=C3=B6mbergson?= <joachim@secworks.se>
Subject: Re: [Cfrg] (confusing the issues) Re: [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Aug 2016 21:48:45 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


> On Aug 29, 2016, at 6:26 AM, Rene Struik <rstruik.ext@gmail.com> wrote:
>=20
> I think it is a mistake to think that simply using block ciphers with a l=
arger block size is enough to counter attacks, as the literature on success=
ful side channel attacks on such block cipher demonstrates. The real messag=
e is that one should not reuse keys ad infinitum, which unfortunately seems=
 hard to sink in.
>=20
> Singling out 3-DES in this respect does not seem to tackle the real issue=
 (which is a system security issue often only paid lip service to in practi=
ce).

Yes, we should just stop using 64-bit block ciphers and deal with the issue=
s you mention within the context of larger blocks.

	Jon


-----BEGIN PGP SIGNATURE-----
Version: PGP Universal 3.3.0 (Build 9060)
Charset: us-ascii

wsBVAwUBV8StuvaTaG6hZJn9AQgj8ggAp2blg/l0mVec9HtL6wSWIGcPAxxQzBEI
NIelh/3aS0Q4pwEHRXQgpUPefObhJTND++fpj33VcFoYjRwgR2RixM4ZJr4q76+l
NH9SwTGalA60daP57IzHUFfnBR00KhLEolETyac27MEj9TYrjKMlTAPglt0tRkuS
3h/xHHtHgZHsY25m94X/ffSmsc27Cfw4Yxi+J1yjQvDeIgtzU8dqumJDmrBLuZbv
1x00W/4KNUWGtvkrXQ80SczV+JAm5N+gG0Nwzm5L0mc9vVDVoXQVnro6G4JjzQ5k
Yn4SkPlL/1+5RSyy6ZJBRQV8/IMXKN9a/OZlpK5sepiQqntf62Qd2g=3D=3D
=3D/rlY
-----END PGP SIGNATURE-----


From nobody Mon Aug 29 18:21:54 2016
Return-Path: <smb@cs.columbia.edu>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2A03112B063; Mon, 29 Aug 2016 18:21:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.768
X-Spam-Level: 
X-Spam-Status: No, score=-4.768 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.548] autolearn=ham autolearn_force=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 p-6cfQQRXZel; Mon, 29 Aug 2016 18:21:51 -0700 (PDT)
Received: from millet.cc.columbia.edu (millet.cc.columbia.edu [128.59.72.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 14F7D12B05E; Mon, 29 Aug 2016 18:21:51 -0700 (PDT)
Received: from hazelnut (hazelnut.cc.columbia.edu [128.59.213.250]) by millet.cc.columbia.edu (8.13.8/8.13.8) with ESMTP id u7U1K42x015563; Mon, 29 Aug 2016 21:21:40 -0400
Received: from hazelnut (localhost.localdomain [127.0.0.1]) by hazelnut (Postfix) with ESMTP id 46E1C6D; Mon, 29 Aug 2016 21:21:40 -0400 (EDT)
Received: from sendprodmail03.cc.columbia.edu (sendprodmail03.cc.columbia.edu [128.59.72.15]) by hazelnut (Postfix) with ESMTP id 254BE6D; Mon, 29 Aug 2016 21:21:40 -0400 (EDT)
Received: from [192.168.2.25] (smb-gw.apt.columbia.edu [128.59.107.140]) (user=smb2132 mech=PLAIN bits=0) by sendprodmail03.cc.columbia.edu (8.14.4/8.14.4) with ESMTP id u7U1LdYW018785 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 Aug 2016 21:21:39 -0400
From: "Steven M. Bellovin" <smb@cs.columbia.edu>
To: "Jon Callas" <jon@callas.org>
Date: Mon, 29 Aug 2016 21:21:38 -0400
Message-ID: <5CF32AA8-59CC-4918-8951-A2ACBD233C19@cs.columbia.edu>
In-Reply-To: <89A46793-73A1-4C71-9954-37BF6ED6F297@callas.org>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz> <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com> <89A46793-73A1-4C71-9954-37BF6ED6F297@callas.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Mailer: MailMate (2.0BETAr6052)
X-No-Spam-Score: Local
X-Scanned-By: MIMEDefang 2.78 on 128.59.72.15
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/t_0VeH8rA8-qwlqYTcE5B0CYklg>
Cc: David McGrew <mcgrew@cisco.com>, "cfrg@irtf.org" <cfrg@irtf.org>, tls@ietf.org, Peter Gutmann <pgut001@cs.auckland.ac.nz>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Aug 2016 01:21:53 -0000

On 29 Aug 2016, at 17:46, Jon Callas wrote:

>
>> On Aug 29, 2016, at 5:44 AM, David McGrew (mcgrew) <mcgrew@cisco.com> =

>> wrote:
>>
>> Hi Peter,
>>
>> You make a bunch of good points.   But it is also worth noting that =

>> some people feel that current crypto standards, including IETF =

>> standards, are suitable for IoT.   See for instance slides 8 and 9 of =

>> Daniel Shumow's talk at NIST=E2=80=99s LWC workshop last year: =

>> http://csrc.nist.gov/groups/ST/lwc-workshop2015/presentations/session4=
-shumow.pdf =

>>   Also, CoAP isn=E2=80=99t on his list, but it could be, and it uses D=
TLS.  =

>>  So while I agree with you that overuse of a 64-bit block cipher is =

>> far from the biggest security concern for IoT, the IETF should expect =

>> its protocols to be used in some IoT scenarios.
>>
>> The malleability of the term IoT is causing trouble here.   Slide 6 =

>> of Daniel=E2=80=99s talk is quite revealing.  To my thinking, by defin=
ition =

>> IoT devices are connected to the Internet in some way.
>
> Definitely. But to quote Shumow's talk on Slide 10 (which has the =

> title "IoT Does Not Need Its Own Crypto Standards"):
>
> =E2=80=A2 Current cryptographic standards work for IoT
> 	=E2=80=A2 Current standards are not a limit on IoT performance.
> 	=E2=80=A2 Perspective: Common IoT platforms are approximately as
> 	  powerful as PCs from 15 years ago when AES was standardized.
>
> And on Slide 11:
>
> =E2=80=A2 Adding new standards can be problematic:
> 	=E2=80=A2 New standards, especially with lower key sizes could be
> 	  used in scenarios where they aren=E2=80=99t intended.
>
> 	Example: Standardizing ECC over 160bit prime for an RFID
> 	  card and it ends up being used for https; block cipher
> 	  with 80bit key space ends up being used to encrypt hard
> 	  drives.
>
> His conclusion (slide 13) says that we don't need Lightweight Crypto =

> in software, but admits there are some hardware places (like RFID) for =

> it.
>
> And that gets to Peter's basic, good points. While Peter is being =

> brash, his larger point is the same point as Shumow's, that we should =

> just be using our existing toolbox and that even *that* has too many =

> choices. The AllJoyn suite, which is the most stripped down, is =

> brilliantly simple: RSA, ECDSA/ECDHE P256, and AES-CCM. You can =

> quibble with it, but it's to the point. (My quibbles would be to toss =

> RSA and Curve 41417 instead because it has an ARM NEON implementation =

> that's as fast as P-160. But those are quibbles.)
>
> Folding back up to the subject here -- AES is faster than DES. That is =

> one of the reasons it was selected as AES. (So are Twofish and =

> Serpent.) We need to toss all 64-bit block ciphers. They were okay way =

> back in the 1900s. It is no longer then. AES is cheap and getting =

> cheaper. We don't need to patch up any of those old ciphers with =

> meshing or what. We just need to use what's in our toolbox. 3DES needs =

> to go solely because it's a patch on DES that needs to be patched for =

> its small block size. I know it's boring to just use AES, but it meets =

> all the goals.

Yes.  To a large extent, the "IoT devices are too puny for real crypto" =

is a hangover from several years ago. It was once true; for the most =

part, it isn't today, but people haven't flushed their cache from the =

old received wisdom.

It pays to look again at David Wagner's slides from 2005, on sensor nets =

and crypto: https://people.eecs.berkeley.edu/~daw/talks/sens-oak05.pdf


         --Steve Bellovin, https://www.cs.columbia.edu/~smb



From nobody Mon Aug 29 18:32:11 2016
Return-Path: <rstruik.ext@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A5F2012B02F for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 18:32:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 6keknQmZWFNN for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 18:32:05 -0700 (PDT)
Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::22a]) (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 C8EBB12B019 for <cfrg@irtf.org>; Mon, 29 Aug 2016 18:32:04 -0700 (PDT)
Received: by mail-qt0-x22a.google.com with SMTP id u25so2491909qtb.1 for <cfrg@irtf.org>; Mon, 29 Aug 2016 18:32:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=qBb/WbPCtjnAjNY0L+lrfvtMjbt7AVY9ZqbL3nZGZXw=; b=JLB0m0pwh7/mdmU9Pp4ru+S5T1Z5jUcECnDylUq/ukR9Pcw/x7Wxc9rOYS3Lht5Fvd vte/LCIZCgBu/fMJ+fOP9doUmnxIs9pcc8qgRqzUXNDvNjP+O0rbgWUFOKNjfzfGQIzG lxWaHUkA3v5mE5Pdgij/c5U3YMmLcnLWauTE+7VhlPWjeL9bNk2C13Tqz2CJ6FwPDxX8 T6TFBD50u6lpNf6XCV5sLWwPCd9TcXD/rrEU/NzQLiEFMqkStPeyW4+Pzs4VeeqFF62m x6SRoJ92nH0BFpe65tAytYKxumNngYV2zQV9VZcTb3sO3IRHDhDjq0RiTNzKPMtq455r Vcfg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=qBb/WbPCtjnAjNY0L+lrfvtMjbt7AVY9ZqbL3nZGZXw=; b=ABeMnvT+T9ckP8+sR1vr2BWnTmKpf2KhSB2wyJ8Ar14xvGrO/JPcBuaxYOkNGL29uW YwHa9geSDi/zp2bdtqOD9DMlQhViLb3I+P9METUvmGYpjSKLOyN5LRkCjxN4c2kyyl3q 4+QbBOdxsQKr4h/TH01al8jYZjgYb2jlrj7Pt8wpARLVGqZhz9eAD8g0vNfDirWGOTlc Hl4G7sxe6Uk9BIPFyPOMacrtquQIowOowzL1qsH46et4rKI1ADtZcyS2v1Ju+d05rhcG ggsZYtQK7kThYm7jIt6Q9uSsGCqAib5jq8G8Xny1F3DrIGk2VIUImwM//oLgqSNqdtPO qxtQ==
X-Gm-Message-State: AE9vXwO1hIstXwUAjOcOPMMw91NjuIIyHAlOW1fokY0+c6c3FhA8N6a9tiRVLTs/ZznPUA==
X-Received: by 10.237.33.111 with SMTP id 102mr1226633qtc.56.1472520723952; Mon, 29 Aug 2016 18:32:03 -0700 (PDT)
Received: from [192.168.0.14] (CPE7cb21b2cb904-CM7cb21b2cb901.cpe.net.cable.rogers.com. [174.112.186.144]) by smtp.gmail.com with ESMTPSA id m4sm20222969qkf.29.2016.08.29.18.32.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Aug 2016 18:32:03 -0700 (PDT)
To: Jon Callas <jon@callas.org>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz> <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com> <57C43102.7090902@secworks.se> <b1956113-b21a-f995-2e35-3011eb76ce8a@gmail.com> <8699AC5D-AD51-4287-A302-55CF9549A7FC@callas.org>
From: Rene Struik <rstruik.ext@gmail.com>
Message-ID: <7f01301d-f96f-9b99-7841-e43b5a2d12ea@gmail.com>
Date: Mon, 29 Aug 2016 21:31:47 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <8699AC5D-AD51-4287-A302-55CF9549A7FC@callas.org>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/XlfaDrbAhxdjGE9nHlswtM0vUAI>
Cc: "David McGrew \(mcgrew\)" <mcgrew@cisco.com>, "cfrg@irtf.org" <cfrg@irtf.org>, =?UTF-8?Q?Joachim_Str=c3=b6mbergson?= <joachim@secworks.se>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] (confusing the issues) Re: [TLS] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Aug 2016 01:32:07 -0000

My argument was aimed at focusing on the real topic at hand, not at 
mixing this with "religious" beliefs as ditching ciphers without clear 
justification (no matter how ancient 3-DES may be [I was in elementary 
school then]).

I think it is unwise thinking too lightly about writing IETF drafts with 
"die-die-die" in the title, just because one feels like it, in an almost 
context-free manner. Or, is the idea to launch an entire series of 
die-die-die drafts, because one finds some excuse to do so? I cannot 
deny I also like shiny new things and we may all suffer from 
not-invented-here syndromes, but acknowledging this playing in the 
background of our perceptions should also give us some reason to pause 
and have some restraint here.

Rene

On 8/29/2016 5:48 PM, Jon Callas wrote:
>> On Aug 29, 2016, at 6:26 AM, Rene Struik <rstruik.ext@gmail.com> wrote:
>>
>> I think it is a mistake to think that simply using block ciphers with a larger block size is enough to counter attacks, as the literature on successful side channel attacks on such block cipher demonstrates. The real message is that one should not reuse keys ad infinitum, which unfortunately seems hard to sink in.
>>
>> Singling out 3-DES in this respect does not seem to tackle the real issue (which is a system security issue often only paid lip service to in practice).
> Yes, we should just stop using 64-bit block ciphers and deal with the issues you mention within the context of larger blocks.
>
> 	Jon
>


-- 
email: rstruik.ext@gmail.com | Skype: rstruik
cell: +1 (647) 867-5658 | US: +1 (415) 690-7363


From nobody Mon Aug 29 22:15:09 2016
Return-Path: <ggr@seer-grog.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9630A12D0F9 for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 22:15:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=seer-grog.net
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 ykv3ZMyDXxIP for <cfrg@ietfa.amsl.com>; Mon, 29 Aug 2016 22:15:06 -0700 (PDT)
Received: from homiemail-a75.g.dreamhost.com (sub3.mail.dreamhost.com [69.163.253.7]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 28ECC12D0C9 for <cfrg@irtf.org>; Mon, 29 Aug 2016 22:15:06 -0700 (PDT)
Received: from homiemail-a75.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a75.g.dreamhost.com (Postfix) with ESMTP id C4AC65EC07F; Mon, 29 Aug 2016 22:15:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=seer-grog.net; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s= seer-grog.net; bh=MfB3NY38M03RLbWndG8/S9Rc4m8=; b=24chl7vrpPfaZa w2ii+U8vQkj46sDL2OumlKLtn6jmao80I7BicCPw68CpTQvRVsdw0jn6osaI9Pus Qn6dCeCwSljct8m5kvG+4td4zM+lA26RY9PL3x4MDL4emFlARxWN+9nrUeIDcuVY H8btZM7zcT1m/OdfWP/gpIxqu6eSA=
Received: from [10.0.1.5] (cpe-76-167-195-197.san.res.rr.com [76.167.195.197]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: ggr@seer-grog.net) by homiemail-a75.g.dreamhost.com (Postfix) with ESMTPSA id 961C55EC079; Mon, 29 Aug 2016 22:15:05 -0700 (PDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Greg Rose <ggr@seer-grog.net>
In-Reply-To: <7f01301d-f96f-9b99-7841-e43b5a2d12ea@gmail.com>
Date: Mon, 29 Aug 2016 22:15:05 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <13E782F9-CAD4-4098-AE6F-3EDE7A0CD3CD@seer-grog.net>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz> <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com> <57C43102.7090902@secworks.se> <b1956113-b21a-f995-2e35-3011eb76ce8a@gmail.com> <8699AC5D-AD51-4287-A302-55CF9549A7FC@callas.org> <7f01301d-f96f-9b99-7841-e43b5a2d12ea@gmail.com>
To: Rene Struik <rstruik.ext@gmail.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/kUI1_-8GJ8M55VGBgY8nVauX_Eo>
Cc: Jon Callas <jon@callas.org>, "cfrg@irtf.org" <cfrg@irtf.org>, =?utf-8?Q?Joachim_Str=C3=B6mbergson?= <joachim@secworks.se>, "David McGrew \(mcgrew\)" <mcgrew@cisco.com>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] (confusing the issues) Re: [TLS] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Aug 2016 05:15:07 -0000

Rene, thanks for clarifying my thoughts on this. You're right, in one =
sense, piling on on the bandwagon is often counterproductive. I'm =
reminded of Dijkstra's article "goto statement considered harmful", in =
1968, which was cogent and important, but inspired any number of "XXX =
considered harmful" statements that weren't ...=20

But, if you're writing in C (which I think we mostly shouldn't be any =
more, but that's a different question), there's no practical alternative =
to using goto! Check this, then check that, then check the other =
thing... You can't maintain code that has this as one big "if" =
statement, and you won't get it right if there are 18 layers of nested =
"if" statements either.

But back to the original question: In my job I had to continually face =
the objection that "security [any form] was too expensive to implement". =
My personal breakthrough was understanding the legal concept of "burden =
of proof". Was it my job to prove that the security wasn't too =
expensive? Or was it the (non-security) people's job, in the face of the =
requirement for security (agreed by management), to prove that it WAS =
too expensive? I could at least argue that measuring the answer was =
cheaper than either (a) continuing to argue, or (b) implementing it. =
Guess what the answer was?

I believe that there's a place for 64-bit block ciphers, still. But I =
believe that there's a corresponding requirement that the analysis be =
done, and that provision for re-keying must be engineered in, before =
they can be used. The alternative, just go to 128-bit blocks, is =
sometimes cheaper, and sometimes easier, and sometimes both. But no =
handwaving is required... do the analysis!

Greg.

> On Aug 29, 2016, at 18:31 , Rene Struik <rstruik.ext@gmail.com> wrote:
>=20
> My argument was aimed at focusing on the real topic at hand, not at =
mixing this with "religious" beliefs as ditching ciphers without clear =
justification (no matter how ancient 3-DES may be [I was in elementary =
school then]).
>=20
> I think it is unwise thinking too lightly about writing IETF drafts =
with "die-die-die" in the title, just because one feels like it, in an =
almost context-free manner. Or, is the idea to launch an entire series =
of die-die-die drafts, because one finds some excuse to do so? I cannot =
deny I also like shiny new things and we may all suffer from =
not-invented-here syndromes, but acknowledging this playing in the =
background of our perceptions should also give us some reason to pause =
and have some restraint here.
>=20
> Rene
>=20
> On 8/29/2016 5:48 PM, Jon Callas wrote:
>>> On Aug 29, 2016, at 6:26 AM, Rene Struik <rstruik.ext@gmail.com> =
wrote:
>>>=20
>>> I think it is a mistake to think that simply using block ciphers =
with a larger block size is enough to counter attacks, as the literature =
on successful side channel attacks on such block cipher demonstrates. =
The real message is that one should not reuse keys ad infinitum, which =
unfortunately seems hard to sink in.
>>>=20
>>> Singling out 3-DES in this respect does not seem to tackle the real =
issue (which is a system security issue often only paid lip service to =
in practice).
>> Yes, we should just stop using 64-bit block ciphers and deal with the =
issues you mention within the context of larger blocks.
>>=20
>> 	Jon
>>=20
>=20
>=20
> --=20
> email: rstruik.ext@gmail.com | Skype: rstruik
> cell: +1 (647) 867-5658 | US: +1 (415) 690-7363
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


Phone:  +1 619 890 8236=20
GPG/PGP:  1081A37C  232B EC8F 44C6 C853 D68F  E107 E6BF CD2F 1081 A37C


From nobody Tue Aug 30 02:41:50 2016
Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4353012B024 for <cfrg@ietfa.amsl.com>; Tue, 30 Aug 2016 02:41:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.748
X-Spam-Level: 
X-Spam-Status: No, score=-4.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.548] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=auckland.ac.nz
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 koYq_xuSTOKV for <cfrg@ietfa.amsl.com>; Tue, 30 Aug 2016 02:41:42 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CF9D412B00F for <cfrg@irtf.org>; Tue, 30 Aug 2016 02:41:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1472550101; x=1504086101; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=8eJWKD/kJz+55GDSJ6UGR11LkR9Nofyo3urfHwh9s3Q=; b=r7YdFtAAPPiA95q3UNv9yZtHE/fSojrtTNmlK4535fQqrDOvQgeje60j HxGUEmPXLLR1lNuxxbqAbUuYGjLlHd2oDaq4WE74WQ9pZfewqnvJ1YvGe IjSfjHXHy154/7N8e+RDKcaV506i/e8hpxEJ+FEtk9jgRAg3wDD1oypYq lZ73sHBTi6iDM4kI4yMMo+rYWG0WDSAdWl+OU8tsNdiib6O62pl1ObPWa ynSRQxMAt4hC4OknXyjY4m/zgPf7cLH5VJYUKMVwFgpCsulNbaPsVjbqt 7jpxJhsrjoDuUmbAtwLq4hpx60/TOK1TCTW+upNNSO1Qvb1bKy/shOFs6 g==;
X-IronPort-AV: E=Sophos;i="5.30,255,1470657600"; d="scan'208";a="104041592"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.125 - Outgoing - Outgoing
Received: from uxchange10-fe3.uoa.auckland.ac.nz ([130.216.4.125]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES256-SHA; 30 Aug 2016 21:41:37 +1200
Received: from UXCN10-5.UoA.auckland.ac.nz ([169.254.5.93]) by uxchange10-fe3.UoA.auckland.ac.nz ([169.254.143.234]) with mapi id 14.03.0266.001; Tue, 30 Aug 2016 21:41:37 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>, Tony Arcieri <bascule@gmail.com>, "<tls@ietf.org>" <tls@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] 3DES diediedie
Thread-Index: AQHR/8MKtrFGWEVZoU+YIDla8GEE7aBcuoQ1//9AtgCAAkz7eYAA1VQAgAImRw0=
Date: Tue, 30 Aug 2016 09:41:36 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73F4D073D4@uxcn10-5.UoA.auckland.ac.nz>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz>, <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com>
In-Reply-To: <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.6.3.2]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/6dRZrNuX7DRL1gc7jiSDHVhkGqo>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Aug 2016 09:41:46 -0000

David McGrew (mcgrew) <mcgrew@cisco.com> writes:=0A=
=0A=
>See for instance slides 8 and 9 of Daniel Shumow's talk at NIST=92s LWC=0A=
>workshop last year:=0A=
>http://csrc.nist.gov/groups/ST/lwc-workshop2015/presentations/session4-shu=
mow.pdf=0A=
=0A=
So looking at slide 6 from that, the first four systems he lists are deskto=
p=0A=
PCs (in all but form factor), it's only the last two that are down at the=
=0A=
resource levels of IoT.  I'm not sure why he picked the Arduinos there beca=
use=0A=
I wouldn't really consider them terribly representative of IoT devices, was=
 it=0A=
to get something that people are familiar with?  Even if you're wanting to=
=0A=
restrict yourself to well-known complete systems I think at least an ESP826=
6=0A=
(80Mhz SoC with 96K RAM, 64K flash, no multiply or divide by default) shoul=
d=0A=
get a mention.=0A=
=0A=
Slide 9 is even further removed from IoT practicality, that stuff may be fi=
ne=0A=
on the PC-equivalents but won't work on real IoT gear.=0A=
=0A=
I'm currently working with some embedded systems guys to come up with a lis=
t=0A=
of requirements for IoT crypto (as with the TLS-LTS stuff, various IP/legal=
=0A=
issues means many contributors don't want to say anything in public), I'll=
=0A=
post it to the list when we've finished arguing :-).=0A=
=0A=
Peter.=


From nobody Tue Aug 30 03:00:34 2016
Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 42B0112B074 for <cfrg@ietfa.amsl.com>; Tue, 30 Aug 2016 03:00:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.748
X-Spam-Level: 
X-Spam-Status: No, score=-4.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.548] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=auckland.ac.nz
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 93RMDqYL4DBR for <cfrg@ietfa.amsl.com>; Tue, 30 Aug 2016 03:00:31 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 60E67128874 for <cfrg@irtf.org>; Tue, 30 Aug 2016 02:50:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1472550647; x=1504086647; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=cpgaarezaVIKF4dyg3lHDhKQPtmva+qxtRxR0/y9X/E=; b=1CMl0tFvcR+YJAjVq4MpNJDE78ax/zB2DTO3CWivgQ+zur3ElNNFWq8z 4HXzNunbChZ6a7R+zTYYqnKNWgjek10uULiMVaXfBx4jGjcW/ruW3Alca /yWw1putb4hjqa9YhUD01bU01k8SyBOsD9DoG1iMSqG5k6qS1oP4xWFbM 42qjOzhdOyvpOX6sD0JMJKZ554Z4EeAEvMhC+pSi42W6WCPCXAJC8/uau vmNyarKOE1/DqQeFA4NCunb7aZRiDkQpJuepHIH/dZM+y6JJqL+KubU8P X9w7asLXdDIEPjiyfEUixjHX76KcEI9Qtciqqk1waMgxygkz4qXVoeK4K A==;
X-IronPort-AV: E=Sophos;i="5.30,255,1470657600"; d="scan'208";a="104042073"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.106 - Outgoing - Outgoing
Received: from uxchange10-fe2.uoa.auckland.ac.nz ([130.216.4.106]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES256-SHA; 30 Aug 2016 21:50:45 +1200
Received: from UXCN10-5.UoA.auckland.ac.nz ([169.254.5.93]) by uxchange10-fe2.UoA.auckland.ac.nz ([130.216.4.106]) with mapi id 14.03.0266.001; Tue, 30 Aug 2016 21:50:45 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Jon Callas <jon@callas.org>, "David McGrew (mcgrew)" <mcgrew@cisco.com>
Thread-Topic: [Cfrg] 3DES diediedie
Thread-Index: AQHR/8MKtrFGWEVZoU+YIDla8GEE7aBcuoQ1//9AtgCAAkz7eYAA1VQAgACXdYCAAZM+DQ==
Date: Tue, 30 Aug 2016 09:50:44 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73F4D0741F@uxcn10-5.UoA.auckland.ac.nz>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz> <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com>, <89A46793-73A1-4C71-9954-37BF6ED6F297@callas.org>
In-Reply-To: <89A46793-73A1-4C71-9954-37BF6ED6F297@callas.org>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.6.3.2]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/wDvBEJ4bh_lIK95GqSFCbVeenLk>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Aug 2016 10:00:33 -0000

Jon Callas <jon@callas.org> writes:=0A=
=0A=
>Current cryptographic standards work for IoT=0A=
=0A=
That's only if you use the circular argument that IoT is defined to be=0A=
whatever can run DTLS (or whatever you take as "current cryptographic=0A=
standards", the slides mention DTLS).  An yeah, I can then define my IoT to=
 be=0A=
"whatever can't run DTLS" :-).  Stand by for a requirements list coming fro=
m a=0A=
bunch of IoT/embedded people...=0A=
=0A=
Peter.=


From nobody Tue Aug 30 04:25:30 2016
Return-Path: <mcgrew@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 33AB612D0BB for <cfrg@ietfa.amsl.com>; Tue, 30 Aug 2016 04:25:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.07
X-Spam-Level: 
X-Spam-Status: No, score=-15.07 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_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.548, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 E_0d7gis0TeR for <cfrg@ietfa.amsl.com>; Tue, 30 Aug 2016 04:25:22 -0700 (PDT)
Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ABFCE12D176 for <cfrg@irtf.org>; Tue, 30 Aug 2016 04:25:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1926; q=dns/txt; s=iport; t=1472556322; x=1473765922; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=LCJGLaDi2hGPZ3qrtnSarQHNJWqcAhMQDB4/jZHNgrI=; b=A9fNCOgjYfAsGjiOSNVU91Qt9T3lPjbKkS64qomh54+fTUxrJGxJtyrv 2elGQrtUdscsgaEF3zZmHPIKj9YBK82Jelpg2EPX4afsOOhqKvFPBeQIt uAVYO9Cxy0599oE3ej0O9RN63Ba7EGDLcIcTq8FonVvtwoTQ8c5OBHCMd c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0B/BgADbMVX/5hdJa1cDoM/AQEBAQEeV?= =?us-ascii?q?3wHg0C0ZoIBJoV3AhyBRzoSAQIBAQEBAQEBXieEYgEDAiMRVQIBCA4MAiYCAgI?= =?us-ascii?q?wFRACBAESiEQOrlyPPwEBAQEBAQEBAQEBAQEBAQEBAQEBHYEDhyOCVYIQhTIrg?= =?us-ascii?q?i8Fk3SFXAGGH4kOgjuIQIRckEABJQcog3U7cAGGFn8BAQE?=
X-IronPort-AV: E=Sophos;i="5.30,256,1470700800"; d="scan'208";a="317189754"
Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Aug 2016 11:25:21 +0000
Received: from XCH-ALN-002.cisco.com (xch-aln-002.cisco.com [173.36.7.12]) by rcdn-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id u7UBPLwl027335 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 30 Aug 2016 11:25:21 GMT
Received: from xch-aln-004.cisco.com (173.36.7.14) by XCH-ALN-002.cisco.com (173.36.7.12) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 30 Aug 2016 06:25:20 -0500
Received: from xch-aln-004.cisco.com ([173.36.7.14]) by XCH-ALN-004.cisco.com ([173.36.7.14]) with mapi id 15.00.1210.000; Tue, 30 Aug 2016 06:25:20 -0500
From: "David McGrew (mcgrew)" <mcgrew@cisco.com>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>, Tony Arcieri <bascule@gmail.com>, "<tls@ietf.org>" <tls@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] 3DES diediedie
Thread-Index: AQHR/nWfoW+SS6smqUOyCtdxrLUgKaBbmdgAgAF4CoD//8XhAIABxwsAgAFbRACAAaI6AP//2e4A
Date: Tue, 30 Aug 2016 11:25:20 +0000
Message-ID: <7C844B58-5B3E-4A47-AA67-471C50620323@cisco.com>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz> <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D073D4@uxcn10-5.UoA.auckland.ac.nz>
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C73F4D073D4@uxcn10-5.UoA.auckland.ac.nz>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/f.15.1.160411
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.117.10.229]
Content-Type: text/plain; charset="utf-8"
Content-ID: <D25E6657E9D76D4CA187300ED81D75E8@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/RapREXF0gWMMys6dV3be-sQobUQ>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Aug 2016 11:25:26 -0000

SGkgUGV0ZXIsDQoNCg0KDQpPbiA4LzMwLzE2LCA1OjQxIEFNLCAiUGV0ZXIgR3V0bWFubiIgPHBn
dXQwMDFAY3MuYXVja2xhbmQuYWMubno+IHdyb3RlOg0KDQo+RGF2aWQgTWNHcmV3IChtY2dyZXcp
IDxtY2dyZXdAY2lzY28uY29tPiB3cml0ZXM6DQo+DQo+PlNlZSBmb3IgaW5zdGFuY2Ugc2xpZGVz
IDggYW5kIDkgb2YgRGFuaWVsIFNodW1vdydzIHRhbGsgYXQgTklTVOKAmXMgTFdDDQo+Pndvcmtz
aG9wIGxhc3QgeWVhcjoNCj4+aHR0cDovL2NzcmMubmlzdC5nb3YvZ3JvdXBzL1NUL2x3Yy13b3Jr
c2hvcDIwMTUvcHJlc2VudGF0aW9ucy9zZXNzaW9uNC1zaHVtb3cucGRmDQo+DQo+U28gbG9va2lu
ZyBhdCBzbGlkZSA2IGZyb20gdGhhdCwgdGhlIGZpcnN0IGZvdXIgc3lzdGVtcyBoZSBsaXN0cyBh
cmUgZGVza3RvcA0KPlBDcyAoaW4gYWxsIGJ1dCBmb3JtIGZhY3RvciksIGl0J3Mgb25seSB0aGUg
bGFzdCB0d28gdGhhdCBhcmUgZG93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VibGljKSwgSSdsbA0KPnBvc3QgaXQgdG8gdGhlIGxpc3Qgd2hlbiB3ZSd2ZSBm
aW5pc2hlZCBhcmd1aW5nIDotKS4NCj4NCj5QZXRlci4NCg0KVGhhdOKAmXMgZ3JlYXQsIGZhY3Rz
IGxlYXZlbiBhIGRlYmF0ZS4NCg0KdGhhbmtzDQoNCkRhdmlkIA0K


From nobody Tue Aug 30 16:37:41 2016
Return-Path: <luto@amacapital.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5CA8D12D835 for <cfrg@ietfa.amsl.com>; Tue, 30 Aug 2016 16:37:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=amacapital-net.20150623.gappssmtp.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 26tlojC9oZhY for <cfrg@ietfa.amsl.com>; Tue, 30 Aug 2016 16:37:35 -0700 (PDT)
Received: from mail-ua0-x22c.google.com (mail-ua0-x22c.google.com [IPv6:2607:f8b0:400c:c08::22c]) (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 08FE012D84E for <cfrg@irtf.org>; Tue, 30 Aug 2016 16:37:34 -0700 (PDT)
Received: by mail-ua0-x22c.google.com with SMTP id l94so60576673ual.0 for <cfrg@irtf.org>; Tue, 30 Aug 2016 16:37:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=vXNXP9iZ5y64PwZQid0r2aRMJfirFPM3RsdfSpsLQg0=; b=2OoIsCY7IZTJEHfQJg+UDnnW0qRPCuUMt3Wp/WbEUmHCPPZEWIxEZCg1mOVZwRk8RO zJvNWCojdRLejS/ukS+vJUjkEDvlWg++1Q2yqwvIYp6yqkLQNaG7QugCe5615wmGB2QT uYXH+1BjPRdG7Rt3PZizpqYtzBg8VVl5IZQFEc0pFeCClBhylvCjpR9Y2CEEo8TRdxx1 C9bYgRFyA//4FTkKrdRId98A33FuFVPClz0eZpNbv9utHZeTkgr7qx0ewTpUDo7pE1p3 TiAh1dCyrkEvAlqnHQgOcp8ge5jLk+6aictygpnCn8p31KbnnFyLutyGImTs/94fw5d3 WGvw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=vXNXP9iZ5y64PwZQid0r2aRMJfirFPM3RsdfSpsLQg0=; b=E3HoVl5I7u4tA/tyJEuig4J6GRPToVP6Iipi52HqcVhwz2ESWMxKe15hDDhRrqnTUR 5Wjtrj0zSB0mRmeHD/u7BvJdPMgc+L+4/ntOS0d+CmYrT2ntQ41yYUv/ieKsaDLImPhR a8XNKVRVbUlZGuYnPNAWuq0Rl/GnpqnQ4Qvj9Kz5AlA8xf2RrR+SEZ4oFy0P1iY7AnNj SPQuAG6AYnBhIcMbvSGS4XVLOYc/24K+uo0cGGeSIuieeT989amNYIy+dFKY+WXrLTlx bevREgm24oTw1cvThgk/wROdhApQkW1VRZMX18JlEsfuk5NoRDnVM/8+k8azuTG/OpJZ 941w==
X-Gm-Message-State: AE9vXwNVTOM8XWNWBfe5ettf5y3z1D/zpk0w2AHuSf0JYTfQZn0SI4Do+kFW4tHqWiQFPp5wBtu5DNVUOX/v3TTg
X-Received: by 10.31.21.79 with SMTP id 76mr3756596vkv.135.1472600254050; Tue, 30 Aug 2016 16:37:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.76.146 with HTTP; Tue, 30 Aug 2016 16:37:13 -0700 (PDT)
In-Reply-To: <b6b2e03faf504238b8681284fc72a1dd@SC-EXCH03.marvell.com>
References: <b6b2e03faf504238b8681284fc72a1dd@SC-EXCH03.marvell.com>
From: Andy Lutomirski <luto@amacapital.net>
Date: Tue, 30 Aug 2016 16:37:13 -0700
Message-ID: <CALCETrVmSHv9=aNZYudU012UhuSNSJJaZX2CFa++o4nYA=WtPg@mail.gmail.com>
To: Paul Lambert <paul@marvell.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/A_5_Kd6EImpTQYHN8-qBpMuF4eE>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "t2trg@irtf.org" <t2trg@irtf.org>, "lear@cisco.com" <lear@cisco.com>
Subject: Re: [Cfrg] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Aug 2016 23:37:37 -0000

On Fri, Jul 29, 2016 at 6:27 PM, Paul Lambert <paul@marvell.com> wrote:
> The Wi-Fi Alliance (WFA) has posted a draft version of a new =E2=80=98set=
up
> protocol=E2=80=99:
>
>
> https://www.wi-fi.org/downloads-registered-guest/Wi-Fi_DPP_Tech_Spec_v0_0=
_23.pdf
>
>
>
> The WFA is looking for review and comments on this specification.
>

A few comments on a cursory reading:

Section 3.2 specifies a particular point format.  Is this actually
compatible with Curve 25519, etc?  Wouldn't it be more sensible to use
the point format recommended by each individual curve?

Section 5.5: Is the PKEX protocol publicly documented anywhere?  I'm
concerned that the crypto here is highly suboptimal.  For example, the
text mentions that:

> Using this bootstrapping technique more than once with a different code b=
ut the same bootstrapping key can enable a dictionary attack (to recover th=
e code) by the entity that obtained the bootstrapping key the first time.

A well designed short authentication string system (e.g. ZRTP's)
should have no such issues.


From nobody Tue Aug 30 17:47:07 2016
Return-Path: <paul@marvell.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9631812B051; Tue, 30 Aug 2016 17:47:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 yhsYxojHAb2m; Tue, 30 Aug 2016 17:47:00 -0700 (PDT)
Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4C4C112B00A; Tue, 30 Aug 2016 17:47:00 -0700 (PDT)
Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u7V0j1tm016807; Tue, 30 Aug 2016 17:46:58 -0700
Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 255mxtg0x9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 30 Aug 2016 17:46:57 -0700
Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Tue, 30 Aug 2016 17:46:55 -0700
Received: from SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6]) by SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6%21]) with mapi id 15.00.1104.000; Tue, 30 Aug 2016 17:46:55 -0700
From: Paul Lambert <paul@marvell.com>
To: Andy Lutomirski <luto@amacapital.net>
Thread-Topic: [Cfrg] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
Thread-Index: AQHSAxd8feDlzRT1DkO/Rm6efoKJcaBiPCcA
Date: Wed, 31 Aug 2016 00:46:55 +0000
Message-ID: <D3EB69B5.9C1EE%paul@marvell.com>
References: <b6b2e03faf504238b8681284fc72a1dd@SC-EXCH03.marvell.com> <CALCETrVmSHv9=aNZYudU012UhuSNSJJaZX2CFa++o4nYA=WtPg@mail.gmail.com>
In-Reply-To: <CALCETrVmSHv9=aNZYudU012UhuSNSJJaZX2CFa++o4nYA=WtPg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.6.5.160527
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.94.250.30]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <91832E2F1D32DA4CA7B1B3AEA3FA5FDC@marvell.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-08-30_10:, , signatures=0
X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 impostorscore=0 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1608310008
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/0_ldzVp_WQ2JJoSeu4KwsfVKInQ>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "t2trg@irtf.org" <t2trg@irtf.org>, "adrian.p.stephens@ieee.org" <adrian.p.stephens@ieee.org>, "lear@cisco.com" <lear@cisco.com>
Subject: Re: [Cfrg] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 00:47:02 -0000

Hi Andy,

Thank you very much for taking the time to look at the DPP specification.

On 8/30/16, 4:37 PM, "Andy Lutomirski" <luto@amacapital.net> wrote:

>On Fri, Jul 29, 2016 at 6:27 PM, Paul Lambert <paul@marvell.com> wrote:
>> The Wi-Fi Alliance (WFA) has posted a draft version of a new =8Csetup
>> protocol=B9:
>>
>>=20
>>https://www.wi-fi.org/downloads-registered-guest/Wi-Fi_DPP_Tech_Spec_v0_0
>>_23.pdf
Note - this download site is off-line today =8A may be back soon.

>>
>>
>> The WFA is looking for review and comments on this specification.
>>
>
>A few comments on a cursory reading:
>
>Section 3.2 specifies a particular point format.  Is this actually
>compatible with Curve 25519, etc?
No it is not.

>Wouldn't it be more sensible to use
>the point format recommended by each individual curve?

Yes - I would think we should always consider such values to be opaque
octet strings and the interpretation should be based on the algorithm
suite. Curve 25519 may not be able to be integrated because of:
 - big versus little endian
 - the =B3curve" identification method

The hash algorithms are also locked down to SHAxxx and encryption to
AES-SIV so algorithm flexibility is limited.

>
>Section 5.5: Is the PKEX protocol publicly documented anywhere?  I'm
>concerned that the crypto here is highly suboptimal.

Yes, I=B9m not a fan of PKEX in DPP and tried to have it removed. It=B9s no=
t
been well reviewed, it=B9s really hard to review (due to embedding in
802.11) and it=B9s just the wrong mechanism (PAKE) for the desired user
experience.
However,it an interesting design where a PAKE has been extended to provide
both peers with authenticated public keys.  The shared passphrase
effectively introduces two longer term pubic keys. It=B9s a significant
design improvement over a typical PAKE that only establishes a shared
symmetric key. PKEX should get some review and get used where appropriate
or we should be working on similar extensions to PAKEs to authenticate
long term public keys.

The specification for PKEX is available in two parts:
1) the base SAE protocol is described in IEEE 802.11
	http://www.ieee802.org/11/private/Draft_Standards/11mc/Draft%20P802.11REVm
c_D8.0.pdf=20
	This is a IEEE 802.11 member private site, but I=B9ve gotten agreement fro=
m
the chair that he will provide access to "security researchers=B2
	You=B9ll have to contact Adrian Stevens (IEEE 802.11 Chair -
adrian.p.stephens@ieee.org) to get the private area password
2) the extension to create PKIX is in IEEE 802.11ai (fragments of text
that will later be incorporated into 802.11)
	This is also on the private site:
http://www.ieee802.org/11/private/index.shtml

IEEE 802.11 keeps draft specifications private, but the contribution
archive is open: https://mentor.ieee.org/802.11/documents
You can see some of it=B9s structure by looking at:
https://mentor.ieee.org/802.11/documents?is_dcn=3DPKEX


> For example, the
>text mentions that:
>
>> Using this bootstrapping technique more than once with a different code
>>but the same bootstrapping key can enable a dictionary attack (to
>>recover the code) by the entity that obtained the bootstrapping key the
>>first time.
>
>A well designed short authentication string system (e.g. ZRTP's)
>should have no such issues.
Interesting =8A yes, a short authentication string is good idea for some
user cases (Rich-UI device to Rich-UI device). I=B9ll look at it some more =
=8A

Paul


>


From nobody Tue Aug 30 22:49:31 2016
Return-Path: <dharkins@lounge.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8259512D091; Tue, 30 Aug 2016 22:49:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level: 
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 9zr6RXtl5WCh; Tue, 30 Aug 2016 22:49:28 -0700 (PDT)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id B72C212B05B; Tue, 30 Aug 2016 22:49:28 -0700 (PDT)
Received: from thinny.local (69-12-173-8.static.dsltransport.net [69.12.173.8]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by colo.trepanning.net (Postfix) with ESMTPSA id 2AC8EA88801E; Tue, 30 Aug 2016 22:49:15 -0700 (PDT)
To: Paul Lambert <paul@marvell.com>, Andy Lutomirski <luto@amacapital.net>
References: <b6b2e03faf504238b8681284fc72a1dd@SC-EXCH03.marvell.com> <CALCETrVmSHv9=aNZYudU012UhuSNSJJaZX2CFa++o4nYA=WtPg@mail.gmail.com> <D3EB69B5.9C1EE%paul@marvell.com>
From: Dan Harkins <dharkins@lounge.org>
Message-ID: <a120d8fb-c493-c6ea-fdd8-8ab9ebb7e5f4@lounge.org>
Date: Tue, 30 Aug 2016 22:49:13 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <D3EB69B5.9C1EE%paul@marvell.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/aY4HrWA8jEEoHAYhdGcqcriQVHg>
Cc: "t2trg@irtf.org" <t2trg@irtf.org>, "cfrg@irtf.org" <cfrg@irtf.org>, "adrian.p.stephens@ieee.org" <adrian.p.stephens@ieee.org>, "lear@cisco.com" <lear@cisco.com>
Subject: Re: [Cfrg] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 05:49:30 -0000

On 8/30/16 5:46 PM, Paul Lambert wrote:
>> Section 5.5: Is the PKEX protocol publicly documented anywhere?  I'm
>> concerned that the crypto here is highly suboptimal.
> Yes, I¹m not a fan of PKEX in DPP and tried to have it removed. It¹s not
> been well reviewed, it¹s really hard to review (due to embedding in
> 802.11) and it¹s just the wrong mechanism (PAKE) for the desired user
> experience.
> However,it an interesting design where a PAKE has been extended to provide
> both peers with authenticated public keys.  The shared passphrase
> effectively introduces two longer term pubic keys. It¹s a significant
> design improvement over a typical PAKE that only establishes a shared
> symmetric key. PKEX should get some review and get used where appropriate
> or we should be working on similar extensions to PAKEs to authenticate
> long term public keys.
>
> The specification for PKEX is available in two parts:
> 1) the base SAE protocol is described in IEEE 802.11
> 	http://www.ieee802.org/11/private/Draft_Standards/11mc/Draft%20P802.11REVm
> c_D8.0.pdf
   PKEX has nothing to do with the SAE protocol. And it is not even in the
draft REVmc document you refer to.
> 	This is a IEEE 802.11 member private site, but I¹ve gotten agreement from
> the chair that he will provide access to "security researchers²
> 	You¹ll have to contact Adrian Stevens (IEEE 802.11 Chair -
> adrian.p.stephens@ieee.org) to get the private area password
> 2) the extension to create PKIX is in IEEE 802.11ai (fragments of text
> that will later be incorporated into 802.11)
> 	This is also on the private site:
> http://www.ieee802.org/11/private/index.shtml
   This (802.11ai) is where PKEX is defined.
> IEEE 802.11 keeps draft specifications private, but the contribution
> archive is open: https://mentor.ieee.org/802.11/documents
> You can see some of it¹s structure by looking at:
> https://mentor.ieee.org/802.11/documents?is_dcn=PKEX
>
>
>> For example, the
>> text mentions that:
>>
>>> Using this bootstrapping technique more than once with a different code
>>> but the same bootstrapping key can enable a dictionary attack (to
>>> recover the code) by the entity that obtained the bootstrapping key the
>>> first time.
   Think of EKE, a password is used to encrypt a public key to peer1. 
Now some
time later the same public key is sent to peer2 using a different password.
In this case peer1 would be able to do an off-line dictionary attack to 
recover
the password used in the exchange to peer2. That's what is intended by 
the text
in question.
>>> A well designed short authentication string system (e.g. ZRTP's)
>>> should have no such issues.
> Interesting Š yes, a short authentication string is good idea for some
> user cases (Rich-UI device to Rich-UI device). I¹ll look at it some more Š
   That is exactly the case here. A short authentication string is used to
bootstrap trust in a peer's public key.

   Dan.
> Paul
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Wed Aug 31 01:00:14 2016
Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C5F6B12D9E8 for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 01:00:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.748
X-Spam-Level: 
X-Spam-Status: No, score=-4.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.548] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=auckland.ac.nz
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 FRL9YwSnvC5h for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 01:00:13 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C5E6F12D9E7 for <cfrg@irtf.org>; Wed, 31 Aug 2016 01:00:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1472630412; x=1504166412; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=n/2977qS10WrsierepRatEk6WOe7AfHNmGO69HyCrK4=; b=cVKyF10P5+mNa5bJNzWVtqZnylUyk46/k/NvpOv4YlFu63jT/K9JWSMG 5r3W4FZIPUoadbQwMYKTLthcffy7CqdkfaZrwa+5wP9Hepy/A0eOpl+zN /dDWziKpBcuBZPZeteHpvqVpsYybTS4hFg/43L9600ubpSfaq9KNCXQXI i6N905qV9AdNmKvis8rm14VJ9lp7Z/Lg8IAY4QLiW8++aXzJru3XSp2nw Zgx+1xG+SV5eeKOOQYyVwf3kGbzoN7Ew7fs/zjjQIzJd/G3eGVt8PzMIU Joh3VPup7TpZJw5TzKrDuD2BY/h9h26Nc0WGftdvIoyJlYGr4jbh70BWd g==;
X-IronPort-AV: E=Sophos;i="5.30,261,1470657600"; d="scan'208";a="104176516"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.125 - Outgoing - Outgoing
Received: from uxchange10-fe3.uoa.auckland.ac.nz ([130.216.4.125]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES256-SHA; 31 Aug 2016 20:00:11 +1200
Received: from UXCN10-5.UoA.auckland.ac.nz ([169.254.5.93]) by uxchange10-fe3.UoA.auckland.ac.nz ([169.254.143.234]) with mapi id 14.03.0266.001; Wed, 31 Aug 2016 20:00:11 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>, Tony Arcieri <bascule@gmail.com>, "<tls@ietf.org>" <tls@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] 3DES diediedie
Thread-Index: AQHR/8MKtrFGWEVZoU+YIDla8GEE7aBcuoQ1//9AtgCAAkz7eYAA1VQAgAImRw3//1XhAIACIh2z
Date: Wed, 31 Aug 2016 08:00:10 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73F4D08C06@uxcn10-5.UoA.auckland.ac.nz>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz> <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D073D4@uxcn10-5.UoA.auckland.ac.nz>, <7C844B58-5B3E-4A47-AA67-471C50620323@cisco.com>
In-Reply-To: <7C844B58-5B3E-4A47-AA67-471C50620323@cisco.com>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.6.3.4]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/OoEE79ym9YVwoUrCeDuhersjmGw>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 08:00:13 -0000

David McGrew (mcgrew) <mcgrew@cisco.com> writes:=0A=
=0A=
>That=92s great, facts leaven a debate.=0A=
=0A=
Yeah, but they also make it really boring, sigh.  *Opinions*, now those are=
=0A=
fun...=0A=
=0A=
Peter.=


From nobody Wed Aug 31 07:42:11 2016
Return-Path: <derek@ihtfp.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 09D3612DCE4 for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 07:42:11 -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] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ihtfp.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 f8uSIJrc8HiM for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 07:42:06 -0700 (PDT)
Received: from mail2.ihtfp.org (mail2.ihtfp.org [IPv6:2001:470:e448:1::3a11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1700912D5B6 for <cfrg@irtf.org>; Wed, 31 Aug 2016 07:17:32 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id C393FE2048; Wed, 31 Aug 2016 10:17:30 -0400 (EDT)
Received: from mail2.ihtfp.org ([127.0.0.1]) by localhost (mail2.ihtfp.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 26909-08; Wed, 31 Aug 2016 10:17:26 -0400 (EDT)
Received: from securerf.ihtfp.org (unknown [IPv6:2001:470:e448:2:ea2a:eaff:fe7d:235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mocana.ihtfp.org", Issuer "IHTFP Consulting Certification Authority" (verified OK)) by mail2.ihtfp.org (Postfix) with ESMTPS id 79176E2047; Wed, 31 Aug 2016 10:17:26 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1472653046; bh=Nd0TSGqcKhRApTY6Uf8zNgvF2DR68SIzcCLcicaZdcw=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=oj6qj9sehM6n3TUXINGqeqrJzp09wAjG+febhxFVCfBYRpOB9l4RmvrZlW6rP4040 Bc2nDfDYA/ZX0Uql7CLy5HGqHz2/zrhXzH9fJx3sVRTzBxhWCOxa9W9EawYVYATosC xx+iju8m9HQz9Rp6GhAXYHqJClQFI9jaJr8KgFpk=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.15.2/8.14.8/Submit) id u7VEHPY4021937; Wed, 31 Aug 2016 10:17:25 -0400
From: Derek Atkins <derek@ihtfp.com>
To: "Steven M. Bellovin" <smb@cs.columbia.edu>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz> <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com> <89A46793-73A1-4C71-9954-37BF6ED6F297@callas.org> <5CF32AA8-59CC-4918-8951-A2ACBD233C19@cs.columbia.edu>
Date: Wed, 31 Aug 2016 10:17:25 -0400
In-Reply-To: <5CF32AA8-59CC-4918-8951-A2ACBD233C19@cs.columbia.edu> (Steven M. Bellovin's message of "Mon, 29 Aug 2016 21:21:38 -0400")
Message-ID: <sjmfuplvx8q.fsf@securerf.ihtfp.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/ylkw6kXODmlhYBaKhzmaYiMVPKE>
Cc: Peter Gutmann <pgut001@cs.auckland.ac.nz>, David McGrew <mcgrew@cisco.com>, "cfrg@irtf.org" <cfrg@irtf.org>, Jon Callas <jon@callas.org>, tls@ietf.org
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 14:42:11 -0000

"Steven M. Bellovin" <smb@cs.columbia.edu> writes:

> Yes.  To a large extent, the "IoT devices are too puny for real
> crypto" is a hangover from several years ago. It was once true; for
> the most part, it isn't today, but people haven't flushed their cache
> from the old received wisdom.

This is certainly true for AES, mostly because many small chips are
including AES accelerators in hardware.  It's not quite true for public
key solutions; there are still very small devices where even ECC takes
too long (and yes, there are cases where 200-400ms is still too long).

> It pays to look again at David Wagner's slides from 2005, on sensor
> nets and crypto:
> https://people.eecs.berkeley.edu/~daw/talks/sens-oak05.pdf
>
>
>         --Steve Bellovin, https://www.cs.columbia.edu/~smb

-derek

-- 
       Derek Atkins                 617-623-3745
       derek@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant


From nobody Wed Aug 31 09:04:25 2016
Return-Path: <geni-cmc@mail.ru>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C57BD12D0D3; Wed, 31 Aug 2016 09:04:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.7
X-Spam-Level: 
X-Spam-Status: No, score=-1.7 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, FREEMAIL_REPLYTO=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mail.ru
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 RX-SgXofcMuE; Wed, 31 Aug 2016 09:04:21 -0700 (PDT)
Received: from f430.i.mail.ru (f430.i.mail.ru [185.5.136.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BE11A12B075; Wed, 31 Aug 2016 09:03:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2;  h=References:In-Reply-To:Content-Type:Message-ID:Reply-To:Date:MIME-Version:Subject:Cc:To:From; bh=iv3L8Ap8j+0J0/CzBZe3PN+c7WovJhoK/FLOXTG5Mrs=;  b=fOt/4PbCENqLwJ8yd6y5hdckD1N9URr+1oNUlR6xLMkiLrPrqKut9zxPLQxSiEEMg/Z/RZdyZ9ZVwPi7DRGiURNwvuQ6UDrqa/ybLkrJlPMz/9Yw18Tw2tEUgweryqIB+5tKJI2zh0sleRQJ9WoAkVXz07cE9v8DVbnDlOinUyY=;
Received: from [193.37.157.2] (ident=mail) by f430.i.mail.ru with local (envelope-from <geni-cmc@mail.ru>) id 1bf7yd-0003VY-OL; Wed, 31 Aug 2016 19:03:00 +0300
Received: from [193.37.157.2] by e.mail.ru with HTTP; Wed, 31 Aug 2016 19:02:59 +0300
From: =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JDQu9C10LrRgdC10LXQsg==?= <geni-cmc@mail.ru>
To: =?UTF-8?B?RXJpYyBSZXNjb3JsYQ==?= <ekr@rtfm.com>, =?UTF-8?B?TWloaXIgQmVsbGFyZQ==?= <mihir@eng.ucsd.edu>
MIME-Version: 1.0
X-Mailer: Mail.Ru Mailer 1.0
X-Originating-IP: [193.37.157.2]
Date: Wed, 31 Aug 2016 19:02:59 +0300
X-Priority: 3 (Normal)
Message-ID: <1472659379.924523441@f430.i.mail.ru>
Content-Type: multipart/alternative; boundary="--ALT--5gUGANTJBxvYyK2E1zJ1BCxHWrtw0jn31472659379"
X-Mailru-Sender: 534CBB7A632DDA3F5EA110A820F45F9DAB11BC7CA93B0BD4A6D8A2E306644B2B1B2587948E2613F0
X-Mras: OK
X-Spam: undefined
In-Reply-To: <20160828144220.5828688.24760.6532@gmail.com>
References: <CAMr0u6mafme1Kh_gv7d8krToSnDxW1AxXuZrJvzcG8fa==U7rA@mail.gmail.com> <CABcZeBOh=3zqYv=U+Yd1vF-niwpziPA-rawSRdTLqyTOSeDC+Q@mail.gmail.com> <20160828144220.5828688.24760.6532@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/BMQ0goUJCfRP5GrvwOV4UaDvBno>
Cc: cfrg@irtf.org, =?UTF-8?B?PHRsc0BpZXRmLm9yZz4=?= <tls@ietf.org>
Subject: Re: [Cfrg] =?utf-8?q?=5BTLS=5D_Document_on_increasing_the_lifetime_of?= =?utf-8?q?_session_keys?=
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0JDQu9C10LrRgdC10LXQsg==?= <geni-cmc@mail.ru>
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 16:04:25 -0000

----ALT--5gUGANTJBxvY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mLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2Nmcmc8L2E+
PGJyPgo8L2Rpdj4KICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgCiAgICAgICAgCgkJPGJh
c2UgdGFyZ2V0PSJfc2VsZiIgaHJlZj0iaHR0cHM6Ly9lLm1haWwucnUvIj4KCTwvZGl2PgoKCQo8
L2Rpdj4KCgo8L2Rpdj4KPC9ibG9ja3F1b3RlPgo8YnI+PC9CT0RZPjwvSFRNTD4K

----ALT--5gUGANTJBxvYyK2E1zJ1BCxHWrtw0jn31472659379--


From nobody Wed Aug 31 09:56:18 2016
Return-Path: <hilarie@purplestreak.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 46A5512D1E4; Wed, 31 Aug 2016 09:56:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=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 cR5pdELMJpI1; Wed, 31 Aug 2016 09:56:11 -0700 (PDT)
Received: from out03.mta.xmission.com (out03.mta.xmission.com [166.70.13.233]) (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 C9BC312D1AD; Wed, 31 Aug 2016 09:56:11 -0700 (PDT)
Received: from in01.mta.xmission.com ([166.70.13.51]) by out03.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from <hilarie@purplestreak.com>) id 1bf8o3-0004fh-5D; Wed, 31 Aug 2016 10:56:07 -0600
Received: from [72.250.219.84] (helo=rumpleteazer.rhmr.com) by in01.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from <hilarie@purplestreak.com>) id 1bf8nm-0006u1-3R; Wed, 31 Aug 2016 10:56:01 -0600
Received: from rumpleteazer.rhmr.com (localhost [127.0.0.1]) by rumpleteazer.rhmr.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u7VGtPPJ027046; Wed, 31 Aug 2016 10:55:25 -0600
Received: (from hilarie@localhost) by rumpleteazer.rhmr.com (8.14.4/8.14.4/Submit) id u7VGtOt0027045; Wed, 31 Aug 2016 10:55:24 -0600
Date: Wed, 31 Aug 2016 10:55:24 -0600
Message-Id: <201608311655.u7VGtOt0027045@rumpleteazer.rhmr.com>
From: "Hilarie Orman" <hilarie@purplestreak.com>
To: cfrg@irtf.org, tls@ietf.org
X-XM-SPF: eid=1bf8nm-0006u1-3R; ; ; mid=<201608311655.u7VGtOt0027045@rumpleteazer.rhmr.com>; ; ; hst=in01.mta.xmission.com; ; ; ip=72.250.219.84; ; ; frm=hilarie@purplestreak.com; ; ; spf=none
X-XM-AID: U2FsdGVkX1+OR+mt9arxZCzjxJByooPQ
X-SA-Exim-Connect-IP: 72.250.219.84
X-SA-Exim-Mail-From: hilarie@purplestreak.com
X-Spam-DCC: XMission; sa04 1397; Body=1 Fuz1=1 Fuz2=1 
X-Spam-Combo: *;cfrg@irtf.org, tls@ietf.org
X-Spam-Relay-Country: 
X-Spam-Timing: total 4260 ms - load_scoreonly_sql: 0.08 (0.0%), signal_user_changed: 7 (0.2%), b_tie_ro: 6 (0.1%), parse: 1.08 (0.0%), extract_message_metadata: 21 (0.5%), get_uri_detail_list: 2.4 (0.1%), tests_pri_-1000: 2.7 (0.1%), tests_pri_-950: 1.13 (0.0%), tests_pri_-900: 0.89 (0.0%), tests_pri_-400: 18 (0.4%), check_bayes: 17 (0.4%), b_tokenize: 4.4 (0.1%), b_tok_get_all: 5 (0.1%), b_comp_prob: 2.0 (0.0%), b_tok_touch_all: 2.8 (0.1%), b_finish: 0.68 (0.0%), tests_pri_0: 710 (16.7%),  check_dkim_signature: 0.45 (0.0%), check_dkim_adsp: 498 (11.7%), tests_pri_500: 3496 (82.1%), poll_dns_idle: 3489 (81.9%), rewrite_mail: 0.00 (0.0%)
X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600)
X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/Jh-hLia6jMAv6loOMwi1LGVkTJY>
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Hilarie Orman <hilarie@purplestreak.com>
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 16:56:13 -0000

>  From: Derek Atkins <derek@ihtfp.com>
>  Date: Wed, 31 Aug 2016 10:17:25 -0400

>  "Steven M. Bellovin" <smb@cs.columbia.edu> writes:

>  > Yes.  To a large extent, the "IoT devices are too puny for real
>  > crypto" is a hangover from several years ago. It was once true; for
>  > the most part, it isn't today, but people haven't flushed their cache
>  > from the old received wisdom.

>  This is certainly true for AES, mostly because many small chips are
>  including AES accelerators in hardware.  It's not quite true for public
>  key solutions; there are still very small devices where even ECC takes
>  too long (and yes, there are cases where 200-400ms is still too long).

>  > It pays to look again at David Wagner's slides from 2005, on sensor
>  > nets and crypto:
>  > https://people.eecs.berkeley.edu/~daw/talks/sens-oak05.pdf
>  >

Unattended sensors with wifi present an unsolved crypto problem.  They
can last 10 years on an AA battery without crypto, probably well less
than a year if they have to do any kind of encryption.  These things
will be everywhere, providing the data that will underly all kinds of
decision-making.

Although much of the solution may lie in hardware innovation, the
world really does need minimal crypto algorithms.

Hilarie




From nobody Wed Aug 31 10:20:21 2016
Return-Path: <bsniffen@akamai.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DBCB012D1B3 for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 10:20:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.249
X-Spam-Level: 
X-Spam-Status: No, score=-3.249 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, RP_MATCHES_RCVD=-0.548, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 fBcfucKQcOR9 for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 10:20:16 -0700 (PDT)
Received: from prod-mail-xrelay08.akamai.com (prod-mail-xrelay08.akamai.com [96.6.114.112]) by ietfa.amsl.com (Postfix) with ESMTP id 61D6B12D12B for <cfrg@irtf.org>; Wed, 31 Aug 2016 10:20:16 -0700 (PDT)
Received: from prod-mail-xrelay08.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 04496200057; Wed, 31 Aug 2016 17:20:16 +0000 (GMT)
Received: from prod-mail-relay09.akamai.com (prod-mail-relay09.akamai.com [172.27.22.68]) by prod-mail-xrelay08.akamai.com (Postfix) with ESMTP id E27A320000B; Wed, 31 Aug 2016 17:20:15 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1472664015; bh=6+CGOPBd+GoUv3dIJtWtQ7DfIItuSMDQwA7sHS3rtVg=; l=2175; h=From:To:In-Reply-To:References:Date:From; b=TOtcinots3p6+qkpDJ2Pfxx7JF9j5m6vlFTztV4ueqUhQHf0lKF+/7mL/btUdvmq3 VUwPmLtTKq9O0f+tjNdFYVnKAD4+n/46LPPUhDwjFfnbEMuxOSXX2Q0IdStuR+a+T3 n8SHW3fLWd5uwT6u1mBU68x4S3NZ0be/iQELk9t4=
Received: from email.msg.corp.akamai.com (usma1ex-cas1.msg.corp.akamai.com [172.27.123.30]) by prod-mail-relay09.akamai.com (Postfix) with ESMTP id CA3591E084; Wed, 31 Aug 2016 17:20:15 +0000 (GMT)
Received: from usma1ex-dag3mb5.msg.corp.akamai.com (172.27.123.55) by usma1ex-dag1mb6.msg.corp.akamai.com (172.27.123.65) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 31 Aug 2016 10:20:15 -0700
Received: from USMA1EX-CAS1.msg.corp.akamai.com (172.27.123.30) by usma1ex-dag3mb5.msg.corp.akamai.com (172.27.123.55) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 31 Aug 2016 10:20:15 -0700
Received: from bos-mpeve.kendall.corp.akamai.com (172.28.16.165) by USMA1EX-CAS1.msg.corp.akamai.com (172.27.123.30) with Microsoft SMTP Server id 15.0.1178.4 via Frontend Transport; Wed, 31 Aug 2016 13:19:53 -0400
From: Brian Sniffen <bsniffen@akamai.com>
To: Hilarie Orman <hilarie@purplestreak.com>, <cfrg@irtf.org>, <tls@ietf.org>
In-Reply-To: <201608311655.u7VGtOt0027045@rumpleteazer.rhmr.com>
References: <201608311655.u7VGtOt0027045@rumpleteazer.rhmr.com>
User-Agent: Notmuch/0.22.1 (https://notmuchmail.org) Emacs/24.5.1 (x86_64-apple-darwin13.4.0)
Date: Wed, 31 Aug 2016 13:19:53 -0400
Message-ID: <m2lgzcyhxi.fsf@bos-mpeve.kendall.corp.akamai.com>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/7egrjAFVGd_WPdtSX8xxkop8duY>
Subject: Re: [Cfrg] [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 17:20:19 -0000

Hilarie Orman <hilarie@purplestreak.com> writes:

>>  From: Derek Atkins <derek@ihtfp.com>
>>  Date: Wed, 31 Aug 2016 10:17:25 -0400
>
>>  "Steven M. Bellovin" <smb@cs.columbia.edu> writes:
>
>>  > Yes.  To a large extent, the "IoT devices are too puny for real
>>  > crypto" is a hangover from several years ago. It was once true; for
>>  > the most part, it isn't today, but people haven't flushed their cache
>>  > from the old received wisdom.
>
>>  This is certainly true for AES, mostly because many small chips are
>>  including AES accelerators in hardware.  It's not quite true for public
>>  key solutions; there are still very small devices where even ECC takes
>>  too long (and yes, there are cases where 200-400ms is still too long).
>
>>  > It pays to look again at David Wagner's slides from 2005, on sensor
>>  > nets and crypto:
>>  > https://people.eecs.berkeley.edu/~daw/talks/sens-oak05.pdf
>>  >
>
> Unattended sensors with wifi present an unsolved crypto problem.  They
> can last 10 years on an AA battery without crypto, probably well less
> than a year if they have to do any kind of encryption.  These things
> will be everywhere, providing the data that will underly all kinds of
> decision-making.

Assuming there are *some* integrity requirements for the data, and that
they are deploying 32-bit ARM with AES support (stipulating that ~every
CPU will have AES support in a few years, as ~every CPU sold does
today), we're talking about *either* an ECDHE negotiation every few
months or a pre-shared key, good for ten years.

AES-GCM with hardware support compares favorably to SHA-2 without
hardware support, so if they've been able to last 10 years before, they
should do just fine in the future.  The old devices won't last forever,
and probably can't run TLS 1.3---that's fine, TLS 1.2 will be with us
for ten years after 1.3 is out.

-Brian

> Although much of the solution may lie in hardware innovation, the
> world really does need minimal crypto algorithms.
>
> Hilarie
>
>
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls


From nobody Wed Aug 31 12:04:10 2016
Return-Path: <paul@marvell.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9C5B612D6A5; Wed, 31 Aug 2016 12:04:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 19q_y6YOMM1h; Wed, 31 Aug 2016 12:04:05 -0700 (PDT)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 03F4712D6A2; Wed, 31 Aug 2016 12:04:04 -0700 (PDT)
Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u7VJ2bRo005764; Wed, 31 Aug 2016 12:03:56 -0700
Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 25651u009m-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 31 Aug 2016 12:03:55 -0700
Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Wed, 31 Aug 2016 12:03:53 -0700
Received: from SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6]) by SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6%21]) with mapi id 15.00.1104.000; Wed, 31 Aug 2016 12:03:53 -0700
From: Paul Lambert <paul@marvell.com>
To: Dan Harkins <dharkins@lounge.org>, Andy Lutomirski <luto@amacapital.net>
Thread-Topic: [Cfrg] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
Thread-Index: AQHSAxd8feDlzRT1DkO/Rm6efoKJcaBiPCcAgADJ0ICAAGitAA==
Date: Wed, 31 Aug 2016 19:03:53 +0000
Message-ID: <D3EC658C.9C3D4%paul@marvell.com>
References: <b6b2e03faf504238b8681284fc72a1dd@SC-EXCH03.marvell.com> <CALCETrVmSHv9=aNZYudU012UhuSNSJJaZX2CFa++o4nYA=WtPg@mail.gmail.com> <D3EB69B5.9C1EE%paul@marvell.com> <a120d8fb-c493-c6ea-fdd8-8ab9ebb7e5f4@lounge.org>
In-Reply-To: <a120d8fb-c493-c6ea-fdd8-8ab9ebb7e5f4@lounge.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.6.5.160527
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.94.250.30]
Content-Type: text/plain; charset="utf-8"
Content-ID: <0A447037E3431B44AC619319F53C97A7@marvell.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-08-31_04:, , signatures=0
X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 impostorscore=0 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1608310228
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/RxtSj1mRwMZ-Ic5OtDBxjcoBROM>
Cc: "t2trg@irtf.org" <t2trg@irtf.org>, "cfrg@irtf.org" <cfrg@irtf.org>, "adrian.p.stephens@ieee.org" <adrian.p.stephens@ieee.org>, "lear@cisco.com" <lear@cisco.com>
Subject: Re: [Cfrg] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 19:04:06 -0000

DQoNCg0KDQo+Pg0KPj4gVGhlIHNwZWNpZmljYXRpb24gZm9yIFBLRVggaXMgYXZhaWxhYmxlIGlu
IHR3byBwYXJ0czoNCj4+IDEpIHRoZSBiYXNlIFNBRSBwcm90b2NvbCBpcyBkZXNjcmliZWQgaW4g
SUVFRSA4MDIuMTENCj4+IA0KPj4JaHR0cDovL3d3dy5pZWVlODAyLm9yZy8xMS9wcml2YXR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0KDQoNCj4NCj4gICBE
YW4uDQo+PiBQYXVsDQo+Pg0KPj4NCj4+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fDQo+PiBDZnJnIG1haWxpbmcgbGlzdA0KPj4gQ2ZyZ0BpcnRmLm9yZw0K
Pj4gaHR0cHM6Ly93d3cuaXJ0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9jZnJnDQo+DQoNCg==


From nobody Wed Aug 31 12:26:01 2016
Return-Path: <luto@amacapital.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CE30A12D73C for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 12:25:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=amacapital-net.20150623.gappssmtp.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 ZHzMaGhjJ97r for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 12:25:57 -0700 (PDT)
Received: from mail-ua0-x233.google.com (mail-ua0-x233.google.com [IPv6:2607:f8b0:400c:c08::233]) (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 7028D12D73E for <cfrg@irtf.org>; Wed, 31 Aug 2016 12:25:57 -0700 (PDT)
Received: by mail-ua0-x233.google.com with SMTP id l94so106703430ual.0 for <cfrg@irtf.org>; Wed, 31 Aug 2016 12:25:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=fTXk9aLns5YgALBEFEUv6hG0DnBKguFJxQrpZOUTe7s=; b=f2eaxkXCp6XBTkffw/ng/Cxg3O5Iv1GxpuQLws/w08eUO5k9pXKRV3lIu3MvoFt5JU HeRIiVZnZFxaRLth/ZrCzqBEgX8UnjFg4pP4MQfMANrbb06JSsMWF3qfrKaQtMarMW/P R4ZQBVHK2C09cvFhvT9CH9fmt7t4yEcFb1rdzAuhdeGQOSBdbJaxkL+7cG+KoH5ZMAyz wC6DFPb7HHdqJghrpt9dzDO2vKy61fdWNnSedG27Fluhe4N+GnOsyOt0PYP37Q+tSN6w Hxe0wb2MD2ltGOqak2rCGsuQfWmGJAvOzqg6DwAZtj3DR6CvFCE37N5dsfeopVtcsGwR XJBg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=fTXk9aLns5YgALBEFEUv6hG0DnBKguFJxQrpZOUTe7s=; b=HwuptQLOeTsAWyJB2721MnnF/eRcydhjDptWZkoOaFCwN4uWT6+si2bCQmw/mvoqwc MhzFxhqBd3I+ljRGc7bOj7bwqvSCQsxdWfLZ1buo8ofbGSNwDloCRkIBTdhr63P55YHD qdEBrKRh5dK5JwOPP9+h9d1l1gyz9Ci44WBkQSQABRayCeX2tF4EyOi7mh9ihZ2xUv+K jAUXO8G9AlhJiaki8BvAONKZ9aaWDl6XzuB+oMC4RXG1h9LVtIsjUskaZ0KKrIDTHLM0 0GF0WweH2aDirWefxP3Cb70SOfTroRhtPcLtRM569C+duuS7RT1igLQNLdvI2X+IJRyf XP9w==
X-Gm-Message-State: AE9vXwMj2MPqKPCGXkyB/DSS/rHYJfhZAYbbsyBbkqybVZrxngcPWjzXDAL+HLSt7Geq9GK0XnoDNXg5NW3uvwva
X-Received: by 10.31.165.136 with SMTP id o130mr6917188vke.9.1472671556225; Wed, 31 Aug 2016 12:25:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.76.146 with HTTP; Wed, 31 Aug 2016 12:25:35 -0700 (PDT)
In-Reply-To: <a120d8fb-c493-c6ea-fdd8-8ab9ebb7e5f4@lounge.org>
References: <b6b2e03faf504238b8681284fc72a1dd@SC-EXCH03.marvell.com> <CALCETrVmSHv9=aNZYudU012UhuSNSJJaZX2CFa++o4nYA=WtPg@mail.gmail.com> <D3EB69B5.9C1EE%paul@marvell.com> <a120d8fb-c493-c6ea-fdd8-8ab9ebb7e5f4@lounge.org>
From: Andy Lutomirski <luto@amacapital.net>
Date: Wed, 31 Aug 2016 12:25:35 -0700
Message-ID: <CALCETrXatKzPCqrbefbO9S1=orPEvOTNtRz1XsfDB691mDiuGg@mail.gmail.com>
To: Dan Harkins <dharkins@lounge.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/44O7-WAUs59u3cWGY6L0xLCN7d4>
Cc: "t2trg@irtf.org" <t2trg@irtf.org>, "cfrg@irtf.org" <cfrg@irtf.org>, "adrian.p.stephens@ieee.org" <adrian.p.stephens@ieee.org>, "lear@cisco.com" <lear@cisco.com>
Subject: Re: [Cfrg] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 19:26:00 -0000

On Tue, Aug 30, 2016 at 10:49 PM, Dan Harkins <dharkins@lounge.org> wrote:
>
>
> On 8/30/16 5:46 PM, Paul Lambert wrote:
>>>
>>> Section 5.5: Is the PKEX protocol publicly documented anywhere?  I'm
>>> concerned that the crypto here is highly suboptimal.
>>
>> Yes, I=C2=B9m not a fan of PKEX in DPP and tried to have it removed. It=
=C2=B9s not
>> been well reviewed, it=C2=B9s really hard to review (due to embedding in
>> 802.11) and it=C2=B9s just the wrong mechanism (PAKE) for the desired us=
er
>> experience.
>> However,it an interesting design where a PAKE has been extended to provi=
de
>> both peers with authenticated public keys.  The shared passphrase
>> effectively introduces two longer term pubic keys. It=C2=B9s a significa=
nt
>> design improvement over a typical PAKE that only establishes a shared
>> symmetric key. PKEX should get some review and get used where appropriat=
e
>> or we should be working on similar extensions to PAKEs to authenticate
>> long term public keys.
>>
>> The specification for PKEX is available in two parts:
>> 1) the base SAE protocol is described in IEEE 802.11
>>
>> http://www.ieee802.org/11/private/Draft_Standards/11mc/Draft%20P802.11RE=
Vm
>> c_D8.0.pdf
>
>   PKEX has nothing to do with the SAE protocol. And it is not even in the
> draft REVmc document you refer to.
>>
>>         This is a IEEE 802.11 member private site, but I=C2=B9ve gotten
>> agreement from
>> the chair that he will provide access to "security researchers=C2=B2
>>         You=C2=B9ll have to contact Adrian Stevens (IEEE 802.11 Chair -
>> adrian.p.stephens@ieee.org) to get the private area password
>> 2) the extension to create PKIX is in IEEE 802.11ai (fragments of text
>> that will later be incorporated into 802.11)
>>         This is also on the private site:
>> http://www.ieee802.org/11/private/index.shtml
>
>   This (802.11ai) is where PKEX is defined.
>>
>> IEEE 802.11 keeps draft specifications private, but the contribution
>> archive is open: https://mentor.ieee.org/802.11/documents
>> You can see some of it=C2=B9s structure by looking at:
>> https://mentor.ieee.org/802.11/documents?is_dcn=3DPKEX
>>
>>
>>> For example, the
>>> text mentions that:
>>>
>>>> Using this bootstrapping technique more than once with a different cod=
e
>>>> but the same bootstrapping key can enable a dictionary attack (to
>>>> recover the code) by the entity that obtained the bootstrapping key th=
e
>>>> first time.
>
>   Think of EKE, a password is used to encrypt a public key to peer1. Now
> some
> time later the same public key is sent to peer2 using a different passwor=
d.
> In this case peer1 would be able to do an off-line dictionary attack to
> recover
> the password used in the exchange to peer2. That's what is intended by th=
e
> text
> in question.

If by EKE you mean DH-EKE, then I think this just means you're doing
EKE wrong.  For DH-EKE (which is actually secure), you send a brand
new share every time.  Given my very, very limited understanding of
what is proposed here (since I haven't gone and asked the editors for
all the relevant documents), the protocol being used doesn't really
achieve anything useful.

But from reading the draft DPP document, I can't even tell what the
workflow is.  Who generates a password, who types it where, and who
sends what?

And can someone explain what security properties the protocol is
trying to achieve?

>>>>
>>>> A well designed short authentication string system (e.g. ZRTP's)
>>>> should have no such issues.
>>
>> Interesting =C5=A0 yes, a short authentication string is good idea for s=
ome
>> user cases (Rich-UI device to Rich-UI device). I=C2=B9ll look at it some=
 more =C5=A0
>
>   That is exactly the case here. A short authentication string is used to
> bootstrap trust in a peer's public key.
>

Properly designed short authentication strings have very nice security
properties.  An online attacker has a 1/N chance of spoofing an
authentication per actual user interaction.  An offline attacker can't
get anything at all (unless they're willing to brute-force the
underlying high-entropy crypto).  Look at ZRTP for an example.

PKEX, as vaguely described here, doesn't sound like a properly
designed short authentication string.  Sorry.

--Andy


From nobody Wed Aug 31 12:48:28 2016
Return-Path: <hilarie@purplestreak.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A435812D76A; Wed, 31 Aug 2016 12:48:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=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 kb7oKJkXrJth; Wed, 31 Aug 2016 12:48:25 -0700 (PDT)
Received: from out03.mta.xmission.com (out03.mta.xmission.com [166.70.13.233]) (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 9307712D763; Wed, 31 Aug 2016 12:48:25 -0700 (PDT)
Received: from in01.mta.xmission.com ([166.70.13.51]) by out03.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from <hilarie@purplestreak.com>) id 1bfBUm-0004xP-FS; Wed, 31 Aug 2016 13:48:24 -0600
Received: from [72.250.219.84] (helo=rumpleteazer.rhmr.com) by in01.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from <hilarie@purplestreak.com>) id 1bfBUh-0006Gr-7y; Wed, 31 Aug 2016 13:48:24 -0600
Received: from rumpleteazer.rhmr.com (localhost [127.0.0.1]) by rumpleteazer.rhmr.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u7VJmCVo018787; Wed, 31 Aug 2016 13:48:12 -0600
Received: (from hilarie@localhost) by rumpleteazer.rhmr.com (8.14.4/8.14.4/Submit) id u7VJmChl018731; Wed, 31 Aug 2016 13:48:12 -0600
Date: Wed, 31 Aug 2016 13:48:12 -0600
Message-Id: <201608311948.u7VJmChl018731@rumpleteazer.rhmr.com>
From: "Hilarie Orman" <hilarie@purplestreak.com>
To: tls@ietf.org, cfrg@irtf.org
In-reply-to: Yourmessage <m2lgzcyhxi.fsf@bos-mpeve.kendall.corp.akamai.com>
X-XM-SPF: eid=1bfBUh-0006Gr-7y; ; ; mid=<201608311948.u7VJmChl018731@rumpleteazer.rhmr.com>; ; ; hst=in01.mta.xmission.com; ; ; ip=72.250.219.84; ; ; frm=hilarie@purplestreak.com; ; ; spf=none
X-XM-AID: U2FsdGVkX1+5F8eDz/iICr5a6fraBVca
X-SA-Exim-Connect-IP: 72.250.219.84
X-SA-Exim-Mail-From: hilarie@purplestreak.com
X-Spam-DCC: XMission; sa07 1397; Body=1 Fuz1=1 Fuz2=1 
X-Spam-Combo: ;tls@ietf.org, cfrg@irtf.org
X-Spam-Relay-Country: 
X-Spam-Timing: total 4804 ms - load_scoreonly_sql: 0.04 (0.0%), signal_user_changed: 3.4 (0.1%), b_tie_ro: 2.4 (0.1%), parse: 0.68 (0.0%), extract_message_metadata: 21 (0.4%), get_uri_detail_list: 2.0 (0.0%), tests_pri_-1000: 8 (0.2%), tests_pri_-950: 1.22 (0.0%), tests_pri_-900: 1.01 (0.0%), tests_pri_-400: 24 (0.5%), check_bayes: 23 (0.5%), b_tokenize: 6 (0.1%), b_tok_get_all: 9 (0.2%), b_comp_prob: 2.8 (0.1%), b_tok_touch_all: 3.8 (0.1%), b_finish: 0.69 (0.0%), tests_pri_0: 255 (5.3%), check_dkim_signature: 0.48 (0.0%), check_dkim_adsp: 6 (0.1%), tests_pri_500: 4488 (93.4%), poll_dns_idle: 4480 (93.3%), rewrite_mail: 0.00 (0.0%)
X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600)
X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/ACPOKTSFM2QPeL_kItrLK84S51s>
Subject: Re: [Cfrg] [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Hilarie Orman <hilarie@purplestreak.com>
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 19:48:27 -0000

>  From: Brian Sniffen <bsniffen@akamai.com>

>  >>  From: Derek Atkins <derek@ihtfp.com>
>  >>  Date: Wed, 31 Aug 2016 10:17:25 -0400
>  >
>  >>  "Steven M. Bellovin" <smb@cs.columbia.edu> writes:
>  >
>  >>  > Yes.  To a large extent, the "IoT devices are too puny for real
>  >>  > crypto" is a hangover from several years ago. It was once true; for
>  >>  > the most part, it isn't today, but people haven't flushed their cache
>  >>  > from the old received wisdom.
>  >
>  >>  This is certainly true for AES, mostly because many small chips are
>  >>  including AES accelerators in hardware.  It's not quite true for public
>  >>  key solutions; there are still very small devices where even ECC takes
>  >>  too long (and yes, there are cases where 200-400ms is still too long).
>  >
>  >>  > It pays to look again at David Wagner's slides from 2005, on sensor
>  >>  > nets and crypto:
>  >>  > https://people.eecs.berkeley.edu/~daw/talks/sens-oak05.pdf
>  >>  >
>  >
>  > Unattended sensors with wifi present an unsolved crypto problem.  They
>  > can last 10 years on an AA battery without crypto, probably well less
>  > than a year if they have to do any kind of encryption.  These things
>  > will be everywhere, providing the data that will underly all kinds of
>  > decision-making.

>  Assuming there are *some* integrity requirements for the data, and that
>  they are deploying 32-bit ARM with AES support (stipulating that ~every
>  CPU will have AES support in a few years, as ~every CPU sold does
>  today), we're talking about *either* an ECDHE negotiation every few
>  months or a pre-shared key, good for ten years.

>  AES-GCM with hardware support compares favorably to SHA-2 without
>  hardware support, so if they've been able to last 10 years before, they
>  should do just fine in the future.  The old devices won't last forever,
>  and probably can't run TLS 1.3---that's fine, TLS 1.2 will be with us
>  for ten years after 1.3 is out.

>  -Brian

>  > Although much of the solution may lie in hardware innovation, the
>  > world really does need minimal crypto algorithms.
>  >
>  > Hilarie
>  >

An ARM is far too much hardware to throw at "read sensor/munge data/send data".

Hilarie


From nobody Wed Aug 31 13:08:04 2016
Return-Path: <derek@ihtfp.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4F9E812D763 for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 13:07:59 -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] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ihtfp.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 B5iAp5vV4dFi for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 13:07:57 -0700 (PDT)
Received: from mail2.ihtfp.org (MAIL2.IHTFP.ORG [204.107.200.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 681C812D76F for <cfrg@irtf.org>; Wed, 31 Aug 2016 13:07:57 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 9F791E2043; Wed, 31 Aug 2016 16:07:55 -0400 (EDT)
Received: from mail2.ihtfp.org ([127.0.0.1]) by localhost (mail2.ihtfp.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 29739-01; Wed, 31 Aug 2016 16:07:53 -0400 (EDT)
Received: by mail2.ihtfp.org (Postfix, from userid 48) id 52FCDE2047; Wed, 31 Aug 2016 16:07:53 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1472674073; bh=GXtNRrQpTh5DfqBvTHFGIJKxWZbQxfSqWTDOXWNP70k=; h=In-Reply-To:References:Date:Subject:From:To:Cc; b=Y1C1BdigjmgfV+MCgNKtpUQB97GGxWltYz2RNTssD/cH89Q4LNwOwFC+0SzczGxeD OZC9DkDXWC8fxzmtDZMhNCLc1Ka/0cHtyWIKw2nIK+9JpP6SSbcNo5DlJ5QKiYSfQo LSskAntfxi4LePKlpA2uBuUFhHKMNL1w7jTt0Oog=
Received: from 2001:470:e448:2:ea2a:eaff:fe7d:235 (SquirrelMail authenticated user warlord) by mail2.ihtfp.org with HTTP; Wed, 31 Aug 2016 16:07:53 -0400
Message-ID: <b25415048dadd533bdfc5773c0eda647.squirrel@mail2.ihtfp.org>
In-Reply-To: <201608311948.u7VJmChl018731@rumpleteazer.rhmr.com>
References: <201608311948.u7VJmChl018731@rumpleteazer.rhmr.com>
Date: Wed, 31 Aug 2016 16:07:53 -0400
From: "Derek Atkins" <derek@ihtfp.com>
To: "Hilarie Orman" <hilarie@purplestreak.com>
User-Agent: SquirrelMail/1.4.22-14.fc20
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/h0tZVst9WD-5eG4XV-08uwqFsgA>
Cc: cfrg@irtf.org, tls@ietf.org
Subject: Re: [Cfrg] [TLS]  3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 20:07:59 -0000

On Wed, August 31, 2016 3:48 pm, Hilarie Orman wrote:

>
> An ARM is far too much hardware to throw at "read sensor/munge data/send
> data".

What about an 8051?

> Hilarie

-derek
-- 
       Derek Atkins                 617-623-3745
       derek@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant


From nobody Wed Aug 31 13:12:37 2016
Return-Path: <dharkins@lounge.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A852512D763; Wed, 31 Aug 2016 13:12:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level: 
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 25YvY2_IG_88; Wed, 31 Aug 2016 13:12:34 -0700 (PDT)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id 721E012D76D; Wed, 31 Aug 2016 13:12:34 -0700 (PDT)
Received: from thinny.local (69-12-173-8.static.dsltransport.net [69.12.173.8]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by colo.trepanning.net (Postfix) with ESMTPSA id 0A69810224008; Wed, 31 Aug 2016 13:12:34 -0700 (PDT)
To: Andy Lutomirski <luto@amacapital.net>
References: <b6b2e03faf504238b8681284fc72a1dd@SC-EXCH03.marvell.com> <CALCETrVmSHv9=aNZYudU012UhuSNSJJaZX2CFa++o4nYA=WtPg@mail.gmail.com> <D3EB69B5.9C1EE%paul@marvell.com> <a120d8fb-c493-c6ea-fdd8-8ab9ebb7e5f4@lounge.org> <CALCETrXatKzPCqrbefbO9S1=orPEvOTNtRz1XsfDB691mDiuGg@mail.gmail.com>
From: Dan Harkins <dharkins@lounge.org>
Message-ID: <f6d272f3-5eaa-1d13-bf81-12e14ec20a3d@lounge.org>
Date: Wed, 31 Aug 2016 13:12:32 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <CALCETrXatKzPCqrbefbO9S1=orPEvOTNtRz1XsfDB691mDiuGg@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/CAKkaxJ4PbmfLYEkDlWMRbm2gow>
Cc: "t2trg@irtf.org" <t2trg@irtf.org>, "cfrg@irtf.org" <cfrg@irtf.org>, "adrian.p.stephens@ieee.org" <adrian.p.stephens@ieee.org>, "lear@cisco.com" <lear@cisco.com>
Subject: Re: [Cfrg] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 20:12:36 -0000

On 8/31/16 12:25 PM, Andy Lutomirski wrote:
> On Tue, Aug 30, 2016 at 10:49 PM, Dan Harkins <dharkins@lounge.org> wrote:
>>
>>>> For example, the
>>>> text mentions that:
>>>>
>>>>> Using this bootstrapping technique more than once with a different code
>>>>> but the same bootstrapping key can enable a dictionary attack (to
>>>>> recover the code) by the entity that obtained the bootstrapping key the
>>>>> first time.
>>    Think of EKE, a password is used to encrypt a public key to peer1. Now
>> some
>> time later the same public key is sent to peer2 using a different password.
>> In this case peer1 would be able to do an off-line dictionary attack to
>> recover
>> the password used in the exchange to peer2. That's what is intended by the
>> text
>> in question.
> If by EKE you mean DH-EKE, then I think this just means you're doing
> EKE wrong.  For DH-EKE (which is actually secure), you send a brand
> new share every time.  Given my very, very limited understanding of
> what is proposed here (since I haven't gone and asked the editors for
> all the relevant documents), the protocol being used doesn't really
> achieve anything useful.

Yes, you use a fresh share every time with EKE because the derived
session key is the important thing, you're doing a key exchange protocol
to derive a secure, shared session key. That's not the case with PKEX.
In PKEX the important thing is the decrypted public key, any derived
session key is discarded. So reusing the public key would result in
the issue that the text addresses.

> But from reading the draft DPP document, I can't even tell what the
> workflow is.  Who generates a password, who types it where, and who
> sends what?
>
> And can someone explain what security properties the protocol is
> trying to achieve?

It was added to 802.11ai to enable raw public keys to be used for
authentication in the 802.11ai protocol. Usually raw public keys are
exchanged "in a manner outside the scope of the standard" but that's
kind of a cop out. So PKEX was added to allow for 2 parties to exchange
raw public keys in a manner that would provide some modicum of trust
to the received public key. Each device will get the peer's public key
in a manner that guarantees the integrity of the received key, with
proof of possession of the private key, from a someone who knows the
shared password. Presuming no one else knows the shared password then
you know who's public key you just received and you know to whom
you just gave your public key.

   The properties listed in in the 802.11ai amendment for PKEX are:

   - the protocol will result in the exchange of trusted public
     keys or it will fail;
   - a passive adversary is unable to subvert the exchange, insert
     any different public keys, learn the public keys, or learn the
     key/code/word/phrase shared by the two peers;
   - an active adversary that does not know the shared key/code/word/
     phrase cannot successfully complete the exchange; and,
   - an attacker is not able to perform an off-line dictionary attack
     against PKEX in order to determine wither the public keys or
     determine the shared key/code/word/phrase.

  DPP has decided to use PKEX because DPP uses public keys for
authentication but does not use a PKI so it needs some way to
get a device's public key that has some manner of "trust" without
relying on certificates and a CA.

   In DPP, public keys are bootstrapped to gain that "trust". For
instance a base64-encoded subjectPublicKeyInfo that is further QR
encoded. Scan the QR code on the device, get the device's key. PKEX is
another  "bootstrapping" technique. Two devices enter the same passphrase,
and they get each other's public keys. Now that the devices have each
other's trusted public keys they can do DPP.

>>>>> A well designed short authentication string system (e.g. ZRTP's)
>>>>> should have no such issues.
>>> Interesting Š yes, a short authentication string is good idea for some
>>> user cases (Rich-UI device to Rich-UI device). I¹ll look at it some more Š
>>    That is exactly the case here. A short authentication string is used to
>> bootstrap trust in a peer's public key.
>>
> Properly designed short authentication strings have very nice security
> properties.  An online attacker has a 1/N chance of spoofing an
> authentication per actual user interaction.  An offline attacker can't
> get anything at all (unless they're willing to brute-force the
> underlying high-entropy crypto).  Look at ZRTP for an example.
>
> PKEX, as vaguely described here, doesn't sound like a properly
> designed short authentication string.  Sorry.

I did the secdir review for the ZRTP draft that became RFC 6189; I
am familiar with ZRTP.

   Dan.




From nobody Wed Aug 31 13:18:05 2016
Return-Path: <dharkins@lounge.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 25C8712D0E6; Wed, 31 Aug 2016 13:18:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level: 
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 IBmDa1OAMY1w; Wed, 31 Aug 2016 13:17:59 -0700 (PDT)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id 487D512D09D; Wed, 31 Aug 2016 13:17:59 -0700 (PDT)
Received: from thinny.local (69-12-173-8.static.dsltransport.net [69.12.173.8]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by colo.trepanning.net (Postfix) with ESMTPSA id D19FB10224008; Wed, 31 Aug 2016 13:17:58 -0700 (PDT)
To: Paul Lambert <paul@marvell.com>, Andy Lutomirski <luto@amacapital.net>
References: <b6b2e03faf504238b8681284fc72a1dd@SC-EXCH03.marvell.com> <CALCETrVmSHv9=aNZYudU012UhuSNSJJaZX2CFa++o4nYA=WtPg@mail.gmail.com> <D3EB69B5.9C1EE%paul@marvell.com> <a120d8fb-c493-c6ea-fdd8-8ab9ebb7e5f4@lounge.org> <D3EC658C.9C3D4%paul@marvell.com>
From: Dan Harkins <dharkins@lounge.org>
Message-ID: <10eef8ba-d20d-47f7-25e6-d9463367f432@lounge.org>
Date: Wed, 31 Aug 2016 13:17:58 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <D3EC658C.9C3D4%paul@marvell.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/cBsbuseIaq3nCz2IkkFhrZ4_Mx8>
Cc: "t2trg@irtf.org" <t2trg@irtf.org>, "cfrg@irtf.org" <cfrg@irtf.org>, "adrian.p.stephens@ieee.org" <adrian.p.stephens@ieee.org>, "lear@cisco.com" <lear@cisco.com>
Subject: Re: [Cfrg] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 20:18:00 -0000

On 8/31/16 12:03 PM, Paul Lambert wrote:
> Yes, PKEX is not SAE, but they share the same underlying PAKE
> cryptographic processing

   That is not true. They both use a secret group element that is derived
from a password but the exchanges are completely different.

   Dan.



From nobody Wed Aug 31 13:34:53 2016
Return-Path: <luto@amacapital.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E99C512D731 for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 13:34:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=amacapital-net.20150623.gappssmtp.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 He6SIte2mi5s for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 13:34:49 -0700 (PDT)
Received: from mail-ua0-x231.google.com (mail-ua0-x231.google.com [IPv6:2607:f8b0:400c:c08::231]) (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 9D1C012D780 for <cfrg@irtf.org>; Wed, 31 Aug 2016 13:34:49 -0700 (PDT)
Received: by mail-ua0-x231.google.com with SMTP id i32so109747994uai.2 for <cfrg@irtf.org>; Wed, 31 Aug 2016 13:34:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=KJRE8ZlDTEE37hadEhckxDhhk1D13pfyB6TCVuN6ZkM=; b=0N0P9yYn05lxgaWs6XBm+zZW2mhV/j+p+Zy1QvocYG46aSwNyufiiM0Q8RfElq2UJ0 7zZjQ0KjYkTxdc5vgiAygOAM/Y+86fXaMOhLDE5b37mXOgLTm8jg+m9Kv0XOBRybGkCX XK4jHndev69kKXcZTUGE0VXYF7bCDHN3DzrwVyTqnmRx6FjQbBvcLe+oeMbqkecXR8dT vzCqIjB8Ay5nwsYwtxQGHs+cayihZnwJrrMPjW80euwg2JzIS/NU9ZEYy6sBEGe+b538 n/yU58NN95A+B3cG5p8w/NYPbG3EFNpUq0Vivi4Yt6XrPCFVDWPXef9/BOFGRxZcOWB8 bEIA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=KJRE8ZlDTEE37hadEhckxDhhk1D13pfyB6TCVuN6ZkM=; b=TsRbHggS1FnfV8kaasvRqnad0QWKf49wP2UexX4lunqtT4LPRHl+tDkpOh1JyBF31+ b8uqqcifgG1PgNlcoaAA6SVichlcinCAs/MV0byosTnA5lCCYQ/CQDVGxxeTwsGcf5Jz sMvmw4geHo6WGfUhTNuEwuUGAIPL8HFqd75rMKNYKKYpRzIZ4fBxhvSH/3/MQ8AcRCuK VFplQ1FUpu3A3MWFpxQmDj6MNNVFzs/pYzoAELjtfm0tXxKyBMSF4t4uqODYLMrhQP32 i5C93auYR5kTWSJPBU/DghYrrinA/gZWBRR/3i6u+3eybyjMCaYYZYu3Wzv9Hnjuo/ua YRXA==
X-Gm-Message-State: AE9vXwPKW1sq3osv2cArw0bEivNHvThuI7NlspzqjBGBFv5YyeI1TuOdqk3q5B/kDPV6fSmRiox9PLv6kGm1Ehui
X-Received: by 10.31.21.79 with SMTP id 76mr6845861vkv.135.1472675688573; Wed, 31 Aug 2016 13:34:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.76.146 with HTTP; Wed, 31 Aug 2016 13:34:28 -0700 (PDT)
In-Reply-To: <f6d272f3-5eaa-1d13-bf81-12e14ec20a3d@lounge.org>
References: <b6b2e03faf504238b8681284fc72a1dd@SC-EXCH03.marvell.com> <CALCETrVmSHv9=aNZYudU012UhuSNSJJaZX2CFa++o4nYA=WtPg@mail.gmail.com> <D3EB69B5.9C1EE%paul@marvell.com> <a120d8fb-c493-c6ea-fdd8-8ab9ebb7e5f4@lounge.org> <CALCETrXatKzPCqrbefbO9S1=orPEvOTNtRz1XsfDB691mDiuGg@mail.gmail.com> <f6d272f3-5eaa-1d13-bf81-12e14ec20a3d@lounge.org>
From: Andy Lutomirski <luto@amacapital.net>
Date: Wed, 31 Aug 2016 13:34:28 -0700
Message-ID: <CALCETrVdQ2+rw62bFh+G8rTk19yzb543V1eD0ig6YMMO_hM6Kw@mail.gmail.com>
To: Dan Harkins <dharkins@lounge.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/RVYxallL_ohq0mQ9LhF6ITl5xko>
Cc: "t2trg@irtf.org" <t2trg@irtf.org>, "cfrg@irtf.org" <cfrg@irtf.org>, "adrian.p.stephens@ieee.org" <adrian.p.stephens@ieee.org>, "lear@cisco.com" <lear@cisco.com>
Subject: Re: [Cfrg] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 20:34:52 -0000

On Wed, Aug 31, 2016 at 1:12 PM, Dan Harkins <dharkins@lounge.org> wrote:
>
>
> On 8/31/16 12:25 PM, Andy Lutomirski wrote:
>>
>> On Tue, Aug 30, 2016 at 10:49 PM, Dan Harkins <dharkins@lounge.org> wrot=
e:
>>>
>>>
>>>>> For example, the
>>>>> text mentions that:
>>>>>
>>>>>> Using this bootstrapping technique more than once with a different
>>>>>> code
>>>>>> but the same bootstrapping key can enable a dictionary attack (to
>>>>>> recover the code) by the entity that obtained the bootstrapping key
>>>>>> the
>>>>>> first time.
>>>
>>>    Think of EKE, a password is used to encrypt a public key to peer1. N=
ow
>>> some
>>> time later the same public key is sent to peer2 using a different
>>> password.
>>> In this case peer1 would be able to do an off-line dictionary attack to
>>> recover
>>> the password used in the exchange to peer2. That's what is intended by
>>> the
>>> text
>>> in question.
>>
>> If by EKE you mean DH-EKE, then I think this just means you're doing
>> EKE wrong.  For DH-EKE (which is actually secure), you send a brand
>> new share every time.  Given my very, very limited understanding of
>> what is proposed here (since I haven't gone and asked the editors for
>> all the relevant documents), the protocol being used doesn't really
>> achieve anything useful.
>
>
> Yes, you use a fresh share every time with EKE because the derived
> session key is the important thing, you're doing a key exchange protocol
> to derive a secure, shared session key. That's not the case with PKEX.
> In PKEX the important thing is the decrypted public key, any derived
> session key is discarded. So reusing the public key would result in
> the issue that the text addresses.

Then at the very least why not do real PAKE (DH-EKE or whatever) and
then exchange public keys over the resulting secure channel?  ISTM the
spec is inventing a new protocol that's strictly worse than the
standard protocols out there.

>
>> But from reading the draft DPP document, I can't even tell what the
>> workflow is.  Who generates a password, who types it where, and who
>> sends what?
>>
>> And can someone explain what security properties the protocol is
>> trying to achieve?
>
>
> It was added to 802.11ai to enable raw public keys to be used for
> authentication in the 802.11ai protocol. Usually raw public keys are
> exchanged "in a manner outside the scope of the standard" but that's
> kind of a cop out. So PKEX was added to allow for 2 parties to exchange
> raw public keys in a manner that would provide some modicum of trust
> to the received public key. Each device will get the peer's public key
> in a manner that guarantees the integrity of the received key, with
> proof of possession of the private key, from a someone who knows the
> shared password. Presuming no one else knows the shared password then
> you know who's public key you just received and you know to whom
> you just gave your public key.

This doesn't answer the question.  What's the workflow?  Do I, as the
user, make up an arbitrary password and type it in to both devices?
Do I, as a user, read a password generated by one device and type it
in to the other?  I'm pretty sure that, for any of these variants,
there exist much more secure protocols.  If you further clarify the
workflow, I'm sure I can name a better protocol, and the folks lurking
here who are good at provable security can probably come up with a
straightforwardly provably secure protocol for a far stronger notion
of security than you're providing.

The 802.11 folks already screwed up WPA Personal by failing to use a
real PAKE for silly reasons.  Please don't screw up DPP as well.

>
>   The properties listed in in the 802.11ai amendment for PKEX are:
>
>   - the protocol will result in the exchange of trusted public
>     keys or it will fail;
>   - a passive adversary is unable to subvert the exchange, insert
>     any different public keys, learn the public keys, or learn the
>     key/code/word/phrase shared by the two peers;
>   - an active adversary that does not know the shared key/code/word/
>     phrase cannot successfully complete the exchange; and,
>   - an attacker is not able to perform an off-line dictionary attack
>     against PKEX in order to determine wither the public keys or
>     determine the shared key/code/word/phrase.

You aren't actually providing this last property AFAICT.

>
>  DPP has decided to use PKEX because DPP uses public keys for
> authentication but does not use a PKI so it needs some way to
> get a device's public key that has some manner of "trust" without
> relying on certificates and a CA.
>
>   In DPP, public keys are bootstrapped to gain that "trust". For
> instance a base64-encoded subjectPublicKeyInfo that is further QR
> encoded. Scan the QR code on the device, get the device's key. PKEX is
> another  "bootstrapping" technique. Two devices enter the same passphrase=
,
> and they get each other's public keys. Now that the devices have each
> other's trusted public keys they can do DPP.
>
>>>>>> A well designed short authentication string system (e.g. ZRTP's)
>>>>>> should have no such issues.
>>>>
>>>> Interesting =C5=A0 yes, a short authentication string is good idea for=
 some
>>>> user cases (Rich-UI device to Rich-UI device). I=C2=B9ll look at it so=
me more
>>>> =C5=A0
>>>
>>>    That is exactly the case here. A short authentication string is used
>>> to
>>> bootstrap trust in a peer's public key.
>>>
>> Properly designed short authentication strings have very nice security
>> properties.  An online attacker has a 1/N chance of spoofing an
>> authentication per actual user interaction.  An offline attacker can't
>> get anything at all (unless they're willing to brute-force the
>> underlying high-entropy crypto).  Look at ZRTP for an example.
>>
>> PKEX, as vaguely described here, doesn't sound like a properly
>> designed short authentication string.  Sorry.
>
>
> I did the secdir review for the ZRTP draft that became RFC 6189; I
> am familiar with ZRTP.
>

Which doesn't mean that PKEX has good security properties.



--=20
Andy Lutomirski
AMA Capital Management, LLC


From nobody Wed Aug 31 14:28:04 2016
Return-Path: <dharkins@lounge.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7EE4C12D60D; Wed, 31 Aug 2016 14:27:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level: 
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 PNWcZltgsN9x; Wed, 31 Aug 2016 14:27:58 -0700 (PDT)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id 0D00012D08E; Wed, 31 Aug 2016 14:27:58 -0700 (PDT)
Received: from thinny.local (69-12-173-8.static.dsltransport.net [69.12.173.8]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by colo.trepanning.net (Postfix) with ESMTPSA id 8968510224008; Wed, 31 Aug 2016 14:27:57 -0700 (PDT)
To: Andy Lutomirski <luto@amacapital.net>
References: <b6b2e03faf504238b8681284fc72a1dd@SC-EXCH03.marvell.com> <CALCETrVmSHv9=aNZYudU012UhuSNSJJaZX2CFa++o4nYA=WtPg@mail.gmail.com> <D3EB69B5.9C1EE%paul@marvell.com> <a120d8fb-c493-c6ea-fdd8-8ab9ebb7e5f4@lounge.org> <CALCETrXatKzPCqrbefbO9S1=orPEvOTNtRz1XsfDB691mDiuGg@mail.gmail.com> <f6d272f3-5eaa-1d13-bf81-12e14ec20a3d@lounge.org> <CALCETrVdQ2+rw62bFh+G8rTk19yzb543V1eD0ig6YMMO_hM6Kw@mail.gmail.com>
From: Dan Harkins <dharkins@lounge.org>
Message-ID: <09ffc37d-da23-3955-e4fe-4bd4e08be55f@lounge.org>
Date: Wed, 31 Aug 2016 14:27:56 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <CALCETrVdQ2+rw62bFh+G8rTk19yzb543V1eD0ig6YMMO_hM6Kw@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/De9t47DPB8LWGjsNl4gTe3YEXpQ>
Cc: "t2trg@irtf.org" <t2trg@irtf.org>, "cfrg@irtf.org" <cfrg@irtf.org>, "adrian.p.stephens@ieee.org" <adrian.p.stephens@ieee.org>, "lear@cisco.com" <lear@cisco.com>
Subject: Re: [Cfrg] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 21:27:59 -0000

On 8/31/16 1:34 PM, Andy Lutomirski wrote:
> On Wed, Aug 31, 2016 at 1:12 PM, Dan Harkins <dharkins@lounge.org> wrote:
>>
>> On 8/31/16 12:25 PM, Andy Lutomirski wrote:
>>> On Tue, Aug 30, 2016 at 10:49 PM, Dan Harkins <dharkins@lounge.org> wrote:
>>>>
>>>>>> For example, the
>>>>>> text mentions that:
>>>>>>
>>>>>>> Using this bootstrapping technique more than once with a different
>>>>>>> code
>>>>>>> but the same bootstrapping key can enable a dictionary attack (to
>>>>>>> recover the code) by the entity that obtained the bootstrapping key
>>>>>>> the
>>>>>>> first time.
>>>>     Think of EKE, a password is used to encrypt a public key to peer1. Now
>>>> some
>>>> time later the same public key is sent to peer2 using a different
>>>> password.
>>>> In this case peer1 would be able to do an off-line dictionary attack to
>>>> recover
>>>> the password used in the exchange to peer2. That's what is intended by
>>>> the
>>>> text
>>>> in question.
>>> If by EKE you mean DH-EKE, then I think this just means you're doing
>>> EKE wrong.  For DH-EKE (which is actually secure), you send a brand
>>> new share every time.  Given my very, very limited understanding of
>>> what is proposed here (since I haven't gone and asked the editors for
>>> all the relevant documents), the protocol being used doesn't really
>>> achieve anything useful.
>>
>> Yes, you use a fresh share every time with EKE because the derived
>> session key is the important thing, you're doing a key exchange protocol
>> to derive a secure, shared session key. That's not the case with PKEX.
>> In PKEX the important thing is the decrypted public key, any derived
>> session key is discarded. So reusing the public key would result in
>> the issue that the text addresses.
> Then at the very least why not do real PAKE (DH-EKE or whatever) and
> then exchange public keys over the resulting secure channel?  ISTM the
> spec is inventing a new protocol that's strictly worse than the
> standard protocols out there.

   Doing DH-EKE and exchanging public keys in the resulting secure channel
would not provide proof of possession of the exchanged public keys. And it
would also double the amount of crypto for no apparent benefit.

   Can you please explain how it is "strictly worse" than the standard
protocols out there?

>>> But from reading the draft DPP document, I can't even tell what the
>>> workflow is.  Who generates a password, who types it where, and who
>>> sends what?
>>>
>>> And can someone explain what security properties the protocol is
>>> trying to achieve?
>>
>> It was added to 802.11ai to enable raw public keys to be used for
>> authentication in the 802.11ai protocol. Usually raw public keys are
>> exchanged "in a manner outside the scope of the standard" but that's
>> kind of a cop out. So PKEX was added to allow for 2 parties to exchange
>> raw public keys in a manner that would provide some modicum of trust
>> to the received public key. Each device will get the peer's public key
>> in a manner that guarantees the integrity of the received key, with
>> proof of possession of the private key, from a someone who knows the
>> shared password. Presuming no one else knows the shared password then
>> you know who's public key you just received and you know to whom
>> you just gave your public key.
> This doesn't answer the question.  What's the workflow?  Do I, as the
> user, make up an arbitrary password and type it in to both devices?
> Do I, as a user, read a password generated by one device and type it
> in to the other?  I'm pretty sure that, for any of these variants,
> there exist much more secure protocols.  If you further clarify the
> workflow, I'm sure I can name a better protocol, and the folks lurking
> here who are good at provable security can probably come up with a
> straightforwardly provably secure protocol for a far stronger notion
> of security than you're providing.

   The workflow could be either of those. Or it could be: I see you
in person and we want to enable our devices to securely communicate
using DPP so we each enter some short code on our devices and they
do PKEX.

   What is the security flaw in PKEX that makes other protocols "much
more secure"?
>
> The 802.11 folks already screwed up WPA Personal by failing to use a
> real PAKE for silly reasons.  Please don't screw up DPP as well.

   SAE is the PAKE in 802.11. But as I said to Paul, PKEX is not SAE.

   I would like to understand what you mean by "screw up DPP as well."
How is DPP being screwed up by the inclusion of PKEX?
>>    The properties listed in in the 802.11ai amendment for PKEX are:
>>
>>    - the protocol will result in the exchange of trusted public
>>      keys or it will fail;
>>    - a passive adversary is unable to subvert the exchange, insert
>>      any different public keys, learn the public keys, or learn the
>>      key/code/word/phrase shared by the two peers;
>>    - an active adversary that does not know the shared key/code/word/
>>      phrase cannot successfully complete the exchange; and,
>>    - an attacker is not able to perform an off-line dictionary attack
>>      against PKEX in order to determine wither the public keys or
>>      determine the shared key/code/word/phrase.
> You aren't actually providing this last property AFAICT.

   Why not? If you mean that reusing the same public key with a different
key/code/word/phrase then see the quote at the top of this email that
started this thread. That is an acknowledged security consideration already.

   Please explain how the _protocol_ itself is not providing this property
because it's not clear to me what you mean.

   Dan.



From nobody Wed Aug 31 15:23:53 2016
Return-Path: <paul@marvell.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7CEF212D1E3; Wed, 31 Aug 2016 15:23:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 FeVQodpE7Ga1; Wed, 31 Aug 2016 15:23:46 -0700 (PDT)
Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8355212D0B4; Wed, 31 Aug 2016 15:23:46 -0700 (PDT)
Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u7VMKj5P025643; Wed, 31 Aug 2016 15:23:44 -0700
Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2567rf86jw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 31 Aug 2016 15:23:43 -0700
Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Wed, 31 Aug 2016 15:23:42 -0700
Received: from SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6]) by SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6%21]) with mapi id 15.00.1104.000; Wed, 31 Aug 2016 15:23:42 -0700
From: Paul Lambert <paul@marvell.com>
To: Dan Harkins <dharkins@lounge.org>, Andy Lutomirski <luto@amacapital.net>
Thread-Topic: [Cfrg] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
Thread-Index: AQHSAxd8feDlzRT1DkO/Rm6efoKJcaBiPCcAgADJ0ICAAGitAIAAig0A//+txgA=
Date: Wed, 31 Aug 2016 22:23:42 +0000
Message-ID: <D3EC8F9E.9C4A3%paul@marvell.com>
References: <b6b2e03faf504238b8681284fc72a1dd@SC-EXCH03.marvell.com> <CALCETrVmSHv9=aNZYudU012UhuSNSJJaZX2CFa++o4nYA=WtPg@mail.gmail.com> <D3EB69B5.9C1EE%paul@marvell.com> <a120d8fb-c493-c6ea-fdd8-8ab9ebb7e5f4@lounge.org> <D3EC658C.9C3D4%paul@marvell.com> <10eef8ba-d20d-47f7-25e6-d9463367f432@lounge.org>
In-Reply-To: <10eef8ba-d20d-47f7-25e6-d9463367f432@lounge.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.6.5.160527
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.94.250.30]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <4986A712BC8D4C42BF02FFAA05F9480C@marvell.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-08-31_05:, , signatures=0
X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1608310260
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/JNVRaPhHywalmRmEKLoo-7bmD50>
Cc: "t2trg@irtf.org" <t2trg@irtf.org>, "cfrg@irtf.org" <cfrg@irtf.org>, "adrian.p.stephens@ieee.org" <adrian.p.stephens@ieee.org>, "lear@cisco.com" <lear@cisco.com>
Subject: Re: [Cfrg] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 22:23:47 -0000

>
>On 8/31/16 12:03 PM, Paul Lambert wrote:
>> Yes, PKEX is not SAE, but they share the same underlying PAKE
>> cryptographic processing
>
>   That is not true. They both use a secret group element that is derived
>from a password but the exchanges are completely different.

Yes - the protocols are very different.

My original point was that it is difficult to fully evaluate PKEX without
having the text for SAE that includes field definitions and important
aspects of the cryptographic processing.

Both PKEX and SAE use the identical textual specification that describes
the hunt-and-peek mapping of a passphrase to a group element.  This
mapping is a fundamental aspect of the PAKE processing and makes SAE and
PKEX both members of the class of PAKE algorithms that operate by the
mapping of a passphrase to a group element (point on ECC curve).

The demonstration of knowledge of this group element is very different for
the two protocols.

Paul

>
>   Dan.
>
>


From nobody Wed Aug 31 15:50:43 2016
Return-Path: <luto@amacapital.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 706D512D763 for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 15:50:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=amacapital-net.20150623.gappssmtp.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 06SPrsPxZuzJ for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 15:50:38 -0700 (PDT)
Received: from mail-ua0-x232.google.com (mail-ua0-x232.google.com [IPv6:2607:f8b0:400c:c08::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 6B6A012D7C4 for <cfrg@irtf.org>; Wed, 31 Aug 2016 15:50:32 -0700 (PDT)
Received: by mail-ua0-x232.google.com with SMTP id q42so56630450uaq.1 for <cfrg@irtf.org>; Wed, 31 Aug 2016 15:50:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=8qEV3yuNh0quZ5xbu7j+LCh8JIt8/GwHjbIU3sQQM+o=; b=YoW+o1JF/jtop0M0hBrctnffJJVL+jh9DmfITZ7apNYjyogwusrzQLTkxqWRijtBZr Qj6/Fpt0P6dF7hTLY78nHFPNpQwXxZ0EShdhIErzVEc9c2vousr9Q7rdlwwY94Ah012I 8CGBbXFjFsAiABZmuNQQ0LzAq6uNlhtf5Qe4vxxduKS7u5wkuQyNPOiWgTzhhy9PtCbf BKN5lRrG77+g0NGBYinC/0vp9hub0FdrucZ6FD1FN2yKlJc6kapcUKBlFBCxMkHj/jf5 20NSlhs5wdZblQiAuTwe7FEbb/5xWoj62tpu7B79na4Zsa5slwAQR+0urE6CMdgDEuKU T8WQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=8qEV3yuNh0quZ5xbu7j+LCh8JIt8/GwHjbIU3sQQM+o=; b=TwEKMyK4SwoqhEMTf5KkNFGO00JwwBRFv1V3mUMJkkw7C2NQpEs7nEXyUKCKb12wdL sPD3BZiiq2Qe1B+QeulSew2n4IoJPK9UCXuvswQmdHGoqNmjsYJ4ydPp0gv+vdJT2hGu iubj1OuW+MNBGFXx8LlXPni81Ega+KLpkvlevXXiZzeKz2/5OaX3WrKFbHImYwo3L3Bq Afq4U6aQGUV33gAEGawskrzZoucsD1On+li3Xkv956Bs3PHLEm6pMZ3OAgEt+OynQxlG 5oeeNZp+6pR4wu0ioQ7ffT92AxZBfw7VoGYNXST3SAHjvVLAatJE0+5iWjoK9zJwG0CC KvEA==
X-Gm-Message-State: AE9vXwNr/LVuXTPr0bQKYmOLdlo+c/EbrDmbwUA6Jxwi2mrLVrf1isj3ZSDM8lnIcUhiViVJhKmvXJA8itCCOwiX
X-Received: by 10.159.54.140 with SMTP id p12mr7454041uap.19.1472683831301; Wed, 31 Aug 2016 15:50:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.76.146 with HTTP; Wed, 31 Aug 2016 15:50:10 -0700 (PDT)
In-Reply-To: <09ffc37d-da23-3955-e4fe-4bd4e08be55f@lounge.org>
References: <b6b2e03faf504238b8681284fc72a1dd@SC-EXCH03.marvell.com> <CALCETrVmSHv9=aNZYudU012UhuSNSJJaZX2CFa++o4nYA=WtPg@mail.gmail.com> <D3EB69B5.9C1EE%paul@marvell.com> <a120d8fb-c493-c6ea-fdd8-8ab9ebb7e5f4@lounge.org> <CALCETrXatKzPCqrbefbO9S1=orPEvOTNtRz1XsfDB691mDiuGg@mail.gmail.com> <f6d272f3-5eaa-1d13-bf81-12e14ec20a3d@lounge.org> <CALCETrVdQ2+rw62bFh+G8rTk19yzb543V1eD0ig6YMMO_hM6Kw@mail.gmail.com> <09ffc37d-da23-3955-e4fe-4bd4e08be55f@lounge.org>
From: Andy Lutomirski <luto@amacapital.net>
Date: Wed, 31 Aug 2016 15:50:10 -0700
Message-ID: <CALCETrU5A6cDc5VwTQisVu1iptGz5x5fcann897rJKGCBfhs4Q@mail.gmail.com>
To: Dan Harkins <dharkins@lounge.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/PzQF3BuAf358zKR5qHDZs3ZQVVM>
Cc: "t2trg@irtf.org" <t2trg@irtf.org>, "cfrg@irtf.org" <cfrg@irtf.org>, "adrian.p.stephens@ieee.org" <adrian.p.stephens@ieee.org>, "lear@cisco.com" <lear@cisco.com>
Subject: Re: [Cfrg] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 22:50:39 -0000

On Wed, Aug 31, 2016 at 2:27 PM, Dan Harkins <dharkins@lounge.org> wrote:
>
>
> On 8/31/16 1:34 PM, Andy Lutomirski wrote:
>>
>> On Wed, Aug 31, 2016 at 1:12 PM, Dan Harkins <dharkins@lounge.org> wrote=
:
>>>
>>>
>>> On 8/31/16 12:25 PM, Andy Lutomirski wrote:
>>>>
>>>> On Tue, Aug 30, 2016 at 10:49 PM, Dan Harkins <dharkins@lounge.org>
>>>> wrote:
>>>>>
>>>>>
>>>>>>> For example, the
>>>>>>> text mentions that:
>>>>>>>
>>>>>>>> Using this bootstrapping technique more than once with a different
>>>>>>>> code
>>>>>>>> but the same bootstrapping key can enable a dictionary attack (to
>>>>>>>> recover the code) by the entity that obtained the bootstrapping ke=
y
>>>>>>>> the
>>>>>>>> first time.
>>>>>
>>>>>     Think of EKE, a password is used to encrypt a public key to peer1=
.
>>>>> Now
>>>>> some
>>>>> time later the same public key is sent to peer2 using a different
>>>>> password.
>>>>> In this case peer1 would be able to do an off-line dictionary attack =
to
>>>>> recover
>>>>> the password used in the exchange to peer2. That's what is intended b=
y
>>>>> the
>>>>> text
>>>>> in question.
>>>>
>>>> If by EKE you mean DH-EKE, then I think this just means you're doing
>>>> EKE wrong.  For DH-EKE (which is actually secure), you send a brand
>>>> new share every time.  Given my very, very limited understanding of
>>>> what is proposed here (since I haven't gone and asked the editors for
>>>> all the relevant documents), the protocol being used doesn't really
>>>> achieve anything useful.
>>>
>>>
>>> Yes, you use a fresh share every time with EKE because the derived
>>> session key is the important thing, you're doing a key exchange protoco=
l
>>> to derive a secure, shared session key. That's not the case with PKEX.
>>> In PKEX the important thing is the decrypted public key, any derived
>>> session key is discarded. So reusing the public key would result in
>>> the issue that the text addresses.
>>
>> Then at the very least why not do real PAKE (DH-EKE or whatever) and
>> then exchange public keys over the resulting secure channel?  ISTM the
>> spec is inventing a new protocol that's strictly worse than the
>> standard protocols out there.
>
>
>   Doing DH-EKE and exchanging public keys in the resulting secure channel
> would not provide proof of possession of the exchanged public keys. And i=
t
> would also double the amount of crypto for no apparent benefit.

But it does prove that someone who legitimately knows the password
intended to pair the devices in question.  If you actually need to
prove possession of keys, then that's easy to add.  But think your
threat model may be a bit confused -- an attacker is going to try to
get you to accept the wrong key, and the attacker will know that wrong
key and will thus have no problems proving possession of it.  An
attacker who gets you to think you provisioned a connection while not
possessing a key doesn't achieve very much as they won't be able to
associate.

>
>   Can you please explain how it is "strictly worse" than the standard
> protocols out there?
>

You can run DH-EKE more than once without enabling an offline attack.

>
>>>> But from reading the draft DPP document, I can't even tell what the
>>>> workflow is.  Who generates a password, who types it where, and who
>>>> sends what?
>>>>
>>>> And can someone explain what security properties the protocol is
>>>> trying to achieve?
>>>
>>>
>>> It was added to 802.11ai to enable raw public keys to be used for
>>> authentication in the 802.11ai protocol. Usually raw public keys are
>>> exchanged "in a manner outside the scope of the standard" but that's
>>> kind of a cop out. So PKEX was added to allow for 2 parties to exchange
>>> raw public keys in a manner that would provide some modicum of trust
>>> to the received public key. Each device will get the peer's public key
>>> in a manner that guarantees the integrity of the received key, with
>>> proof of possession of the private key, from a someone who knows the
>>> shared password. Presuming no one else knows the shared password then
>>> you know who's public key you just received and you know to whom
>>> you just gave your public key.
>>
>> This doesn't answer the question.  What's the workflow?  Do I, as the
>> user, make up an arbitrary password and type it in to both devices?
>> Do I, as a user, read a password generated by one device and type it
>> in to the other?  I'm pretty sure that, for any of these variants,
>> there exist much more secure protocols.  If you further clarify the
>> workflow, I'm sure I can name a better protocol, and the folks lurking
>> here who are good at provable security can probably come up with a
>> straightforwardly provably secure protocol for a far stronger notion
>> of security than you're providing.
>
>
>   The workflow could be either of those. Or it could be: I see you
> in person and we want to enable our devices to securely communicate
> using DPP so we each enter some short code on our devices and they
> do PKEX.

And who generates the short code?

>
>   What is the security flaw in PKEX that makes other protocols "much
> more secure"?

Since I still haven't read a full description of PKEX, here are my
guesses.  None of them depend on the details of the mapping from
(passphrase, cleartext group element) -> (ciphertext).  If that
mapping were biased, then additional attacks would be possible.

1. An attacker who has once legitimately paired with one of the
devices in question and thus knows the public key can apparently
passively capture a PKEX exchange and brute-force the password.  This
seems like a rather serious weakness.

2. I think there's a quadratic brute-force attack if passwords are not
reused.  Suppose there are N possible passwords.  An attacker can wait
for a PKEX exchange attempt, capture the messages, and also block the
messages so it fails.  Then the attacker captures a second PKEX
attempt between the same two parties.  There are N^2 possible pairs of
passwords for the first and second attempts.  Since, in general, we
can expect N^2 << sqrt(2^256) or so (especially if the passwords are,
say, six-digit numbers, and using six-digit or even four-digit numbers
for an exchange like this is entirely reasonable if the crypto is
good), the attacker can simply try all N^2 possibilities to find one
for which the recovered public keys match.  With high probability, the
attacker will have recovered both keys and the public key.  You seem
to be treating the public key as somewhat secret, this already breaks
it.  If the attacker has full MITM capabilities, the attacker can now
edit the exchanged messages in the second exchange to substitute his
or her own keys.

This attack seems complicated, but I can imagine it being fast enough
to run in real time and hijack a connection.

3. You have no forward protection against brute-forcing.  A leak of a
potential long-term secret (the *public bootstrapping key*, since this
protocol really does seem to think that the public key is secret)
allows brute-forcing the exchange after the fact.  Real PAKE protocols
don't have this problem -- the information that needs to be protected
is ephemeral.

4. I suspect that, once a PKEX exchange succeeds in the context of
DPP, a passive eavesdropper will be able to capture enough information
to be able to evaluate whether a given guess of a party's public key
is correct.  This enables a full off-line attack on the password.

5. The really, really easy attack: in the real world, I suspect that a
lot of PKEX-supporting devices will be things like APs and will also
have QR codes.  So an attacker can simply read the QR code, learn the
AP's public key, and then brute force all subsequent PKEX exchanges.

This whole protocol doesn't have a coherent description of exactly who
does what and what the security properties are supposed to be, which
makes it very unlikely that provable security is possible.  I wouldn't
be terribly surprised if I or others could break it further if anyone
cared to.

If an implementation really never reuses a bootstrapping public key,
then #1, #2, and #5 don't work.  I find it implausible that devices
will actually use ephemeral bootstrapping keys, if for no other reason
than that it would significantly complicate the rest of the protocol.
And if devices do use ephemeral bootstrapping keys, then evaluating
whether #4 is a problem cannot be done by simply analyzing PKEX.  One
would also need to analyze the DPP Authentication protocol to
determine whether it leaked enough information (to a passive or active
attacker) to allow checking whether a guess of the bootstrap key is
correct.  This is, in my book, sufficient reason to reject the entire
PKEX primitive.  A primitive should be secure on its own without
regard to the context in which it's used.

6.2.3 says: The Responder receives the DPP Authentication Request
message and checks whether a SHA256 hash of the DER encoded ASN.1
SubjectPublicKeyInfo of its public bootstrapping key is in the
message. If not, it discards the message and returns to its quiescent
state. If a hash of its key is in the message, ...

That looks like it could give a clear indication of whether a guessed
bootstrap key is correct.


On another note, this looks like a potential vulnerability;

6.2.3 further says: If a hash of its key is in the message, it next
checks whether it has a copy of the Initiator=E2=80=99s public bootstrappin=
g
key (whose SHA256 hash matches that in the message). If so, and the
Responder wishes to do mutual authentication, it will perform mutual
authentication, otherwise it will not perform mutual authentication.

This looks like it might be a way to force a downgrade that prevents
mutual authentication.

>>
>>
>> The 802.11 folks already screwed up WPA Personal by failing to use a
>> real PAKE for silly reasons.  Please don't screw up DPP as well.
>
>
>   SAE is the PAKE in 802.11. But as I said to Paul, PKEX is not SAE.
>
>   I would like to understand what you mean by "screw up DPP as well."
> How is DPP being screwed up by the inclusion of PKEX?
>>>
>>>    The properties listed in in the 802.11ai amendment for PKEX are:
>>>
>>>    - the protocol will result in the exchange of trusted public
>>>      keys or it will fail;
>>>    - a passive adversary is unable to subvert the exchange, insert
>>>      any different public keys, learn the public keys, or learn the
>>>      key/code/word/phrase shared by the two peers;
>>>    - an active adversary that does not know the shared key/code/word/
>>>      phrase cannot successfully complete the exchange; and,
>>>    - an attacker is not able to perform an off-line dictionary attack
>>>      against PKEX in order to determine wither the public keys or
>>>      determine the shared key/code/word/phrase.
>>
>> You aren't actually providing this last property AFAICT.
>
>
>   Why not? If you mean that reusing the same public key with a different
> key/code/word/phrase then see the quote at the top of this email that
> started this thread. That is an acknowledged security consideration alrea=
dy.

Saying it's "an acknowledged security consideration" doesn't make it
magically stop being a violation of the intended security properties.

>
>   Please explain how the _protocol_ itself is not providing this property
> because it's not clear to me what you mean.

A protocol with a big nasty gotcha like this that's already known when
the protocol is proposed is unacceptable in my book.  Also, it seems
considerably more broken than just this gotcha -- see above.

But why oh why is the 802.11 group inventing its own crypto?  It's not
the 1990s any more.  Use a real primitive.

--Andy


From nobody Wed Aug 31 16:49:09 2016
Return-Path: <luto@amacapital.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E5C8412D513 for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 16:49:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=amacapital-net.20150623.gappssmtp.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 5HXQAhnGZynE for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 16:49:01 -0700 (PDT)
Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::235]) (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 C1EE712D7AF for <cfrg@irtf.org>; Wed, 31 Aug 2016 16:49:00 -0700 (PDT)
Received: by mail-lf0-x235.google.com with SMTP id e198so14691978lfb.2 for <cfrg@irtf.org>; Wed, 31 Aug 2016 16:49:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8iLBB8F4kfmP3i3JQP34myLNM7v3qdBzlmIddMSts/Q=; b=Q8C45Pv9GUDJF+dp73xw1y1uf6cn73txESd52k/bPbePs/2ZSe8XegZVeiy2P3vzKh MEfxcHNeSxGRHE25Z3m4Q23TKj/B5YwozqWuPN6B5Ifrbws9Zk0IkT0EpCcchUphFHHi uEqpJlA+PoALnkXX+54tScmZuFtWxSc908HWzNuzabx/cOXvutufbkf5LPPAim95RfnC wwasLfUryt24E0x4eI8CxXZhmF8Y/Suzm+Eb+yrZKe/K8m9eOECAE64dwDKzEy2Rqc1M OmceuA1InlHMVly5vkshCsvjR7OqzyHyKHEigbZ8ZT6It9b0ncelPQC2RSFIy01nBBCl 7iBA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8iLBB8F4kfmP3i3JQP34myLNM7v3qdBzlmIddMSts/Q=; b=E5KJMWnuNYFrjrvoeN/NjvtJ9KfJPflwLHQf3aIxeR39jpC7oMc9jW0a6459KLgwKt pBDe5Nx/BIE41GCt8+cKe7cXyoLnn8efPfOI3TQkzmrcAUIk6/5cIrzQoBKO7x9FuG3/ 86I5AAOo6knOiBhT0IIfBTNJwMjGdUnFVeIJnhA4nPRX8lojUhfdLzx4H86gozsYkhce aj5rTit9BvEvlcTJI6mOCz1BVRaZ4BL4X+89Kq6mhYwNjHuV4xnXX1g5YpsqRFv3zYjb AaVJTnwJ+s/YmtwrEbVz2G1+v+lbQ4S6Iw84ZEHL1yRKFRuRpjYL/PoQybCqP5zroGJa Pp1g==
X-Gm-Message-State: AE9vXwOUibPzNEXPocakIkOu21lss00JdcO27HiX5Xl0uYfl0nfb46wL3wYCGzhbEq0CrHKnq6Vm/uoVDb59MpXj
X-Received: by 10.46.32.203 with SMTP id g72mr3774130lji.30.1472687338585; Wed, 31 Aug 2016 16:48:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.19.209 with HTTP; Wed, 31 Aug 2016 16:48:56 -0700 (PDT)
Received: by 10.25.19.209 with HTTP; Wed, 31 Aug 2016 16:48:56 -0700 (PDT)
In-Reply-To: <22777767-fea4-9922-47c8-09aa00325271@lounge.org>
References: <b6b2e03faf504238b8681284fc72a1dd@SC-EXCH03.marvell.com> <CALCETrVmSHv9=aNZYudU012UhuSNSJJaZX2CFa++o4nYA=WtPg@mail.gmail.com> <D3EB69B5.9C1EE%paul@marvell.com> <a120d8fb-c493-c6ea-fdd8-8ab9ebb7e5f4@lounge.org> <CALCETrXatKzPCqrbefbO9S1=orPEvOTNtRz1XsfDB691mDiuGg@mail.gmail.com> <f6d272f3-5eaa-1d13-bf81-12e14ec20a3d@lounge.org> <CALCETrVdQ2+rw62bFh+G8rTk19yzb543V1eD0ig6YMMO_hM6Kw@mail.gmail.com> <09ffc37d-da23-3955-e4fe-4bd4e08be55f@lounge.org> <CALCETrU5A6cDc5VwTQisVu1iptGz5x5fcann897rJKGCBfhs4Q@mail.gmail.com> <22777767-fea4-9922-47c8-09aa00325271@lounge.org>
From: Andy Lutomirski <luto@amacapital.net>
Date: Wed, 31 Aug 2016 16:48:56 -0700
Message-ID: <CALCETrWf4cd9xG67ufHhuVHA=SHJyqn_HM5TEy7zgiDaENxUfQ@mail.gmail.com>
To: Dan Harkins <dharkins@lounge.org>
Content-Type: multipart/alternative; boundary=001a1142b652ae9372053b66bd92
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/Jgx_V8gePK0BKdf-DLK7BsiWMCE>
Cc: t2trg@irtf.org, cfrg@irtf.org, "adrian.p.stephens@ieee.org" <adrian.p.stephens@ieee.org>, "lear@cisco.com" <lear@cisco.com>
Subject: Re: [Cfrg] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 23:49:04 -0000

--001a1142b652ae9372053b66bd92
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Aug 31, 2016 4:38 PM, "Dan Harkins" <dharkins@lounge.org> wrote:
>
>
>
> On 8/31/16 3:50 PM, Andy Lutomirski wrote:
>>
>> On Wed, Aug 31, 2016 at 2:27 PM, Dan Harkins <dharkins@lounge.org> wrote=
:
>>>
>>>    What is the security flaw in PKEX that makes other protocols "much
>>> more secure"?
>>
>> Since I still haven't read a full description of PKEX, here are my
>> guesses.  None of them depend on the details of the mapping from
>> (passphrase, cleartext group element) -> (ciphertext).  If that
>> mapping were biased, then additional attacks would be possible.
>
>
>   Oh, I didn't realize you were making these statements without
> actually having seen the protocol.
>
>   See the attached.

That's more or less what I expected.  I think it's vulnerable to all of the
attacks I described.

>
>   Dan.
>
>
>> 1. An attacker who has once legitimately paired with one of the
>> devices in question and thus knows the public key can apparently
>> passively capture a PKEX exchange and brute-force the password.  This
>> seems like a rather serious weakness.
>>
>> 2. I think there's a quadratic brute-force attack if passwords are not
>> reused.  Suppose there are N possible passwords.  An attacker can wait
>> for a PKEX exchange attempt, capture the messages, and also block the
>> messages so it fails.  Then the attacker captures a second PKEX
>> attempt between the same two parties.  There are N^2 possible pairs of
>> passwords for the first and second attempts.  Since, in general, we
>> can expect N^2 << sqrt(2^256) or so (especially if the passwords are,
>> say, six-digit numbers, and using six-digit or even four-digit numbers
>> for an exchange like this is entirely reasonable if the crypto is
>> good), the attacker can simply try all N^2 possibilities to find one
>> for which the recovered public keys match.  With high probability, the
>> attacker will have recovered both keys and the public key.  You seem
>> to be treating the public key as somewhat secret, this already breaks
>> it.  If the attacker has full MITM capabilities, the attacker can now
>> edit the exchanged messages in the second exchange to substitute his
>> or her own keys.
>>
>> This attack seems complicated, but I can imagine it being fast enough
>> to run in real time and hijack a connection.
>>
>> 3. You have no forward protection against brute-forcing.  A leak of a
>> potential long-term secret (the *public bootstrapping key*, since this
>> protocol really does seem to think that the public key is secret)
>> allows brute-forcing the exchange after the fact.  Real PAKE protocols
>> don't have this problem -- the information that needs to be protected
>> is ephemeral.
>>
>> 4. I suspect that, once a PKEX exchange succeeds in the context of
>> DPP, a passive eavesdropper will be able to capture enough information
>> to be able to evaluate whether a given guess of a party's public key
>> is correct.  This enables a full off-line attack on the password.
>>
>> 5. The really, really easy attack: in the real world, I suspect that a
>> lot of PKEX-supporting devices will be things like APs and will also
>> have QR codes.  So an attacker can simply read the QR code, learn the
>> AP's public key, and then brute force all subsequent PKEX exchanges.
>>
>> This whole protocol doesn't have a coherent description of exactly who
>> does what and what the security properties are supposed to be, which
>> makes it very unlikely that provable security is possible.  I wouldn't
>> be terribly surprised if I or others could break it further if anyone
>> cared to.
>>
>> If an implementation really never reuses a bootstrapping public key,
>> then #1, #2, and #5 don't work.  I find it implausible that devices
>> will actually use ephemeral bootstrapping keys, if for no other reason
>> than that it would significantly complicate the rest of the protocol.
>> And if devices do use ephemeral bootstrapping keys, then evaluating
>> whether #4 is a problem cannot be done by simply analyzing PKEX.  One
>> would also need to analyze the DPP Authentication protocol to
>> determine whether it leaked enough information (to a passive or active
>> attacker) to allow checking whether a guess of the bootstrap key is
>> correct.  This is, in my book, sufficient reason to reject the entire
>> PKEX primitive.  A primitive should be secure on its own without
>> regard to the context in which it's used.
>>
>> 6.2.3 says: The Responder receives the DPP Authentication Request
>> message and checks whether a SHA256 hash of the DER encoded ASN.1
>> SubjectPublicKeyInfo of its public bootstrapping key is in the
>> message. If not, it discards the message and returns to its quiescent
>> state. If a hash of its key is in the message, ...
>>
>> That looks like it could give a clear indication of whether a guessed
>> bootstrap key is correct.
>>
>>
>> On another note, this looks like a potential vulnerability;
>>
>> 6.2.3 further says: If a hash of its key is in the message, it next
>> checks whether it has a copy of the Initiator=E2=80=99s public bootstrap=
ping
>> key (whose SHA256 hash matches that in the message). If so, and the
>> Responder wishes to do mutual authentication, it will perform mutual
>> authentication, otherwise it will not perform mutual authentication.
>>
>> This looks like it might be a way to force a downgrade that prevents
>> mutual authentication.
>>
>>>>
>>>> The 802.11 folks already screwed up WPA Personal by failing to use a
>>>> real PAKE for silly reasons.  Please don't screw up DPP as well.
>>>
>>>
>>>    SAE is the PAKE in 802.11. But as I said to Paul, PKEX is not SAE.
>>>
>>>    I would like to understand what you mean by "screw up DPP as well."
>>> How is DPP being screwed up by the inclusion of PKEX?
>>>>>
>>>>>     The properties listed in in the 802.11ai amendment for PKEX are:
>>>>>
>>>>>     - the protocol will result in the exchange of trusted public
>>>>>       keys or it will fail;
>>>>>     - a passive adversary is unable to subvert the exchange, insert
>>>>>       any different public keys, learn the public keys, or learn the
>>>>>       key/code/word/phrase shared by the two peers;
>>>>>     - an active adversary that does not know the shared key/code/word=
/
>>>>>       phrase cannot successfully complete the exchange; and,
>>>>>     - an attacker is not able to perform an off-line dictionary attac=
k
>>>>>       against PKEX in order to determine wither the public keys or
>>>>>       determine the shared key/code/word/phrase.
>>>>
>>>> You aren't actually providing this last property AFAICT.
>>>
>>>
>>>    Why not? If you mean that reusing the same public key with a
different
>>> key/code/word/phrase then see the quote at the top of this email that
>>> started this thread. That is an acknowledged security consideration
already.
>>
>> Saying it's "an acknowledged security consideration" doesn't make it
>> magically stop being a violation of the intended security properties.
>>
>>>    Please explain how the _protocol_ itself is not providing this
property
>>> because it's not clear to me what you mean.
>>
>> A protocol with a big nasty gotcha like this that's already known when
>> the protocol is proposed is unacceptable in my book.  Also, it seems
>> considerably more broken than just this gotcha -- see above.
>>
>> But why oh why is the 802.11 group inventing its own crypto?  It's not
>> the 1990s any more.  Use a real primitive.
>>
>> --Andy
>
>

--001a1142b652ae9372053b66bd92
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">On Aug 31, 2016 4:38 PM, &quot;Dan Harkins&quot; &lt;<a href=
=3D"mailto:dharkins@lounge.org">dharkins@lounge.org</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On 8/31/16 3:50 PM, Andy Lutomirski wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Aug 31, 2016 at 2:27 PM, Dan Harkins &lt;<a href=3D"mailto=
:dharkins@lounge.org">dharkins@lounge.org</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; =C2=A0 =C2=A0What is the security flaw in PKEX that makes othe=
r protocols &quot;much<br>
&gt;&gt;&gt; more secure&quot;?<br>
&gt;&gt;<br>
&gt;&gt; Since I still haven&#39;t read a full description of PKEX, here ar=
e my<br>
&gt;&gt; guesses.=C2=A0 None of them depend on the details of the mapping f=
rom<br>
&gt;&gt; (passphrase, cleartext group element) -&gt; (ciphertext).=C2=A0 If=
 that<br>
&gt;&gt; mapping were biased, then additional attacks would be possible.<br=
>
&gt;<br>
&gt;<br>
&gt; =C2=A0 Oh, I didn&#39;t realize you were making these statements witho=
ut<br>
&gt; actually having seen the protocol.<br>
&gt;<br>
&gt; =C2=A0 See the attached.</p>
<p dir=3D"ltr">That&#39;s more or less what I expected.=C2=A0 I think it&#3=
9;s vulnerable to all of the attacks I described.</p>
<p dir=3D"ltr">&gt;<br>
&gt; =C2=A0 Dan.<br>
&gt;<br>
&gt;<br>
&gt;&gt; 1. An attacker who has once legitimately paired with one of the<br=
>
&gt;&gt; devices in question and thus knows the public key can apparently<b=
r>
&gt;&gt; passively capture a PKEX exchange and brute-force the password.=C2=
=A0 This<br>
&gt;&gt; seems like a rather serious weakness.<br>
&gt;&gt;<br>
&gt;&gt; 2. I think there&#39;s a quadratic brute-force attack if passwords=
 are not<br>
&gt;&gt; reused.=C2=A0 Suppose there are N possible passwords.=C2=A0 An att=
acker can wait<br>
&gt;&gt; for a PKEX exchange attempt, capture the messages, and also block =
the<br>
&gt;&gt; messages so it fails.=C2=A0 Then the attacker captures a second PK=
EX<br>
&gt;&gt; attempt between the same two parties.=C2=A0 There are N^2 possible=
 pairs of<br>
&gt;&gt; passwords for the first and second attempts.=C2=A0 Since, in gener=
al, we<br>
&gt;&gt; can expect N^2 &lt;&lt; sqrt(2^256) or so (especially if the passw=
ords are,<br>
&gt;&gt; say, six-digit numbers, and using six-digit or even four-digit num=
bers<br>
&gt;&gt; for an exchange like this is entirely reasonable if the crypto is<=
br>
&gt;&gt; good), the attacker can simply try all N^2 possibilities to find o=
ne<br>
&gt;&gt; for which the recovered public keys match.=C2=A0 With high probabi=
lity, the<br>
&gt;&gt; attacker will have recovered both keys and the public key.=C2=A0 Y=
ou seem<br>
&gt;&gt; to be treating the public key as somewhat secret, this already bre=
aks<br>
&gt;&gt; it.=C2=A0 If the attacker has full MITM capabilities, the attacker=
 can now<br>
&gt;&gt; edit the exchanged messages in the second exchange to substitute h=
is<br>
&gt;&gt; or her own keys.<br>
&gt;&gt;<br>
&gt;&gt; This attack seems complicated, but I can imagine it being fast eno=
ugh<br>
&gt;&gt; to run in real time and hijack a connection.<br>
&gt;&gt;<br>
&gt;&gt; 3. You have no forward protection against brute-forcing.=C2=A0 A l=
eak of a<br>
&gt;&gt; potential long-term secret (the *public bootstrapping key*, since =
this<br>
&gt;&gt; protocol really does seem to think that the public key is secret)<=
br>
&gt;&gt; allows brute-forcing the exchange after the fact.=C2=A0 Real PAKE =
protocols<br>
&gt;&gt; don&#39;t have this problem -- the information that needs to be pr=
otected<br>
&gt;&gt; is ephemeral.<br>
&gt;&gt;<br>
&gt;&gt; 4. I suspect that, once a PKEX exchange succeeds in the context of=
<br>
&gt;&gt; DPP, a passive eavesdropper will be able to capture enough informa=
tion<br>
&gt;&gt; to be able to evaluate whether a given guess of a party&#39;s publ=
ic key<br>
&gt;&gt; is correct.=C2=A0 This enables a full off-line attack on the passw=
ord.<br>
&gt;&gt;<br>
&gt;&gt; 5. The really, really easy attack: in the real world, I suspect th=
at a<br>
&gt;&gt; lot of PKEX-supporting devices will be things like APs and will al=
so<br>
&gt;&gt; have QR codes.=C2=A0 So an attacker can simply read the QR code, l=
earn the<br>
&gt;&gt; AP&#39;s public key, and then brute force all subsequent PKEX exch=
anges.<br>
&gt;&gt;<br>
&gt;&gt; This whole protocol doesn&#39;t have a coherent description of exa=
ctly who<br>
&gt;&gt; does what and what the security properties are supposed to be, whi=
ch<br>
&gt;&gt; makes it very unlikely that provable security is possible.=C2=A0 I=
 wouldn&#39;t<br>
&gt;&gt; be terribly surprised if I or others could break it further if any=
one<br>
&gt;&gt; cared to.<br>
&gt;&gt;<br>
&gt;&gt; If an implementation really never reuses a bootstrapping public ke=
y,<br>
&gt;&gt; then #1, #2, and #5 don&#39;t work.=C2=A0 I find it implausible th=
at devices<br>
&gt;&gt; will actually use ephemeral bootstrapping keys, if for no other re=
ason<br>
&gt;&gt; than that it would significantly complicate the rest of the protoc=
ol.<br>
&gt;&gt; And if devices do use ephemeral bootstrapping keys, then evaluatin=
g<br>
&gt;&gt; whether #4 is a problem cannot be done by simply analyzing PKEX.=
=C2=A0 One<br>
&gt;&gt; would also need to analyze the DPP Authentication protocol to<br>
&gt;&gt; determine whether it leaked enough information (to a passive or ac=
tive<br>
&gt;&gt; attacker) to allow checking whether a guess of the bootstrap key i=
s<br>
&gt;&gt; correct.=C2=A0 This is, in my book, sufficient reason to reject th=
e entire<br>
&gt;&gt; PKEX primitive.=C2=A0 A primitive should be secure on its own with=
out<br>
&gt;&gt; regard to the context in which it&#39;s used.<br>
&gt;&gt;<br>
&gt;&gt; 6.2.3 says: The Responder receives the DPP Authentication Request<=
br>
&gt;&gt; message and checks whether a SHA256 hash of the DER encoded ASN.1<=
br>
&gt;&gt; SubjectPublicKeyInfo of its public bootstrapping key is in the<br>
&gt;&gt; message. If not, it discards the message and returns to its quiesc=
ent<br>
&gt;&gt; state. If a hash of its key is in the message, ...<br>
&gt;&gt;<br>
&gt;&gt; That looks like it could give a clear indication of whether a gues=
sed<br>
&gt;&gt; bootstrap key is correct.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On another note, this looks like a potential vulnerability;<br>
&gt;&gt;<br>
&gt;&gt; 6.2.3 further says: If a hash of its key is in the message, it nex=
t<br>
&gt;&gt; checks whether it has a copy of the Initiator=E2=80=99s public boo=
tstrapping<br>
&gt;&gt; key (whose SHA256 hash matches that in the message). If so, and th=
e<br>
&gt;&gt; Responder wishes to do mutual authentication, it will perform mutu=
al<br>
&gt;&gt; authentication, otherwise it will not perform mutual authenticatio=
n.<br>
&gt;&gt;<br>
&gt;&gt; This looks like it might be a way to force a downgrade that preven=
ts<br>
&gt;&gt; mutual authentication.<br>
&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The 802.11 folks already screwed up WPA Personal by failin=
g to use a<br>
&gt;&gt;&gt;&gt; real PAKE for silly reasons.=C2=A0 Please don&#39;t screw =
up DPP as well.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; =C2=A0 =C2=A0SAE is the PAKE in 802.11. But as I said to Paul,=
 PKEX is not SAE.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; =C2=A0 =C2=A0I would like to understand what you mean by &quot=
;screw up DPP as well.&quot;<br>
&gt;&gt;&gt; How is DPP being screwed up by the inclusion of PKEX?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; =C2=A0 =C2=A0 The properties listed in in the 802.11ai=
 amendment for PKEX are:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; =C2=A0 =C2=A0 - the protocol will result in the exchan=
ge of trusted public<br>
&gt;&gt;&gt;&gt;&gt; =C2=A0 =C2=A0 =C2=A0 keys or it will fail;<br>
&gt;&gt;&gt;&gt;&gt; =C2=A0 =C2=A0 - a passive adversary is unable to subve=
rt the exchange, insert<br>
&gt;&gt;&gt;&gt;&gt; =C2=A0 =C2=A0 =C2=A0 any different public keys, learn =
the public keys, or learn the<br>
&gt;&gt;&gt;&gt;&gt; =C2=A0 =C2=A0 =C2=A0 key/code/word/phrase shared by th=
e two peers;<br>
&gt;&gt;&gt;&gt;&gt; =C2=A0 =C2=A0 - an active adversary that does not know=
 the shared key/code/word/<br>
&gt;&gt;&gt;&gt;&gt; =C2=A0 =C2=A0 =C2=A0 phrase cannot successfully comple=
te the exchange; and,<br>
&gt;&gt;&gt;&gt;&gt; =C2=A0 =C2=A0 - an attacker is not able to perform an =
off-line dictionary attack<br>
&gt;&gt;&gt;&gt;&gt; =C2=A0 =C2=A0 =C2=A0 against PKEX in order to determin=
e wither the public keys or<br>
&gt;&gt;&gt;&gt;&gt; =C2=A0 =C2=A0 =C2=A0 determine the shared key/code/wor=
d/phrase.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; You aren&#39;t actually providing this last property AFAIC=
T.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; =C2=A0 =C2=A0Why not? If you mean that reusing the same public=
 key with a different<br>
&gt;&gt;&gt; key/code/word/phrase then see the quote at the top of this ema=
il that<br>
&gt;&gt;&gt; started this thread. That is an acknowledged security consider=
ation already.<br>
&gt;&gt;<br>
&gt;&gt; Saying it&#39;s &quot;an acknowledged security consideration&quot;=
 doesn&#39;t make it<br>
&gt;&gt; magically stop being a violation of the intended security properti=
es.<br>
&gt;&gt;<br>
&gt;&gt;&gt; =C2=A0 =C2=A0Please explain how the _protocol_ itself is not p=
roviding this property<br>
&gt;&gt;&gt; because it&#39;s not clear to me what you mean.<br>
&gt;&gt;<br>
&gt;&gt; A protocol with a big nasty gotcha like this that&#39;s already kn=
own when<br>
&gt;&gt; the protocol is proposed is unacceptable in my book.=C2=A0 Also, i=
t seems<br>
&gt;&gt; considerably more broken than just this gotcha -- see above.<br>
&gt;&gt;<br>
&gt;&gt; But why oh why is the 802.11 group inventing its own crypto?=C2=A0=
 It&#39;s not<br>
&gt;&gt; the 1990s any more.=C2=A0 Use a real primitive.<br>
&gt;&gt;<br>
&gt;&gt; --Andy<br>
&gt;<br>
&gt;</p>

--001a1142b652ae9372053b66bd92--


From nobody Wed Aug 31 16:55:52 2016
Return-Path: <paul@marvell.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8B37812D7BF; Wed, 31 Aug 2016 16:55:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 0uLrM93lDLFU; Wed, 31 Aug 2016 16:55:50 -0700 (PDT)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E7D8412B044; Wed, 31 Aug 2016 16:55:49 -0700 (PDT)
Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u7VNsmOC031840; Wed, 31 Aug 2016 16:55:47 -0700
Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 2567f497es-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 31 Aug 2016 16:55:47 -0700
Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Wed, 31 Aug 2016 16:55:44 -0700
Received: from SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6]) by SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6%21]) with mapi id 15.00.1104.000; Wed, 31 Aug 2016 16:55:44 -0700
From: Paul Lambert <paul@marvell.com>
To: Dan Harkins <dharkins@lounge.org>, Andy Lutomirski <luto@amacapital.net>
Thread-Topic: [T2TRG] [Cfrg] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
Thread-Index: AQHSA+MvfeDlzRT1DkO/Rm6efoKJcQ==
Date: Wed, 31 Aug 2016 23:55:44 +0000
Message-ID: <D3ECA739.9C587%paul@marvell.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.6.5.160527
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.94.250.30]
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <FEC9F87DAEFB4F4A83A2C52A0A81649A@marvell.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-08-31_06:, , signatures=0
X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1608310276
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/O8jJCw4eVNU0GFMcxp627Uo6GWQ>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "t2trg@irtf.org" <t2trg@irtf.org>, "adrian.p.stephens@ieee.org" <adrian.p.stephens@ieee.org>, "lear@cisco.com" <lear@cisco.com>
Subject: Re: [Cfrg] [T2TRG] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Aug 2016 23:55:51 -0000

I=B9ve made a short summary of the PKEX protocol below. Comments and
corrections would be appreciated.

Assuming my summary is correct ...

If a third party Carol with P_c knows the MAC address and public key of
Alice (MAC_a and P_a) a MiTM attack is possible.

1) Alice and Bob share a one-time passphrase to bootstrap connectivity and
learn each others associated public keys.
2) Alice
   - calculates Pwe_ab =3D huntandpeck(passphrase_ab)   # passphrase betwee=
n
Alice and Bob
   - calculates Q_a =3D H( MAC_a ) * Pwe_a
   - sends Commit with nonce_a and C_a =3D P_a + Q_a
3) Carol intercepts Alice=B9s Commit and having met Alice, know=B9s P_a and
MAC_a
   - calculates  Q_a =3D (C_a - P_a)
   - creates spoofed commit as
      C=B9_a =3D P_c + Q_a
   - send spoofed commit with nonce_c and C=B9_a
4) Carol continues PKEX exchange with Bob using MAC_a
5) At end Bob thinks P_c belongs to MAC_a


Paul


- - - PKEX Summary - - -

For two entities Alice and Bob:
 - subscripts indicate entity (e.g. P_a for Alice public key)
 - operating on additive group
 - with generator G on a 'curve'
 - with hash H()
 - and huntandpeck(Point,curve) as defined in 802.11mc
 - scalars are lower case group element (Points) in upper case

Each peer has a long term public key:
   P_a =3D s_a * G
   P_b =3D s_b * G
 and MAC addresses
   MAC_a
   MAC_b

Each peer shares by out-of-band a string 'passphrase'

The following is a view of PKEX processing from Alice's perspective:

Pwe_a =3D huntandpeck( passphrase, curve ) # a point on the curve
m_a =3D H( MAC_a )
Q_a =3D m_a * Pwe_a
C_a =3D P_a + Q_a
nonce_a =3D random()

Alice ---> Bob   sendCommit( nonce_a, C_a )  from MAC_a
=20
Alice <--- Bob   sendCommit( nonce_b, C_b )  from MAC_b

m_b =3D H(MAC_b)
Q'_b =3D m_b * Pwe
P'_b =3D C_b - Q'_b
k =3D KDF(s_a*P'_b', nonce_a, nonce_b)

Alice ---> Bob  sendCommit( HMAC-Hash(k, P_a || P'_b || MAC_a || MAC_b) )
Alice <--- Bob  sendCommit( HMAC-Hash(k, P_b || P'_a || MAC_b || MAC_b) )

Alice validates that Bob=B9s commit message is correct and if so:
 - Alice has demonstrated ownership of P_a to Bob
 - Bob has demonstrated ownership of P_b to Alice
 - no pair-wise shared key is available







>
>>
>>On 8/31/16 12:03 PM, Paul Lambert wrote:
>>> Yes, PKEX is not SAE, but they share the same underlying PAKE
>>> cryptographic processing
>>
>>   That is not true. They both use a secret group element that is derived
>>from a password but the exchanges are completely different.
>
>Yes - the protocols are very different.
>
>My original point was that it is difficult to fully evaluate PKEX without
>having the text for SAE that includes field definitions and important
>aspects of the cryptographic processing.
>
>Both PKEX and SAE use the identical textual specification that describes
>the hunt-and-peek mapping of a passphrase to a group element.  This
>mapping is a fundamental aspect of the PAKE processing and makes SAE and
>PKEX both members of the class of PAKE algorithms that operate by the
>mapping of a passphrase to a group element (point on ECC curve).
>
>The demonstration of knowledge of this group element is very different for
>the two protocols.
>
>Paul
>
>>
>>   Dan.
>>
>>
>
>_______________________________________________
>T2TRG mailing list
>T2TRG@irtf.org
>https://www.irtf.org/mailman/listinfo/t2trg


From nobody Wed Aug 31 17:14:15 2016
Return-Path: <luto@amacapital.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C91EC12D513 for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 17:14:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=amacapital-net.20150623.gappssmtp.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 GTEmBGIYlBQy for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 17:14:11 -0700 (PDT)
Received: from mail-ua0-x22c.google.com (mail-ua0-x22c.google.com [IPv6:2607:f8b0:400c:c08::22c]) (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 7C4A512D7CA for <cfrg@irtf.org>; Wed, 31 Aug 2016 17:14:10 -0700 (PDT)
Received: by mail-ua0-x22c.google.com with SMTP id l94so117870447ual.0 for <cfrg@irtf.org>; Wed, 31 Aug 2016 17:14:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Ges3PGbWA/REzMBs0NX8UUNiEnRL4z05ukloBASyz+A=; b=ozGDvk1CETBc9eF5S2HXfte5sUrwFmSe+8pS+iP18hRD943XMGhWtQ2yqZVsFqdOVy 12GpsZaGitDYQOStSCy+e8c2mEfgTKIYey7hG/zEkieCWsBNKQJz8hc1eIh+HbgpinhG HT1ZiN9tQsfFYhTugNP99kVIfYiPgH1HCSFgb0eet4Pm6C3ivXja7R8L2E43boyWvHmM 8DCPaw390NRD9FhwWKfdC7ipDZMZzc7aCf/KbUPA7tsD5W75urz9rT25Cdj/2A33f35F jSZhHQIyVt6gkpE5qZ2FiVe0ymINhCDCK6CMkBJ+7YzGyh82pmAueMXZD5BeBqHAmsXD C+6g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Ges3PGbWA/REzMBs0NX8UUNiEnRL4z05ukloBASyz+A=; b=G2baizgeOtwHtE+WVroxx46Kqn2S2h8sBKMV8Mpr1kITv7l5J/AIY/yB13gzjfImFI vChPios/RkNg171+g8nE77ba4Rd5/xxNxy3Xy0mkotarUEav8t8oN1CU0UHXuo2EnRpZ Y+B/6ZJuDJ446nWNokrUXhrVebug2bErIc9Dn/PXIxd4wZv4bJOhYUrZBZ0Bc6IzTOs6 hDTRLer5TtiwNCmBmhEn7zSAK4k9D9RF90k+JMKqRiZU4C/8PI63doSn2FsKSoGbqkcJ CEdDupl0MK+vxff6lXhByYog1U/eX1nbgQkvieMLw6P7Y3jKgf/5WrxklOfF3Hee7IHs xHLQ==
X-Gm-Message-State: AE9vXwPDVO693VLUdhbJgC6wcQgYF5gzHQL/GdudK7qUltrf3LCYD2AGDLcahg9hSAjwtbSTEV337uCdO8/ktWjO
X-Received: by 10.176.64.169 with SMTP id i38mr7475002uad.65.1472688849538; Wed, 31 Aug 2016 17:14:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.76.146 with HTTP; Wed, 31 Aug 2016 17:14:08 -0700 (PDT)
Received: by 10.103.76.146 with HTTP; Wed, 31 Aug 2016 17:14:08 -0700 (PDT)
In-Reply-To: <D3ECA739.9C587%paul@marvell.com>
References: <D3ECA739.9C587%paul@marvell.com>
From: Andy Lutomirski <luto@amacapital.net>
Date: Wed, 31 Aug 2016 17:14:08 -0700
Message-ID: <CALCETrWV5ASUvFCnQDVwL8ULCBeWPoCq45zNFdYhg-n7YeHFYw@mail.gmail.com>
To: Paul Lambert <paul@marvell.com>
Content-Type: multipart/alternative; boundary=94eb2c124588bde867053b67178b
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/r_98gBUsG6_HMLgK2z7fk8nGwCk>
Cc: t2trg@irtf.org, cfrg@irtf.org, "adrian.p.stephens@ieee.org" <adrian.p.stephens@ieee.org>, "lear@cisco.com" <lear@cisco.com>
Subject: Re: [Cfrg] [T2TRG] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Sep 2016 00:14:12 -0000

--94eb2c124588bde867053b67178b
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Aug 31, 2016 4:55 PM, "Paul Lambert" <paul@marvell.com> wrote:
>
>
> I=C2=B9ve made a short summary of the PKEX protocol below. Comments and
> corrections would be appreciated.
>
> Assuming my summary is correct ...
>
> If a third party Carol with P_c knows the MAC address and public key of
> Alice (MAC_a and P_a) a MiTM attack is possible.
>
> 1) Alice and Bob share a one-time passphrase to bootstrap connectivity an=
d
> learn each others associated public keys.
> 2) Alice
>    - calculates Pwe_ab =3D huntandpeck(passphrase_ab)   # passphrase betw=
een
> Alice and Bob
>    - calculates Q_a =3D H( MAC_a ) * Pwe_a
>    - sends Commit with nonce_a and C_a =3D P_a + Q_a
> 3) Carol intercepts Alice=C2=B9s Commit and having met Alice, know=C2=B9s=
 P_a and
> MAC_a
>    - calculates  Q_a =3D (C_a - P_a)
>    - creates spoofed commit as
>       C=C2=B9_a =3D P_c + Q_a
>    - send spoofed commit with nonce_c and C=C2=B9_a
> 4) Carol continues PKEX exchange with Bob using MAC_a
> 5) At end Bob thinks P_c belongs to MAC_a
>

Nifty!  IMO that's a rather serious problem -- no brute forcing is needed.

I can improve my quadratic attack, too.  Suppose Carol can convince Alice
to run the protocol twice with different passwords pw1 and pw2.  (The two
runs don't even need to be with the same peer.)  Carol learns Q1_a - Q2_a.
With high probability, Carol can now jointly bruteforce pw1 and pw2 without
needing to know P_a.  Now Carol can calculate P_a.

Of course, having done so, Carol can now run your attack to MITM any
further exchanges involving Alice.

So I guess that passive observation of two protocol runs almost completely
breaks PKEX.

--Andy

--94eb2c124588bde867053b67178b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">On Aug 31, 2016 4:55 PM, &quot;Paul Lambert&quot; &lt;<a hre=
f=3D"mailto:paul@marvell.com">paul@marvell.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; I=C2=B9ve made a short summary of the PKEX protocol below. Comments an=
d<br>
&gt; corrections would be appreciated.<br>
&gt;<br>
&gt; Assuming my summary is correct ...<br>
&gt;<br>
&gt; If a third party Carol with P_c knows the MAC address and public key o=
f<br>
&gt; Alice (MAC_a and P_a) a MiTM attack is possible.<br>
&gt;<br>
&gt; 1) Alice and Bob share a one-time passphrase to bootstrap connectivity=
 and<br>
&gt; learn each others associated public keys.<br>
&gt; 2) Alice<br>
&gt; =C2=A0 =C2=A0- calculates Pwe_ab =3D huntandpeck(passphrase_ab)=C2=A0 =
=C2=A0# passphrase between<br>
&gt; Alice and Bob<br>
&gt; =C2=A0 =C2=A0- calculates Q_a =3D H( MAC_a ) * Pwe_a<br>
&gt; =C2=A0 =C2=A0- sends Commit with nonce_a and C_a =3D P_a + Q_a<br>
&gt; 3) Carol intercepts Alice=C2=B9s Commit and having met Alice, know=C2=
=B9s P_a and<br>
&gt; MAC_a<br>
&gt; =C2=A0 =C2=A0- calculates=C2=A0 Q_a =3D (C_a - P_a)<br>
&gt; =C2=A0 =C2=A0- creates spoofed commit as<br>
&gt; =C2=A0 =C2=A0 =C2=A0 C=C2=B9_a =3D P_c + Q_a<br>
&gt; =C2=A0 =C2=A0- send spoofed commit with nonce_c and C=C2=B9_a<br>
&gt; 4) Carol continues PKEX exchange with Bob using MAC_a<br>
&gt; 5) At end Bob thinks P_c belongs to MAC_a<br>
&gt;</p>
<p dir=3D"ltr">Nifty!=C2=A0 IMO that&#39;s a rather serious problem -- no b=
rute forcing is needed.</p>
<p dir=3D"ltr">I can improve my quadratic attack, too.=C2=A0 Suppose Carol =
can convince Alice to run the protocol twice with different passwords pw1 a=
nd pw2.=C2=A0 (The two runs don&#39;t even need to be with the same peer.)=
=C2=A0 Carol learns Q1_a - Q2_a.=C2=A0 With high probability, Carol can now=
 jointly bruteforce pw1 and pw2 without needing to know P_a.=C2=A0 Now Caro=
l can calculate P_a.</p>
<p dir=3D"ltr">Of course, having done so, Carol can now run your attack to =
MITM any further exchanges involving Alice.</p>
<p dir=3D"ltr">So I guess that passive observation of two protocol runs alm=
ost completely breaks PKEX.</p>
<p dir=3D"ltr">--Andy</p>

--94eb2c124588bde867053b67178b--


From nobody Wed Aug 31 17:53:35 2016
Return-Path: <dharkins@lounge.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D5AFA12D513; Wed, 31 Aug 2016 17:53:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level: 
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 b_NlhiyUaWbg; Wed, 31 Aug 2016 17:53:28 -0700 (PDT)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id 1686512B044; Wed, 31 Aug 2016 17:53:28 -0700 (PDT)
Received: from thinny.local (69-12-173-8.static.dsltransport.net [69.12.173.8]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by colo.trepanning.net (Postfix) with ESMTPSA id 745D51022406C; Wed, 31 Aug 2016 17:53:27 -0700 (PDT)
To: Andy Lutomirski <luto@amacapital.net>, Paul Lambert <paul@marvell.com>
References: <D3ECA739.9C587%paul@marvell.com> <CALCETrWV5ASUvFCnQDVwL8ULCBeWPoCq45zNFdYhg-n7YeHFYw@mail.gmail.com>
From: Dan Harkins <dharkins@lounge.org>
Message-ID: <2738f67f-b37b-c538-8a72-e0b452f32cb1@lounge.org>
Date: Wed, 31 Aug 2016 17:53:26 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <CALCETrWV5ASUvFCnQDVwL8ULCBeWPoCq45zNFdYhg-n7YeHFYw@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------A2A91B29A3ADBBE020E9BDEA"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/URKc_tCVjyAsfqTQDroNfoHBXFc>
Cc: t2trg@irtf.org, cfrg@irtf.org, "adrian.p.stephens@ieee.org" <adrian.p.stephens@ieee.org>, "lear@cisco.com" <lear@cisco.com>
Subject: Re: [Cfrg] [T2TRG] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Sep 2016 00:53:30 -0000

This is a multi-part message in MIME format.
--------------A2A91B29A3ADBBE020E9BDEA
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit


On 8/31/16 5:14 PM, Andy Lutomirski wrote:
>
> On Aug 31, 2016 4:55 PM, "Paul Lambert" <paul@marvell.com 
> <mailto:paul@marvell.com>> wrote:
> >
> >
> > I¹ve made a short summary of the PKEX protocol below. Comments and
> > corrections would be appreciated.
> >
> > Assuming my summary is correct ...
> >
> > If a third party Carol with P_c knows the MAC address and public key of
> > Alice (MAC_a and P_a) a MiTM attack is possible.
> >
> > 1) Alice and Bob share a one-time passphrase to bootstrap 
> connectivity and
> > learn each others associated public keys.
> > 2) Alice
> >    - calculates Pwe_ab = huntandpeck(passphrase_ab)   # passphrase 
> between
> > Alice and Bob
> >    - calculates Q_a = H( MAC_a ) * Pwe_a
> >    - sends Commit with nonce_a and C_a = P_a + Q_a
> > 3) Carol intercepts Alice¹s Commit and having met Alice, know¹s P_a and
> > MAC_a
> >    - calculates  Q_a = (C_a - P_a)
> >    - creates spoofed commit as
> >       C¹_a = P_c + Q_a
> >    - send spoofed commit with nonce_c and C¹_a
> > 4) Carol continues PKEX exchange with Bob using MAC_a
> > 5) At end Bob thinks P_c belongs to MAC_a
> >
>
> Nifty!  IMO that's a rather serious problem -- no brute forcing is needed.
>
> I can improve my quadratic attack, too.  Suppose Carol can convince 
> Alice to run the protocol twice with different passwords pw1 and pw2.  
> (The two runs don't even need to be with the same peer.)  Carol learns 
> Q1_a - Q2_a.  With high probability, Carol can now jointly bruteforce 
> pw1 and pw2 without needing to know P_a.  Now Carol can calculate P_a.
>
> Of course, having done so, Carol can now run your attack to MITM any 
> further exchanges involving Alice.
>
> So I guess that passive observation of two protocol runs almost 
> completely breaks PKEX.
>

   What you both seem to have noticed is what is already mentioned in 
the DPP spec
that you both have quite obviously read. Namely,

   "This bootstrapping technique [PKEX] should never be run multiple 
times with
the  same code. Using this bootstrapping technique more than once with a 
different
code but the same bootstrapping key can enable a dictionary attack."

   There are usage constraints. Go beyond them and your assumptions are not
valid anymore. This is true for all of the boostrapping techniques used in
DPP. The NAN-based method assumes the peers are in close proximity and 
that no
adversaries are. A bold assumption-- when there are no adversaries, the 
exchange
is secure! All security is lost if that's not true-- i.e. it "completely 
breaks".
Yet some people still want to use it because they seem comfortable with 
those
usage constraints.

   These bootstrapping techniques are trying to establish "trust" out of 
whole
cloth, or damn near whole cloth. The usage constraints are being mentioned
honestly so people know how to use them and what they're getting when 
they do.
If you think the usage constraints make a particular bootstrapping 
technique be
effectively worthless that is useful information I guess but that 
doesn't mean
it's completely broken.

   Dan.



--------------A2A91B29A3ADBBE020E9BDEA
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 8/31/16 5:14 PM, Andy Lutomirski
      wrote:<br>
    </div>
    <blockquote
cite="mid:CALCETrWV5ASUvFCnQDVwL8ULCBeWPoCq45zNFdYhg-n7YeHFYw@mail.gmail.com"
      type="cite">
      <p dir="ltr">On Aug 31, 2016 4:55 PM, "Paul Lambert" &lt;<a
          moz-do-not-send="true" href="mailto:paul@marvell.com">paul@marvell.com</a>&gt;
        wrote:<br>
        &gt;<br>
        &gt;<br>
        &gt; I¹ve made a short summary of the PKEX protocol below.
        Comments and<br>
        &gt; corrections would be appreciated.<br>
        &gt;<br>
        &gt; Assuming my summary is correct ...<br>
        &gt;<br>
        &gt; If a third party Carol with P_c knows the MAC address and
        public key of<br>
        &gt; Alice (MAC_a and P_a) a MiTM attack is possible.<br>
        &gt;<br>
        &gt; 1) Alice and Bob share a one-time passphrase to bootstrap
        connectivity and<br>
        &gt; learn each others associated public keys.<br>
        &gt; 2) Alice<br>
        &gt;    - calculates Pwe_ab = huntandpeck(passphrase_ab)   #
        passphrase between<br>
        &gt; Alice and Bob<br>
        &gt;    - calculates Q_a = H( MAC_a ) * Pwe_a<br>
        &gt;    - sends Commit with nonce_a and C_a = P_a + Q_a<br>
        &gt; 3) Carol intercepts Alice¹s Commit and having met Alice,
        know¹s P_a and<br>
        &gt; MAC_a<br>
        &gt;    - calculates  Q_a = (C_a - P_a)<br>
        &gt;    - creates spoofed commit as<br>
        &gt;       C¹_a = P_c + Q_a<br>
        &gt;    - send spoofed commit with nonce_c and C¹_a<br>
        &gt; 4) Carol continues PKEX exchange with Bob using MAC_a<br>
        &gt; 5) At end Bob thinks P_c belongs to MAC_a<br>
        &gt;</p>
      <p dir="ltr">Nifty!  IMO that's a rather serious problem -- no
        brute forcing is needed.</p>
      <p dir="ltr">I can improve my quadratic attack, too.  Suppose
        Carol can convince Alice to run the protocol twice with
        different passwords pw1 and pw2.  (The two runs don't even need
        to be with the same peer.)  Carol learns Q1_a - Q2_a.  With high
        probability, Carol can now jointly bruteforce pw1 and pw2
        without needing to know P_a.  Now Carol can calculate P_a.</p>
      <p dir="ltr">Of course, having done so, Carol can now run your
        attack to MITM any further exchanges involving Alice.</p>
      <p dir="ltr">So I guess that passive observation of two protocol
        runs almost completely breaks PKEX.</p>
    </blockquote>
    <br>
    <tt>  What you both seem to have noticed is what is already
      mentioned in the DPP spec<br>
      that you both have quite obviously read. Namely, <br>
      <br>
        "This bootstrapping technique [PKEX] should never be run
      multiple times with<br>
      the  same code. Using this bootstrapping technique more than once
      with a different<br>
      code but the same bootstrapping key can enable a dictionary
      attack."<br>
      <br>
        There are usage constraints. Go beyond them and your assumptions
      are not<br>
      valid anymore. This is true for all of the boostrapping techniques
      used in<br>
      DPP. The NAN-based method assumes the peers are in close proximity
      and that no<br>
      adversaries are. A bold assumption-- when there are no adversaries,
      the exchange<br>
      is secure! All security is lost if that's not true-- i.e. it
      "completely breaks".<br>
      Yet some people still want to use it because they seem comfortable
      with those<br>
      usage constraints. <br>
      <br>
        These bootstrapping techniques are trying to establish "trust"
      out of whole<br>
      cloth, or damn near whole cloth. The usage constraints are being
      mentioned<br>
      honestly so people know how to use them and what they're getting
      when they do.<br>
      If you think the usage constraints make a particular bootstrapping
      technique be<br>
      effectively worthless that is useful information I guess but that
      doesn't mean<br>
      it's completely broken.<br>
      <br>
        Dan.<br>
       <br>
       <br>
    </tt>
  </body>
</html>

--------------A2A91B29A3ADBBE020E9BDEA--


From nobody Wed Aug 31 18:33:12 2016
Return-Path: <luto@amacapital.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5362F12D513 for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 18:33:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=amacapital-net.20150623.gappssmtp.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 Rcm4JpcrDFqT for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 18:33:08 -0700 (PDT)
Received: from mail-ua0-x236.google.com (mail-ua0-x236.google.com [IPv6:2607:f8b0:400c:c08::236]) (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 21F8B12B03A for <cfrg@irtf.org>; Wed, 31 Aug 2016 18:33:08 -0700 (PDT)
Received: by mail-ua0-x236.google.com with SMTP id m60so120020093uam.3 for <cfrg@irtf.org>; Wed, 31 Aug 2016 18:33:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ii2E7r3mP+yjsI0z3Qf3gPG/qCXlKux9ODwXf1F9ZyU=; b=Q1gLIvyDZ/0/JBzwhLpx17YeKHEmgkJreq79YEkwEkJyEmu6ehmBVR/GWZD84gBS+q GXO88U+P4heLhdlAR/I/T8EQ91/b36a49SmW9zTDnYIXSiYj36UF1vE6f17OX1mLkfgF bU2v9cr1P9VEFV4HwuW0KH7sfvSch087qScqNkchEBdB/gF53WerWMtpeiWgpJtPN0+x VK2wORflQaMQP1PiqBcoBApJ6dcw52A1HnpJ0L0WjlkSkyzTyUdloucauR8lVetBWYXr 6d2ypKQ+vtz7lC1rkQHU6Z8z5OFWATQV8Cu7v4DAI3huv+D8CsWo275d9RKOyp2Rq+H7 cOQQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ii2E7r3mP+yjsI0z3Qf3gPG/qCXlKux9ODwXf1F9ZyU=; b=NOxRSOF04Hl6RRboBzS0n9L6D0WgdzERWVYdDJOEE+MY8yt8js/wzRzNn5zY2YWDkp rRHnDn/REc5PIz1TH6u+Gbn201iidvi4FDYTQcKh1Df4cx5g2jIa650QVdw63DrPVMFB PU6C/WZbdzaenP6EMnAEYYMdkPybKds5zHnvJ6GZ6PpdMIAE4yDt1GZPmCf1znpFz2VT OGMoz8COINnVVM4TcA9eQbUfdHO34X4MOxX+BffKjVDx8TwiU7WY5zUBF43DgzVy5fOj UYMInxIzWunDceBW3zulEIllD9h7ze6sYXGXdEVuXFVP5ugv8/aW5mR8eynksQeCZEpV g5Dw==
X-Gm-Message-State: AE9vXwNqgxvVlJLIJKXGJfNsUAQKZBkLI8FAwnMEUQxl0Tk3FRRm+cpBQYrQ7a6+0Kkq++GUYTcR0ZCHDBC6X1z4
X-Received: by 10.176.3.203 with SMTP id 69mr6003754uau.9.1472693587094; Wed, 31 Aug 2016 18:33:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.76.146 with HTTP; Wed, 31 Aug 2016 18:33:05 -0700 (PDT)
Received: by 10.103.76.146 with HTTP; Wed, 31 Aug 2016 18:33:05 -0700 (PDT)
In-Reply-To: <2738f67f-b37b-c538-8a72-e0b452f32cb1@lounge.org>
References: <D3ECA739.9C587%paul@marvell.com> <CALCETrWV5ASUvFCnQDVwL8ULCBeWPoCq45zNFdYhg-n7YeHFYw@mail.gmail.com> <2738f67f-b37b-c538-8a72-e0b452f32cb1@lounge.org>
From: Andy Lutomirski <luto@amacapital.net>
Date: Wed, 31 Aug 2016 18:33:05 -0700
Message-ID: <CALCETrV1Cxy=eRNRyZzTPYUAysQ094wGKwTcSmGzOU1=0Ur3AA@mail.gmail.com>
To: Dan Harkins <dharkins@lounge.org>
Content-Type: multipart/alternative; boundary=001a114d7d941f460e053b6832b5
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/4LGgaTRIoUwM5Dx_k8R6opzkKC4>
Cc: cfrg@irtf.org, t2trg@irtf.org, "adrian.p.stephens@ieee.org" <adrian.p.stephens@ieee.org>, "lear@cisco.com" <lear@cisco.com>
Subject: Re: [Cfrg] [T2TRG] Wi-Fi Alliance Device Provisioning Protocol (DPP) - Draft Released for Public Review and Comments
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Sep 2016 01:33:11 -0000

--001a114d7d941f460e053b6832b5
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Aug 31, 2016 5:53 PM, "Dan Harkins" <dharkins@lounge.org> wrote:
>
>
> On 8/31/16 5:14 PM, Andy Lutomirski wrote:
>>
>> On Aug 31, 2016 4:55 PM, "Paul Lambert" <paul@marvell.com> wrote:
>> >
>> >
>> > I=C2=B9ve made a short summary of the PKEX protocol below. Comments an=
d
>> > corrections would be appreciated.
>> >
>> > Assuming my summary is correct ...
>> >
>> > If a third party Carol with P_c knows the MAC address and public key o=
f
>> > Alice (MAC_a and P_a) a MiTM attack is possible.
>> >
>> > 1) Alice and Bob share a one-time passphrase to bootstrap connectivity
and
>> > learn each others associated public keys.
>> > 2) Alice
>> >    - calculates Pwe_ab =3D huntandpeck(passphrase_ab)   # passphrase
between
>> > Alice and Bob
>> >    - calculates Q_a =3D H( MAC_a ) * Pwe_a
>> >    - sends Commit with nonce_a and C_a =3D P_a + Q_a
>> > 3) Carol intercepts Alice=C2=B9s Commit and having met Alice, know=C2=
=B9s P_a and
>> > MAC_a
>> >    - calculates  Q_a =3D (C_a - P_a)
>> >    - creates spoofed commit as
>> >       C=C2=B9_a =3D P_c + Q_a
>> >    - send spoofed commit with nonce_c and C=C2=B9_a
>> > 4) Carol continues PKEX exchange with Bob using MAC_a
>> > 5) At end Bob thinks P_c belongs to MAC_a
>> >
>>
>> Nifty!  IMO that's a rather serious problem -- no brute forcing is
needed.
>>
>> I can improve my quadratic attack, too.  Suppose Carol can convince
Alice to run the protocol twice with different passwords pw1 and pw2.  (The
two runs don't even need to be with the same peer.)  Carol learns Q1_a -
Q2_a.  With high probability, Carol can now jointly bruteforce pw1 and pw2
without needing to know P_a.  Now Carol can calculate P_a.
>>
>> Of course, having done so, Carol can now run your attack to MITM any
further exchanges involving Alice.
>>
>> So I guess that passive observation of two protocol runs almost
completely breaks PKEX.
>
>
>   What you both seem to have noticed is what is already mentioned in the
DPP spec
> that you both have quite obviously read. Namely,
>
>   "This bootstrapping technique [PKEX] should never be run multiple times
with
> the  same code. Using this bootstrapping technique more than once with a
different
> code but the same bootstrapping key can enable a dictionary attack."
>
>   There are usage constraints. Go beyond them and your assumptions are no=
t
> valid anymore.

Then perhaps the design should change to something that doesn't have these
constraints.  This wouldn't be particularly difficult.

I, for one, find it implausible that any real implementation will above by
the constraints.  And I still think it's broken even if you do abide by the
constraints due to the existence of oracles that can test a bootstrapping
public key

--001a114d7d941f460e053b6832b5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"></p>
<p dir=3D"ltr">On Aug 31, 2016 5:53 PM, &quot;Dan Harkins&quot; &lt;<a href=
=3D"mailto:dharkins@lounge.org">dharkins@lounge.org</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On 8/31/16 5:14 PM, Andy Lutomirski wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Aug 31, 2016 4:55 PM, &quot;Paul Lambert&quot; &lt;<a href=3D"m=
ailto:paul@marvell.com">paul@marvell.com</a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I=C2=B9ve made a short summary of the PKEX protocol below. Co=
mments and<br>
&gt;&gt; &gt; corrections would be appreciated.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Assuming my summary is correct ...<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; If a third party Carol with P_c knows the MAC address and pub=
lic key of<br>
&gt;&gt; &gt; Alice (MAC_a and P_a) a MiTM attack is possible.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 1) Alice and Bob share a one-time passphrase to bootstrap con=
nectivity and<br>
&gt;&gt; &gt; learn each others associated public keys.<br>
&gt;&gt; &gt; 2) Alice<br>
&gt;&gt; &gt; =C2=A0 =C2=A0- calculates Pwe_ab =3D huntandpeck(passphrase_a=
b)=C2=A0 =C2=A0# passphrase between<br>
&gt;&gt; &gt; Alice and Bob<br>
&gt;&gt; &gt; =C2=A0 =C2=A0- calculates Q_a =3D H( MAC_a ) * Pwe_a<br>
&gt;&gt; &gt; =C2=A0 =C2=A0- sends Commit with nonce_a and C_a =3D P_a + Q_=
a<br>
&gt;&gt; &gt; 3) Carol intercepts Alice=C2=B9s Commit and having met Alice,=
 know=C2=B9s P_a and<br>
&gt;&gt; &gt; MAC_a<br>
&gt;&gt; &gt; =C2=A0 =C2=A0- calculates=C2=A0 Q_a =3D (C_a - P_a)<br>
&gt;&gt; &gt; =C2=A0 =C2=A0- creates spoofed commit as<br>
&gt;&gt; &gt; =C2=A0 =C2=A0 =C2=A0 C=C2=B9_a =3D P_c + Q_a<br>
&gt;&gt; &gt; =C2=A0 =C2=A0- send spoofed commit with nonce_c and C=C2=B9_a=
<br>
&gt;&gt; &gt; 4) Carol continues PKEX exchange with Bob using MAC_a<br>
&gt;&gt; &gt; 5) At end Bob thinks P_c belongs to MAC_a<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; Nifty!=C2=A0 IMO that&#39;s a rather serious problem -- no brute f=
orcing is needed.<br>
&gt;&gt;<br>
&gt;&gt; I can improve my quadratic attack, too.=C2=A0 Suppose Carol can co=
nvince Alice to run the protocol twice with different passwords pw1 and pw2=
.=C2=A0 (The two runs don&#39;t even need to be with the same peer.)=C2=A0 =
Carol learns Q1_a - Q2_a.=C2=A0 With high probability, Carol can now jointl=
y bruteforce pw1 and pw2 without needing to know P_a.=C2=A0 Now Carol can c=
alculate P_a.<br>
&gt;&gt;<br>
&gt;&gt; Of course, having done so, Carol can now run your attack to MITM a=
ny further exchanges involving Alice.<br>
&gt;&gt;<br>
&gt;&gt; So I guess that passive observation of two protocol runs almost co=
mpletely breaks PKEX.<br>
&gt;<br>
&gt;<br>
&gt; =C2=A0 What you both seem to have noticed is what is already mentioned=
 in the DPP spec<br>
&gt; that you both have quite obviously read. Namely, <br>
&gt;<br>
&gt; =C2=A0 &quot;This bootstrapping technique [PKEX] should never be run m=
ultiple times with<br>
&gt; the=C2=A0 same code. Using this bootstrapping technique more than once=
 with a different<br>
&gt; code but the same bootstrapping key can enable a dictionary attack.&qu=
ot;<br>
&gt;<br>
&gt; =C2=A0 There are usage constraints. Go beyond them and your assumption=
s are not<br>
&gt; valid anymore.</p>
<p dir=3D"ltr">Then perhaps the design should change to something that does=
n&#39;t have these constraints.=C2=A0 This wouldn&#39;t be particularly dif=
ficult.</p>
<p dir=3D"ltr">I, for one, find it implausible that any real implementation=
 will above by the constraints.=C2=A0 And I still think it&#39;s broken eve=
n if you do abide by the constraints due to the existence of oracles that c=
an test a bootstrapping public key </p>

--001a114d7d941f460e053b6832b5--


From nobody Wed Aug 31 19:54:43 2016
Return-Path: <smb@cs.columbia.edu>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6FC8C12D7F5 for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 19:54:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.768
X-Spam-Level: 
X-Spam-Status: No, score=-4.768 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.548] autolearn=unavailable autolearn_force=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 VSnxSfnI2TqB for <cfrg@ietfa.amsl.com>; Wed, 31 Aug 2016 19:54:34 -0700 (PDT)
Received: from millet.cc.columbia.edu (millet.cc.columbia.edu [128.59.72.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9712112D7F4 for <cfrg@irtf.org>; Wed, 31 Aug 2016 19:54:33 -0700 (PDT)
Received: from hazelnut (hazelnut.cc.columbia.edu [128.59.213.250]) by millet.cc.columbia.edu (8.13.8/8.13.8) with ESMTP id u812s7Gb019901; Wed, 31 Aug 2016 22:54:15 -0400
Received: from hazelnut (localhost.localdomain [127.0.0.1]) by hazelnut (Postfix) with ESMTP id BC9416D; Wed, 31 Aug 2016 22:54:15 -0400 (EDT)
Received: from sendprodmail04.cc.columbia.edu (sendprodmail04.cc.columbia.edu [128.59.72.16]) by hazelnut (Postfix) with ESMTP id B13E46D; Wed, 31 Aug 2016 22:54:15 -0400 (EDT)
Received: from [192.168.2.5] (smb-gw.apt.columbia.edu [128.59.107.140]) (user=smb2132 mech=PLAIN bits=0) by sendprodmail04.cc.columbia.edu (8.14.4/8.14.4) with ESMTP id u812sDZM021675 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 Aug 2016 22:54:15 -0400
From: "Steven M. Bellovin" <smb@cs.columbia.edu>
To: "Derek Atkins" <derek@ihtfp.com>
Date: Wed, 31 Aug 2016 22:54:13 -0400
Message-ID: <1468330B-F858-4E89-B791-B83507475C48@cs.columbia.edu>
In-Reply-To: <sjmfuplvx8q.fsf@securerf.ihtfp.org>
References: <CAHOTMV+r5PVxqnSozYyqJqq_YocMKV06aAa-43t+5Huzh7Lo=A@mail.gmail.com> <F42128A0-9682-4042-8C7E-E3686743B314@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0473F@uxcn10-5.UoA.auckland.ac.nz> <B749662D-B518-46E0-A51D-4AD1D30A8ED2@cisco.com> <9A043F3CF02CD34C8E74AC1594475C73F4D0528F@uxcn10-5.UoA.auckland.ac.nz> <3401C8F7-5A74-4D02-96F5-057E9A45F8B0@cisco.com> <89A46793-73A1-4C71-9954-37BF6ED6F297@callas.org> <5CF32AA8-59CC-4918-8951-A2ACBD233C19@cs.columbia.edu> <sjmfuplvx8q.fsf@securerf.ihtfp.org>
MIME-Version: 1.0
X-Mailer: MailMate (2.0BETAr6052)
X-No-Spam-Score: Local
X-Scanned-By: MIMEDefang 2.78 on 128.59.72.16
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/cfFv9xa6mTJLnK-yha_6cnS6mno>
Cc: Peter Gutmann <pgut001@cs.auckland.ac.nz>, David McGrew <mcgrew@cisco.com>, "cfrg@irtf.org" <cfrg@irtf.org>, Jon Callas <jon@callas.org>, tls@ietf.org
Subject: Re: [Cfrg] 3DES diediedie
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Sep 2016 02:54:37 -0000

On 31 Aug 2016, at 10:17, Derek Atkins wrote:

> "Steven M. Bellovin" <smb@cs.columbia.edu> writes:
>
>> Yes.  To a large extent, the "IoT devices are too puny for real
>> crypto" is a hangover from several years ago. It was once true; for
>> the most part, it isn't today, but people haven't flushed their cache
>> from the old received wisdom.
>
> This is certainly true for AES, mostly because many small chips are
> including AES accelerators in hardware.  It's not quite true for public
> key solutions; there are still very small devices where even ECC takes
> too long (and yes, there are cases where 200-400ms is still too long).
>
Certainly plausible.  What I'm saying is (a) don't assert, measure; and
(b) measure again next year because tech keeps improving.

As for your specific points: if AES is indeed feasible, we don't need
new ciphers.  If elliptic curve is too slow, the only answer is architectures
that don't use public key at all; we're not going to find new, cheaper
public key algorithms without a *lot* of effort and the people who can
do that sort of thing are too busy working on post-quantum crypto.

The remaining approach is a cheaper protocol than TLS.  That shouldn't
be hard at all, especially if we're going back to KDCs.


        --Steve Bellovin, https://www.cs.columbia.edu/~smb


