
From nobody Mon Apr  2 12:58:46 2018
Return-Path: <christopherwood07@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 531B312D879 for <cfrg@ietfa.amsl.com>; Mon,  2 Apr 2018 12:58:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.748
X-Spam-Level: 
X-Spam-Status: No, score=-1.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 qnrKBsIp95iz for <cfrg@ietfa.amsl.com>; Mon,  2 Apr 2018 12:58:41 -0700 (PDT)
Received: from mail-pl0-x229.google.com (mail-pl0-x229.google.com [IPv6:2607:f8b0:400e:c01::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 CAEF812706D for <cfrg@irtf.org>; Mon,  2 Apr 2018 12:58:41 -0700 (PDT)
Received: by mail-pl0-x229.google.com with SMTP id v5-v6so3555412plo.4 for <cfrg@irtf.org>; Mon, 02 Apr 2018 12:58:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=WR4Aeyq8BRWX1s6zGuVZDbJifU9fIs1pxkQOpWAIUHA=; b=TQvP4WUtcCPkbvmlbEaRQY65CUCyYiu/JBMwLGYzIaE7DIPNFX0WF0nihrEWpdUlLU iKAJJIny460eghNhqeGmix8l8rlZz62UFySZxhEm8uOJZXb9A7an20TXSyWnQW34F4qT A0OCI85OH6oCw2zx1yR7zURFHH7R2OGX8rtOLYtm+I3YZP3aVsWAPfZ04THJjFIkHY8h k+AZ2o3pd9VD4z9yFofPCktAPGYRqp8r7YNYRZLDTdKP7mPo5UlHblkgzZAmB/w0wEtv AZDjD+0JycCridZgz5uNgVjOmoa2QIKF1Iaj+X53ab08ijdJizQ1vm7g/NDymtNrl1jC 47jA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=WR4Aeyq8BRWX1s6zGuVZDbJifU9fIs1pxkQOpWAIUHA=; b=LN61Do+zkIc1F1t+a3+nreqdkzMylQVbJ5aF30qp7c9UORqCFuhACgXxynwKBZVNmb 8TTH6Tv8xGmXDmZserPPZTJ4cr5UfNAvw6w9NV58b4zyGRKJ2Oe8KX99u5Dh0UnB9tJO AGEC7QK3uG00x4x1LjbJZYqQmQMYX4bO423J7jzi84lMrdyH4e4/1loUPBvIOBEj9sGW 0crV5Itp4A4YYrR2e9cAsaPbw68Kekmwkx+IeN2aq1yt5g3AHfmKFYPCEe0CIwu8aqyV 2JZRnuiPvGyK4JrSO12MsnuoRD7KS9jdaLeh4HybkuPywFTd0hskiqbrs2Rj4Uk7gnSc wyNw==
X-Gm-Message-State: AElRT7FFlyOvt75Ma0AykBuiPiING//qoQCDAZU6FrrvA7Tq947UkEiU XfGIH49oGEfoEr0b1crGUfvojXCU
X-Google-Smtp-Source: AIpwx4+UXFj/2izIEWSYsGbeGyMr46MI0Lh6QnT5aXgwEsXfA1ZhNeummZ0praiL+2tJkVzfJ9xYJA==
X-Received: by 2002:a17:902:8bc1:: with SMTP id r1-v6mr11115470plo.310.1522699120988;  Mon, 02 Apr 2018 12:58:40 -0700 (PDT)
Received: from [172.16.99.199] ([144.178.28.7]) by smtp.gmail.com with ESMTPSA id v62sm1917498pfv.141.2018.04.02.12.58.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Apr 2018 12:58:40 -0700 (PDT)
Content-Type: multipart/alternative; boundary=Apple-Mail-AD530C3D-6728-4E2B-BF58-79EE7C60F4E6
Mime-Version: 1.0 (1.0)
From: Christopher Wood <christopherwood07@gmail.com>
X-Mailer: iPad Mail (15D100)
In-Reply-To: <75666677-260d-fff5-33de-1aebbed7df5a@gmail.com>
Date: Mon, 2 Apr 2018 12:58:39 -0700
Cc: cfrg@irtf.org
Content-Transfer-Encoding: 7bit
Message-Id: <F60AF640-2CA5-4669-8B9C-0FF7F9B68DA7@gmail.com>
References: <152179999076.17610.14543047719044617731@ietfa.amsl.com> <810C31990B57ED40B2062BA10D43FBF501C4724B@XMB116CNC.rim.net> <CAO8oSXkNg7GJsZDv0Rw6WhmET=cYKD_TFy7p-Nja0cyYA4t4dw@mail.gmail.com> <75666677-260d-fff5-33de-1aebbed7df5a@gmail.com>
To: Sam Scott <sam.scott89@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/6V9_Fcg8KO7dikhBILL9FkF_wgc>
Subject: Re: [Cfrg] I-D Action: draft-irtf-cfrg-hash-to-curve-00.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 02 Apr 2018 19:58:44 -0000

--Apple-Mail-AD530C3D-6728-4E2B-BF58-79EE7C60F4E6
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Sam,

Many thanks for your feedback! Please see inline below for comments.

> On Mar 29, 2018, at 12:07 PM, Sam Scott <sam.scott89@gmail.com> wrote:
>=20
> First of all, this thread shows exactly why a good standard would be usefu=
l, the current terminology is a bit confusing. So thank you for the effort i=
n putting this together, and I hope the following can be useful.
>=20
> In my opinion, the distinction should be made as follows:
>=20
> Point -> bitstring is serialisation. Includes concepts such as compression=
 of points, cofactor eliminating (e.g. Decaf) and indifferentiability (e.g. E=
lligator). Interestingly the latter of these doesn't necessarily apply to al=
l curve points. Serialisation is generally only used for transport, or produ=
cing a canonical version of a point for further processing (input to hash fu=
nction or kdf) and should be fast.
>=20
> Bitstring -> points is encoding. Main use case is for turning plaintext me=
ssages into curve points. Potentially needs to be constant time if input is p=
rivate, e.g. a message, password or key. Decoding needed when input is a mes=
sage, in encryption for example.=20
>=20
Thanks for the suggestion. I am not opposed to this terminology. It seems to=
 better capture the intent of each algorithm.=20
> Of course, in some cases deserialisation is equivalent to encoding, or dec=
oding to serialisation.
>=20
> It would be interesting to outline what the current encoding examples give=
 you over, for example, scalar multiplication (x -> xG for some generator G)=
. Or when using Montgomery x-only scalar multiplication, you can basically s=
kip encoding all together (if your application permits using the twisted cur=
ve as well).
>=20
Indeed. Prior to its initial publication, we discussed this topic, though we=
 never got around to including it. I will try include it in the next revisio=
n.
> So where does hashing come into it? Well it depends on the purpose. Arguab=
ly for "hashing onto the curve" people usually require a random oracle onto t=
he curve. Which is then instantiated via a hash function modelled as a ROM, p=
lus an encoding. But for this to actually be a RO, the encoding function bet=
ter be full domain (otherwise need additional proof to show this is okay). B=
rier et al's paper [1] makes a succinct point on this in 5.2, and is overall=
 a great read on the topic.=20
>=20
Good point. The scenarios and use cases in which RO properties from the =E2=80=
=9Chashing=E2=80=9D operation are not well articulated. Also, as currently w=
ritten, it seems we (implicitly) assume each variant is a hash function. Thi=
s is clearly an error. For example, Elligator2 is both invertible and not a =
FDH. (Though, following your suggestion below, we can make it one.)
> Given this, I would argue that this document in its current format is misl=
eading, verging on dangerous... One might infer that any encoding function i=
s okay, and end up using x -> h(x)G. Which will probably break most applicat=
ions.
> Some areas which I think need to be covered:
>=20
>  - A description of different forms of encoding, and properties associated=
 with them. Including the additional encoding methods I mentioned above. If t=
his is deemed too much or out of scope, I think it should at least refer to t=
hese as unsuitable encoding methods for constructing a RO.
>=20
I believe this is in scope. I filed: https://github.com/chris-wood/draft-sul=
livan-cfrg-hash-to-curve/issues/17
>  - What properties can be achieved by hashing to the curve. As far as I'm a=
ware most applications need a random oracle? I would be interested to know a=
bout requirements for other applications.
>=20
Likewise! If there are applications that do not need a RO, I would be inclin=
ed to include them with accompanying discussion text.
>  - If you want to construct a RO into the curve, then an explanation that t=
his either requires: (a) using a full domain hash as in [1], or (b) a proof s=
howing that a random oracle over the subset of points is okay, in which case=
 you have Icart's method, SWU or Elligator.=20
> For example, (a) can be constructed using Elligator (as f) in the form of f=
(h(x)) + h(x)*G, which is reasonably performant, and close to just using Ell=
igator when using precomputation for the h(x)*G part.
>=20
This is cute. I=E2=80=99m not sure if spelling out such techniques are in sc=
ope or not. We could, for example, simply state that a FDH is required. I=E2=
=80=99d be curious to hear what others think.=20
> As it turns out, we used pretty much all of the above for our updatable en=
cryption scheme [2]. We needed message encoding/decoding for the plaintext, a=
 RO from a counter, and de/serialisation for storage/transport. I think I go=
t pretty much every single part wrong in every possible combination before a=
rriving at the above.
>=20
I was not aware of this paper =E2=80=94 thanks for sharing!
> This ended up being a much longer email than I intended! Hope it helps.
>=20
It was very helpful. Thanks again for taking the time to share your thoughts=
. I will do my best to integrate them into the draft.

Best,
Chris=

--Apple-Mail-AD530C3D-6728-4E2B-BF58-79EE7C60F4E6
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto">Hi Sam,<div><br></div><div>Many thanks for y=
our feedback! Please see inline below for comments.</div><div><br><div>On Ma=
r 29, 2018, at 12:07 PM, Sam Scott &lt;<a href=3D"mailto:sam.scott89@gmail.c=
om">sam.scott89@gmail.com</a>&gt; wrote:<br></div><blockquote type=3D"cite">=
<br>
    <p>First of all, this thread shows exactly why a good standard would
      be useful, the current terminology is a bit confusing. So thank
      you for the effort in putting this together, and I hope the
      following can be useful.<br>
      <br>
      In my opinion, the distinction should be made as follows:<br>
      <br>
      Point -&gt; bitstring is serialisation. Includes concepts such as
      compression of points, cofactor eliminating (e.g. Decaf) and
      indifferentiability (e.g. Elligator). Interestingly the latter of
      these doesn't necessarily apply to all curve points. Serialisation
      is generally only used for transport, or producing a canonical
      version of a point for further processing (input to hash function
      or kdf) and should be fast.<br>
      <br>
      Bitstring -&gt; points is encoding. Main use case is for turning
      plaintext messages into curve points. Potentially needs to be
      constant time if input is private, e.g. a message, password or
      key. Decoding needed when input is a message, in encryption for
      example. <br></p></blockquote><div>Thanks for the suggestion. I am not=
 opposed to this terminology. It seems to better capture the intent of each a=
lgorithm.&nbsp;</div><blockquote type=3D"cite"><p>
    </p>
    <p>Of course, in some cases deserialisation is equivalent to
      encoding, or decoding to serialisation.</p>
    <p>It would be interesting to outline what the current encoding
      examples give you over, for example, scalar multiplication (x
      -&gt; xG for some generator G). Or when using Montgomery x-only
      scalar multiplication, you can basically skip encoding all
      together (if your application permits using the twisted curve as
      well).<br></p></blockquote><div>Indeed. Prior to its initial publicati=
on, we discussed this topic, though we never got around to including it. I w=
ill try include it in the next revision.</div><blockquote type=3D"cite"><p>
    </p>
    <p>So where does hashing come into it? Well it depends on the
      purpose. Arguably for "hashing onto the curve" people usually
      require a random oracle onto the curve. Which is then instantiated
      via a hash function modelled as a ROM, plus an encoding. But for
      this to actually be a RO, the encoding function better be full
      domain (otherwise need additional proof to show this is okay).
      Brier et al's paper [1] makes a succinct point on this in 5.2, and
      is overall a great read on the topic. <br></p></blockquote><div>Good p=
oint. The scenarios and use cases in which RO properties from the =E2=80=9Ch=
ashing=E2=80=9D operation are not well articulated. Also, as currently writt=
en, it seems we (implicitly) assume each variant is a hash function. This is=
 clearly an error. For example, Elligator2 is both invertible and not a FDH.=
 (Though, following your suggestion below, we can make it one.)</div><blockq=
uote type=3D"cite"><p>
    </p>
    <p>Given this, I would argue that this document in its current
      format is misleading, verging on dangerous... One might infer that
      any encoding function is okay, and end up using x -&gt; h(x)G.
      Which will probably break most applications.<br>
    </p>
    <p>Some areas which I think need to be covered:</p>
    <p>&nbsp;- A description of different forms of encoding, and properties
      associated with them. Including the additional encoding methods I
      mentioned above. If this is deemed too much or out of scope, I
      think it should at least refer to these as unsuitable encoding
      methods for constructing a RO.</p></blockquote><div>I believe this is i=
n scope. I filed:&nbsp;<a href=3D"https://github.com/chris-wood/draft-sulliv=
an-cfrg-hash-to-curve/issues/17">https://github.com/chris-wood/draft-sulliva=
n-cfrg-hash-to-curve/issues/17</a></div><blockquote type=3D"cite">
    <p>&nbsp;- What properties can be achieved by hashing to the curve. As
      far as I'm aware most applications need a random oracle? I would
      be interested to know about requirements for other applications.</p></=
blockquote><div>Likewise! If there are applications that do not need a RO, I=
 would be inclined to include them with accompanying discussion text.</div><=
blockquote type=3D"cite">
    <p>&nbsp;- If you want to construct a RO into the curve, then an
      explanation that this either requires: (a) using a full domain
      hash as in [1], or (b) a proof showing that a random oracle over
      the subset of points is okay, in which case you have Icart's
      method, SWU or Elligator. <br>
    </p>
    <p>For example, (a) can be constructed using Elligator (as f) in the
      form of f(h(x)) + h(x)*G, which is reasonably performant, and
      close to just using Elligator when using precomputation for the
      h(x)*G part.<br></p></blockquote><div>This is cute. I=E2=80=99m not su=
re if spelling out such techniques are in scope or not. We could, for exampl=
e, simply state that a FDH is required. I=E2=80=99d be curious to hear what o=
thers think.&nbsp;</div><blockquote type=3D"cite"><p>
    </p>
    <p>As it turns out, we used pretty much all of the above for our
      updatable encryption scheme [2]. We needed message
      encoding/decoding for the plaintext, a RO from a counter, and
      de/serialisation for storage/transport. I think I got pretty much
      every single part wrong in every possible combination before
      arriving at the above.</p></blockquote><div>I was not aware of this pa=
per =E2=80=94 thanks for sharing!</div><blockquote type=3D"cite">
    <p>This ended up being a much longer email than I intended! Hope it
      helps.</p></blockquote><div>It was very helpful. Thanks again for taki=
ng the time to share your thoughts. I will do my best to integrate them into=
 the draft.</div></div><div><br></div><div>Best,</div><div>Chris</div></body=
></html>=

--Apple-Mail-AD530C3D-6728-4E2B-BF58-79EE7C60F4E6--


From nobody Wed Apr  4 17:16:08 2018
Return-Path: <sfluhrer@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 D8346126FB3 for <cfrg@ietfa.amsl.com>; Wed,  4 Apr 2018 17:16:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level: 
X-Spam-Status: No, score=-14.511 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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, 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 sPFwf4tX95eT for <cfrg@ietfa.amsl.com>; Wed,  4 Apr 2018 17:16:04 -0700 (PDT)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AC5C81242F7 for <cfrg@ietf.org>; Wed,  4 Apr 2018 17:16:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7950; q=dns/txt; s=iport; t=1522887364; x=1524096964; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=h4+B58J5WFYG4Ft2YzOxLty76Al6lByDQQnC96owjt4=; b=kAS1IS6mkpFB8tZknexJClFNJJD7W00x5yiTFBQDMNQBcZNsfLjLttAc uAvlRuRT9wo4aWTVCBW5PqfA8WMGqt+CQ3jrSpri2P23xtfTe3XOyhOoB FJRsHx7SgmRlRJifE4N9pJT3iInJSzgniAwgpUssFSEH07AsYwz5Br4Wq 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0DwAAA/asVa/4kNJK1dGQEBAQEBAQE?= =?us-ascii?q?BAQEBAQcBAQEBAYNCgR8xMotVjQiDA5JVgXoLhQMChEAhNBgBAgEBAQEBAQJ?= =?us-ascii?q?sKIUjBjo/EAIBCDYQMiUCBA4NhQWuXohGgiWFRIIegVQ/gxR8hEmFegKXPgg?= =?us-ascii?q?CjieBOosKhyaIMAIREwGBJAEcOIFScBWCfoIeAReOF4wXgS2BFwEB?=
X-IronPort-AV: E=Sophos;i="5.48,409,1517875200"; d="scan'208";a="93777877"
Received: from alln-core-4.cisco.com ([173.36.13.137]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Apr 2018 00:16:03 +0000
Received: from XCH-RTP-008.cisco.com (xch-rtp-008.cisco.com [64.101.220.148]) by alln-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id w350G3vr007785 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 5 Apr 2018 00:16:03 GMT
Received: from xch-rtp-006.cisco.com (64.101.220.146) by XCH-RTP-008.cisco.com (64.101.220.148) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 4 Apr 2018 20:16:02 -0400
Received: from xch-rtp-006.cisco.com ([64.101.220.146]) by XCH-RTP-006.cisco.com ([64.101.220.146]) with mapi id 15.00.1320.000; Wed, 4 Apr 2018 20:16:02 -0400
From: "Scott Fluhrer (sfluhrer)" <sfluhrer@cisco.com>
To: Paul Selkirk <paul@psgd.org>
CC: "cfrg@ietf.org" <cfrg@ietf.org>
Thread-Topic: [Cfrg] draft-mcgrew-hash-sigs implementation and findings
Thread-Index: AQHTvtcpKCxlbs0AwkiHrbS402lzzqPxVZYQ
Date: Thu, 5 Apr 2018 00:16:02 +0000
Message-ID: <f9d4c3bbf70c43948f2b49cef41de8a0@XCH-RTP-006.cisco.com>
References: <5d590027-50d9-637e-8ef0-9b5a8ac22565@psgd.org>
In-Reply-To: <5d590027-50d9-637e-8ef0-9b5a8ac22565@psgd.org>
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: [10.98.2.53]
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/Gk2zcSh3LEL0M24huIX9ecJApiY>
Subject: Re: [Cfrg] draft-mcgrew-hash-sigs implementation and findings
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 05 Apr 2018 00:16:07 -0000

Ok, I went through all your suggestions (from both reviews), and I've modif=
ied the draft accordingly.  Now, I do have the following comments (so justi=
fy why I didn't follow your suggestions, or to answer questions that you ra=
ised).  I'll wait a few days before posting the update, to give you a chanc=
e to respond to my comments (so that I ideally won't have to have a -12 ver=
sion)

- One thing that was constantly raised was the relative lack of pseudocode.=
  Part of this is our intentions; we wanted people to understand what the d=
ata structures and algorithms are, and if we included any pseudocode, it wa=
s with the hope that it would be informative, not normative.  There are act=
ually a number of reasonable algorithms for several of the operations, and =
we didn't want to preclude them.  Now, when you suggested pseudocode, and I=
 thought it would help with the understanding, I included it.

- " I would break up paragraph 4, and add a short explanation of the HSS"
   Excellent suggestion; the only thing I modified from your suggested text=
 was omitting the "signature generation time is somewhat faster"; actually,=
 depending on the algorithm, it could be faster, the same speed, or even sl=
ower (which is a rather odd case, but it can happen)

- "Security String"; you point out that its definition has a lot of forward=
 references; I moved that into the Rationale section

- " q is the leaf number, or alternately the current index into the LMS sec=
ret key.  This feels like a layer violation."
  Actually, that's important for security; without it, someone could do a m=
ultitarget attack, that is, generate a lot of different OTS keys, hash them=
, and the resulting hash is any one of a number of targets, he wins,  By in=
cluding 'q' in the value being hashed, the attacker must select which leaf =
node we is attacking (similarly, by including 'I', the identifier for the p=
ublic key, the attacker must select which LMS key he is attacking)

- " Using LM-OTS outside of LMS is outside the scope of this document."
  As writing, yes, it is; however I left the reference in there just in cas=
e...

- " This is phrased awkwardly, and implies that it's someone else's job to =
generate I."
  Actually, it is someone else's job to generate I (as it must be the same =
value used in the LMS tree); I rephrased it to make it clearer

- " As a side note, our project already uses RFC4122 version 4 UUIDs, which=
 are effectively 122-bit random numbers with a few fixed bits. I'm assuming=
 that the security of this system doesn't require a full 128 bits for I."
   Actually, the goal is to have enough entropy that there's no single valu=
e that is used for too many distinct LMS trees; with the current "all 128 b=
its random" design, the likelihood of 2**64 public keys having a 4 way coll=
ision (that is, there's a single I value that is used by four of the keys) =
is < 2^-128.  For something with 122 bits entropy, well, as long as don't g=
enerate more than 2**55 or so public keys, you're stll as safe as the origi=
nal design.  And, against conventional computers, this is massively conserv=
ative; we're starting with requiring circa 2**248 hash operations expected,=
 and so even if you had a few more collisions than expected, you are still =
plenty safe (actually, you could use the same I value everywhere, and you'd=
 still be safe.  If you assume a Quantum Computer equipped adversary, you a=
re still likely safe (although in that case, I wouldn't use the same I valu=
e everywhere).

- " I might also move this whole description of node numbers to section 5.3=
, which is the only place it's actually used."
  Actually, there are also referenced in 5.4.2

- "LMS public key generation pseudocode"
  Actually, appendix C already contains pseudocode

- "LMS signature" explanation needs a lot of help
  Yup, it sure does.  I added a lot of text here, along with some ASCII art=
 (a diagram is a great help in explaining what an authentication path is; A=
SCII art isn't great, but it's better than nothing)

- " L has a maximum value of 8, which seems oddly prescriptive. Is there an=
 engineering reason for that limit?"
  It's mostly there because we had to put in some sort of limit (so that im=
plementations didn't have to pretend to hand, say, 1000 levels), and we pic=
ked 8 as a reasonable number (as we couldn't think of any reason to have mo=
re than that).  If someone has a use case that requires more, we'd have no =
problem raising that limit

- " HSS does not require all trees to use the same LMS type code (i.e. to b=
e the same height). While most reasonable people would use same-height tree=
s, is there a use case for trees of different heights"
   Actually, yes.  At the very least, if you go through my HSS implementati=
on, there's good reasons for the top and bottom trees to be of different he=
ights:
	- The top level tree doesn't change, and so as an optimization to rebuildi=
ng the tree (in the case where we're resuming the signature operation after=
 restarting the program) we can store (and the reuse) nodes from the top le=
vel tree; as they never change, we don't have to worry about updating them.=
  This makes having an especially large top level tree more attractive.
	- During the signature operation, all the churn happens on the bottom leve=
l tree; when you sign a message (and then update the state and the nodes yo=
u record), almost all the operations happen to the bottom level trees; henc=
e to speed up the signature operation, it would make sense to make the bott=
om level trees smaller.
   Of course, these reasons are quire specific to my implementation; your i=
mplementation (which needs to operate under very different constraints) is =
likely quite different.
- " or even different hash algorithms"
  That is less clear; we just didn't see a good reason to disallow it.

- " As a notational issue, I think of the signature as belonging with the t=
hing being signed, rather than with the key that is used to sign it"
  Normally, I would agree with you; however the problem comes up; what is S=
ig[h-1]?  Is it the signature of the bottom level LMS public key?  Or, is i=
t the signature of the actual message?  Now, I suppose we could come up wit=
h different terminology for the second use; I decided not to.

- Signature generation pseudocode
  Actually, we had text there which said mostly what your pseudocode did; h=
owever I felt that the operation was sufficiently complex that both the tex=
t explanation and the pseudocode make sense.

- " Why is there a gap between hbs_reserved and lms_sha256_n32_h5? Is it be=
cause the completely different enum ots_algorithm_type has values 1-4?"
   A previous version has 1-4 stand for 16 byte versions of the hash functi=
on (that is, n=3D16).  We decided to omit them (as the goal of this draft i=
s to be Postquantum, and 16 byte hashes aren't that); but we didn't reorgan=
ize things.  A similar gap doesn't appear in the OTS parameter sets because=
 those sets had the 16 byte hashes after the 32 byte hashes (don't ask me w=
hy; that predates when I started getting involved).

- Section 4.4, Algorithm 1, step 2: n is not used here.
  Actually, it's the output size of H.  Depending on how your language deal=
s with byte strings, you'll need it (Python wouldn't, a C implementation mo=
st likely would)

- Section 5.2, Algorithm 5, step 1: m is not used here.
  Similarly, it's the output size of H.

- In the LMS signature, it's odd that q is first and lms_type is after the =
ots_sig.  However, that would be an incompatible change to the protocol, wh=
ich I don't expect to happen at this late date.
   Yes, unless something is flagged as a security issue (or someone asks fo=
r additional parameter sets), nothing substantive is likely to change


From nobody Wed Apr  4 20:56:45 2018
Return-Path: <jresch@us.ibm.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 048B212783A for <cfrg@ietfa.amsl.com>; Wed,  4 Apr 2018 20:56:43 -0700 (PDT)
X-Quarantine-ID: <AnoIuE2EiAMA>
X-Virus-Scanned: amavisd-new at amsl.com
X-Amavis-Alert: BANNED, message contains application/octet-stream,.exe,hash-to-point.py
X-Spam-Flag: NO
X-Spam-Score: 0.49
X-Spam-Level: 
X-Spam-Status: No, score=0.49 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, HTML_MIME_NO_HTML_TAG=0.377, HTTPS_HTTP_MISMATCH=1.989, MIME_HTML_ONLY=0.723, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 AnoIuE2EiAMA for <cfrg@ietfa.amsl.com>; Wed,  4 Apr 2018 20:56:40 -0700 (PDT)
Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (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 7EC3A127369 for <cfrg@irtf.org>; Wed,  4 Apr 2018 20:56:40 -0700 (PDT)
Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w353u7MH124393 for <cfrg@irtf.org>; Wed, 4 Apr 2018 23:56:39 -0400
Received: from smtp.notes.na.collabserv.com (smtp.notes.na.collabserv.com [192.155.248.67]) by mx0b-001b2d01.pphosted.com with ESMTP id 2h5c598946-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <cfrg@irtf.org>; Wed, 04 Apr 2018 23:56:38 -0400
Received: from localhost by smtp.notes.na.collabserv.com with smtp.notes.na.collabserv.com ESMTP for <cfrg@irtf.org> from <jresch@us.ibm.com>; Thu, 5 Apr 2018 03:56:38 -0000
Received: from us1a3-smtp04.a3.dal06.isc4sb.com (10.106.154.237) by smtp.notes.na.collabserv.com (10.106.227.16) with smtp.notes.na.collabserv.com ESMTP; Thu, 5 Apr 2018 03:56:36 -0000
Received: from us1a3-mail153.a3.dal06.isc4sb.com ([10.146.38.112]) by us1a3-smtp04.a3.dal06.isc4sb.com with ESMTP id 2018040503563513-10646 ; Thu, 5 Apr 2018 03:56:35 +0000 
In-Reply-To: <CAO8oSXnxS4Ea89A3Yq46sPk2f8iYqiEsFwNALqAfb+2951NBsA@mail.gmail.com>
From: "Jason Resch" <jresch@us.ibm.com>
To: christopherwood07@gmail.com
Cc: cfrg@irtf.org
Date: Thu, 5 Apr 2018 03:56:35 +0000
Sensitivity: 
MIME-Version: 1.0
References: <CAO8oSXnxS4Ea89A3Yq46sPk2f8iYqiEsFwNALqAfb+2951NBsA@mail.gmail.com>,  <OF6FFC9F11.340C9F5B-ON00258255.0080017E-00258256.0002E0C9@notes.na.collabserv.com>
Importance: Normal
X-Priority: 3 (Normal)
X-Mailer: IBM Verse Build 16007-1287 | IBM Domino Build SCN1805107_20180220T0755_FP3 March 05, 2018 at 16:31
X-KeepSent: 44B5AF4A:050FAD4B-00258266:00157BE4; type=4; name=$KeepSent
X-LLNOutbound: False
X-Disclaimed: 36947
X-TNEFEvaluated: 1
Content-Type: multipart/mixed; boundary="=_mixed 0015A8F100258266_="
x-cbid: 18040503-0327-0000-0000-000004FD2D25
X-IBM-SpamModules-Scores: BY=0; FL=0; FP=0; FZ=0; HX=0; KW=0; PH=0; SC=0.384396; ST=0; TS=0; UL=0; ISC=; MB=0.189716
X-IBM-SpamModules-Versions: BY=3.00008804; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000256; SDB=6.01013286; UDB=6.00516487; IPR=6.00792549;  BA=6.00005896; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00020422; XFM=3.00000015; UTC=2018-04-05 03:56:37
X-IBM-AV-DETECTION: SAVI=unsuspicious REMOTE=unsuspicious XFE=unused
X-IBM-AV-VERSION: SAVI=2018-04-05 00:09:15 - 6.00008291
x-cbparentid: 18040503-0328-0000-0000-00003E794F68
Message-Id: <OF44B5AF4A.050FAD4B-ON00258266.00157BE4-00258266.0015A920@notes.na.collabserv.com>
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2018-04-05_01:, , signatures=0
X-Proofpoint-Spam-Reason: safe
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/wNUIbj-dBhe-zH3eis37cEWRQsc>
Subject: Re: [Cfrg] Comments regarding draft-sullivan-cfrg-hash-to-curve
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 05 Apr 2018 03:56:43 -0000

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

<div class=3D"socmaildefaultfont" dir=3D"ltr" style=3D"font-family:Arial, H=
elvetica, sans-serif;font-size:10.5pt" ><div dir=3D"ltr" ><div><font size=
=3D"2" face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" >Chri=
stopher,<br><br>Thank you for your responses. I am glad that my feedback wa=
s helpful.<br><br>I recently wrote some reference implementations of my sug=
gestion below for implementing HashToBase() for any given input string and =
curve.&nbsp; It uses the left-most bits of HKDF applied to the input, where=
 the number of total bits selected is determined by the size of the prime f=
ield.&nbsp; I have ensured consistency via some test vectors I defined and =
are included in this sample code.&nbsp; I tested both NIST P-256, and NIST =
P-521. Note that these examples only implement "Simplified SWU", but this c=
an be easily extended to support the other algorithms.<br><br>I have attach=
ed a Python3 implementation to this e-mail, I also have a Java implementati=
on I can send if it would be of value. Both produce consistent results as f=
ar as I have been able to test.<br><br>Also, I found something interesting =
in regards to supporting Koblitz curves, or other curves where a =3D 0 (suc=
h as BN-254).&nbsp; By accident, I discovered that it didn't seem to matter=
 whether I used "(-b / a)" or any other number.&nbsp; The Simplified SWU al=
gorithm appeared to always map to a valid point.&nbsp; Does this make sense=
?&nbsp; Is there a special motivation for using (-b / a) as opposed to some=
 other constant?</font></div>
<div>&nbsp;</div>
<div><font size=3D"2" face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sa=
ns-serif" >Best,</font></div>
<div>&nbsp;</div><font size=3D"2" face=3D"Default Sans Serif,Verdana,Arial,=
Helvetica,sans-serif" >Jason</font></div>
<div dir=3D"ltr" >&nbsp;</div>
<blockquote data-history-content-modified=3D"1" dir=3D"ltr" style=3D"border=
-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; =
margin-right:0px" >----- Original message -----<br>From: Christopher Wood &=
lt;christopherwood07@gmail.com&gt;<br>To: jresch@us.ibm.com<br>Cc: cfrg@irt=
f.org<br>Subject: Re: [Cfrg] Comments regarding draft-sullivan-cfrg-hash-to=
-curve<br>Date: Mon, Mar 26, 2018 8:46 AM<br>&nbsp;
<div dir=3D"ltr" >Hi Jason,
<div>&nbsp;</div>
<div>Thanks for the review and feedback. Please see inline below for commen=
ts.<br>&nbsp;
<div><div dir=3D"ltr" >On Mon, Mar 19, 2018 at 5:35 PM Jason Resch &lt;<a h=
ref=3D"mailto:jresch@us.ibm.com" target=3D"=5Fblank" >jresch@us.ibm.com</a>=
&gt; wrote:</div>
<blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex" ><fon=
t size=3D"2" face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"=
 ><b>Comment 1: Algorithm Recommendations Table</b><br><br>Is there any rea=
son not to include recommendations be made for other common curves, such as=
 NIST P-521, Curve1174, or Koblitz curves such as secp256k1?</font></blockq=
uote>
<div>&nbsp;</div>
<div>No. We didn't have an immediate use for them. That said, we should be =
inclusive to all curves and provide appropriate recommendations. I filed:&n=
bsp;</div>
<div>&nbsp;</div>
<div><a href=3D"https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A=5F=5F=
github.com=5Fchris-2Dwood=5Fdraft-2Dsullivan-2Dcfrg-2Dhash-2Dto-2Dcurve=5Fi=
ssues=5F9&amp;d=3DDwMFaQ&amp;c=3Djf=5FiaSHvJObTbx-siA1ZOg&amp;r=3Dtp8i5xOOP=
i=5FnudVAW9ub3H6TDs-5TNMjB-husnaTgys&amp;m=3Dgug5JRcksUX=5FS73JCXPPHI33nEyc=
WMzT-zB0PdBzq78&amp;s=3DUrXeQUVaKLjYSS6RidpDiAMWoAMC5lEs2ejdr9yJyGA&amp;e=
=3D" target=3D"=5Fblank" >https://github.com/chris-wood/draft-sullivan-cfrg=
-hash-to-curve/issues/9</a></div>
<div>&nbsp;</div>
<blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex" ><br>=
<font size=3D"2" face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-se=
rif" ><b>Comment 2: Icart vs. SWU Simplified</b><br><br>Both of these are l=
isted as having performance of "O(log^3 q)". Given this, is there a signifi=
cant advantage to using Icart for P-384?&nbsp; Implementation simplicity mi=
ght motivate using SWU Simplified for all curves, for example, as opposed t=
o special casing NIST P-384.</font></blockquote>
<div>&nbsp;</div>
<div>That may well be the case. We are still working on the analysis and co=
st comparison. I suspect we will prune the list of algorithms specified (in=
 the main body) in the future. If and when that happens, we may move all ot=
her algorithms to the appendix.</div>
<div>&nbsp;</div>
<blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex" ><br>=
<font size=3D"2" face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-se=
rif" ><b>Comment 3: Algorithm description of SWU Simplified</b><br><br>I di=
d not understand this line:<br><br>"5. Output (-g * alpha) * (g * beta)"<br=
><br>- g was not defined here, except above as a function of x, but here it=
 is being used in a multiplication.<br>- g might be confused with the gener=
ator point for the curve<br>- The output should be in the form of a point w=
ith coordinates x and y, should it not?</font></blockquote>
<div>&nbsp;</div>
<div>This is a bug in that description. I'll clean this up in the next revi=
sion.</div>
<div>&nbsp;</div>
<blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex" ><br>=
<font size=3D"2" face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-se=
rif" >Steps "19" and "20" use "//" presumably to denote division, but "//" =
is also used later to represent comments.&nbsp; Is there any difference her=
e between "//" and "/"?<br>Would it be clearer to represent these divisions=
 as multiplications of the multiplicative inverse computed over p?</font></=
blockquote>
<div>&nbsp;</div>
<div>Good point. There is no difference as written. I will clarify this not=
ation.</div>
<div>&nbsp;</div>
<blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex" ><br>=
<font size=3D"2" face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-se=
rif" >Step "21" indicates an equality comparison.&nbsp; Unless implemented =
specially, these could lead to side-channel attacks as an equality check of=
 equal values takes longer than one where the values are unequal. It might =
be more secure to separately compute both comparisons, i.e. also compute "e=
=5F2 =3D (y2 ^ 2 =3D=3D h3)" as a mitigation strategy or alternative to imp=
lementing constant time equality checks, which might not be readily availab=
le in different BigInteger libraries/languages.</font></blockquote>
<div>&nbsp;</div>
<div>Another good point. I will make sure these are written to be constant-=
time comparisons.&nbsp;</div>
<div>&nbsp;</div>
<blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex" ><br>=
<font size=3D"2" face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-se=
rif" ><b>Comment 4: Definition of HashToBase</b><br><br>An example is given=
 that this can be any cryptographic hash function, such as SHA-256.&nbsp; H=
owever, I think it would be better if this is defined as a method supportin=
g variable length outputs.&nbsp; For example, HKDF (Hmac Key Derivation Fun=
ction).&nbsp; The justification being that some elliptic curves operate on =
fields that are too large, even for SHA-512 (e.g. NIST P-521), and naive at=
tempts at extending the length of a hash may otherwise be designed insecure=
ly.</font></blockquote>
<div>&nbsp;</div>
<div>This does in fact seem better. I'll see if we can integrate it.&nbsp;<=
/div>
<div>&nbsp;</div>
<blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex" ><br>=
<font size=3D"2" face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-se=
rif" >If the function is specified as HKDF (which operates on bytes rather =
than bits) there should be clarification as to which bits of the output are=
 to be used (e.g. the left-most bits output by HKDF).<br><br>There should b=
e some security recommendation as well, in terms of selecting hash function=
s with security properties appropriately matched for the security of the cu=
rve.</font></blockquote>
<div>&nbsp;</div>
<div>Agreed. We will add this missing information.</div>
<div>&nbsp;</div>
<blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex" ><br>=
<font size=3D"2" face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-se=
rif" ><b>Comment 5: Clarification for supported curves</b><br><br>The draft=
 indicates that Simplified SWU works for all curves where: p =3D=3D 3 % 4<b=
r><br>However, the Koblitz curve secp256k1 has a p such that p =3D=3D 3 % 4=
, yet it does not seem to work with Simplified SWU. The problem is that it'=
s "a" coefficient is defined as zero. Thus it isn't possible to compute (-b=
 / a) which is required and used in the Simplified SWU method.&nbsp; Is the=
re a means around this?</font></blockquote>
<div>&nbsp;</div>
<div>Thanks for pointing this out. I'm not sure off hand and will investiga=
te more.</div>
<div>&nbsp;</div>
<div>Thanks again for your very thorough feedback. I will circle back with =
you when the next revision is made.&nbsp;</div>
<div>&nbsp;</div>
<div>Best,</div>
<div>Chris</div></div></div></div></blockquote>
<div dir=3D"ltr" >&nbsp;</div></div>
<BR>

--=_mixed 0015A8F100258266_=
Content-Type: application/octet-stream; name="hash-to-point.py"
Content-Disposition: attachment; filename="hash-to-point.py"
Content-Transfer-Encoding: base64

ZnJvbSByYW5kb20gaW1wb3J0IFN5c3RlbVJhbmRvbQpmcm9tIGhhc2hsaWIgaW1wb3J0IHNoYTUx
Miwgc2hhMSwgc2hhMjU2CmZyb20gc3lzIGltcG9ydCBhcmd2CgppbXBvcnQgaG1hYwpmcm9tIGJp
bmFzY2lpIGltcG9ydCBoZXhsaWZ5LCB1bmhleGxpZnkKCiMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMjIyMjIyMjIyMjIwojIEhtYWMtQmFzZWQgS2V5IERlcml2YXRpb24gRnVuY3Rpb24KIyMj
IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjCgpjbGFzcyBoa2RmOgogIGRlZiBf
X2luaXRfXyhzZWxmLCBkaWdlc3RfYWxnLCBpbnB1dF9rZXlpbmdfbWF0ZXJpYWwsIHNhbHQ9Tm9u
ZSk6CiAgICBzZWxmLmRpZ2VzdF9hbGcgPSBkaWdlc3RfYWxnCiAgICBzZWxmLmRpZ2VzdF9zaXpl
ID0gZGlnZXN0X2FsZygpLmRpZ2VzdF9zaXplCiAgICAKICAgIGlmIChzYWx0ID09IE5vbmUpOgog
ICAgICBzYWx0ID0gYidcMCcgKiBzZWxmLmRpZ2VzdF9zaXplCiAgICAKICAgIGhtYWNfaW5zdGFu
Y2UgPSBobWFjLm5ldyhzYWx0LCBpbnB1dF9rZXlpbmdfbWF0ZXJpYWwsIGRpZ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IHNlbGYucCA9IHAKICAgIHNlbGYuciA9
IHIKCiAgZGVmIG1vZF9pbnYoc2VsZiwgeCk6CiAgICByZXR1cm4gcG93KHgsIHNlbGYucCAtIDIs
IHNlbGYucCkKCiAgZGVmIGFkZF9wb2ludHMoc2VsZiwgcCwgcSk6CiAgICBzID0gKHAueSAtIHEu
eSkgKiBzZWxmLm1vZF9pbnYocC54IC0gcS54KSAlIHNlbGYucAogICAgeCA9IChzKnMgLSAocC54
ICsgcS54KSkgJSBzZWxmLnAKICAgIHkgPSAocyAqIChwLnggLSB4KSAtIHAueSkgJSBzZWxmLnAK
ICAgIHJldHVybiBwb2ludCh4LCB5KQoKICBkZWYgcG9pbnRfZG91YmxlKHNlbGYsIHApOgogICAg
cyA9ICgzICogcC54ICogcC54ICsgc2VsZi5hKSAqIHNlbGYubW9kX2ludigyICogcC55KSAlIHNl
bGYucAogICAgeCA9IChzKnMgLSAyICogcC54KSAlIHNlbGYucAogICAgeSA9IChzICogKHAueCAt
IHgpIC0gcC55KSAlIHNlbGYucAogICAgcmV0dXJuIHBvaW50KHgsIHkpCgogIGRlZiBtdWx0aXBs
eV9wb2ludChzZWxmLCBjLCBuKToKICAgIHIgPSBOb25lCiAgICBjcG93MiA9IGMKICAgIHdoaWxl
IChuID4gMCk6CiAgICAgIGlmIChuICYgMSA9PSAxKToKICAgICAgICBpZiAociBpcyBOb25lKToK
ICAgICAgICAgIHIgPSBjcG93MgogICAgICAgIGVsc2U6CiAgICAgICAgICByID0gc2VsZi5hZGRf
cG9pbnRzKHIsIGNwb3cyKQogICAgICBuID0gKG4gPj4gMSkKICAgICAgY3BvdzIgPSBzZWxmLnBv
aW50X2RvdWJsZShjcG93MikKICAgIHJldHVybiByCiAgICAKICAjIENvbXB1dGVzIHNxdWFyZSBy
b290CiAgZGVmIHNxcl9yb290KHNlbGYsIGEpOgogICAgaWYgKG5vdCAoKHNlbGYucCAlIDQpID09
IDMpKToKICAgICAgcmFpc2UgRXhjZXB0aW9uKCJD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C54KSwgdG9fYnl0ZXMocDEwLnkpKQogIHAxMCA9IHNlY3A1MjFyMS5oYXNoX3RvX3BvaW50KHRv
X2J5dGVzKHAxMC54KSkKcHJpbnQoIkhhc2hlZCBwb2ludDogICAgICAgICAgIiwgcDEwKQpwcmlu
dCgiT24gY3VydmU6ICAgICAgICAgICAgICAiLCBzZWNwNTIxcjEuaXNfb25fY3VydmUocDEwKSkK
ZXhwZWN0ZWQxMCA9IHBvaW50KDUwOTg4MDQ2OTI4MTU2NTMzMzc5MDg5NzUyNzQ2MTM0NjY0NDkx
MjE1NzY5MjU4MDc4NTQwMTk1Nzc4MjU4MzgzMDUyMjgwMzgwNjk0NDQyMzk4NTQ1NzkxOTI1MjQy
OTI4MzUxMzI5MzM1NzA1NDEzNjUzMTM1NzQ5MTc3OTIzMzk0Mjc0NzgzOTkwMDAzNzAwODg1MDY2
NzI2MjYsIDM1OTAyNDc3MzkwOTE1NzU2ODY0NjQ0NDE3Nzg4MTI4MjI2NjE3OTU1OTU0ODExMzE1
MzY1OTg2ODM4NTg0MzI1MDM1NTY2ODEyMDAyNTY1Mzk0OTQ1OTEwMTQwMTQ2MTA4ODcxNDM3MTAy
MDI0MjUxODU1MjgwNTE2MTc2MjYyMTQzMDI1MjAwNDg4MDQ3OTIyMzAyMDg5Mjk4ODApCmFzc2Vy
dCBwMTAgPT0gZXhwZWN0ZWQxMCwgIlRlc3QgMTAgZmFpbGVkISAiICsgc3RyKHAxMCkKcHJpbnQo
IlRlc3QgMTAgcGFzc2VkIikKcHJpbnQoIiIpCg==


--=_mixed 0015A8F100258266_=--


From nobody Thu Apr  5 21:30:41 2018
Return-Path: <paul@psgd.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 C04E512E87C for <cfrg@ietfa.amsl.com>; Thu,  5 Apr 2018 21:30:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.235
X-Spam-Level: 
X-Spam-Status: No, score=-6.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] 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 QWZcRDRScGZJ for <cfrg@ietfa.amsl.com>; Thu,  5 Apr 2018 21:30:38 -0700 (PDT)
Received: from psg.com (psg.com [IPv6:2001:418:1::62]) (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 1FD0E127863 for <cfrg@ietf.org>; Thu,  5 Apr 2018 21:30:37 -0700 (PDT)
Received: from [73.119.134.196] (helo=[192.168.1.170]) by psg.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1 (FreeBSD)) (envelope-from <paul@psgd.org>) id 1f4J1I-000Q0k-Mz; Fri, 06 Apr 2018 04:30:36 +0000
To: "Scott Fluhrer (sfluhrer)" <sfluhrer@cisco.com>
Cc: "cfrg@ietf.org" <cfrg@ietf.org>
References: <5d590027-50d9-637e-8ef0-9b5a8ac22565@psgd.org> <f9d4c3bbf70c43948f2b49cef41de8a0@XCH-RTP-006.cisco.com>
From: Paul Selkirk <paul@psgd.org>
Openpgp: preference=signencrypt
Autocrypt: addr=paul@psgd.org; prefer-encrypt=mutual; keydata= xsBNBFOWH1IBCADNXe/g3+5BWdSlzNhfDgrpnvbzWlcZgPdi7oWq4wd5ueufRPGggQ/bg89M KbgEj9ZOoJ0Nb6rJk0oxA3FDcumtOSlm9I1wgttG72YDNfFGeyDv2Gx2bPqRHxlzKe/GSQCa sbx0/alHD/PbmZpKAQ9dI0fGn59m3cbptmWckMsm7E0C+qnwasdiOL3CvM6JDh0W1Ty95oVj XkW5T4lFuNg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AxTA0i rwkZtZz3jrxLk0Rc/eI5PqnpW4WVUejEYkA1SuUHyhDRFl62LOXsMU+aLekYe0iEOC5gan8O vcRf9HK4w6xMn73mzpRnZ6hOe/L/nit7xcuIdn0611hw6edVeskb89AsRKPKIDaQDjp+gEZq oX9VzpyPa+lnxzRtrz6PISLKNbZ9q5uRPdOL6dFJ2dLSZWGD/fa5U/9jBfDvYmzCplUNKIDI ht3Z3U7wKzoEYxruHGnPcHSNC1Qlu3ZAxQIsFfw1LVvjCmIbxjd49LgAdd2y
Message-ID: <08b1e675-7d2d-7b49-df0a-b8c2ac660db5@psgd.org>
Date: Fri, 6 Apr 2018 00:30:35 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <f9d4c3bbf70c43948f2b49cef41de8a0@XCH-RTP-006.cisco.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/HGy0RLHRUXMKUvqhTQ0ZJGkej-c>
Subject: Re: [Cfrg] draft-mcgrew-hash-sigs implementation and findings
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 06 Apr 2018 04:30:40 -0000

On 04/04/2018 08:16 PM, Scott Fluhrer (sfluhrer) wrote:
> Ok, I went through all your suggestions (from both reviews), and I've modified the draft accordingly.

Thank you for your kind reply. I look forward to seeing the updated draft.

> so that I ideally won't have to have a -12 version

FWIW, the one draft I was intimately involved with (pcp-base) went to
-29 before it was accepted as an RFC. I don't wish that on you, or
anyone else, but it's a thing that sometimes happens.

> - One thing that was constantly raised was the relative lack of pseudocode.  Part of this is our intentions; we wanted people to understand what the data structures and algorithms are, and if we included any pseudocode, it was with the hope that it would be informative, not normative.

Okay, but in most cases the pseudocode *is* normative - i.e. you can't
implement the draft without implementing some form of the pseudocode;
the text does not adequately describe what needs to happen.

While we're on the subject, section 7 has XDR format definitions for
keys and signatures - are they normative or informative? If XDR encoding
(big-endian, 4-byte padded) is mandatory (which it seems to be), you
might say so in the text.

More comments maybe after more sleep...

				paul


From nobody Fri Apr  6 13:34:00 2018
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 7947C1200C1; Fri,  6 Apr 2018 13:33:58 -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>
Cc: cfrg@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.77.1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <152304683843.3759.9251625085808371306@ietfa.amsl.com>
Date: Fri, 06 Apr 2018 13:33:58 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/1wsbcjrzEq2zJG_k7-AW1odC7X0>
Subject: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-11.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 06 Apr 2018 20:33:58 -0000

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

        Title           : Hash-Based Signatures
        Authors         : David McGrew
                          Michael Curcio
                          Scott Fluhrer
	Filename        : draft-mcgrew-hash-sigs-11.txt
	Pages           : 57
	Date            : 2018-04-06

Abstract:
   This note describes a digital signature system based on cryptographic
   hash functions, following the seminal work in this area of Lamport,
   Diffie, Winternitz, and Merkle, as adapted by Leighton and Micali in
   1995.  It specifies a one-time signature scheme and a general
   signature scheme.  These systems provide asymmetric authentication
   without using large integer mathematics and can achieve a high
   security level.  They are suitable for compact implementations, are
   relatively simple to implement, and naturally resist side-channel
   attacks.  Unlike most other signature systems, hash-based signatures
   would still be secure even if it proves feasible for an attacker to
   build a quantum computer.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-mcgrew-hash-sigs/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-mcgrew-hash-sigs-11
https://datatracker.ietf.org/doc/html/draft-mcgrew-hash-sigs-11

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-mcgrew-hash-sigs-11


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 Sun Apr  8 04:33:46 2018
Return-Path: <ietf-secretariat-reply@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 DFD73128C0A; Sun,  8 Apr 2018 04:33:43 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
To: <draft-harkins-pkex@ietf.org>, <cfrg@ietf.org>, <cfrg-chairs@ietf.org>
Cc: irsg@irtf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.77.1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <152318722391.1623.7725130511992973928.idtracker@ietfa.amsl.com>
Date: Sun, 08 Apr 2018 04:33:43 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/KQuTGeKIuKvq5B1COTxnrqPAlV8>
Subject: [Cfrg] The CFRG RG has placed draft-harkins-pkex in state "Candidate RG Document"
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 08 Apr 2018 11:33:44 -0000

The CFRG RG has placed draft-harkins-pkex in state
Candidate RG Document (entered by Alexey Melnikov)

The document is available at
https://datatracker.ietf.org/doc/draft-harkins-pkex/

Comment:
Document author requested adoption by CFRG.


From nobody Sun Apr  8 04:42:04 2018
Return-Path: <alexey.melnikov@isode.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 1C20E126CC7 for <cfrg@ietfa.amsl.com>; Sun,  8 Apr 2018 04:42:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level: 
X-Spam-Status: No, score=-2.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isode.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 ACZCOoa6sRMt for <cfrg@ietfa.amsl.com>; Sun,  8 Apr 2018 04:42:00 -0700 (PDT)
Received: from waldorf.isode.com (waldorf.isode.com [62.232.206.188]) by ietfa.amsl.com (Postfix) with ESMTP id BCE1F1200F1 for <cfrg@irtf.org>; Sun,  8 Apr 2018 04:42:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1523187719; d=isode.com; s=june2016; i=@isode.com; bh=kNUSaA5bHmikwL8ADFynre84U4KCsXZZ2sBQehyGf+c=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=H7rYaaXE0eV0mVgBXTrt/HV9xSHN99qJR0wKtUwTo+QK+6PmmFVimSII20F+Ho6KN8bENt K0mMGxmIfLZHzZlw2G3Otsq5kbToFz49KMu9L1SOSJyVKaLSPYxnMfNCvjXEcNdZoTC6y8 4V03Bg8JV5CTrXSBsHSnbnYU/cMf3os=;
Received: from [192.168.0.3] (cpc121086-nmal24-2-0-cust54.19-2.cable.virginm.net [77.97.145.55])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <WsoABwBV-FYM@waldorf.isode.com>; Sun, 8 Apr 2018 12:41:59 +0100
To: "cfrg@irtf.org" <cfrg@irtf.org>
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <5ACA0006.4020809@isode.com>
Date: Sun, 8 Apr 2018 12:41:58 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-transfer-encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/wzsM3G6KowSQarby9GjPmOpBv7o>
Subject: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 08 Apr 2018 11:42:02 -0000

Dear CFRG participants,
This message is starting a 2 weeks adoption call for
draft-harkins-pkex-05 (Public Key Exchange). From the document's
Introduction:

   [RFC7250] further states that "the main security challenge [to using
   'raw' public keys] is how to associate the public key with a specific
   entity.  Without a secure binding between identifier and key, the
   protocol will be vulnerable to man-in-the- middle attacks."

   The Public Key Exchange (PKEX) is designed to fill that gap: it
   establishes a secure binding between exchanged public keys and
   identifiers, it provides proof-of-possession of the exchanged public
   keys to each peer, and it enables the establishment of trust in
   public keys that can subsequently be used to facilitate
   authentication in other authentication and key exchange protocols.
   At the end of a successful run of PKEX the two peers will have trust
   in each others exchanged public keys and also share an authenticated
   symmetric key which may be discarded or used for another purpose.

The adoption call will last for 2 weeks and will end on April 22nd.

Thank you,
Kenny and Alexey


From nobody Sun Apr  8 21:30:17 2018
Return-Path: <christopherwood07@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 B03121252BA for <cfrg@ietfa.amsl.com>; Sun,  8 Apr 2018 21:30:16 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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 rVOoCn77SibI for <cfrg@ietfa.amsl.com>; Sun,  8 Apr 2018 21:30:14 -0700 (PDT)
Received: from mail-yw0-x22d.google.com (mail-yw0-x22d.google.com [IPv6:2607:f8b0:4002:c05::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 5CD36126C2F for <cfrg@irtf.org>; Sun,  8 Apr 2018 21:30:14 -0700 (PDT)
Received: by mail-yw0-x22d.google.com with SMTP id z21so2375098ywg.11 for <cfrg@irtf.org>; Sun, 08 Apr 2018 21:30:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=c5bJHxrXHgNuL9sqmQ34D6KQI0TDVkZz722YtDb4+uE=; b=X7VlgqtRAYmvR6ZOAo5fITCB1LBCDd/3gQyea+CvqJQut2W2xpuir0c7EVrdCdH8+z 24cG7ik9hELhbBv4duoVB6ZqfLBgwyaSfSTP6PGdywDqfn0R+Oa+H747FE8/QfzyZMtE cxqkCBiKlozB+XkU/GQXg8iqIjxeepQ0BdJWyVgKd4KFRC6rbtRf2WZU8LxX6cLHoW2Z THXN73g8/tfwmFVKRhz1a+2NoX0m3KbJlonGpa5VzAIrPF+Jjj9FjbCUaldp7v+GTU2p cHyJ4w8LtDgIZKJZ8lVc9/03LbN96gfC2pXG6wuP9yp7EdRWKA7xUpOAPmpV8TiVffXk cVLA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=c5bJHxrXHgNuL9sqmQ34D6KQI0TDVkZz722YtDb4+uE=; b=KViCBoq5fKXMEl0XXF1cpDsEmdLkPbiqCSPWRMVsT5xiazJQJBOUGAZdlvJ135jeDn vB0oji/i5x0zHL5GZsL9YG0Zd7f2svHcCPwG7voKEQBDzcw6VcJFIv2BtaKd8d1ygdnh 6rXqhOg8XUy6ipS60H/j6h7BlG/jSPH9KMR90kCwy3ouJq9E4dKpt543a2//InNUWxof pO99xnqCxbnVZDMrf4cjJ8AWY3T1izctv09gSo0+GPAttIvENzPfAlVgUrGYIA5YbXo9 6SM3fG3Bp0HxMiXvdCG+4fXf3X3mOGmfcsmjwNOdod0u/wBqDnq4iye1Qze5LfVWftWn 1tUQ==
X-Gm-Message-State: ALQs6tDWKXs4VNHg+eV9ld0ZvNE6Ehzb0XytcfH9Vh2Y07kMSPaCudnk wZFDhTB8YVVUB32jcsNZGG/cow+1Bjo/+/pYpv4=
X-Google-Smtp-Source: AIpwx4/2FIawIU6OPeGyisJvakFeunRMB8s0PAyQ83LPot34jymRugOSUnI2g0Bzq3lLGkxZ+wGyOYvcQNrzwPCrnA0=
X-Received: by 10.13.208.199 with SMTP id s190mr10674511ywd.33.1523248213304;  Sun, 08 Apr 2018 21:30:13 -0700 (PDT)
MIME-Version: 1.0
References: <OF6FFC9F11.340C9F5B-ON00258255.0080017E-00258256.0002E0C9@notes.na.collabserv.com> <CAO8oSXnxS4Ea89A3Yq46sPk2f8iYqiEsFwNALqAfb+2951NBsA@mail.gmail.com> <OF55990F4E.F8FD96E4-ON00258265.0015BD38-00258265.00193EC1@notes.na.collabserv.com>
In-Reply-To: <OF55990F4E.F8FD96E4-ON00258265.0015BD38-00258265.00193EC1@notes.na.collabserv.com>
From: Christopher Wood <christopherwood07@gmail.com>
Date: Mon, 09 Apr 2018 04:30:02 +0000
Message-ID: <CAO8oSX=Pc3_pOZjre_p_0Z-RiY8ykt7EsF_4f1Dc4mHtSqTNBg@mail.gmail.com>
To: jresch@us.ibm.com
Cc: cfrg@irtf.org
Content-Type: multipart/alternative; boundary="001a114daa30a8aa11056962dc31"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/JSfHrEJVMzpjUWHawXCUoyb7ZWs>
Subject: Re: [Cfrg] Comments regarding draft-sullivan-cfrg-hash-to-curve
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 09 Apr 2018 04:30:17 -0000

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

Hi Jason,

Please see inline below.

On Tue, Apr 3, 2018 at 9:36 PM Jason Resch <jresch@us.ibm.com> wrote:

>
> I recently wrote some reference implementations of my suggestion below for
> implementing HashToBase() for any given input string and curve.  It uses
> the left-most bits of HKDF applied to the input, where the number of total
> bits selected is determined by the size of the prime field.  I have ensured
> consistency via some test vectors I defined and are included in this sample
> code.  I tested both NIST P-256, and NIST P-521. Note that these examples
> only implement "Simplified SWU", but this can be easily extended to support
> the other algorithms.
>
> I have attached the Python and Java implementations to this e-mail, the
> python one is a bit more concise and is self contained in one file, while
> the Java one is implemented across several files (in the zip file), but
> both produce consistent results as far as I have been able to test.
>

Thanks for sharing the code. We're currently working to port all the
algorithms to hacspec. This routine will certainly be part of that effort.
When the time comes, I will use it to test against our own implementation.


>
> Also, I found something interesting in regards to supporting Koblitz
> curves, or other curves where a = 0 (such as BN-254).  By accident, I
> discovered that it didn't seem to matter whether I used "(-b / a)" or any
> other number.  The Simplified SWU algorithm appeared to always map to a
> valid point.  Does this make sense?  Is there a special motivation for
> using (-b / a) as opposed to some other constant?
>

Interesting. I don't know off hand. I'll have to investigate and get back
to you.

Best,
Chris

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

<div dir=3D"ltr">Hi Jason,<div><br></div><div>Please see inline below.</div=
><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Tue, Apr 3, 2018 at 9:3=
6 PM Jason Resch &lt;<a href=3D"mailto:jresch@us.ibm.com">jresch@us.ibm.com=
</a>&gt; wrote:</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face=3D"Default S=
ans Serif,Verdana,Arial,Helvetica,sans-serif" size=3D"2"><br>I recently wro=
te some reference implementations of my suggestion below for implementing H=
ashToBase() for any given input string and curve.=C2=A0 It uses the left-mo=
st bits of HKDF applied to the input, where the number of total bits select=
ed is determined by the size of the prime field.=C2=A0 I have ensured consi=
stency via some test vectors I defined and are included in this sample code=
.=C2=A0 I tested both NIST P-256, and NIST P-521. Note that these examples =
only implement &quot;Simplified SWU&quot;, but this can be easily extended =
to support the other algorithms.<br><br>I have attached the Python and Java=
 implementations to this e-mail, the python one is a bit more concise and i=
s self contained in one file, while the Java one is implemented across seve=
ral files (in the zip file), but both produce consistent results as far as =
I have been able to test.<br></font></blockquote><div><br></div><div>Thanks=
 for sharing the code. We&#39;re currently working to port all the algorith=
ms to hacspec. This routine will certainly be part of that effort. When the=
 time comes, I will use it to test against our own implementation.</div><di=
v>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><font face=3D"Default Sans Ser=
if,Verdana,Arial,Helvetica,sans-serif" size=3D"2"><br>Also, I found somethi=
ng interesting in regards to supporting Koblitz curves, or other curves whe=
re a =3D 0 (such as BN-254).=C2=A0 By accident, I discovered that it didn&#=
39;t seem to matter whether I used &quot;(-b / a)&quot; or any other number=
.=C2=A0 The Simplified SWU algorithm appeared to always map to a valid poin=
t.=C2=A0 Does this make sense?=C2=A0 Is there a special motivation for usin=
g (-b / a) as opposed to some other constant?<br></font></blockquote><div><=
br></div><div>Interesting. I don&#39;t know off hand. I&#39;ll have to inve=
stigate and get back to you.=C2=A0</div><div><br></div><div>Best,</div><div=
>Chris</div><div>=C2=A0</div></div></div>

--001a114daa30a8aa11056962dc31--


From nobody Sun Apr  8 21:56:04 2018
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 873C61252BA for <cfrg@ietfa.amsl.com>; Sun,  8 Apr 2018 21:56:02 -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 s5d7uOOdQF-w for <cfrg@ietfa.amsl.com>; Sun,  8 Apr 2018 21:56:00 -0700 (PDT)
Received: from homiemail-a21.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 95DA31205F0 for <cfrg@irtf.org>; Sun,  8 Apr 2018 21:56:00 -0700 (PDT)
Received: from homiemail-a21.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTP id C9F311C0064; Sun,  8 Apr 2018 21:55:59 -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=o2/e2Tmh+EfoHopqcnvXcrgMtIY=; b=kYlE8LkQWGUh5+ Xa9dMO/qgJ5cmhYG7B+5baC9l7fn8qxs7ucJ71duKFnTAdN58c21wZeiY7MrqllZ xaLqpM4UOMrCmUyPDuVjPIQt0FbXxL/kZehEiKdlzj3QqGrb3e5axKr7Y1g7rO3U 9oJ12UA3dJ2hH1aTvucYfZ+dVVBU4=
Received: from [10.119.72.38] (unknown [74.115.160.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: ggr@seer-grog.net) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTPSA id 5F48F1C0062; Sun,  8 Apr 2018 21:55:59 -0700 (PDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\))
From: Greg Rose <ggr@seer-grog.net>
In-Reply-To: <5ACA0006.4020809@isode.com>
Date: Sun, 8 Apr 2018 21:55:58 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <30CF49EA-538C-4684-AED6-1068D4548683@seer-grog.net>
References: <5ACA0006.4020809@isode.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
X-Mailer: Apple Mail (2.3445.6.18)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/sC-UF0HrAHuMp_I2JAihiuNIv04>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 09 Apr 2018 04:56:02 -0000

I support adoption. I made a number of comments offline that have been =
addressed.

Greg.

Phone/Signal:  +1 619 890 8236=20
GPG/PGP:  1081A37C  232B EC8F 44C6 C853 D68F  E107 E6BF CD2F 1081 A37C

> On Apr 8, 2018, at 4:41 , Alexey Melnikov <alexey.melnikov@isode.com> =
wrote:
>=20
> Dear CFRG participants,
> This message is starting a 2 weeks adoption call for
> draft-harkins-pkex-05 (Public Key Exchange). =46rom the document's
> Introduction:
>=20
>   [RFC7250] further states that "the main security challenge [to using
>   'raw' public keys] is how to associate the public key with a =
specific
>   entity.  Without a secure binding between identifier and key, the
>   protocol will be vulnerable to man-in-the- middle attacks."
>=20
>   The Public Key Exchange (PKEX) is designed to fill that gap: it
>   establishes a secure binding between exchanged public keys and
>   identifiers, it provides proof-of-possession of the exchanged public
>   keys to each peer, and it enables the establishment of trust in
>   public keys that can subsequently be used to facilitate
>   authentication in other authentication and key exchange protocols.
>   At the end of a successful run of PKEX the two peers will have trust
>   in each others exchanged public keys and also share an authenticated
>   symmetric key which may be discarded or used for another purpose.
>=20
> The adoption call will last for 2 weeks and will end on April 22nd.
>=20
> Thank you,
> Kenny and Alexey
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Sun Apr  8 22:46:14 2018
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 8F084120721 for <cfrg@ietfa.amsl.com>; Sun,  8 Apr 2018 22:46:12 -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 1-NeQRILJLtl for <cfrg@ietfa.amsl.com>; Sun,  8 Apr 2018 22:46:09 -0700 (PDT)
Received: from mail-qk0-x22d.google.com (mail-qk0-x22d.google.com [IPv6:2607:f8b0:400d:c09::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 973001205F0 for <cfrg@irtf.org>; Sun,  8 Apr 2018 22:46:09 -0700 (PDT)
Received: by mail-qk0-x22d.google.com with SMTP id o205so8034538qke.3 for <cfrg@irtf.org>; Sun, 08 Apr 2018 22:46:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to;  bh=q2Pw+GiF/lJgJ8knly4bWeaaBuZPGDX3PJyaJ0flI40=; b=ax8cXJtbwktV7kWeu6J58sd5sPHqOCr+AUiCU+Wb8w8WuyrIfSV8Azo/1Jt96hTRSm odFL7Te7CsowbGGOYF8J6HWPR44dL5C31aV8t1fkETksG09NoymM/puqgpVMcAhtMIRq R4SVdBHpcmCNqrNeOMXWic2vz4gsNL/c4EYhR9Hw110hlN9iK5/k/VAVEcgC4hNOQuKe 63CHUn07ctl7v/VL3Z5gNq3QFXW+dITvBFnyE5mcHO1JZg+BAmejpjcU+CNLhCg6fUDH XjIki943DQ79kASEBM9O7wvCD0Y2+ZucHqC6gS+iV3xEWYiFeFoHNcxPOt/LYXBw112c /noA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=q2Pw+GiF/lJgJ8knly4bWeaaBuZPGDX3PJyaJ0flI40=; b=E0bZgp7Dh//nTAEDbjs1knGFi6TF6j6YTxt7QtM82A0ad8hY5tjTLBI9TNYafRpiXq MGK7x40O6j3bCU9l8l8RoeL6oqOv2v/lsCtvTWUbopZhfrZ1eY4fUDDMM6w68Z+jtiZu dNpjDwlUcHz0XXBHG8dd7Klggld51XIZ7wJVxkuGO85eOqXWi9fkfBmmztdFVi8LAsBD +mbxuiCSUvy1qDrz1uxnt/rhCqg5aRllXfX41pnry0gd5eWPJ7KvkCZSKbzAhcVSrmzV PRuSD+5/Zfy+11CqLtFPk0Xfale9S0/SVda8K2USrY/XhcxYVAm6UljZUwcWeDUWXXzJ KYtA==
X-Gm-Message-State: ALQs6tBVv5KxzqIq8KQt4cAn0Is0ZFuctV3QVKW3Ldt165jgzXyIM0iL XcjwXFhm63B2DX42hoGDkL8lWJnaUSQxhWVTQZE=
X-Google-Smtp-Source: AIpwx49nC8rAVgdzX8DX8F6RQAw3qzrmAbWNtluWhgnH1GpsfzJADNSnAyXJyD826z8iL9SCnU+5ZUax3Snde8mHtq4=
X-Received: by 10.55.16.135 with SMTP id 7mr45683904qkq.85.1523252768560; Sun, 08 Apr 2018 22:46:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.150.99 with HTTP; Sun, 8 Apr 2018 22:46:08 -0700 (PDT)
In-Reply-To: <30CF49EA-538C-4684-AED6-1068D4548683@seer-grog.net>
References: <5ACA0006.4020809@isode.com> <30CF49EA-538C-4684-AED6-1068D4548683@seer-grog.net>
From: "Stanislav V. Smyshlyaev" <smyshsv@gmail.com>
Date: Mon, 9 Apr 2018 08:46:08 +0300
Message-ID: <CAMr0u6n20MGabcpLz1hBEnOQQ0yRPREWkSpHyqYdKdAAbsjDow@mail.gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: multipart/alternative; boundary="001a1147638c2c5d60056963ecf8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/iI7b6N8VGsV9_rbEzmCxe_Ar3Tw>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 09 Apr 2018 05:46:13 -0000

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

Dear colleagues,

I support adoption. The protocol has smart architecture, it suits the core
principles of RFC 8125.
We've had a number of discussions with Dan Harkins, he completely
understands, what is important for constructing a good PAKE, so I'm
absolutely sure that several remaining important issues with the document
will be solved.

Best regards,
Stanislav


2018-04-09 7:55 GMT+03:00 Greg Rose <ggr@seer-grog.net>:

> I support adoption. I made a number of comments offline that have been
> addressed.
>
> Greg.
>
> Phone/Signal:  +1 619 890 8236
> GPG/PGP:  1081A37C  232B EC8F 44C6 C853 D68F  E107 E6BF CD2F 1081 A37C
>
> > On Apr 8, 2018, at 4:41 , Alexey Melnikov <alexey.melnikov@isode.com>
> wrote:
> >
> > Dear CFRG participants,
> > This message is starting a 2 weeks adoption call for
> > draft-harkins-pkex-05 (Public Key Exchange). From the document's
> > Introduction:
> >
> >   [RFC7250] further states that "the main security challenge [to using
> >   'raw' public keys] is how to associate the public key with a specific
> >   entity.  Without a secure binding between identifier and key, the
> >   protocol will be vulnerable to man-in-the- middle attacks."
> >
> >   The Public Key Exchange (PKEX) is designed to fill that gap: it
> >   establishes a secure binding between exchanged public keys and
> >   identifiers, it provides proof-of-possession of the exchanged public
> >   keys to each peer, and it enables the establishment of trust in
> >   public keys that can subsequently be used to facilitate
> >   authentication in other authentication and key exchange protocols.
> >   At the end of a successful run of PKEX the two peers will have trust
> >   in each others exchanged public keys and also share an authenticated
> >   symmetric key which may be discarded or used for another purpose.
> >
> > The adoption call will last for 2 weeks and will end on April 22nd.
> >
> > Thank you,
> > Kenny and Alexey
> >
> > _______________________________________________
> > 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
>

--001a1147638c2c5d60056963ecf8
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"><div><div dir=3D"l=
tr"><div><div dir=3D"ltr">Dear colleagues,</div><div dir=3D"ltr"><br></div>=
<div dir=3D"ltr">I support adoption. The protocol has smart architecture, i=
t suits the core principles of RFC 8125.=C2=A0</div><div dir=3D"ltr">We&#39=
;ve had a number of discussions with Dan Harkins, he completely understands=
, what is important for constructing a good PAKE, so I&#39;m absolutely sur=
e that several remaining important issues with the document will be solved.=
</div><div dir=3D"ltr"><br></div><div dir=3D"ltr">Best regards,</div><div d=
ir=3D"ltr">Stanislav<br><div><br></div></div></div></div></div></div></div>=
</div>
<br><div class=3D"gmail_quote">2018-04-09 7:55 GMT+03:00 Greg Rose <span di=
r=3D"ltr">&lt;<a href=3D"mailto:ggr@seer-grog.net" target=3D"_blank">ggr@se=
er-grog.net</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I support ado=
ption. I made a number of comments offline that have been addressed.<br>
<br>
Greg.<br>
<br>
Phone/Signal:=C2=A0 +1 619 890 8236<br>
GPG/PGP:=C2=A0 1081A37C=C2=A0 232B EC8F 44C6 C853 D68F=C2=A0 E107 E6BF CD2F=
 1081 A37C<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
&gt; On Apr 8, 2018, at 4:41 , Alexey Melnikov &lt;<a href=3D"mailto:alexey=
.melnikov@isode.com">alexey.melnikov@isode.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Dear CFRG participants,<br>
&gt; This message is starting a 2 weeks adoption call for<br>
&gt; draft-harkins-pkex-05 (Public Key Exchange). From the document&#39;s<b=
r>
&gt; Introduction:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0[RFC7250] further states that &quot;the main security chal=
lenge [to using<br>
&gt;=C2=A0 =C2=A0&#39;raw&#39; public keys] is how to associate the public =
key with a specific<br>
&gt;=C2=A0 =C2=A0entity.=C2=A0 Without a secure binding between identifier =
and key, the<br>
&gt;=C2=A0 =C2=A0protocol will be vulnerable to man-in-the- middle attacks.=
&quot;<br>
&gt;<br>
&gt;=C2=A0 =C2=A0The Public Key Exchange (PKEX) is designed to fill that ga=
p: it<br>
&gt;=C2=A0 =C2=A0establishes a secure binding between exchanged public keys=
 and<br>
&gt;=C2=A0 =C2=A0identifiers, it provides proof-of-possession of the exchan=
ged public<br>
&gt;=C2=A0 =C2=A0keys to each peer, and it enables the establishment of tru=
st in<br>
&gt;=C2=A0 =C2=A0public keys that can subsequently be used to facilitate<br=
>
&gt;=C2=A0 =C2=A0authentication in other authentication and key exchange pr=
otocols.<br>
&gt;=C2=A0 =C2=A0At the end of a successful run of PKEX the two peers will =
have trust<br>
&gt;=C2=A0 =C2=A0in each others exchanged public keys and also share an aut=
henticated<br>
&gt;=C2=A0 =C2=A0symmetric key which may be discarded or used for another p=
urpose.<br>
&gt;<br>
&gt; The adoption call will last for 2 weeks and will end on April 22nd.<br=
>
&gt;<br>
&gt; Thank you,<br>
&gt; Kenny and Alexey<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Cfrg mailing list<br>
&gt; <a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
&gt; <a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferr=
er" target=3D"_blank">https://www.irtf.org/mailman/<wbr>listinfo/cfrg</a><b=
r>
<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>
</div></div></blockquote></div><br></div></div>

--001a1147638c2c5d60056963ecf8--


From nobody Mon Apr  9 10:28:50 2018
Return-Path: <jresch@us.ibm.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 B4C1C12702E for <cfrg@ietfa.amsl.com>; Mon,  9 Apr 2018 10:28:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.04
X-Spam-Level: *
X-Spam-Status: No, score=1.04 tagged_above=-999 required=5 tests=[HTML_MESSAGE=0.001, HTML_MIME_NO_HTML_TAG=0.635, MIME_HTML_ONLY=1.105, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=no 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 uyXKca3x5X9N for <cfrg@ietfa.amsl.com>; Mon,  9 Apr 2018 10:28:45 -0700 (PDT)
Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (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 69F951200FC for <cfrg@irtf.org>; Mon,  9 Apr 2018 10:28:45 -0700 (PDT)
Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w39HPuHP030719 for <cfrg@irtf.org>; Mon, 9 Apr 2018 13:28:44 -0400
Received: from smtp.notes.na.collabserv.com (smtp.notes.na.collabserv.com [192.155.248.82]) by mx0b-001b2d01.pphosted.com with ESMTP id 2h89ggsr6h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <cfrg@irtf.org>; Mon, 09 Apr 2018 13:28:44 -0400
Received: from localhost by smtp.notes.na.collabserv.com with smtp.notes.na.collabserv.com ESMTP for <cfrg@irtf.org> from <jresch@us.ibm.com>; Mon, 9 Apr 2018 17:28:43 -0000
Received: from us1a3-smtp03.a3.dal06.isc4sb.com (10.106.154.98) by smtp.notes.na.collabserv.com (10.106.227.105) with smtp.notes.na.collabserv.com ESMTP; Mon, 9 Apr 2018 17:27:54 -0000
Received: from us1a3-mail154.a3.dal06.isc4sb.com ([10.146.38.91]) by us1a3-smtp03.a3.dal06.isc4sb.com with ESMTP id 2018040917275266-917548 ; Mon, 9 Apr 2018 17:27:52 +0000 
In-Reply-To: <CAO8oSX=Pc3_pOZjre_p_0Z-RiY8ykt7EsF_4f1Dc4mHtSqTNBg@mail.gmail.com>
From: "Jason Resch" <jresch@us.ibm.com>
To: christopherwood07@gmail.com
Cc: cfrg@irtf.org
Date: Mon, 9 Apr 2018 17:27:53 +0000
Sensitivity: 
MIME-Version: 1.0
References: <CAO8oSX=Pc3_pOZjre_p_0Z-RiY8ykt7EsF_4f1Dc4mHtSqTNBg@mail.gmail.com>,  <OF6FFC9F11.340C9F5B-ON00258255.0080017E-00258256.0002E0C9@notes.na.collabserv.com> <CAO8oSXnxS4Ea89A3Yq46sPk2f8iYqiEsFwNALqAfb+2951NBsA@mail.gmail.com> <OF55990F4E.F8FD96E4-ON00258265.0015BD38-00258265.00193EC1@notes.na.collabserv.com>
Importance: Normal
X-Priority: 3 (Normal)
X-Mailer: IBM Verse Build 16007-1287 | IBM Domino Build SCN1806600_20180307T0022_FP2 March 30, 2018 at 22:22
X-LLNOutbound: False
X-Disclaimed: 39235
X-TNEFEvaluated: 1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8
x-cbid: 18040917-5101-0000-0000-00000A025DD4
X-IBM-SpamModules-Scores: BY=0; FL=0; FP=0; FZ=0; HX=0; KW=0; PH=0; SC=0.373977; ST=0; TS=0; UL=0; ISC=; MB=0.018716
X-IBM-SpamModules-Versions: BY=3.00008825; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000256; SDB=6.01015472; UDB=6.00517777; IPR=6.00794722;  BA=6.00005902; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00020488; XFM=3.00000015; UTC=2018-04-09 17:28:42
X-IBM-AV-DETECTION: SAVI=unsuspicious REMOTE=unsuspicious XFE=unused
X-IBM-AV-VERSION: SAVI=2018-04-09 16:55:57 - 6.00008310
x-cbparentid: 18040917-5102-0000-0000-00002A338AD4
Message-Id: <OF51F567B3.8A694C51-ON0025826A.005FA19D-0025826A.005FEFEA@notes.na.collabserv.com>
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-04-09_08:, , signatures=0
X-Proofpoint-Spam-Reason: safe
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/dEDEvC3_TstQwqxhFmo-tvfNp6k>
Subject: Re: [Cfrg] Comments regarding draft-sullivan-cfrg-hash-to-curve
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 09 Apr 2018 17:28:47 -0000

<div class=3D"socmaildefaultfont" dir=3D"ltr" style=3D"font-family:Arial, H=
elvetica, sans-serif;font-size:10.5pt" ><div dir=3D"ltr" >Christopher,</div>
<div dir=3D"ltr" >&nbsp;</div>
<div dir=3D"ltr" >That's excellent. I am glad this code is useful and can c=
ontribute towards the implementation of hacspec.</div>
<div dir=3D"ltr" >Please reach out to me if you have any questions, comment=
s, concerns or issues regarding the code.</div>
<div dir=3D"ltr" >&nbsp;</div>
<div dir=3D"ltr" >Best,</div>
<div dir=3D"ltr" >&nbsp;</div>
<div dir=3D"ltr" >Jason Resch</div>
<div dir=3D"ltr" >&nbsp;</div>
<blockquote data-history-content-modified=3D"1" data-history-expanded=3D"1"=
 dir=3D"ltr" style=3D"border-left:solid #aaaaaa 2px; margin-left:5px; paddi=
ng-left:5px; direction:ltr; margin-right:0px" >----- Original message -----=
<br>From: Christopher Wood &lt;christopherwood07@gmail.com&gt;<br>To: jresc=
h@us.ibm.com<br>Cc: cfrg@irtf.org<br>Subject: Re: [Cfrg] Comments regarding=
 draft-sullivan-cfrg-hash-to-curve<br>Date: Sun, Apr 8, 2018 11:30 PM<br>&n=
bsp;
<div dir=3D"ltr" >Hi Jason,
<div>&nbsp;</div>
<div>Please see inline below.</div>&nbsp;

<div><div dir=3D"ltr" >On Tue, Apr 3, 2018 at 9:36 PM Jason Resch &lt;<a hr=
ef=3D"mailto:jresch@us.ibm.com" target=3D"=5Fblank" >jresch@us.ibm.com</a>&=
gt; wrote:</div>
<blockquote style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex" ><br><font size=3D"2" face=3D"Default Sans Serif,Verdana,Arial,Hel=
vetica,sans-serif" >I recently wrote some reference implementations of my s=
uggestion below for implementing HashToBase() for any given input string an=
d curve.&nbsp; It uses the left-most bits of HKDF applied to the input, whe=
re the number of total bits selected is determined by the size of the prime=
 field.&nbsp; I have ensured consistency via some test vectors I defined an=
d are included in this sample code.&nbsp; I tested both NIST P-256, and NIS=
T P-521. Note that these examples only implement "Simplified SWU", but this=
 can be easily extended to support the other algorithms.<br><br>I have atta=
ched the Python and Java implementations to this e-mail, the python one is =
a bit more concise and is self contained in one file, while the Java one is=
 implemented across several files (in the zip file), but both produce consi=
stent results as far as I have been able to test.</font></blockquote>
<div>&nbsp;</div>
<div>Thanks for sharing the code. We're currently working to port all the a=
lgorithms to hacspec. This routine will certainly be part of that effort. W=
hen the time comes, I will use it to test against our own implementation.</=
div>
<div>&nbsp;</div>
<blockquote style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex" ><br><font size=3D"2" face=3D"Default Sans Serif,Verdana,Arial,Hel=
vetica,sans-serif" >Also, I found something interesting in regards to suppo=
rting Koblitz curves, or other curves where a =3D 0 (such as BN-254).&nbsp;=
 By accident, I discovered that it didn't seem to matter whether I used "(-=
b / a)" or any other number.&nbsp; The Simplified SWU algorithm appeared to=
 always map to a valid point.&nbsp; Does this make sense?&nbsp; Is there a =
special motivation for using (-b / a) as opposed to some other constant?</f=
ont></blockquote>
<div>&nbsp;</div>
<div>Interesting. I don't know off hand. I'll have to investigate and get b=
ack to you.&nbsp;</div>
<div>&nbsp;</div>
<div>Best,</div>
<div>Chris</div>
<div>&nbsp;</div></div></div></blockquote>
<div dir=3D"ltr" >&nbsp;</div></div><BR>


From nobody Tue Apr 10 11:00:01 2018
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 223C312DA3E for <cfrg@ietfa.amsl.com>; Tue, 10 Apr 2018 11:00:00 -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, SPF_PASS=-0.001, URIBL_BLOCKED=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 l8RSteDi9z-h for <cfrg@ietfa.amsl.com>; Tue, 10 Apr 2018 10:59:58 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) (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 BD0B412DA29 for <cfrg@irtf.org>; Tue, 10 Apr 2018 10:59:57 -0700 (PDT)
X-Spoof: 
Received: from xct101cnc.rim.net ([10.65.161.201]) by mhs213cnc.rim.net with ESMTP/TLS/DHE-RSA-AES256-SHA; 10 Apr 2018 13:59:46 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT101CNC.rim.net ([fe80::9c22:d9c:c906:c488%16]) with mapi id 14.03.0319.002; Tue, 10 Apr 2018 13:59:45 -0400
From: Dan Brown <danibrown@blackberry.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Adoption call for draft-harkins-pkex-05
Thread-Index: AQHTzy6h+ZIAj7eEGk6ocsI5c3vFGqP6SGhg
Date: Tue, 10 Apr 2018 17:59:45 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net>
References: <5ACA0006.4020809@isode.com>
In-Reply-To: <5ACA0006.4020809@isode.com>
Accept-Language: en-US, en-CA
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.251]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_008E_01D3D0D4.2DC97D20"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/AqTZaF3mzYjmz6yX0o7v1JeXMak>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 10 Apr 2018 18:00:00 -0000

------=_NextPart_000_008E_01D3D0D4.2DC97D20
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I'm seeing two minor issues to be resolved before adoption:
1. "Public key exchange" is a totally non-specific name, so much so, that I
oppose adoption under this name.  Public key exchange could mean
Diffie-Hellman key agreement, for example.  If PKEX has been deployed in
some places, the name should be updated retroactively.  (Sorry that this is
merely a terminology issue (as in the color of bikeshed, not the bikeshed
itself.)
2. What is the problem being solved here?  For example, I think that TLS
will or does offer PSK authentication.  So, why not just do an out-of-band
PAKE to establish a PSK, then use PSK-authenticated TLS.  So, to rephrase my
question: is there some security defect with PSK-authenticated TLS that PKEX
solves?  Maybe this was discussed already, sorry if I missed it (and am out
of order).
Otherwise, I do not have much of an opinion in either direction.

-----Original Message-----
From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Alexey Melnikov
Sent: Sunday, April 8, 2018 7:42 AM
To: cfrg@irtf.org
Subject: [Cfrg] Adoption call for draft-harkins-pkex-05

Dear CFRG participants,
This message is starting a 2 weeks adoption call for
draft-harkins-pkex-05 (Public Key Exchange). From the document's
Introduction:

   [RFC7250] further states that "the main security challenge [to using
   'raw' public keys] is how to associate the public key with a specific
   entity.  Without a secure binding between identifier and key, the
   protocol will be vulnerable to man-in-the- middle attacks."

   The Public Key Exchange (PKEX) is designed to fill that gap: it
   establishes a secure binding between exchanged public keys and
   identifiers, it provides proof-of-possession of the exchanged public
   keys to each peer, and it enables the establishment of trust in
   public keys that can subsequently be used to facilitate
   authentication in other authentication and key exchange protocols.
   At the end of a successful run of PKEX the two peers will have trust
   in each others exchanged public keys and also share an authenticated
   symmetric key which may be discarded or used for another purpose.

The adoption call will last for 2 weeks and will end on April 22nd.

Thank you,
Kenny and Alexey

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

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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIh1TCCBckw
ggOxoAMCAQICBQD2V+DAMA0GCSqGSIb3DQEBDQUAMHwxCzAJBgNVBAYTAkNBMRswGQYDVQ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qMCgGA1UE
AxMhQmxhY2tCZXJyeSBDb3Jwb3JhdGUgSXNzdWluZyBDQSAxAgpWcQ2NAAAAAh9xMAkGBSsOAwIa
BQCggZ4wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTgwNDEwMTc1
OTQ0WjAjBgkqhkiG9w0BCQQxFgQU50n6MHZd1uzGD6pId9TnCVc8a5swPwYJKoZIhvcNAQkPMTIw
MDAHBgUrDgMCGjALBglghkgBZQMEAgMwCwYJYIZIAWUDBAICMAsGCWCGSAFlAwQCATANBgkqhkiG
9w0BAQEFAASCAQA2gxiCOC8gb79giroSRheSMr1ITQTKzYvL+qwitOHKQcCEW2LEBPLUqWB7lRgm
v+SrOMqmn24a5Hg4PVHwtTVrB2hZaSM46m96LeU4GaAmtx3D0S5Ymsg8zAqHiwcqZxPGeCwZAXEa
SxktGl7s2c7RMhYMZtHChyHzVkT+DBkoOEm6d8lMLy3GEYcpiHIahlQ4U11TA36Uh1qmpPTQeWRd
WrjNFuUwjW1UKDM47U8WBWDxxW5fovK/W1861rYHnVEPO5R1Bm8a/8TOyXMmMJJyOpGoeiDwkYDD
LqahfbJdjrLfwO0MKhlMt3T6lN6Fyl+42yCnixGflSbwapCXVkiXAAAAAAAA

------=_NextPart_000_008E_01D3D0D4.2DC97D20--


From nobody Tue Apr 10 12:56:33 2018
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 AB17B12DDD0 for <cfrg@ietfa.amsl.com>; Tue, 10 Apr 2018 12:56:32 -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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, URIBL_BLOCKED=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 t1WZj8z7Xie6 for <cfrg@ietfa.amsl.com>; Tue, 10 Apr 2018 12:56:30 -0700 (PDT)
Received: from homiemail-a20.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 54C9512DA4A for <cfrg@irtf.org>; Tue, 10 Apr 2018 12:56:29 -0700 (PDT)
Received: from homiemail-a20.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a20.g.dreamhost.com (Postfix) with ESMTP id 90BF87EC074; Tue, 10 Apr 2018 12:56:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=seer-grog.net; h=from :message-id:content-type:mime-version:subject:date:in-reply-to :cc:to:references; s=seer-grog.net; bh=1ggCnyZCFcqwcf0eAZmACjS8n u4=; b=xsUdOGZqDpTmK7RkVITHOJEn7Xzdpa3f573lZniTJtnMVRVdxFD7tHwy5 jyY4WsBqnQb+qBE24zELmwAXzQA0YCnpj1kJpNmVh1A7gHuLnhUp5Q3QOnKvlwET Kq9X/w48ZbH+4Gjh+b6apk2gzIJFF8uvUSHoeiewxwHMsLhUMk=
Received: from [10.0.1.11] (cpe-75-80-147-80.san.res.rr.com [75.80.147.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: ggr@seer-grog.net) by homiemail-a20.g.dreamhost.com (Postfix) with ESMTPSA id 66BEE7EC06F; Tue, 10 Apr 2018 12:56:28 -0700 (PDT)
From: Greg Rose <ggr@seer-grog.net>
Message-Id: <F142066E-4F57-494F-B6B8-08B665B5A8E5@seer-grog.net>
Content-Type: multipart/signed; boundary="Apple-Mail=_50C6C50C-DA77-4724-BA32-DCA0C0409CCC"; protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\))
Date: Tue, 10 Apr 2018 12:56:27 -0700
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net>
Cc: Greg Rose <ggr@seer-grog.net>, Alexey Melnikov <alexey.melnikov@isode.com>, "cfrg@irtf.org" <cfrg@irtf.org>
To: Dan Brown <danibrown@blackberry.com>
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net>
X-Mailer: Apple Mail (2.3445.6.18)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/raqEX8U3ToETuj91fXnHDQuDv0M>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 10 Apr 2018 19:56:33 -0000

--Apple-Mail=_50C6C50C-DA77-4724-BA32-DCA0C0409CCC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


> On Apr 10, 2018, at 10:59 , Dan Brown <danibrown@blackberry.com> =
wrote:
>=20
> 2. What is the problem being solved here?  For example, I think that =
TLS
> will or does offer PSK authentication.  So, why not just do an =
out-of-band
> PAKE to establish a PSK, then use PSK-authenticated TLS.  So, to =
rephrase my
> question: is there some security defect with PSK-authenticated TLS =
that PKEX
> solves?  Maybe this was discussed already, sorry if I missed it (and =
am out
> of order).

No comment on your first point. For this one, though, I think the point =
is to have a standard that allows reaching the goal without riding the =
elephant of TLS to get there.

Greg.

>=20
> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Alexey Melnikov
> Sent: Sunday, April 8, 2018 7:42 AM
> To: cfrg@irtf.org
> Subject: [Cfrg] Adoption call for draft-harkins-pkex-05
>=20
> Dear CFRG participants,
> This message is starting a 2 weeks adoption call for
> draft-harkins-pkex-05 (Public Key Exchange). =46rom the document's
> Introduction:
>=20
>   [RFC7250] further states that "the main security challenge [to using
>   'raw' public keys] is how to associate the public key with a =
specific
>   entity.  Without a secure binding between identifier and key, the
>   protocol will be vulnerable to man-in-the- middle attacks."
>=20
>   The Public Key Exchange (PKEX) is designed to fill that gap: it
>   establishes a secure binding between exchanged public keys and
>   identifiers, it provides proof-of-possession of the exchanged public
>   keys to each peer, and it enables the establishment of trust in
>   public keys that can subsequently be used to facilitate
>   authentication in other authentication and key exchange protocols.
>   At the end of a successful run of PKEX the two peers will have trust
>   in each others exchanged public keys and also share an authenticated
>   symmetric key which may be discarded or used for another purpose.
>=20
> The adoption call will last for 2 weeks and will end on April 22nd.
>=20
> Thank you,
> Kenny and Alexey
>=20
> _______________________________________________
> 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


--Apple-Mail=_50C6C50C-DA77-4724-BA32-DCA0C0409CCC
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFdjCCBXIw
ggN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cBgkqhkiG9w0BCQUxDxcNMTgw
NDEwMTk1NjI3WjAjBgkqhkiG9w0BCQQxFgQU6YQ5SeWDzRJak1p4usBsSkQHdkkwgZEGCSsGAQQB
gjcQBDGBgzCBgDB5MRAwDgYDVQQKEwdSb290IENBMR4wHAYDVQQLExVodHRwOi8vd3d3LmNhY2Vy
dC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmluZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEW
EnN1cHBvcnRAY2FjZXJ0Lm9yZwIDEws1MIGTBgsqhkiG9w0BCRACCzGBg6CBgDB5MRAwDgYDVQQK
EwdSb290IENBMR4wHAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENl
cnQgU2lnbmluZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZwID
Ews1MA0GCSqGSIb3DQEBAQUABIIBAICUwL/uhxAU2sH4FAQdFjp5fsp8a7kU0opuXcDuTMnNfJza
SDnWHjw7rCaJ7COJ5rAy1MX0Rm1mkSnRhpzj4d4xC06GwqS/sDJkR/4Q8kSUo9rvi29/dYyHhiAl
qkE+iUCBNgEzmiDYztIAmjgqU2UmZaikMHDCQS2AMySpiWsVXJkBMSi8E9mQLwJ8I2pfsxipRJk2
HiDk4iGh5dY0WEdifvZdLBclHlqemarDor4aKZ9l9GvgTa3OIo2lU3w/jlDRgTGhLnoZptxrI3Dz
XSExdcEWDdHPEv4XvuQ92zu/9yRR6q/H+VNrNyZlVbxl7KQ/AN0MreKVC7YLREZV7mgAAAAAAAA=
--Apple-Mail=_50C6C50C-DA77-4724-BA32-DCA0C0409CCC--


From nobody Tue Apr 10 13:46:41 2018
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 EF35212D77B for <cfrg@ietfa.amsl.com>; Tue, 10 Apr 2018 13:46:40 -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, SPF_PASS=-0.001, URIBL_BLOCKED=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 A7DyixEvOiyR for <cfrg@ietfa.amsl.com>; Tue, 10 Apr 2018 13:46:38 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) (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 F3E261272E1 for <cfrg@irtf.org>; Tue, 10 Apr 2018 13:46:37 -0700 (PDT)
X-Spoof: 
Received: from xct105cnc.rim.net ([10.65.161.205]) by mhs215cnc.rim.net with ESMTP/TLS/DHE-RSA-AES256-SHA; 10 Apr 2018 16:46:36 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT105CNC.rim.net ([fe80::d13d:b7a2:ae5e:db06%16]) with mapi id 14.03.0319.002; Tue, 10 Apr 2018 16:46:36 -0400
From: Dan Brown <danibrown@blackberry.com>
To: Dan Brown <danibrown@blackberry.com>, Alexey Melnikov <alexey.melnikov@isode.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Adoption call for draft-harkins-pkex-05
Thread-Index: AQHTzy6h+ZIAj7eEGk6ocsI5c3vFGqP6SGhggAAslsA=
Date: Tue, 10 Apr 2018 20:46:35 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net>
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net>
Accept-Language: en-US, en-CA
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.251]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_00A1_01D3D0EB.7C34E690"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/qMWijBTDkCPxBwoKGIYhT7n7lBo>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 10 Apr 2018 20:46:41 -0000

------=_NextPart_000_00A1_01D3D0EB.7C34E690
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

A third very minor issue (again terminology, and arguably more pedantic):
3. The PKEX I-D uses the word "trust" often. It seems to me that is not an
equivalent in strength trust to a more conventional public-key certificate
(or a distributed web of trust either).  I think this needs clarification in
the draft.  I expand on the difference below, in two closely related
sub-issues.
3a. First, if Bob lost his secret password, or has a bad RNG, then Eve may
be able to impersonate Alice to Bob, even if Alice system's is entirely
uncompromised.  In regular authenticated key exchange, this type of attack
is called key-compromise impersonation (KCI).  I guess KCI applies to every
PAKE, which is fair enough.  But PKEX has farther aims than a just PAKE,
kind of a sub-PKI. (Is PKEX a play on PKIX?)  But in a PKI, relying parties
can "trust" public keys, such as code signing keys, without having any
secrets at all to guard.  So, in some sense there is lesser degree of trust
provided by a PKI.  
3b. Second, and this issue is an extension of the first (not independent of
it), I would argue that part of "trust" in a public key includes an ability
to trust its use in non-repudiable signed transaction.  Because of the KCI
threat, Alice could do PKEX with Bob, sign a message with her key A, then
try to repudiate.  Bob will not be able to prove to anybody A is Alice's
key, because he could have generated A himself, as if Bob did a KCI attack
on himself.  So, Bob will not be able to trust Alice as much as usual in a
PKI.

At the moment I don't have a concrete suggestion to correct this
terminology.  Also, I forget if PKI spec use the word "trust" or something
else.

-----Original Message-----
From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Dan Brown
Sent: Tuesday, April 10, 2018 2:00 PM
To: Alexey Melnikov <alexey.melnikov@isode.com>; cfrg@irtf.org
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05

I'm seeing two minor issues to be resolved before adoption:
1. "Public key exchange" is a totally non-specific name, so much so, that I
oppose adoption under this name.  Public key exchange could mean
Diffie-Hellman key agreement, for example.  If PKEX has been deployed in
some places, the name should be updated retroactively.  (Sorry that this is
merely a terminology issue (as in the color of bikeshed, not the bikeshed
itself.)
2. What is the problem being solved here?  For example, I think that TLS
will or does offer PSK authentication.  So, why not just do an out-of-band
PAKE to establish a PSK, then use PSK-authenticated TLS.  So, to rephrase my
question: is there some security defect with PSK-authenticated TLS that PKEX
solves?  Maybe this was discussed already, sorry if I missed it (and am out
of order).
Otherwise, I do not have much of an opinion in either direction.

-----Original Message-----
From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Alexey Melnikov
Sent: Sunday, April 8, 2018 7:42 AM
To: cfrg@irtf.org
Subject: [Cfrg] Adoption call for draft-harkins-pkex-05

Dear CFRG participants,
This message is starting a 2 weeks adoption call for
draft-harkins-pkex-05 (Public Key Exchange). From the document's
Introduction:

   [RFC7250] further states that "the main security challenge [to using
   'raw' public keys] is how to associate the public key with a specific
   entity.  Without a secure binding between identifier and key, the
   protocol will be vulnerable to man-in-the- middle attacks."

   The Public Key Exchange (PKEX) is designed to fill that gap: it
   establishes a secure binding between exchanged public keys and
   identifiers, it provides proof-of-possession of the exchanged public
   keys to each peer, and it enables the establishment of trust in
   public keys that can subsequently be used to facilitate
   authentication in other authentication and key exchange protocols.
   At the end of a successful run of PKEX the two peers will have trust
   in each others exchanged public keys and also share an authenticated
   symmetric key which may be discarded or used for another purpose.

The adoption call will last for 2 weeks and will end on April 22nd.

Thank you,
Kenny and Alexey

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

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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIh1TCCBckw
ggOxoAMCAQICBQD2V+DAMA0GCSqGSIb3DQEBDQUAMHwxCzAJBgNVBAYTAkNBMRswGQYDVQQKDBJC
bGFja0JlcnJ5IExpbWl0ZWQxIjAgBgNVBAsMGUJsYWNrQmVycnkgRW50ZXJwcmlzZSBQS0kxLDAq
BgNVBAMMI0JsYWNrQmVycnkgRW50ZXJwcmlzZSBSU0EgUm9vdCBDQSAxMB4XDTEzMTIxMzE3NDU0
N1oXDTM4MTIxMzE3NDU0N1owfDELMAkGA1UEBhMCQ0ExGzAZBgNVBAoMEkJsYWNrQmVycnkgTGlt
aXRlZDEiMCAGA1UECwwZQmxhY2tCZXJyeSBFbnRlcnByaXNlIFBLSTEsMCoGA1UEAwwjQmxhY2tC
ZXJyeSBFbnRlcnByaXNlIFJTQSBSb290IENBIDEwggIgMA0GCSqGSIb3DQEBAQUAA4ICDQAwggII
AoICAQDGRcB/8QfFrWiS6iI+cqEd5oN9JFerfmDskffgyqIzZzEywv5Yx7/zv3YMsQB7kuYUtRGa
uQGKrCDOSul6MXVYFRqqszScZKTFN873LBcUcpmc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Njmz0zQOHSIdQs55V3huYvZOfQol+tSHDEi1PSyD/YhhXv/
osfIijrrZ5oeEfW2D9juxIAOSB652fuuf6subgjANs73ILCi5lSNEdOPgWHxOLY9IcMPFzo09tvF
HDP+Uy63alCa0KUTRyVZESSAKf+AX8dpmx4Kkq+c/BNTg+8A2eLUAAAAAAAA

------=_NextPart_000_00A1_01D3D0EB.7C34E690--


From nobody Tue Apr 10 20:49:26 2018
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 39073127023 for <cfrg@ietfa.amsl.com>; Tue, 10 Apr 2018 20:49:25 -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, RCVD_IN_DNSWL_MED=-2.3, 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 nm8N_puQJ-Pi for <cfrg@ietfa.amsl.com>; Tue, 10 Apr 2018 20:49:23 -0700 (PDT)
Received: from dmz-mailsec-scanner-6.mit.edu (dmz-mailsec-scanner-6.mit.edu [18.7.68.35]) (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 3D00C12DA00 for <cfrg@irtf.org>; Tue, 10 Apr 2018 20:49:18 -0700 (PDT)
X-AuditID: 12074423-a4dff70000005c03-d2-5acd85bb384b
Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP id 50.D2.23555.CB58DCA5; Tue, 10 Apr 2018 23:49:16 -0400 (EDT)
Received: from outgoing.mit.edu (OUTGOING-AUTH-1.MIT.EDU [18.9.28.11]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id w3B3nEHl009639; Tue, 10 Apr 2018 23:49:14 -0400
Received: from kduck.kaduk.org (24-107-191-124.dhcp.stls.mo.charter.com [24.107.191.124]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id w3B3nAbB022840 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 10 Apr 2018 23:49:13 -0400
Date: Tue, 10 Apr 2018 22:49:10 -0500
From: Benjamin Kaduk <kaduk@mit.edu>
To: Dan Brown <danibrown@blackberry.com>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Message-ID: <20180411034907.GA97291@kduck.kaduk.org>
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net>
User-Agent: Mutt/1.9.1 (2017-09-22)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkleLIzCtJLcpLzFFi42IR4hRV1t3TejbK4PFmJYsZq4ssun8cZLI4 3ruEyYHZY1bDWnaPyRsPs3mcajYMYI7isklJzcksSy3St0vgyniz6ChrwXXhisMXbzE3MO7j 72Lk4JAQMJE4cRDI5OQQEljMJLF5niqEvZFRYkmXShcjF5B9lUni9qkLrCAJFgFViVNfNjOB 2GwCKhIN3ZeZQWwRAQ2J2SfPsYPYzAKREi8bN4HZwgLWEnveX2AEsXmBdi26NYcRYugyRonD D7cxQSQEJU7OfMIC0awlcePfSyaQ45gFpCWW/+OACGtLLFv4GmwXp4CnxLudP9lAbFEBZYm9 fYfYJzAKzkIyaRaSSbMQJs1CMmkBI8sqRtmU3Crd3MTMnOLUZN3i5MS8vNQiXTO93MwSvdSU 0k2MoBBnd1Hewfiyz/sQowAHoxIPr8bdM1FCrIllxZW5hxglOZiURHnneZyNEuJLyk+pzEgs zogvKs1JLT7EKMHBrCTCe6AUKMebklhZlVqUD5OS5mBREuddvH9vlJBAemJJanZqakFqEUxW hoNDSYJ3UwtQo2BRanpqRVpmTglCmomDE2Q4D9BwB5Aa3uKCxNzizHSI/ClGRSlx3gUgCQGQ REZpHlwvKAVJZO+vecUoDvSKMG8lSBUPMH3Bdb8CGswENPiYzxmQwSWJCCmpBsZehwVJp+cf snZtkr728EWChMv9bTIn65X4P0Y/Tb6ycJ/f5ccBz53+dK0ommvtcUqk0nDz9WqrlofT0044 n4uUiDgyx1raVuXy/9+pW4Ks5RYoCVy2WFCudabhxlanyRecHu53/rP1wwHNtcyON66/a76f WC9rGsx18brf0ei1slPWzl6uUJmnxFKckWioxVxUnAgA3FIBhxwDAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/v5gGUtghYG4pLkP3hFkmy-edbO0>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 11 Apr 2018 03:49:25 -0000

Noting that I haven't read the draft terribly recently, I
nonetheless charge ahead...

On Tue, Apr 10, 2018 at 08:46:35PM +0000, Dan Brown wrote:
> A third very minor issue (again terminology, and arguably more pedantic):
> 3. The PKEX I-D uses the word "trust" often. It seems to me that is not an
> equivalent in strength trust to a more conventional public-key certificate
> (or a distributed web of trust either).  I think this needs clarification=
 in
> the draft.  I expand on the difference below, in two closely related
> sub-issues.

I think that we could replace "trust" with "binding between identity
and raw public key" to help us understand the intent, though the
resulting language from a global search-and-replace would probably
be pretty stilted.

> 3a. First, if Bob lost his secret password, or has a bad RNG, then Eve may
> be able to impersonate Alice to Bob, even if Alice system's is entirely
> uncompromised.  In regular authenticated key exchange, this type of attack
> is called key-compromise impersonation (KCI).  I guess KCI applies to eve=
ry
> PAKE, which is fair enough.  But PKEX has farther aims than a just PAKE,
> kind of a sub-PKI. (Is PKEX a play on PKIX?)  But in a PKI, relying parti=
es

(I always assumed PKEX was a play on PKIX, even if that was not the
author's intention.)

> can "trust" public keys, such as code signing keys, without having any
> secrets at all to guard.  So, in some sense there is lesser degree of tru=
st
> provided by a PKI. =20
> 3b. Second, and this issue is an extension of the first (not independent =
of
> it), I would argue that part of "trust" in a public key includes an abili=
ty
> to trust its use in non-repudiable signed transaction.  Because of the KCI
> threat, Alice could do PKEX with Bob, sign a message with her key A, then
> try to repudiate.  Bob will not be able to prove to anybody A is Alice's
> key, because he could have generated A himself, as if Bob did a KCI attack
> on himself.  So, Bob will not be able to trust Alice as much as usual in a
> PKI.
>=20
> At the moment I don't have a concrete suggestion to correct this
> terminology.  Also, I forget if PKI spec use the word "trust" or something
> else.

I think about it as being that a local party has trust that a
given raw public key belongs to a particular peer identity.
But there's not a huge need to use the word "trust"; we could talk
about "confidence that a key belongs to a named party" or similar.

-Ben


From nobody Wed Apr 11 07:12:22 2018
Return-Path: <hbhotz@oxy.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 C76B71201FA for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 07:12:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.536
X-Spam-Level: 
X-Spam-Status: No, score=-3.536 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_SOFTFAIL=0.665] 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 R6FMNy95S4KZ for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 07:12:20 -0700 (PDT)
Received: from mailout.easymail.ca (mailout.easymail.ca [64.68.200.34]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 68707126DC2 for <cfrg@irtf.org>; Wed, 11 Apr 2018 07:12:20 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 95F9A418D4; Wed, 11 Apr 2018 14:12:19 +0000 (UTC)
Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id flmnCMwLmn2c; Wed, 11 Apr 2018 14:12:19 +0000 (UTC)
Received: from [10.235.103.134] (unknown [198.51.250.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 3012141896; Wed, 11 Apr 2018 14:12:17 +0000 (UTC)
From: Henry B Hotz <hbhotz@oxy.edu>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (1.0)
Date: Wed, 11 Apr 2018 07:12:16 -0700
Message-Id: <453BAC3A-1FE0-4422-AD9A-6ABDC4CC1849@oxy.edu>
To: cfrg@irtf.org
X-Mailer: iPhone Mail (15D100)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/pjx5LPKFfV8W1Asvtq5Ou3gtuHA>
Subject: [Cfrg] SHE Key Update Protocol
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 11 Apr 2018 14:12:22 -0000

It=E2=80=99s an automotive thing. Anyone know of any published formal analys=
is/modeling of it?

I=E2=80=99m especially interested in the requirements it imposes to maintain=
 its assurances.=20

Personal email. hbhotz@oxy.edu=


From nobody Wed Apr 11 08:25:29 2018
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 A937312702E for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 08:25:27 -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 bYKavT-BgsnN for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 08:25:24 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) (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 64B20127010 for <cfrg@irtf.org>; Wed, 11 Apr 2018 08:25:24 -0700 (PDT)
X-Spoof: 
Received: from xct104cnc.rim.net ([10.65.161.204]) by mhs215cnc.rim.net with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Apr 2018 11:25:22 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT104CNC.rim.net ([::1]) with mapi id 14.03.0319.002; Wed, 11 Apr 2018 11:25:22 -0400
From: Dan Brown <danibrown@blackberry.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Adoption call for draft-harkins-pkex-05
Thread-Index: AQHTzy6h+ZIAj7eEGk6ocsI5c3vFGqP6SGhggAAslsCAAS8pEA==
Date: Wed, 11 Apr 2018 15:25:22 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net>
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.251]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_00CD_01D3D187.C70BB620"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/rLE1W_WuKoADpxDgoDw9r5lLtS4>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 11 Apr 2018 15:25:28 -0000

------=_NextPart_000_00CD_01D3D187.C70BB620
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

A 4th issue/question, not really about terminology, but more definitional,
also a bit uncertain (I'm tiring out on this one):

The authentication phase of PKEX is basically just SPAKE2, and goes from a
weak password to a strong symmetric key z.  I'm still fine with this phase,
modulo (1) subtle differences in PAKEs that I do not yet understand and (2)
questions whether passwords are properly in scope of IETF, since they don't
scale well globally, etc.

The reveal phase does not seem to add obvious value.  It seems to be almost
the opposite of static Diffie-Hellman. We can switch back and forth between
a secret symmetric key z and authenticated asymmetric keys A,B.   What can
Alice and Bob with A and B that they could not already do with z.
Authenticate messages?  They can use HMAC with z - instead of (repudiable)
signatures or OTR with A and B.  Send each other secret messages? They can
use AES, etc, with z, - instead of ECIES with A or B?   Generate yet more
symmetric keys? They can use KDFs, PRFs, wrapped keys, etc., - instead of
Diffie-Hellman or MQV.  

If some IETF protocols use public keys but lack any means for Alice and Bob
to leverage their pre-shared secret (password, etc.), then I guess could
PKEX retro-fit or shoe-horn it in.  But then one could also, maybe just as
modularly, run a tunnel based on SPAKE2 and z inside (or outside) such an
inflexible IETF protocol to get the same effect.  For example, an online
bank could run a CA-authenticated TLS tunnel, and then run, at a higher
layer, a SPAKE2-protected connection inside the TLS tunnel, etc.

Please note, although I am deliberately trying to be extra-critical here, I
am also trying not to be contrarian.


-----Original Message-----
From: Dan Brown 
Sent: Tuesday, April 10, 2018 4:47 PM
To: Dan Brown <danibrown@blackberry.com>; Alexey Melnikov
<alexey.melnikov@isode.com>; cfrg@irtf.org
Subject: RE: [Cfrg] Adoption call for draft-harkins-pkex-05

A third very minor issue (again terminology, and arguably more pedantic):
3. The PKEX I-D uses the word "trust" often. It seems to me that is not an
equivalent in strength trust to a more conventional public-key certificate
(or a distributed web of trust either).  I think this needs clarification in
the draft.  I expand on the difference below, in two closely related
sub-issues.
3a. First, if Bob lost his secret password, or has a bad RNG, then Eve may
be able to impersonate Alice to Bob, even if Alice system's is entirely
uncompromised.  In regular authenticated key exchange, this type of attack
is called key-compromise impersonation (KCI).  I guess KCI applies to every
PAKE, which is fair enough.  But PKEX has farther aims than a just PAKE,
kind of a sub-PKI. (Is PKEX a play on PKIX?)  But in a PKI, relying parties
can "trust" public keys, such as code signing keys, without having any
secrets at all to guard.  So, in some sense there is lesser degree of trust
provided by a PKI.  
3b. Second, and this issue is an extension of the first (not independent of
it), I would argue that part of "trust" in a public key includes an ability
to trust its use in non-repudiable signed transaction.  Because of the KCI
threat, Alice could do PKEX with Bob, sign a message with her key A, then
try to repudiate.  Bob will not be able to prove to anybody A is Alice's
key, because he could have generated A himself, as if Bob did a KCI attack
on himself.  So, Bob will not be able to trust Alice as much as usual in a
PKI.

At the moment I don't have a concrete suggestion to correct this
terminology.  Also, I forget if PKI spec use the word "trust" or something
else.

-----Original Message-----
From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Dan Brown
Sent: Tuesday, April 10, 2018 2:00 PM
To: Alexey Melnikov <alexey.melnikov@isode.com>; cfrg@irtf.org
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05

I'm seeing two minor issues to be resolved before adoption:
1. "Public key exchange" is a totally non-specific name, so much so, that I
oppose adoption under this name.  Public key exchange could mean
Diffie-Hellman key agreement, for example.  If PKEX has been deployed in
some places, the name should be updated retroactively.  (Sorry that this is
merely a terminology issue (as in the color of bikeshed, not the bikeshed
itself.)
2. What is the problem being solved here?  For example, I think that TLS
will or does offer PSK authentication.  So, why not just do an out-of-band
PAKE to establish a PSK, then use PSK-authenticated TLS.  So, to rephrase my
question: is there some security defect with PSK-authenticated TLS that PKEX
solves?  Maybe this was discussed already, sorry if I missed it (and am out
of order).
Otherwise, I do not have much of an opinion in either direction.

-----Original Message-----
From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Alexey Melnikov
Sent: Sunday, April 8, 2018 7:42 AM
To: cfrg@irtf.org
Subject: [Cfrg] Adoption call for draft-harkins-pkex-05

Dear CFRG participants,
This message is starting a 2 weeks adoption call for
draft-harkins-pkex-05 (Public Key Exchange). From the document's
Introduction:

   [RFC7250] further states that "the main security challenge [to using
   'raw' public keys] is how to associate the public key with a specific
   entity.  Without a secure binding between identifier and key, the
   protocol will be vulnerable to man-in-the- middle attacks."

   The Public Key Exchange (PKEX) is designed to fill that gap: it
   establishes a secure binding between exchanged public keys and
   identifiers, it provides proof-of-possession of the exchanged public
   keys to each peer, and it enables the establishment of trust in
   public keys that can subsequently be used to facilitate
   authentication in other authentication and key exchange protocols.
   At the end of a successful run of PKEX the two peers will have trust
   in each others exchanged public keys and also share an authenticated
   symmetric key which may be discarded or used for another purpose.

The adoption call will last for 2 weeks and will end on April 22nd.

Thank you,
Kenny and Alexey

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

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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIh1TCCBckw
ggOxoAMCAQICBQD2V+DAMA0GCSqGSIb3DQEBDQUAMHwxCzAJBgNVBAYTAkNBMRswGQYDVQQKDBJC
bGFja0JlcnJ5IExpbWl0ZWQxIjAgBgNVBAsMGUJsYWNrQmVycnkgRW50ZXJwcmlzZSBQS0kxLDAq
BgNVBA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QCggZ4wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTgwNDExMTUy
NTIxWjAjBgkqhkiG9w0BCQQxFgQUagK56dYKU2NYEhNMZp/FVA/wIfgwPwYJKoZIhvcNAQkPMTIw
MDAHBgUrDgMCGjALBglghkgBZQMEAgMwCwYJYIZIAWUDBAICMAsGCWCGSAFlAwQCATANBgkqhkiG
9w0BAQEFAASCAQAELH0kqf9THFcYO6YV3ozQXBEQHIGgYeQNbcm1wHY9Ed3wqnIjLzOLvFLoW4hq
+lm4xuxepjATrbea1dKT7U3oYDmL8CllwdQEGvpRVDIW88RQsmpYWD4i4KCiip0sIoLzJPtUAADj
tXDpVhJiqDJ9xuDWyy+3oIJrJMo/8tPBmABHNDHMKUg4tCZGuq8jyTiR7n/VA+ATsCIRX3mRr3iT
9xXM6gY3cr5soCNgZhAZAkkZpGT3uP59/D7QTh6WnVqyoFfgJxDfR86qcTDm41t/2i1iIUoVpGP9
PYhYr1JM1wK3HIRH6PkLxxmRsGl7zJBXVvoEqnKIqPys/OuwYDogAAAAAAAA

------=_NextPart_000_00CD_01D3D187.C70BB620--


From nobody Wed Apr 11 08:28:19 2018
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 06D4F124BFA for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 08:28:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, 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 gK_Y1sEWqTgW for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 08:28:15 -0700 (PDT)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id F3A481200FC for <cfrg@irtf.org>; Wed, 11 Apr 2018 08:28:14 -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 9321DA888018 for <cfrg@irtf.org>; Wed, 11 Apr 2018 08:28:14 -0700 (PDT)
To: cfrg@irtf.org
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net>
From: Dan Harkins <dharkins@lounge.org>
Message-ID: <8f43fa44-ee6c-c737-452f-e8cc59b52967@lounge.org>
Date: Wed, 11 Apr 2018 08:28:12 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net>
Content-Type: multipart/alternative; boundary="------------7732F28EFB94B1D5E2B39C65"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/9TsHNQR74VqQjf-L_oF3zOHYu40>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 11 Apr 2018 15:28:18 -0000

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


   Hi Dan,

On 4/10/18 1:46 PM, Dan Brown wrote:
> A third very minor issue (again terminology, and arguably more pedantic):
> 3. The PKEX I-D uses the word "trust" often. It seems to me that is not an
> equivalent in strength trust to a more conventional public-key certificate
> (or a distributed web of trust either).  I think this needs clarification in
> the draft.  I expand on the difference below, in two closely related
> sub-issues.

   By trust I mean: 1) that the public key received is the public key sent;
2) that the public key is bound to an authenticated identity; and 3) that
the sender proves possession of the corresponding private key. They can
now be used in a regular key exchange protocol-- like IKE or TLS-- that is
authenticated with raw public keys. To authenticate with raw public keys
you need some sort of "trust" in the public key. That's what PKEX provides.

> 3a. First, if Bob lost his secret password, or has a bad RNG, then Eve may
> be able to impersonate Alice to Bob, even if Alice system's is entirely
> uncompromised.  In regular authenticated key exchange, this type of attack
> is called key-compromise impersonation (KCI).  I guess KCI applies to every
> PAKE, which is fair enough.  But PKEX has farther aims than a just PAKE,
> kind of a sub-PKI. (Is PKEX a play on PKIX?)  But in a PKI, relying parties
> can "trust" public keys, such as code signing keys, without having any
> secrets at all to guard.  So, in some sense there is lesser degree of trust
> provided by a PKI.

   The secret only needs to be guarded until PKEX is run, once it has
successfully concluded the secret can be exposed and it will not affect
the security of the exchange. The exchanged keys can still be trusted
when subsequently used.

   I agree that PKEX provides a lesser degree of trust provided by a 
PKI. It's
not supposed to be a replacement, just a way to gain trust in a raw 
public key
which heretofore has always been done "in a manner outside the scope of the
protocol."

   That said, when I enroll in a CA I need to authenticate myself to it
somehow. It doesn't just give out certificates to anyone who provides a
name and a public key. So whatever credential I use to prove I am who I
say I am at enrollment time is analogous to password used in PKEX.

>   
> 3b. Second, and this issue is an extension of the first (not independent of
> it), I would argue that part of "trust" in a public key includes an ability
> to trust its use in non-repudiable signed transaction.  Because of the KCI
> threat, Alice could do PKEX with Bob, sign a message with her key A, then
> try to repudiate.  Bob will not be able to prove to anybody A is Alice's
> key, because he could have generated A himself, as if Bob did a KCI attack
> on himself.  So, Bob will not be able to trust Alice as much as usual in a
> PKI.

   That's a great point. It's sort of the flip side of the anonymity that
PKEX provides to subsequent use of the public key. The keys are only known
and trusted by the two peers that ran PKEX. Anyone who views a key exchange
using a raw public key would not be able to determine who engaged in the
protocol and the whole exchange would be completely deniable.

   This is needs to be explained further in the draft.

> At the moment I don't have a concrete suggestion to correct this
> terminology.  Also, I forget if PKI spec use the word "trust" or something
> else.

   If you come up with a different word please send it to the list. I still
think "trust" is the right word, with the proviso above.

   regards,

   Dan.

> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Dan Brown
> Sent: Tuesday, April 10, 2018 2:00 PM
> To: Alexey Melnikov <alexey.melnikov@isode.com>; cfrg@irtf.org
> Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
>
> I'm seeing two minor issues to be resolved before adoption:
> 1. "Public key exchange" is a totally non-specific name, so much so, that I
> oppose adoption under this name.  Public key exchange could mean
> Diffie-Hellman key agreement, for example.  If PKEX has been deployed in
> some places, the name should be updated retroactively.  (Sorry that this is
> merely a terminology issue (as in the color of bikeshed, not the bikeshed
> itself.)
> 2. What is the problem being solved here?  For example, I think that TLS
> will or does offer PSK authentication.  So, why not just do an out-of-band
> PAKE to establish a PSK, then use PSK-authenticated TLS.  So, to rephrase my
> question: is there some security defect with PSK-authenticated TLS that PKEX
> solves?  Maybe this was discussed already, sorry if I missed it (and am out
> of order).
> Otherwise, I do not have much of an opinion in either direction.
>
> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Alexey Melnikov
> Sent: Sunday, April 8, 2018 7:42 AM
> To: cfrg@irtf.org
> Subject: [Cfrg] Adoption call for draft-harkins-pkex-05
>
> Dear CFRG participants,
> This message is starting a 2 weeks adoption call for
> draft-harkins-pkex-05 (Public Key Exchange). From the document's
> Introduction:
>
>     [RFC7250] further states that "the main security challenge [to using
>     'raw' public keys] is how to associate the public key with a specific
>     entity.  Without a secure binding between identifier and key, the
>     protocol will be vulnerable to man-in-the- middle attacks."
>
>     The Public Key Exchange (PKEX) is designed to fill that gap: it
>     establishes a secure binding between exchanged public keys and
>     identifiers, it provides proof-of-possession of the exchanged public
>     keys to each peer, and it enables the establishment of trust in
>     public keys that can subsequently be used to facilitate
>     authentication in other authentication and key exchange protocols.
>     At the end of a successful run of PKEX the two peers will have trust
>     in each others exchanged public keys and also share an authenticated
>     symmetric key which may be discarded or used for another purpose.
>
> The adoption call will last for 2 weeks and will end on April 22nd.
>
> Thank you,
> Kenny and Alexey
>
> _______________________________________________
> 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


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

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <tt>  Hi Dan,</tt><br>
    <br>
    <div class="moz-cite-prefix">On 4/10/18 1:46 PM, Dan Brown wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net">
      <pre wrap="">A third very minor issue (again terminology, and arguably more pedantic):
3. The PKEX I-D uses the word "trust" often. It seems to me that is not an
equivalent in strength trust to a more conventional public-key certificate
(or a distributed web of trust either).  I think this needs clarification in
the draft.  I expand on the difference below, in two closely related
sub-issues.</pre>
    </blockquote>
    <br>
    <tt>  By trust I mean: 1) that the public key received is the public
      key sent;<br>
      2) that the public key is bound to an authenticated identity; and
      3) that<br>
      the sender proves possession of the corresponding private key.
      They can<br>
      now be used in a regular key exchange protocol-- like IKE or TLS--
      that is<br>
      authenticated with raw public keys. To authenticate with raw
      public keys<br>
      you need some sort of "trust" in the public key. That's what PKEX
      provides.<br>
      <br>
    </tt>
    <blockquote type="cite"
      cite="mid:810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net">
      <pre wrap="">
3a. First, if Bob lost his secret password, or has a bad RNG, then Eve may
be able to impersonate Alice to Bob, even if Alice system's is entirely
uncompromised.  In regular authenticated key exchange, this type of attack
is called key-compromise impersonation (KCI).  I guess KCI applies to every
PAKE, which is fair enough.  But PKEX has farther aims than a just PAKE,
kind of a sub-PKI. (Is PKEX a play on PKIX?)  But in a PKI, relying parties
can "trust" public keys, such as code signing keys, without having any
secrets at all to guard.  So, in some sense there is lesser degree of trust
provided by a PKI. </pre>
    </blockquote>
    <br>
    <tt>  The secret only needs to be guarded until PKEX is run, once it
      has<br>
      successfully concluded the secret can be exposed and it will not
      affect<br>
      the security of the exchange. The exchanged keys can still be
      trusted<br>
      when subsequently used.<br>
      <br>
        I agree that PKEX provides a lesser degree of trust provided by
      a PKI. It's<br>
      not supposed to be a replacement, just a way to gain trust in a
      raw public key<br>
      which heretofore has always been done "in a manner outside the
      scope of the<br>
      protocol."<br>
      <br>
        That said, when I enroll in a CA I need to authenticate myself
      to it <br>
      somehow. It doesn't just give out certificates to anyone who
      provides a<br>
      name and a public key. So whatever credential I use to prove I am
      who I<br>
      say I am at enrollment time is analogous to password used in PKEX.<br>
      <br>
    </tt>
    <blockquote type="cite"
      cite="mid:810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net">
      <pre wrap=""> 
3b. Second, and this issue is an extension of the first (not independent of
it), I would argue that part of "trust" in a public key includes an ability
to trust its use in non-repudiable signed transaction.  Because of the KCI
threat, Alice could do PKEX with Bob, sign a message with her key A, then
try to repudiate.  Bob will not be able to prove to anybody A is Alice's
key, because he could have generated A himself, as if Bob did a KCI attack
on himself.  So, Bob will not be able to trust Alice as much as usual in a
PKI.</pre>
    </blockquote>
    <br>
    <tt>  That's a great point. It's sort of the flip side of the
      anonymity that<br>
      PKEX provides to subsequent use of the public key. The keys are
      only known<br>
      and trusted by the two peers that ran PKEX. Anyone who views a key
      exchange<br>
      using a raw public key would not be able to determine who engaged
      in the<br>
      protocol and the whole exchange would be completely deniable.<br>
      <br>
        This is needs to be explained further in the draft.<br>
      <br>
    </tt>
    <blockquote type="cite"
      cite="mid:810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net">
      <pre wrap="">
At the moment I don't have a concrete suggestion to correct this
terminology.  Also, I forget if PKI spec use the word "trust" or something
else.</pre>
    </blockquote>
    <br>
    <tt>  If you come up with a different word please send it to the
      list. I still<br>
      think "trust" is the right word, with the proviso above. <br>
      <br>
        regards,<br>
      <br>
        Dan.<br>
      <br>
    </tt>
    <blockquote type="cite"
      cite="mid:810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net">
      <pre wrap="">
-----Original Message-----
From: Cfrg [<a class="moz-txt-link-freetext" href="mailto:cfrg-bounces@irtf.org">mailto:cfrg-bounces@irtf.org</a>] On Behalf Of Dan Brown
Sent: Tuesday, April 10, 2018 2:00 PM
To: Alexey Melnikov <a class="moz-txt-link-rfc2396E" href="mailto:alexey.melnikov@isode.com">&lt;alexey.melnikov@isode.com&gt;</a>; <a class="moz-txt-link-abbreviated" href="mailto:cfrg@irtf.org">cfrg@irtf.org</a>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05

I'm seeing two minor issues to be resolved before adoption:
1. "Public key exchange" is a totally non-specific name, so much so, that I
oppose adoption under this name.  Public key exchange could mean
Diffie-Hellman key agreement, for example.  If PKEX has been deployed in
some places, the name should be updated retroactively.  (Sorry that this is
merely a terminology issue (as in the color of bikeshed, not the bikeshed
itself.)
2. What is the problem being solved here?  For example, I think that TLS
will or does offer PSK authentication.  So, why not just do an out-of-band
PAKE to establish a PSK, then use PSK-authenticated TLS.  So, to rephrase my
question: is there some security defect with PSK-authenticated TLS that PKEX
solves?  Maybe this was discussed already, sorry if I missed it (and am out
of order).
Otherwise, I do not have much of an opinion in either direction.

-----Original Message-----
From: Cfrg [<a class="moz-txt-link-freetext" href="mailto:cfrg-bounces@irtf.org">mailto:cfrg-bounces@irtf.org</a>] On Behalf Of Alexey Melnikov
Sent: Sunday, April 8, 2018 7:42 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:cfrg@irtf.org">cfrg@irtf.org</a>
Subject: [Cfrg] Adoption call for draft-harkins-pkex-05

Dear CFRG participants,
This message is starting a 2 weeks adoption call for
draft-harkins-pkex-05 (Public Key Exchange). From the document's
Introduction:

   [RFC7250] further states that "the main security challenge [to using
   'raw' public keys] is how to associate the public key with a specific
   entity.  Without a secure binding between identifier and key, the
   protocol will be vulnerable to man-in-the- middle attacks."

   The Public Key Exchange (PKEX) is designed to fill that gap: it
   establishes a secure binding between exchanged public keys and
   identifiers, it provides proof-of-possession of the exchanged public
   keys to each peer, and it enables the establishment of trust in
   public keys that can subsequently be used to facilitate
   authentication in other authentication and key exchange protocols.
   At the end of a successful run of PKEX the two peers will have trust
   in each others exchanged public keys and also share an authenticated
   symmetric key which may be discarded or used for another purpose.

The adoption call will last for 2 weeks and will end on April 22nd.

Thank you,
Kenny and Alexey

_______________________________________________
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>
      <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>

--------------7732F28EFB94B1D5E2B39C65--


From nobody Wed Apr 11 08:32:24 2018
Return-Path: <prvs=7639081e7b=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 BF086127010 for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 08:32:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.197
X-Spam-Level: 
X-Spam-Status: No, score=-4.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_MED=-2.3, 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 PHodk20CqVl2 for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 08:32:19 -0700 (PDT)
Received: from llmx2.ll.mit.edu (LLMX2.LL.MIT.EDU [129.55.12.48]) by ietfa.amsl.com (Postfix) with ESMTP id 2366D1200FC for <cfrg@irtf.org>; Wed, 11 Apr 2018 08:32:18 -0700 (PDT)
Received: from LLE2K10-HUB01.mitll.ad.local (LLE2K10-HUB01.mitll.ad.local) by llmx2.ll.mit.edu (unknown) with ESMTP id w3BFWHx0015551 for <cfrg@irtf.org>; Wed, 11 Apr 2018 11:32:17 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Adoption call for draft-harkins-pkex-05
Thread-Index: AQHTzy6gzyFPmT3oYUe8tnKbH45aD6P6kBuAgAAunYCAATlgAP//vhaA
Date: Wed, 11 Apr 2018 15:32:17 +0000
Message-ID: <718E8789-74EC-43D5-B539-70577768C455@ll.mit.edu>
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net> <8f43fa44-ee6c-c737-452f-e8cc59b52967@lounge.org>
In-Reply-To: <8f43fa44-ee6c-c737-452f-e8cc59b52967@lounge.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/10.b.0.180311
x-originating-ip: [172.25.87.160]
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha256; boundary="B_3606291137_506493746"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-04-11_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804110143
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/ZVOZRLIR7ejZ2mqC4AXjUnbWXrU>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 11 Apr 2018 15:32:23 -0000

--B_3606291137_506493746
Content-type: multipart/alternative;
	boundary="B_3606291137_1285042500"


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

I support adopting and publishing this draft.

=20

--

Regards,

Uri Blumenthal

From: Cfrg <cfrg-bounces@irtf.org> on behalf of Dan Harkins <dharkins@loung=
e.org>
Date: Wednesday, April 11, 2018 at 11:29
To: CFRG <cfrg@irtf.org>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05

=20


  Hi Dan,

On 4/10/18 1:46 PM, Dan Brown wrote:
A third very minor issue (again terminology, and arguably more pedantic):
3. The PKEX I-D uses the word "trust" often. It seems to me that is not an
equivalent in strength trust to a more conventional public-key certificate
(or a distributed web of trust either).=C2=A0 I think this needs clarification =
in
the draft.=C2=A0 I expand on the difference below, in two closely related
sub-issues.

  By trust I mean: 1) that the public key received is the public key sent;
2) that the public key is bound to an authenticated identity; and 3) that
the sender proves possession of the corresponding private key. They can
now be used in a regular key exchange protocol-- like IKE or TLS-- that is
authenticated with raw public keys. To authenticate with raw public keys
you need some sort of "trust" in the public key. That's what PKEX provides.


3a. First, if Bob lost his secret password, or has a bad RNG, then Eve may
be able to impersonate Alice to Bob, even if Alice system's is entirely
uncompromised.=C2=A0 In regular authenticated key exchange, this type of attack
is called key-compromise impersonation (KCI).=C2=A0 I guess KCI applies to ever=
y
PAKE, which is fair enough.=C2=A0 But PKEX has farther aims than a just PAKE,
kind of a sub-PKI. (Is PKEX a play on PKIX?)=C2=A0 But in a PKI, relying partie=
s
can "trust" public keys, such as code signing keys, without having any
secrets at all to guard.=C2=A0 So, in some sense there is lesser degree of trus=
t
provided by a PKI.=20

  The secret only needs to be guarded until PKEX is run, once it has
successfully concluded the secret can be exposed and it will not affect
the security of the exchange. The exchanged keys can still be trusted
when subsequently used.

  I agree that PKEX provides a lesser degree of trust provided by a PKI. It=
's
not supposed to be a replacement, just a way to gain trust in a raw public =
key
which heretofore has always been done "in a manner outside the scope of the
protocol."

  That said, when I enroll in a CA I need to authenticate myself to it=20
somehow. It doesn't just give out certificates to anyone who provides a
name and a public key. So whatever credential I use to prove I am who I
say I am at enrollment time is analogous to password used in PKEX.


=20
3b. Second, and this issue is an extension of the first (not independent of
it), I would argue that part of "trust" in a public key includes an ability
to trust its use in non-repudiable signed transaction.=C2=A0 Because of the KCI
threat, Alice could do PKEX with Bob, sign a message with her key A, then
try to repudiate.=C2=A0 Bob will not be able to prove to anybody A is Alice's
key, because he could have generated A himself, as if Bob did a KCI attack
on himself.=C2=A0 So, Bob will not be able to trust Alice as much as usual in a
PKI.

  That's a great point. It's sort of the flip side of the anonymity that
PKEX provides to subsequent use of the public key. The keys are only known
and trusted by the two peers that ran PKEX. Anyone who views a key exchange
using a raw public key would not be able to determine who engaged in the
protocol and the whole exchange would be completely deniable.

  This is needs to be explained further in the draft.


At the moment I don't have a concrete suggestion to correct this
terminology.=C2=A0 Also, I forget if PKI spec use the word "trust" or something
else.

  If you come up with a different word please send it to the list. I still
think "trust" is the right word, with the proviso above.=20

  regards,

  Dan.


-----Original Message-----
From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Dan Brown
Sent: Tuesday, April 10, 2018 2:00 PM
To: Alexey Melnikov <alexey.melnikov@isode.com>; cfrg@irtf.org
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
=20
I'm seeing two minor issues to be resolved before adoption:
1. "Public key exchange" is a totally non-specific name, so much so, that I
oppose adoption under this name.=C2=A0 Public key exchange could mean
Diffie-Hellman key agreement, for example.=C2=A0 If PKEX has been deployed in
some places, the name should be updated retroactively.=C2=A0 (Sorry that this i=
s
merely a terminology issue (as in the color of bikeshed, not the bikeshed
itself.)
2. What is the problem being solved here?=C2=A0 For example, I think that TLS
will or does offer PSK authentication.=C2=A0 So, why not just do an out-of-band
PAKE to establish a PSK, then use PSK-authenticated TLS.=C2=A0 So, to rephrase =
my
question: is there some security defect with PSK-authenticated TLS that PKE=
X
solves?=C2=A0 Maybe this was discussed already, sorry if I missed it (and am ou=
t
of order).
Otherwise, I do not have much of an opinion in either direction.
=20
-----Original Message-----
From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Alexey Melnikov
Sent: Sunday, April 8, 2018 7:42 AM
To: cfrg@irtf.org
Subject: [Cfrg] Adoption call for draft-harkins-pkex-05
=20
Dear CFRG participants,
This message is starting a 2 weeks adoption call for
draft-harkins-pkex-05 (Public Key Exchange). From the document's
Introduction:
=20
=C2=A0=C2=A0 [RFC7250] further states that "the main security challenge [to using
=C2=A0=C2=A0 'raw' public keys] is how to associate the public key with a specific
=C2=A0=C2=A0 entity.=C2=A0 Without a secure binding between identifier and key, the
=C2=A0=C2=A0 protocol will be vulnerable to man-in-the- middle attacks."
=20
=C2=A0=C2=A0 The Public Key Exchange (PKEX) is designed to fill that gap: it
=C2=A0=C2=A0 establishes a secure binding between exchanged public keys and
=C2=A0=C2=A0 identifiers, it provides proof-of-possession of the exchanged public
=C2=A0=C2=A0 keys to each peer, and it enables the establishment of trust in
=C2=A0=C2=A0 public keys that can subsequently be used to facilitate
=C2=A0=C2=A0 authentication in other authentication and key exchange protocols.
=C2=A0=C2=A0 At the end of a successful run of PKEX the two peers will have trust
=C2=A0=C2=A0 in each others exchanged public keys and also share an authenticated
=C2=A0=C2=A0 symmetric key which may be discarded or used for another purpose.
=20
The adoption call will last for 2 weeks and will end on April 22nd.
=20
Thank you,
Kenny and Alexey
=20
_______________________________________________
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




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

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:schema=
s-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/office/20=
04/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta http-equiv=3DC=
ontent-Type content=3D"text/html; charset=3Dutf-8"><meta name=3DGenerator content=3D=
"Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
tt
	{mso-style-priority:99;
	font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
	{mso-style-name:msonormal;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Consolas",serif;}
span.EmailStyle21
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style></head><body lang=3DEN-US link=3Dblue vlink=3Dpurple><div class=3DWordSe=
ction1><p class=3DMsoNormal>I support adopting and publishing this draft.<o:p>=
</o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=3DMsoNorm=
al><span style=3D'font-size:10.5pt;color:black'>--<o:p></o:p></span></p></div>=
<div><p class=3DMsoNormal><span style=3D'font-size:10.5pt;color:black'>Regards,<=
o:p></o:p></span></p></div></div><p class=3DMsoNormal><span style=3D'font-size:1=
0.5pt;color:black'>Uri Blumenthal</span><o:p></o:p></p><div style=3D'border:no=
ne;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNor=
mal style=3D'margin-left:.5in'><b><span style=3D'font-size:12.0pt;color:black'>F=
rom: </span></b><span style=3D'font-size:12.0pt;color:black'>Cfrg &lt;cfrg-bou=
nces@irtf.org&gt; on behalf of Dan Harkins &lt;dharkins@lounge.org&gt;<br><b=
>Date: </b>Wednesday, April 11, 2018 at 11:29<br><b>To: </b>CFRG &lt;cfrg@ir=
tf.org&gt;<br><b>Subject: </b>Re: [Cfrg] Adoption call for draft-harkins-pke=
x-05<o:p></o:p></span></p></div><div><p class=3DMsoNormal style=3D'margin-left:.=
5in'><o:p>&nbsp;</o:p></p></div><p class=3DMsoNormal style=3D'mso-margin-top-alt=
:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in'><a name=3D"_MailO=
riginalBody"><br></a><span style=3D'mso-bookmark:_MailOriginalBody'><tt><span =
style=3D'font-size:10.0pt'>&nbsp; Hi Dan,</span></tt></span><span style=3D'mso-b=
ookmark:_MailOriginalBody'><o:p></o:p></span></p><div><p class=3DMsoNormal sty=
le=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>On 4/10/1=
8 1:46 PM, Dan Brown wrote:<o:p></o:p></span></p></div><blockquote style=3D'ma=
rgin-top:5.0pt;margin-bottom:5.0pt'><pre style=3D'margin-left:.5in'><span styl=
e=3D'mso-bookmark:_MailOriginalBody'>A third very minor issue (again terminolo=
gy, and arguably more pedantic):<o:p></o:p></span></pre><pre style=3D'margin-l=
eft:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>3. The PKEX I-D uses =
the word &quot;trust&quot; often. It seems to me that is not an<o:p></o:p></=
span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOrig=
inalBody'>equivalent in strength trust to a more conventional public-key cer=
tificate<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'm=
so-bookmark:_MailOriginalBody'>(or a distributed web of trust either).=C2=A0 I t=
hink this needs clarification in<o:p></o:p></span></pre><pre style=3D'margin-l=
eft:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>the draft.=C2=A0 I expand=
 on the difference below, in two closely related<o:p></o:p></span></pre><pre=
 style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>sub-i=
ssues.<o:p></o:p></span></pre></blockquote><p class=3DMsoNormal style=3D'margin-=
left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'><br></span><span sty=
le=3D'mso-bookmark:_MailOriginalBody'><tt><span style=3D'font-size:10.0pt'>&nbsp=
; By trust I mean: 1) that the public key received is the public key sent;</=
span></tt></span><span style=3D'mso-bookmark:_MailOriginalBody'><span style=3D'f=
ont-size:10.0pt;font-family:"Courier New"'><br><tt>2) that the public key is=
 bound to an authenticated identity; and 3) that</tt><br><tt>the sender prov=
es possession of the corresponding private key. They can</tt><br><tt>now be =
used in a regular key exchange protocol-- like IKE or TLS-- that is</tt><br>=
<tt>authenticated with raw public keys. To authenticate with raw public keys=
</tt><br><tt>you need some sort of &quot;trust&quot; in the public key. That=
's what PKEX provides.</tt><br><br><br></span></span><span style=3D'mso-bookma=
rk:_MailOriginalBody'><o:p></o:p></span></p><blockquote style=3D'margin-top:5.=
0pt;margin-bottom:5.0pt'><pre style=3D'margin-left:.5in'><span style=3D'mso-book=
mark:_MailOriginalBody'>3a. First, if Bob lost his secret password, or has a=
 bad RNG, then Eve may<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'>=
<span style=3D'mso-bookmark:_MailOriginalBody'>be able to impersonate Alice to=
 Bob, even if Alice system's is entirely<o:p></o:p></span></pre><pre style=3D'=
margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>uncompromised=
.=C2=A0 In regular authenticated key exchange, this type of attack<o:p></o:p></s=
pan></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOrigi=
nalBody'>is called key-compromise impersonation (KCI).=C2=A0 I guess KCI applies=
 to every<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'=
mso-bookmark:_MailOriginalBody'>PAKE, which is fair enough.=C2=A0 But PKEX has f=
arther aims than a just PAKE,<o:p></o:p></span></pre><pre style=3D'margin-left=
:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>kind of a sub-PKI. (Is P=
KEX a play on PKIX?)=C2=A0 But in a PKI, relying parties<o:p></o:p></span></pre>=
<pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>c=
an &quot;trust&quot; public keys, such as code signing keys, without having =
any<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bo=
okmark:_MailOriginalBody'>secrets at all to guard.=C2=A0 So, in some sense there=
 is lesser degree of trust<o:p></o:p></span></pre><pre style=3D'margin-left:.5=
in'><span style=3D'mso-bookmark:_MailOriginalBody'>provided by a PKI. <o:p></o=
:p></span></pre></blockquote><p class=3DMsoNormal style=3D'margin-left:.5in'><sp=
an style=3D'mso-bookmark:_MailOriginalBody'><br></span><span style=3D'mso-bookma=
rk:_MailOriginalBody'><tt><span style=3D'font-size:10.0pt'>&nbsp; The secret o=
nly needs to be guarded until PKEX is run, once it has</span></tt></span><sp=
an style=3D'mso-bookmark:_MailOriginalBody'><span style=3D'font-size:10.0pt;font=
-family:"Courier New"'><br><tt>successfully concluded the secret can be expo=
sed and it will not affect</tt><br><tt>the security of the exchange. The exc=
hanged keys can still be trusted</tt><br><tt>when subsequently used.</tt><br=
><br><tt>&nbsp; I agree that PKEX provides a lesser degree of trust provided=
 by a PKI. It's</tt><br><tt>not supposed to be a replacement, just a way to =
gain trust in a raw public key</tt><br><tt>which heretofore has always been =
done &quot;in a manner outside the scope of the</tt><br><tt>protocol.&quot;<=
/tt><br><br><tt>&nbsp; That said, when I enroll in a CA I need to authentica=
te myself to it </tt><br><tt>somehow. It doesn't just give out certificates =
to anyone who provides a</tt><br><tt>name and a public key. So whatever cred=
ential I use to prove I am who I</tt><br><tt>say I am at enrollment time is =
analogous to password used in PKEX.</tt><br><br><br></span></span><span styl=
e=3D'mso-bookmark:_MailOriginalBody'><o:p></o:p></span></p><blockquote style=3D'=
margin-top:5.0pt;margin-bottom:5.0pt'><pre style=3D'margin-left:.5in'><span st=
yle=3D'mso-bookmark:_MailOriginalBody'> <o:p></o:p></span></pre><pre style=3D'ma=
rgin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>3b. Second, and=
 this issue is an extension of the first (not independent of<o:p></o:p></spa=
n></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOrigina=
lBody'>it), I would argue that part of &quot;trust&quot; in a public key inc=
ludes an ability<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span =
style=3D'mso-bookmark:_MailOriginalBody'>to trust its use in non-repudiable si=
gned transaction.=C2=A0 Because of the KCI<o:p></o:p></span></pre><pre style=3D'ma=
rgin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>threat, Alice c=
ould do PKEX with Bob, sign a message with her key A, then<o:p></o:p></span>=
</pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalB=
ody'>try to repudiate.=C2=A0 Bob will not be able to prove to anybody A is Alice=
's<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-boo=
kmark:_MailOriginalBody'>key, because he could have generated A himself, as =
if Bob did a KCI attack<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'=
><span style=3D'mso-bookmark:_MailOriginalBody'>on himself.=C2=A0 So, Bob will not=
 be able to trust Alice as much as usual in a<o:p></o:p></span></pre><pre st=
yle=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>PKI.<o:p=
></o:p></span></pre></blockquote><p class=3DMsoNormal style=3D'margin-left:.5in'=
><span style=3D'mso-bookmark:_MailOriginalBody'><br></span><span style=3D'mso-bo=
okmark:_MailOriginalBody'><tt><span style=3D'font-size:10.0pt'>&nbsp; That's a=
 great point. It's sort of the flip side of the anonymity that</span></tt></=
span><span style=3D'mso-bookmark:_MailOriginalBody'><span style=3D'font-size:10.=
0pt;font-family:"Courier New"'><br><tt>PKEX provides to subsequent use of th=
e public key. The keys are only known</tt><br><tt>and trusted by the two pee=
rs that ran PKEX. Anyone who views a key exchange</tt><br><tt>using a raw pu=
blic key would not be able to determine who engaged in the</tt><br><tt>proto=
col and the whole exchange would be completely deniable.</tt><br><br><tt>&nb=
sp; This is needs to be explained further in the draft.</tt><br><br><br></sp=
an></span><span style=3D'mso-bookmark:_MailOriginalBody'><o:p></o:p></span></p=
><blockquote style=3D'margin-top:5.0pt;margin-bottom:5.0pt'><pre style=3D'margin=
-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>At the moment I don=
't have a concrete suggestion to correct this<o:p></o:p></span></pre><pre st=
yle=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>terminol=
ogy.=C2=A0 Also, I forget if PKI spec use the word &quot;trust&quot; or somethin=
g<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-book=
mark:_MailOriginalBody'>else.<o:p></o:p></span></pre></blockquote><p class=3DM=
soNormal style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBod=
y'><br></span><span style=3D'mso-bookmark:_MailOriginalBody'><tt><span style=3D'=
font-size:10.0pt'>&nbsp; If you come up with a different word please send it=
 to the list. I still</span></tt></span><span style=3D'mso-bookmark:_MailOrigi=
nalBody'><span style=3D'font-size:10.0pt;font-family:"Courier New"'><br><tt>th=
ink &quot;trust&quot; is the right word, with the proviso above. </tt><br><b=
r><tt>&nbsp; regards,</tt><br><br><tt>&nbsp; Dan.</tt><br><br><br></span></s=
pan><span style=3D'mso-bookmark:_MailOriginalBody'><o:p></o:p></span></p><bloc=
kquote style=3D'margin-top:5.0pt;margin-bottom:5.0pt'><pre style=3D'margin-left:=
.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>-----Original Message----=
-<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-book=
mark:_MailOriginalBody'>From: Cfrg [</span><a href=3D"mailto:cfrg-bounces@irtf=
.org"><span style=3D'mso-bookmark:_MailOriginalBody'>mailto:cfrg-bounces@irtf.=
org</span><span style=3D'mso-bookmark:_MailOriginalBody'></span></a><span styl=
e=3D'mso-bookmark:_MailOriginalBody'>] On Behalf Of Dan Brown<o:p></o:p></span=
></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginal=
Body'>Sent: Tuesday, April 10, 2018 2:00 PM<o:p></o:p></span></pre><pre styl=
e=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>To: Alexey=
 Melnikov </span><a href=3D"mailto:alexey.melnikov@isode.com"><span style=3D'mso=
-bookmark:_MailOriginalBody'>&lt;alexey.melnikov@isode.com&gt;</span><span s=
tyle=3D'mso-bookmark:_MailOriginalBody'></span></a><span style=3D'mso-bookmark:_=
MailOriginalBody'>; </span><a href=3D"mailto:cfrg@irtf.org"><span style=3D'mso-b=
ookmark:_MailOriginalBody'>cfrg@irtf.org</span><span style=3D'mso-bookmark:_Ma=
ilOriginalBody'></span></a><span style=3D'mso-bookmark:_MailOriginalBody'><o:p=
></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:=
_MailOriginalBody'>Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-=
05<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-boo=
kmark:_MailOriginalBody'><o:p>&nbsp;</o:p></span></pre><pre style=3D'margin-le=
ft:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>I'm seeing two minor i=
ssues to be resolved before adoption:<o:p></o:p></span></pre><pre style=3D'mar=
gin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>1. &quot;Public =
key exchange&quot; is a totally non-specific name, so much so, that I<o:p></=
o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_Ma=
ilOriginalBody'>oppose adoption under this name.=C2=A0 Public key exchange could=
 mean<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-=
bookmark:_MailOriginalBody'>Diffie-Hellman key agreement, for example.=C2=A0 If =
PKEX has been deployed in<o:p></o:p></span></pre><pre style=3D'margin-left:.5i=
n'><span style=3D'mso-bookmark:_MailOriginalBody'>some places, the name should=
 be updated retroactively.=C2=A0 (Sorry that this is<o:p></o:p></span></pre><pre=
 style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>merel=
y a terminology issue (as in the color of bikeshed, not the bikeshed<o:p></o=
:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_Mai=
lOriginalBody'>itself.)<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'=
><span style=3D'mso-bookmark:_MailOriginalBody'>2. What is the problem being s=
olved here?=C2=A0 For example, I think that TLS<o:p></o:p></span></pre><pre styl=
e=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>will or do=
es offer PSK authentication.=C2=A0 So, why not just do an out-of-band<o:p></o:p>=
</span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOr=
iginalBody'>PAKE to establish a PSK, then use PSK-authenticated TLS.=C2=A0 So, t=
o rephrase my<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span sty=
le=3D'mso-bookmark:_MailOriginalBody'>question: is there some security defect =
with PSK-authenticated TLS that PKEX<o:p></o:p></span></pre><pre style=3D'marg=
in-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>solves?=C2=A0 Maybe t=
his was discussed already, sorry if I missed it (and am out<o:p></o:p></span=
></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginal=
Body'>of order).<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span =
style=3D'mso-bookmark:_MailOriginalBody'>Otherwise, I do not have much of an o=
pinion in either direction.<o:p></o:p></span></pre><pre style=3D'margin-left:.=
5in'><span style=3D'mso-bookmark:_MailOriginalBody'><o:p>&nbsp;</o:p></span></=
pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBod=
y'>-----Original Message-----<o:p></o:p></span></pre><pre style=3D'margin-left=
:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>From: Cfrg [</span><a hr=
ef=3D"mailto:cfrg-bounces@irtf.org"><span style=3D'mso-bookmark:_MailOriginalBod=
y'>mailto:cfrg-bounces@irtf.org</span><span style=3D'mso-bookmark:_MailOrigina=
lBody'></span></a><span style=3D'mso-bookmark:_MailOriginalBody'>] On Behalf O=
f Alexey Melnikov<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span=
 style=3D'mso-bookmark:_MailOriginalBody'>Sent: Sunday, April 8, 2018 7:42 AM<=
o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookma=
rk:_MailOriginalBody'>To: </span><a href=3D"mailto:cfrg@irtf.org"><span style=3D=
'mso-bookmark:_MailOriginalBody'>cfrg@irtf.org</span><span style=3D'mso-bookma=
rk:_MailOriginalBody'></span></a><span style=3D'mso-bookmark:_MailOriginalBody=
'><o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-boo=
kmark:_MailOriginalBody'>Subject: [Cfrg] Adoption call for draft-harkins-pke=
x-05<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-b=
ookmark:_MailOriginalBody'><o:p>&nbsp;</o:p></span></pre><pre style=3D'margin-=
left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>Dear CFRG participan=
ts,<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bo=
okmark:_MailOriginalBody'>This message is starting a 2 weeks adoption call f=
or<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-boo=
kmark:_MailOriginalBody'>draft-harkins-pkex-05 (Public Key Exchange). From t=
he document's<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span sty=
le=3D'mso-bookmark:_MailOriginalBody'>Introduction:<o:p></o:p></span></pre><pr=
e style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'><o:p=
>&nbsp;</o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-boo=
kmark:_MailOriginalBody'>=C2=A0=C2=A0 [RFC7250] further states that &quot;the main s=
ecurity challenge [to using<o:p></o:p></span></pre><pre style=3D'margin-left:.=
5in'><span style=3D'mso-bookmark:_MailOriginalBody'>=C2=A0=C2=A0 'raw' public keys] is=
 how to associate the public key with a specific<o:p></o:p></span></pre><pre=
 style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>=C2=A0=C2=A0 =
entity.=C2=A0 Without a secure binding between identifier and key, the<o:p></o:p=
></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailO=
riginalBody'>=C2=A0=C2=A0 protocol will be vulnerable to man-in-the- middle attacks.=
&quot;<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso=
-bookmark:_MailOriginalBody'><o:p>&nbsp;</o:p></span></pre><pre style=3D'margi=
n-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>=C2=A0=C2=A0 The Public Ke=
y Exchange (PKEX) is designed to fill that gap: it<o:p></o:p></span></pre><p=
re style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>=C2=A0=C2=
=A0 establishes a secure binding between exchanged public keys and<o:p></o:p><=
/span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOri=
ginalBody'>=C2=A0=C2=A0 identifiers, it provides proof-of-possession of the exchange=
d public<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'm=
so-bookmark:_MailOriginalBody'>=C2=A0=C2=A0 keys to each peer, and it enables the es=
tablishment of trust in<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'=
><span style=3D'mso-bookmark:_MailOriginalBody'>=C2=A0=C2=A0 public keys that can subs=
equently be used to facilitate<o:p></o:p></span></pre><pre style=3D'margin-lef=
t:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>=C2=A0=C2=A0 authentication in =
other authentication and key exchange protocols.<o:p></o:p></span></pre><pre=
 style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>=C2=A0=C2=A0 =
At the end of a successful run of PKEX the two peers will have trust<o:p></o=
:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_Mai=
lOriginalBody'>=C2=A0=C2=A0 in each others exchanged public keys and also share an a=
uthenticated<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span styl=
e=3D'mso-bookmark:_MailOriginalBody'>=C2=A0=C2=A0 symmetric key which may be discarded=
 or used for another purpose.<o:p></o:p></span></pre><pre style=3D'margin-left=
:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'><o:p>&nbsp;</o:p></span>=
</pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalB=
ody'>The adoption call will last for 2 weeks and will end on April 22nd.<o:p=
></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:=
_MailOriginalBody'><o:p>&nbsp;</o:p></span></pre><pre style=3D'margin-left:.5i=
n'><span style=3D'mso-bookmark:_MailOriginalBody'>Thank you,<o:p></o:p></span>=
</pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalB=
ody'>Kenny and Alexey<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><=
span style=3D'mso-bookmark:_MailOriginalBody'><o:p>&nbsp;</o:p></span></pre><p=
re style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>___=
____________________________________________<o:p></o:p></span></pre><pre sty=
le=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>Cfrg mail=
ing list<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'm=
so-bookmark:_MailOriginalBody'></span><a href=3D"mailto:Cfrg@irtf.org"><span s=
tyle=3D'mso-bookmark:_MailOriginalBody'>Cfrg@irtf.org</span><span style=3D'mso-b=
ookmark:_MailOriginalBody'></span></a><span style=3D'mso-bookmark:_MailOrigina=
lBody'><o:p></o:p></span></pre><pre style=3D'margin-left:.5in'><span style=3D'ms=
o-bookmark:_MailOriginalBody'></span><a href=3D"https://www.irtf.org/mailman/l=
istinfo/cfrg"><span style=3D'mso-bookmark:_MailOriginalBody'>https://www.irtf.=
org/mailman/listinfo/cfrg</span><span style=3D'mso-bookmark:_MailOriginalBody'=
></span></a><span style=3D'mso-bookmark:_MailOriginalBody'><o:p></o:p></span><=
/pre><p class=3DMsoNormal style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_=
MailOriginalBody'><br><br><br><o:p></o:p></span></p><pre style=3D'margin-left:=
.5in'><span style=3D'mso-bookmark:_MailOriginalBody'>_________________________=
______________________<o:p></o:p></span></pre><pre style=3D'margin-left:.5in'>=
<span style=3D'mso-bookmark:_MailOriginalBody'>Cfrg mailing list<o:p></o:p></s=
pan></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOrigi=
nalBody'></span><a href=3D"mailto:Cfrg@irtf.org"><span style=3D'mso-bookmark:_Ma=
ilOriginalBody'>Cfrg@irtf.org</span><span style=3D'mso-bookmark:_MailOriginalB=
ody'></span></a><span style=3D'mso-bookmark:_MailOriginalBody'><o:p></o:p></sp=
an></pre><pre style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOrigin=
alBody'></span><a href=3D"https://www.irtf.org/mailman/listinfo/cfrg"><span st=
yle=3D'mso-bookmark:_MailOriginalBody'>https://www.irtf.org/mailman/listinfo/c=
frg</span><span style=3D'mso-bookmark:_MailOriginalBody'></span></a><span styl=
e=3D'mso-bookmark:_MailOriginalBody'><o:p></o:p></span></pre></blockquote><p c=
lass=3DMsoNormal style=3D'margin-left:.5in'><span style=3D'mso-bookmark:_MailOrigi=
nalBody'><br><br></span><o:p></o:p></p></div></body></html>

--B_3606291137_1285042500--

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

MIIUVwYJKoZIhvcNAQcCoIIUSDCCFEQCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0B
BwGgghImMIIE6jCCA9KgAwIBAgIKf1wD4wAAAABy/jANBgkqhkiG9w0BAQsFADBRMQswCQYD
VQQGEwJVUzEfMB0GA1UEChMWTUlUIExpbmNvbG4gTGFib3JhdG9yeTEMMAoGA1UECxMDUEtJ
MRMwEQYDVQQDEwpNSVRMTCBDQS0zMB4XDTE2MDIwODE2NDIxNVoXDTE5MDIwNzE2NDIxNVow
YTELMAkGA1UEBhMCVVMxHzAdBgNVBAoTFk1JVCBMaW5jb2xuIExhYm9yYXRvcnkxDzANBgNV
BAsTBlBlb3BsZTEgMB4GA1UEAxMXQmx1bWVudGhhbC5VcmkuNTAwMTA1ODQwggEiMA0GCSqG
SIb3DQEBAQUAA4IBDwAwggEKAoIBAQCptkku3FBE/JUsv30SQmvScGwgm2avDBSHt2TRtRWU
WjiUZSdqf1t9vj+yy6JMT4w8rFYPpa4ZH53BhitZGrl8bgxT+pSqgNzI8WBHQpFl0hhEDRHO
DIUNV3wzmGFGc0r3Z1wXWiT7yIy7EC+lRW52DeoM/SnTpE2DhYtxPcZV+bwXy5vXbJisbi+A
97HuUrCRc4TfCnAUrpLVHlMTJTOQ1UO2BgjYGhkQlMNRQL/rOLf8YfJ+E0gquHxK/PtwV5GN
YypzhDyVU8olT6FbkXax4wMuv+q6YC0FzJw9kGTz4OUyApjKIV7rP2Sxyk+gQ6etKHx96CHR
COo09a8yobi3AgMBAAGjggGyMIIBrjAdBgNVHQ4EFgQUHBlcQuNApu75siC8Ez6XNA9uD4Ew
DgYDVR0PAQH/BAQDAgbAMB8GA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k0QvDJRIQNRR0zpQpOKp
+4V/XhMZRhxQJ3DjVTjh9Q/pHKm7ARFhFr3QAJ6ocCjyzLF5issa1Vshx7ElBIk0cXhep6mL
MLqGNX3azAkxggH1MIIB8QIBATBfMFExCzAJBgNVBAYTAlVTMR8wHQYDVQQKExZNSVQgTGlu
Y29sbiBMYWJvcmF0b3J5MQwwCgYDVQQLEwNQS0kxEzARBgNVBAMTCk1JVExMIENBLTMCCn9c
A+MAAAAAcv4wDQYJYIZIAWUDBAIBBQCgaTAvBgkqhkiG9w0BCQQxIgQgwHycKdiZZOUyagTo
wmv+agGhxU2NrnN4NczbYFDqmkkwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG
9w0BCQUxDxcNMTgwNDExMTUzMjE3WjANBgkqhkiG9w0BAQEFAASCAQBGH0QiwgmaA6l1/g9r
R0MdJY1IgQrjlBYeLBxY1aeIg4Ck0RXZnncx4f/9iJ6sx0DPS7ImvB8ZLI4gyIbm9qNuH6dr
SRivEIAUtUVg451Dml19QVLXfuvD+A2KS8jv02fouM/c16tqO7eUnEwjuoJHVHt6NEBsPrj3
IpnAvxhVFZofNh8kfT2zLg8BVvyYw62bMqUZzFBAP3NvmrD5BMfpZyyboocx5HOy+Cu2hzAt
Yakg6ABRGxp9SXWdurrxtuXSkqy3EOpcGq6gblyCxgMqy3H6TcT2ENZx+pgvqLbzfc0zxuDv
qFDWrI3LlWrXBjMuOrvpLJhxcC+mqB1G3t9C

--B_3606291137_506493746--


From nobody Wed Apr 11 09:25:12 2018
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 DA0561276AF for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 09:25:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, 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 wTLlkLkZS_rF for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 09:25:06 -0700 (PDT)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id 4037E127522 for <cfrg@irtf.org>; Wed, 11 Apr 2018 09:25:06 -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 BDE7DA888018 for <cfrg@irtf.org>; Wed, 11 Apr 2018 09:25:05 -0700 (PDT)
To: cfrg@irtf.org
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net>
From: Dan Harkins <dharkins@lounge.org>
Message-ID: <16affdfc-df9a-a883-e0d6-dd52efee15e4@lounge.org>
Date: Wed, 11 Apr 2018 09:25:05 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net>
Content-Type: multipart/alternative; boundary="------------B34AAB4182916AB36F09753A"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/Uky_xDlbmqszUHNPLEfyqWd_-nI>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 11 Apr 2018 16:25:10 -0000

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


   Hi Dan,

On 4/11/18 8:25 AM, Dan Brown wrote:
> A 4th issue/question, not really about terminology, but more definitional,
> also a bit uncertain (I'm tiring out on this one):
>
> The authentication phase of PKEX is basically just SPAKE2, and goes from a
> weak password to a strong symmetric key z.  I'm still fine with this phase,
> modulo (1) subtle differences in PAKEs that I do not yet understand and (2)
> questions whether passwords are properly in scope of IETF, since they don't
> scale well globally, etc.

   No they don't. They scale about as well as raw public keys :-) But they
are in scope.

> The reveal phase does not seem to add obvious value.  It seems to be almost
> the opposite of static Diffie-Hellman. We can switch back and forth between
> a secret symmetric key z and authenticated asymmetric keys A,B.   What can
> Alice and Bob with A and B that they could not already do with z.
> Authenticate messages?  They can use HMAC with z - instead of (repudiable)
> signatures or OTR with A and B.  Send each other secret messages? They can
> use AES, etc, with z, - instead of ECIES with A or B?   Generate yet more
> symmetric keys? They can use KDFs, PRFs, wrapped keys, etc., - instead of
> Diffie-Hellman or MQV.

   Yes, z (or keys derived from it) can be used for all sorts of things 
while
Alice and Bob are still talking to each other. This is mentioned at the end
of section 5.2.

   The value of the reveal phase is confirmation of SPAKE2 and gained trust
in the public keys. The ability to successfully unwrap a received message
authenticates the SPAKE2 exchange. The identity associated with the password
is confirmed. The guarantees that AES-SIV provide mean that the received
public key could only be sent by someone who knows z (and there are only
two people in the world that know z at that time) so the received key has
integrity and it is bound to the identity authenticated by SPAKE2. Finally,
proof of possession is provided by the peer using its private key with the
ephemeral share sent in SPAKE2 to symmetrically "sign" information binding
it to the exchange.

> If some IETF protocols use public keys but lack any means for Alice and Bob
> to leverage their pre-shared secret (password, etc.), then I guess could
> PKEX retro-fit or shoe-horn it in.  But then one could also, maybe just as
> modularly, run a tunnel based on SPAKE2 and z inside (or outside) such an
> inflexible IETF protocol to get the same effect.  For example, an online
> bank could run a CA-authenticated TLS tunnel, and then run, at a higher
> layer, a SPAKE2-protected connection inside the TLS tunnel, etc.
>
> Please note, although I am deliberately trying to be extra-critical here, I
> am also trying not to be contrarian.

   Understood. And appreciated!

   regards,

   Dan.

>
> -----Original Message-----
> From: Dan Brown
> Sent: Tuesday, April 10, 2018 4:47 PM
> To: Dan Brown <danibrown@blackberry.com>; Alexey Melnikov
> <alexey.melnikov@isode.com>; cfrg@irtf.org
> Subject: RE: [Cfrg] Adoption call for draft-harkins-pkex-05
>
> A third very minor issue (again terminology, and arguably more pedantic):
> 3. The PKEX I-D uses the word "trust" often. It seems to me that is not an
> equivalent in strength trust to a more conventional public-key certificate
> (or a distributed web of trust either).  I think this needs clarification in
> the draft.  I expand on the difference below, in two closely related
> sub-issues.
> 3a. First, if Bob lost his secret password, or has a bad RNG, then Eve may
> be able to impersonate Alice to Bob, even if Alice system's is entirely
> uncompromised.  In regular authenticated key exchange, this type of attack
> is called key-compromise impersonation (KCI).  I guess KCI applies to every
> PAKE, which is fair enough.  But PKEX has farther aims than a just PAKE,
> kind of a sub-PKI. (Is PKEX a play on PKIX?)  But in a PKI, relying parties
> can "trust" public keys, such as code signing keys, without having any
> secrets at all to guard.  So, in some sense there is lesser degree of trust
> provided by a PKI.
> 3b. Second, and this issue is an extension of the first (not independent of
> it), I would argue that part of "trust" in a public key includes an ability
> to trust its use in non-repudiable signed transaction.  Because of the KCI
> threat, Alice could do PKEX with Bob, sign a message with her key A, then
> try to repudiate.  Bob will not be able to prove to anybody A is Alice's
> key, because he could have generated A himself, as if Bob did a KCI attack
> on himself.  So, Bob will not be able to trust Alice as much as usual in a
> PKI.
>
> At the moment I don't have a concrete suggestion to correct this
> terminology.  Also, I forget if PKI spec use the word "trust" or something
> else.
>
> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Dan Brown
> Sent: Tuesday, April 10, 2018 2:00 PM
> To: Alexey Melnikov <alexey.melnikov@isode.com>; cfrg@irtf.org
> Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
>
> I'm seeing two minor issues to be resolved before adoption:
> 1. "Public key exchange" is a totally non-specific name, so much so, that I
> oppose adoption under this name.  Public key exchange could mean
> Diffie-Hellman key agreement, for example.  If PKEX has been deployed in
> some places, the name should be updated retroactively.  (Sorry that this is
> merely a terminology issue (as in the color of bikeshed, not the bikeshed
> itself.)
> 2. What is the problem being solved here?  For example, I think that TLS
> will or does offer PSK authentication.  So, why not just do an out-of-band
> PAKE to establish a PSK, then use PSK-authenticated TLS.  So, to rephrase my
> question: is there some security defect with PSK-authenticated TLS that PKEX
> solves?  Maybe this was discussed already, sorry if I missed it (and am out
> of order).
> Otherwise, I do not have much of an opinion in either direction.
>
> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Alexey Melnikov
> Sent: Sunday, April 8, 2018 7:42 AM
> To: cfrg@irtf.org
> Subject: [Cfrg] Adoption call for draft-harkins-pkex-05
>
> Dear CFRG participants,
> This message is starting a 2 weeks adoption call for
> draft-harkins-pkex-05 (Public Key Exchange). From the document's
> Introduction:
>
>     [RFC7250] further states that "the main security challenge [to using
>     'raw' public keys] is how to associate the public key with a specific
>     entity.  Without a secure binding between identifier and key, the
>     protocol will be vulnerable to man-in-the- middle attacks."
>
>     The Public Key Exchange (PKEX) is designed to fill that gap: it
>     establishes a secure binding between exchanged public keys and
>     identifiers, it provides proof-of-possession of the exchanged public
>     keys to each peer, and it enables the establishment of trust in
>     public keys that can subsequently be used to facilitate
>     authentication in other authentication and key exchange protocols.
>     At the end of a successful run of PKEX the two peers will have trust
>     in each others exchanged public keys and also share an authenticated
>     symmetric key which may be discarded or used for another purpose.
>
> The adoption call will last for 2 weeks and will end on April 22nd.
>
> Thank you,
> Kenny and Alexey
>
> _______________________________________________
> 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


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

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <tt>  Hi Dan,</tt><br>
    <br>
    <div class="moz-cite-prefix">On 4/11/18 8:25 AM, Dan Brown wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net">
      <pre wrap="">A 4th issue/question, not really about terminology, but more definitional,
also a bit uncertain (I'm tiring out on this one):

The authentication phase of PKEX is basically just SPAKE2, and goes from a
weak password to a strong symmetric key z.  I'm still fine with this phase,
modulo (1) subtle differences in PAKEs that I do not yet understand and (2)
questions whether passwords are properly in scope of IETF, since they don't
scale well globally, etc.</pre>
    </blockquote>
    <br>
    <tt>  No they don't. They scale about as well as raw public keys :-)
      But they<br>
      are in scope.  <br>
      <br>
    </tt>
    <blockquote type="cite"
      cite="mid:810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net">
      <pre wrap="">
The reveal phase does not seem to add obvious value.  It seems to be almost
the opposite of static Diffie-Hellman. We can switch back and forth between
a secret symmetric key z and authenticated asymmetric keys A,B.   What can
Alice and Bob with A and B that they could not already do with z.
Authenticate messages?  They can use HMAC with z - instead of (repudiable)
signatures or OTR with A and B.  Send each other secret messages? They can
use AES, etc, with z, - instead of ECIES with A or B?   Generate yet more
symmetric keys? They can use KDFs, PRFs, wrapped keys, etc., - instead of
Diffie-Hellman or MQV.  </pre>
    </blockquote>
    <br>
    <tt>  Yes, z (or keys derived from it) can be used for all sorts of
      things while<br>
      Alice and Bob are still talking to each other. This is mentioned
      at the end<br>
      of section 5.2.<br>
      <br>
        The value of the reveal phase is confirmation of SPAKE2 and
      gained trust<br>
      in the public keys. The ability to successfully unwrap a received
      message<br>
      authenticates the SPAKE2 exchange. The identity associated with
      the password<br>
      is confirmed. The guarantees that AES-SIV provide mean that the
      received<br>
      public key could only be sent by someone who knows z (and there
      are only<br>
      two people in the world that know z at that time) so the received
      key has<br>
      integrity and it is bound to the identity authenticated by SPAKE2.
      Finally,<br>
      proof of possession is provided by the peer using its private key
      with the<br>
      ephemeral share sent in SPAKE2 to symmetrically "sign" information
      binding<br>
      it to the exchange.<br>
      <br>
    </tt>
    <blockquote type="cite"
      cite="mid:810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net">
      <pre wrap="">
If some IETF protocols use public keys but lack any means for Alice and Bob
to leverage their pre-shared secret (password, etc.), then I guess could
PKEX retro-fit or shoe-horn it in.  But then one could also, maybe just as
modularly, run a tunnel based on SPAKE2 and z inside (or outside) such an
inflexible IETF protocol to get the same effect.  For example, an online
bank could run a CA-authenticated TLS tunnel, and then run, at a higher
layer, a SPAKE2-protected connection inside the TLS tunnel, etc.

Please note, although I am deliberately trying to be extra-critical here, I
am also trying not to be contrarian.</pre>
    </blockquote>
    <br>
    <tt>  Understood. And appreciated!<br>
      <br>
        regards,<br>
      <br>
        Dan.<br>
      <br>
    </tt>
    <blockquote type="cite"
      cite="mid:810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net">
      <pre wrap="">

-----Original Message-----
From: Dan Brown 
Sent: Tuesday, April 10, 2018 4:47 PM
To: Dan Brown <a class="moz-txt-link-rfc2396E" href="mailto:danibrown@blackberry.com">&lt;danibrown@blackberry.com&gt;</a>; Alexey Melnikov
<a class="moz-txt-link-rfc2396E" href="mailto:alexey.melnikov@isode.com">&lt;alexey.melnikov@isode.com&gt;</a>; <a class="moz-txt-link-abbreviated" href="mailto:cfrg@irtf.org">cfrg@irtf.org</a>
Subject: RE: [Cfrg] Adoption call for draft-harkins-pkex-05

A third very minor issue (again terminology, and arguably more pedantic):
3. The PKEX I-D uses the word "trust" often. It seems to me that is not an
equivalent in strength trust to a more conventional public-key certificate
(or a distributed web of trust either).  I think this needs clarification in
the draft.  I expand on the difference below, in two closely related
sub-issues.
3a. First, if Bob lost his secret password, or has a bad RNG, then Eve may
be able to impersonate Alice to Bob, even if Alice system's is entirely
uncompromised.  In regular authenticated key exchange, this type of attack
is called key-compromise impersonation (KCI).  I guess KCI applies to every
PAKE, which is fair enough.  But PKEX has farther aims than a just PAKE,
kind of a sub-PKI. (Is PKEX a play on PKIX?)  But in a PKI, relying parties
can "trust" public keys, such as code signing keys, without having any
secrets at all to guard.  So, in some sense there is lesser degree of trust
provided by a PKI.  
3b. Second, and this issue is an extension of the first (not independent of
it), I would argue that part of "trust" in a public key includes an ability
to trust its use in non-repudiable signed transaction.  Because of the KCI
threat, Alice could do PKEX with Bob, sign a message with her key A, then
try to repudiate.  Bob will not be able to prove to anybody A is Alice's
key, because he could have generated A himself, as if Bob did a KCI attack
on himself.  So, Bob will not be able to trust Alice as much as usual in a
PKI.

At the moment I don't have a concrete suggestion to correct this
terminology.  Also, I forget if PKI spec use the word "trust" or something
else.

-----Original Message-----
From: Cfrg [<a class="moz-txt-link-freetext" href="mailto:cfrg-bounces@irtf.org">mailto:cfrg-bounces@irtf.org</a>] On Behalf Of Dan Brown
Sent: Tuesday, April 10, 2018 2:00 PM
To: Alexey Melnikov <a class="moz-txt-link-rfc2396E" href="mailto:alexey.melnikov@isode.com">&lt;alexey.melnikov@isode.com&gt;</a>; <a class="moz-txt-link-abbreviated" href="mailto:cfrg@irtf.org">cfrg@irtf.org</a>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05

I'm seeing two minor issues to be resolved before adoption:
1. "Public key exchange" is a totally non-specific name, so much so, that I
oppose adoption under this name.  Public key exchange could mean
Diffie-Hellman key agreement, for example.  If PKEX has been deployed in
some places, the name should be updated retroactively.  (Sorry that this is
merely a terminology issue (as in the color of bikeshed, not the bikeshed
itself.)
2. What is the problem being solved here?  For example, I think that TLS
will or does offer PSK authentication.  So, why not just do an out-of-band
PAKE to establish a PSK, then use PSK-authenticated TLS.  So, to rephrase my
question: is there some security defect with PSK-authenticated TLS that PKEX
solves?  Maybe this was discussed already, sorry if I missed it (and am out
of order).
Otherwise, I do not have much of an opinion in either direction.

-----Original Message-----
From: Cfrg [<a class="moz-txt-link-freetext" href="mailto:cfrg-bounces@irtf.org">mailto:cfrg-bounces@irtf.org</a>] On Behalf Of Alexey Melnikov
Sent: Sunday, April 8, 2018 7:42 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:cfrg@irtf.org">cfrg@irtf.org</a>
Subject: [Cfrg] Adoption call for draft-harkins-pkex-05

Dear CFRG participants,
This message is starting a 2 weeks adoption call for
draft-harkins-pkex-05 (Public Key Exchange). From the document's
Introduction:

   [RFC7250] further states that "the main security challenge [to using
   'raw' public keys] is how to associate the public key with a specific
   entity.  Without a secure binding between identifier and key, the
   protocol will be vulnerable to man-in-the- middle attacks."

   The Public Key Exchange (PKEX) is designed to fill that gap: it
   establishes a secure binding between exchanged public keys and
   identifiers, it provides proof-of-possession of the exchanged public
   keys to each peer, and it enables the establishment of trust in
   public keys that can subsequently be used to facilitate
   authentication in other authentication and key exchange protocols.
   At the end of a successful run of PKEX the two peers will have trust
   in each others exchanged public keys and also share an authenticated
   symmetric key which may be discarded or used for another purpose.

The adoption call will last for 2 weeks and will end on April 22nd.

Thank you,
Kenny and Alexey

_______________________________________________
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>
      <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>

--------------B34AAB4182916AB36F09753A--


From nobody Wed Apr 11 10:37:43 2018
Return-Path: <ted@krovetz.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 13FAB128954 for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 10:37:41 -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, RCVD_IN_DNSWL_NONE=-0.0001, T_DKIMWL_WL_MED=-0.01, T_SPF_PERMERROR=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=krovetz-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 L_98QN2ZGiVW for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 10:37:39 -0700 (PDT)
Received: from mail-ot0-x22a.google.com (mail-ot0-x22a.google.com [IPv6:2607:f8b0:4003:c0f::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 0D7C712785F for <cfrg@irtf.org>; Wed, 11 Apr 2018 10:37:39 -0700 (PDT)
Received: by mail-ot0-x22a.google.com with SMTP id o9-v6so2920471otj.5 for <cfrg@irtf.org>; Wed, 11 Apr 2018 10:37:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=krovetz-net.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=H2iVugtilDJGV1hlaKQAVk2qm5bWxRn/1jgLYKzyImQ=; b=aCdisDVOjoaeelxgSjGBe5kw+M98OQAvoa2kK1tFJe1tW2bmnsbjDzIbqrl+aRCHda LYWwIDih2K3HI1z7P9zayrTeH5AK25llnVtPFBbOTFceTI1FLjcWHpbn7rnBG5qp2lIh KiBPgwT9/UvkTA+mUazJqP3ylpItBkQlpairhKF5ZMeA0WpV07FMgnxsmfQ+frg3gvTf L8V8u66P8rFJJLERVERyUeaXvfdnkhU+zccRSKWEDAQX92CK4MUOJQk4cX5sU7haNlt/ H9wyAiNnehuF9ARcFNohOh6HBUY0kNyZLiTqlUXJ0jAc+GcalVBO0aykbZ2A+uZ7f0e3 8R3w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=H2iVugtilDJGV1hlaKQAVk2qm5bWxRn/1jgLYKzyImQ=; b=bTfi7rBGXyeAuqNrSQyqqe0GuCvWARgNndFJhnZrUf2NP/dmQSdG4cZQIa1pFsY+aO QcQ1+RqJbkf9qQXr1I41vVKaqPH/6feNPhUjLbKSiEzvFNKv46eBvl/mhtaZroZf/I5/ okMH8yaYJU4D+CcZ/palfqNqkRF3B18SwWqK2LbxP/WmAXCmAra0XADYsJRle1BM7Zpm 2x+4ZiLe7t20olBkxQWO/G7cnXk0hE4XgNVQYFKCCg1XC5cuyzIYhwe+fzFN2O+nxnNs Tp2dpe8b8PyQVFQf7r7mcbNTSbkDyeET0qMmz6VS1cBPH8AnFRHWVQdlnfxyT4jySEAj U7Ig==
X-Gm-Message-State: ALQs6tBljT9axJqxelbumN0DR8bVmEDED+cuwfXkediZGf1wleaBx5YO 5r93c6nxJdNe3g0GNk1wbyZHuAVXDiY=
X-Google-Smtp-Source: AIpwx4/cVTVCKTQNJ6+5VUtrOW+qj2h++FPVzwno0eTYYfVnELklI0G7zjwyBHMGWr7fbsug8v8dEg==
X-Received: by 2002:a9d:57c4:: with SMTP id q4-v6mr3573327oti.47.1523468258272;  Wed, 11 Apr 2018 10:37:38 -0700 (PDT)
Received: from [192.168.1.100] (99-113-71-118.lightspeed.frokca.sbcglobal.net. [99.113.71.118]) by smtp.gmail.com with ESMTPSA id i124-v6sm977947oib.21.2018.04.11.10.37.37 for <cfrg@irtf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 10:37:37 -0700 (PDT)
From: Ted Krovetz <ted@krovetz.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\))
Message-Id: <D7BDE208-5C9A-4032-98B9-B6C3BB54A186@krovetz.net>
Date: Wed, 11 Apr 2018 10:37:36 -0700
To: cfrg@irtf.org
X-Mailer: Apple Mail (2.3445.6.18)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/TkaInXITJPqxyhs3rzGRlBZGxv4>
Subject: [Cfrg] Internet-Drafts: OCB and RC6 when block cipher != 128 bits
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 11 Apr 2018 17:37:41 -0000

Several months ago three different parties asked if OCB could be =
extended to uses block ciphers with block lengths other than 128 bits. =
Phil Rogaway and I conferred and decided that it was fairly =
straightforward. I am in the process of writing an RFC for the modified =
version.

For purposes of creating test vectors I needed block ciphers of various =
block-length. Since both RC5 and RC6 patents appear to be expiring and =
they support many block lengths, I decided to use them as exemplars. To =
this end, I am also developing an RFC for RC5 and RC6 using non-standard =
block sizes. A link to the RC5/RC6 internet draft is:

https://datatracker.ietf.org/doc/draft-krovetz-rc6-rc5-vectors/

I am announcing this work here in case anybody is interested in using =
any of the results. The OCB draft should be ready in a week or two and =
I'll announce when it goes live too. Any comments on either draft (here =
or through direct email) would be appreciated.

Thank you,
Ted Krovetz=


From nobody Wed Apr 11 11:07:21 2018
Return-Path: <rlb@ipv.sx>
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 6BC8E126CD8 for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 11:07:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.609
X-Spam-Level: 
X-Spam-Status: No, score=-2.609 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, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ipv-sx.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 WXWrqEUrBW-h for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 11:07:15 -0700 (PDT)
Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::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 0F991126C89 for <cfrg@irtf.org>; Wed, 11 Apr 2018 11:07:15 -0700 (PDT)
Received: by mail-oi0-x229.google.com with SMTP id q71-v6so2597219oic.6 for <cfrg@irtf.org>; Wed, 11 Apr 2018 11:07:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wfzqlUFkpHdOyBJ74GmPxbegLSbp53jkSWbWHC5NnV0=; b=IiSC2DPA+itF/OQGIRLuCSikRIpk5cpb9eIvR1+qxSUgzr/pY+gyo0iSVLmaz7mMI5 207kRZB6X6qtzVPRMxtxA+WPGGtGd/0fRSq4BYHxJM8GYHKtySL1YnlQmNcahpeRoikL v/8hqYMd5nHbVcbAgHXWVka0CNaZ2m8S3j6saxLEIFtZj0TNejCnqP5ZmZlLRxvzV/BC kOVe3BOlJEkTX9ChB7DK26fJdpZjLmoHeYsm49+JkXgQ33aut6ehQ0OXSeVGrydhXzyB i2HopcOFKC7hBzxNz4Pxi25rxAwjfZZNN7le7z5/Wdk3t/hfm6gNDidDdmTAfX32algC 09Fg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wfzqlUFkpHdOyBJ74GmPxbegLSbp53jkSWbWHC5NnV0=; b=FkiZR2THmHnxj7vXlsGE5Pq6W8l07tpwcuOXuAnunq4TGBkamSovglnqFSO4sCHQqa bTIHPA7OszkmIhwu+DvB4591XjqqWcLw3L37IRLi6j2diAzdqxZMHG2AinanO9MpzPtE G/VJ7N0wXv8Uw22DpVOLYVNcZZ4cMckIs6pX/y/GLNFKLpzR+0MGGWZF0okIfyBQrYR8 GxyQqJKpNqUZ/quCqSfDGIt36F6nBj+tFI7Uz67MruHhwao9XP/5ognrn2ulq7QJkydF 60cLm3POZUQtD8MOnT7H/fJgLvllh5lvvq2agCFjHOo1DCNJL30G12U4MX5zwFAb+IGi gjbw==
X-Gm-Message-State: ALQs6tBzVXYN++gSA5ljgBwBXU89LbzOzqzPqNQVHmJPKvy5Xc6IcHLJ rQ3wtXEjTLM4y+WGq2mlb6HIXdfaCJqRwRI/byhz89I+iTs=
X-Google-Smtp-Source: AIpwx4+NVZ0r4PurykPJKAxaUVFkMECv1bdhFDR0dvLlhsoERQfkSeC0qRwn1pJK9JwP04zFNcS0Fjus4ccSDqSV3HI=
X-Received: by 2002:aca:df44:: with SMTP id w65-v6mr3468069oig.155.1523470034247;  Wed, 11 Apr 2018 11:07:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.201.90.67 with HTTP; Wed, 11 Apr 2018 11:07:13 -0700 (PDT)
In-Reply-To: <16affdfc-df9a-a883-e0d6-dd52efee15e4@lounge.org>
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net> <16affdfc-df9a-a883-e0d6-dd52efee15e4@lounge.org>
From: Richard Barnes <rlb@ipv.sx>
Date: Wed, 11 Apr 2018 14:07:13 -0400
Message-ID: <CAL02cgT72J=cboruKiHnF4BP7ffaDfae=JeoYDJJfjenF4wC8Q@mail.gmail.com>
To: Dan Harkins <dharkins@lounge.org>
Cc: cfrg@irtf.org
Content-Type: multipart/alternative; boundary="00000000000037b6bc05699682e9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/K5tXdanh8bEZ6uXss62iyQ2BHKw>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 11 Apr 2018 18:07:18 -0000

--00000000000037b6bc05699682e9
Content-Type: text/plain; charset="UTF-8"

Just to confirm I understand here, the scenario this is intended to address
is as follows (?):

- Two parties share a password
- Each party wishes to allow the other to assert an identity, where the
assertion is authenticated by the password

I would be interested to learn why people think this a useful problem to
solve.  If you have a system for provisioning passwords, couldn't you just
as well provision key fingerprints?  If you care about identities (say if
you're using the password to authenticate a group, and you want identities
to distinguish individual members), then why are you OK with raw assertion,
allowing anyone to claim any identity?

Assuming this is a useful problem to solve, it's not clear to me that this
is the best way to solve it.  For example, it seems like the parties could
perform a traditional PAKE, then send their preferred identities to each
other protected by the negotiated key.  Note that this is basically what
happens with the TLS-PAKE I-D that I submitted earlier today (
https://datatracker.ietf.org/doc/draft-barnes-tls-pake/), though in that
case, you can have either certified or uncertified keys.

This latter question seems important for the adoption question.  If this is
just a usage of a PAKE, then it's a protocol question more suited to IETF.
Only if there's a need to entangle the identity in the PAKE would we need
this group to opine.


On Wed, Apr 11, 2018 at 12:25 PM, Dan Harkins <dharkins@lounge.org> wrote:

>
>   Hi Dan,
>
> On 4/11/18 8:25 AM, Dan Brown wrote:
>
> A 4th issue/question, not really about terminology, but more definitional,
> also a bit uncertain (I'm tiring out on this one):
>
> The authentication phase of PKEX is basically just SPAKE2, and goes from a
> weak password to a strong symmetric key z.  I'm still fine with this phase,
> modulo (1) subtle differences in PAKEs that I do not yet understand and (2)
> questions whether passwords are properly in scope of IETF, since they don't
> scale well globally, etc.
>
>
>   No they don't. They scale about as well as raw public keys :-) But they
> are in scope.
>
> The reveal phase does not seem to add obvious value.  It seems to be almost
> the opposite of static Diffie-Hellman. We can switch back and forth between
> a secret symmetric key z and authenticated asymmetric keys A,B.   What can
> Alice and Bob with A and B that they could not already do with z.
> Authenticate messages?  They can use HMAC with z - instead of (repudiable)
> signatures or OTR with A and B.  Send each other secret messages? They can
> use AES, etc, with z, - instead of ECIES with A or B?   Generate yet more
> symmetric keys? They can use KDFs, PRFs, wrapped keys, etc., - instead of
> Diffie-Hellman or MQV.
>
>
>   Yes, z (or keys derived from it) can be used for all sorts of things
> while
> Alice and Bob are still talking to each other. This is mentioned at the end
> of section 5.2.
>
>   The value of the reveal phase is confirmation of SPAKE2 and gained trust
> in the public keys. The ability to successfully unwrap a received message
> authenticates the SPAKE2 exchange. The identity associated with the
> password
> is confirmed. The guarantees that AES-SIV provide mean that the received
> public key could only be sent by someone who knows z (and there are only
> two people in the world that know z at that time) so the received key has
> integrity and it is bound to the identity authenticated by SPAKE2. Finally,
> proof of possession is provided by the peer using its private key with the
> ephemeral share sent in SPAKE2 to symmetrically "sign" information binding
> it to the exchange.
>
> If some IETF protocols use public keys but lack any means for Alice and Bob
> to leverage their pre-shared secret (password, etc.), then I guess could
> PKEX retro-fit or shoe-horn it in.  But then one could also, maybe just as
> modularly, run a tunnel based on SPAKE2 and z inside (or outside) such an
> inflexible IETF protocol to get the same effect.  For example, an online
> bank could run a CA-authenticated TLS tunnel, and then run, at a higher
> layer, a SPAKE2-protected connection inside the TLS tunnel, etc.
>
> Please note, although I am deliberately trying to be extra-critical here, I
> am also trying not to be contrarian.
>
>
>   Understood. And appreciated!
>
>   regards,
>
>   Dan.
>
>
> -----Original Message-----
> From: Dan Brown
> Sent: Tuesday, April 10, 2018 4:47 PM
> To: Dan Brown <danibrown@blackberry.com> <danibrown@blackberry.com>; Alexey Melnikov<alexey.melnikov@isode.com> <alexey.melnikov@isode.com>; cfrg@irtf.org
> Subject: RE: [Cfrg] Adoption call for draft-harkins-pkex-05
>
> A third very minor issue (again terminology, and arguably more pedantic):
> 3. The PKEX I-D uses the word "trust" often. It seems to me that is not an
> equivalent in strength trust to a more conventional public-key certificate
> (or a distributed web of trust either).  I think this needs clarification in
> the draft.  I expand on the difference below, in two closely related
> sub-issues.
> 3a. First, if Bob lost his secret password, or has a bad RNG, then Eve may
> be able to impersonate Alice to Bob, even if Alice system's is entirely
> uncompromised.  In regular authenticated key exchange, this type of attack
> is called key-compromise impersonation (KCI).  I guess KCI applies to every
> PAKE, which is fair enough.  But PKEX has farther aims than a just PAKE,
> kind of a sub-PKI. (Is PKEX a play on PKIX?)  But in a PKI, relying parties
> can "trust" public keys, such as code signing keys, without having any
> secrets at all to guard.  So, in some sense there is lesser degree of trust
> provided by a PKI.
> 3b. Second, and this issue is an extension of the first (not independent of
> it), I would argue that part of "trust" in a public key includes an ability
> to trust its use in non-repudiable signed transaction.  Because of the KCI
> threat, Alice could do PKEX with Bob, sign a message with her key A, then
> try to repudiate.  Bob will not be able to prove to anybody A is Alice's
> key, because he could have generated A himself, as if Bob did a KCI attack
> on himself.  So, Bob will not be able to trust Alice as much as usual in a
> PKI.
>
> At the moment I don't have a concrete suggestion to correct this
> terminology.  Also, I forget if PKI spec use the word "trust" or something
> else.
>
> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org <cfrg-bounces@irtf.org>] On Behalf Of Dan Brown
> Sent: Tuesday, April 10, 2018 2:00 PM
> To: Alexey Melnikov <alexey.melnikov@isode.com> <alexey.melnikov@isode.com>; cfrg@irtf.org
> Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
>
> I'm seeing two minor issues to be resolved before adoption:
> 1. "Public key exchange" is a totally non-specific name, so much so, that I
> oppose adoption under this name.  Public key exchange could mean
> Diffie-Hellman key agreement, for example.  If PKEX has been deployed in
> some places, the name should be updated retroactively.  (Sorry that this is
> merely a terminology issue (as in the color of bikeshed, not the bikeshed
> itself.)
> 2. What is the problem being solved here?  For example, I think that TLS
> will or does offer PSK authentication.  So, why not just do an out-of-band
> PAKE to establish a PSK, then use PSK-authenticated TLS.  So, to rephrase my
> question: is there some security defect with PSK-authenticated TLS that PKEX
> solves?  Maybe this was discussed already, sorry if I missed it (and am out
> of order).
> Otherwise, I do not have much of an opinion in either direction.
>
> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org <cfrg-bounces@irtf.org>] On Behalf Of Alexey Melnikov
> Sent: Sunday, April 8, 2018 7:42 AM
> To: cfrg@irtf.org
> Subject: [Cfrg] Adoption call for draft-harkins-pkex-05
>
> Dear CFRG participants,
> This message is starting a 2 weeks adoption call for
> draft-harkins-pkex-05 (Public Key Exchange). From the document's
> Introduction:
>
>    [RFC7250] further states that "the main security challenge [to using
>    'raw' public keys] is how to associate the public key with a specific
>    entity.  Without a secure binding between identifier and key, the
>    protocol will be vulnerable to man-in-the- middle attacks."
>
>    The Public Key Exchange (PKEX) is designed to fill that gap: it
>    establishes a secure binding between exchanged public keys and
>    identifiers, it provides proof-of-possession of the exchanged public
>    keys to each peer, and it enables the establishment of trust in
>    public keys that can subsequently be used to facilitate
>    authentication in other authentication and key exchange protocols.
>    At the end of a successful run of PKEX the two peers will have trust
>    in each others exchanged public keys and also share an authenticated
>    symmetric key which may be discarded or used for another purpose.
>
> The adoption call will last for 2 weeks and will end on April 22nd.
>
> Thank you,
> Kenny and Alexey
>
> _______________________________________________
> Cfrg mailing listCfrg@irtf.orghttps://www.irtf.org/mailman/listinfo/cfrg
>
>
>
> _______________________________________________
> Cfrg mailing listCfrg@irtf.orghttps://www.irtf.org/mailman/listinfo/cfrg
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg
>
>

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

<div dir=3D"ltr"><div>Just to confirm I understand here, the scenario this =
is intended to address is as follows (?):</div><div><br></div><div>- Two pa=
rties share a password<br></div><div>- Each party wishes to allow the other=
 to assert an identity, where the assertion is authenticated by the passwor=
d</div><div><br></div><div>I would be interested to learn why people think =
this a useful problem to solve.=C2=A0 If you have a system for provisioning=
 passwords, couldn&#39;t you just as well provision key fingerprints?=C2=A0=
 If you care about identities (say if you&#39;re using the password to auth=
enticate a group, and you want identities to distinguish individual members=
), then why are you OK with raw assertion, allowing anyone to claim any ide=
ntity?<br></div><div><br></div><div>Assuming this is a useful problem to so=
lve, it&#39;s not clear to me that this is the best way to solve it.=C2=A0 =
For example, it seems like the parties could perform a traditional PAKE, th=
en send their preferred identities to each other protected by the negotiate=
d key.=C2=A0 Note that this is basically what happens with the TLS-PAKE I-D=
 that I submitted earlier today (<a href=3D"https://datatracker.ietf.org/do=
c/draft-barnes-tls-pake/">https://datatracker.ietf.org/doc/draft-barnes-tls=
-pake/</a>), though in that case, you can have either certified or uncertif=
ied keys.<br></div><div><br></div><div>This latter question seems important=
 for the adoption question.=C2=A0 If this is just a usage of a PAKE, then i=
t&#39;s a protocol question more suited to IETF.=C2=A0 Only if there&#39;s =
a need to entangle the identity in the PAKE would we need this group to opi=
ne.<br></div><div><br></div></div><div class=3D"gmail_extra"><br><div class=
=3D"gmail_quote">On Wed, Apr 11, 2018 at 12:25 PM, Dan Harkins <span dir=3D=
"ltr">&lt;<a href=3D"mailto:dharkins@lounge.org" target=3D"_blank">dharkins=
@lounge.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF">
    <br>
    <tt>=C2=A0 Hi Dan,</tt><span class=3D""><br>
    <br>
    <div class=3D"m_5001397464744976805moz-cite-prefix">On 4/11/18 8:25 AM,=
 Dan Brown wrote:<br>
    </div>
    <blockquote type=3D"cite">
      <pre>A 4th issue/question, not really about terminology, but more def=
initional,
also a bit uncertain (I&#39;m tiring out on this one):

The authentication phase of PKEX is basically just SPAKE2, and goes from a
weak password to a strong symmetric key z.  I&#39;m still fine with this ph=
ase,
modulo (1) subtle differences in PAKEs that I do not yet understand and (2)
questions whether passwords are properly in scope of IETF, since they don&#=
39;t
scale well globally, etc.</pre>
    </blockquote>
    <br>
    </span><tt>=C2=A0 No they don&#39;t. They scale about as well as raw pu=
blic keys :-)
      But they<br>
      are in scope.=C2=A0 <br>
      <br>
    </tt><span class=3D"">
    <blockquote type=3D"cite">
      <pre>The reveal phase does not seem to add obvious value.  It seems t=
o be almost
the opposite of static Diffie-Hellman. We can switch back and forth between
a secret symmetric key z and authenticated asymmetric keys A,B.   What can
Alice and Bob with A and B that they could not already do with z.
Authenticate messages?  They can use HMAC with z - instead of (repudiable)
signatures or OTR with A and B.  Send each other secret messages? They can
use AES, etc, with z, - instead of ECIES with A or B?   Generate yet more
symmetric keys? They can use KDFs, PRFs, wrapped keys, etc., - instead of
Diffie-Hellman or MQV.  </pre>
    </blockquote>
    <br>
    </span><tt>=C2=A0 Yes, z (or keys derived from it) can be used for all =
sorts of
      things while<br>
      Alice and Bob are still talking to each other. This is mentioned
      at the end<br>
      of section 5.2.<br>
      <br>
      =C2=A0 The value of the reveal phase is confirmation of SPAKE2 and
      gained trust<br>
      in the public keys. The ability to successfully unwrap a received
      message<br>
      authenticates the SPAKE2 exchange. The identity associated with
      the password<br>
      is confirmed. The guarantees that AES-SIV provide mean that the
      received<br>
      public key could only be sent by someone who knows z (and there
      are only<br>
      two people in the world that know z at that time) so the received
      key has<br>
      integrity and it is bound to the identity authenticated by SPAKE2.
      Finally,<br>
      proof of possession is provided by the peer using its private key
      with the<br>
      ephemeral share sent in SPAKE2 to symmetrically &quot;sign&quot; info=
rmation
      binding<br>
      it to the exchange.<br>
      <br>
    </tt><span class=3D"">
    <blockquote type=3D"cite">
      <pre>If some IETF protocols use public keys but lack any means for Al=
ice and Bob
to leverage their pre-shared secret (password, etc.), then I guess could
PKEX retro-fit or shoe-horn it in.  But then one could also, maybe just as
modularly, run a tunnel based on SPAKE2 and z inside (or outside) such an
inflexible IETF protocol to get the same effect.  For example, an online
bank could run a CA-authenticated TLS tunnel, and then run, at a higher
layer, a SPAKE2-protected connection inside the TLS tunnel, etc.

Please note, although I am deliberately trying to be extra-critical here, I
am also trying not to be contrarian.</pre>
    </blockquote>
    <br>
    </span><tt>=C2=A0 Understood. And appreciated!<br>
      <br>
      =C2=A0 regards,<br>
      <br>
      =C2=A0 Dan.<br>
      <br>
    </tt><div><div class=3D"h5">
    <blockquote type=3D"cite">
      <pre>
-----Original Message-----
From: Dan Brown=20
Sent: Tuesday, April 10, 2018 4:47 PM
To: Dan Brown <a class=3D"m_5001397464744976805moz-txt-link-rfc2396E" href=
=3D"mailto:danibrown@blackberry.com" target=3D"_blank">&lt;danibrown@blackb=
erry.com&gt;</a>; Alexey Melnikov
<a class=3D"m_5001397464744976805moz-txt-link-rfc2396E" href=3D"mailto:alex=
ey.melnikov@isode.com" target=3D"_blank">&lt;alexey.melnikov@isode.com&gt;<=
/a>; <a class=3D"m_5001397464744976805moz-txt-link-abbreviated" href=3D"mai=
lto:cfrg@irtf.org" target=3D"_blank">cfrg@irtf.org</a>
Subject: RE: [Cfrg] Adoption call for draft-harkins-pkex-05

A third very minor issue (again terminology, and arguably more pedantic):
3. The PKEX I-D uses the word &quot;trust&quot; often. It seems to me that =
is not an
equivalent in strength trust to a more conventional public-key certificate
(or a distributed web of trust either).  I think this needs clarification i=
n
the draft.  I expand on the difference below, in two closely related
sub-issues.
3a. First, if Bob lost his secret password, or has a bad RNG, then Eve may
be able to impersonate Alice to Bob, even if Alice system&#39;s is entirely
uncompromised.  In regular authenticated key exchange, this type of attack
is called key-compromise impersonation (KCI).  I guess KCI applies to every
PAKE, which is fair enough.  But PKEX has farther aims than a just PAKE,
kind of a sub-PKI. (Is PKEX a play on PKIX?)  But in a PKI, relying parties
can &quot;trust&quot; public keys, such as code signing keys, without havin=
g any
secrets at all to guard.  So, in some sense there is lesser degree of trust
provided by a PKI. =20
3b. Second, and this issue is an extension of the first (not independent of
it), I would argue that part of &quot;trust&quot; in a public key includes =
an ability
to trust its use in non-repudiable signed transaction.  Because of the KCI
threat, Alice could do PKEX with Bob, sign a message with her key A, then
try to repudiate.  Bob will not be able to prove to anybody A is Alice&#39;=
s
key, because he could have generated A himself, as if Bob did a KCI attack
on himself.  So, Bob will not be able to trust Alice as much as usual in a
PKI.

At the moment I don&#39;t have a concrete suggestion to correct this
terminology.  Also, I forget if PKI spec use the word &quot;trust&quot; or =
something
else.

-----Original Message-----
From: Cfrg [<a class=3D"m_5001397464744976805moz-txt-link-freetext" href=3D=
"mailto:cfrg-bounces@irtf.org" target=3D"_blank">mailto:cfrg-bounces@irtf.o=
rg</a>] On Behalf Of Dan Brown
Sent: Tuesday, April 10, 2018 2:00 PM
To: Alexey Melnikov <a class=3D"m_5001397464744976805moz-txt-link-rfc2396E"=
 href=3D"mailto:alexey.melnikov@isode.com" target=3D"_blank">&lt;alexey.mel=
nikov@isode.com&gt;</a>; <a class=3D"m_5001397464744976805moz-txt-link-abbr=
eviated" href=3D"mailto:cfrg@irtf.org" target=3D"_blank">cfrg@irtf.org</a>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05

I&#39;m seeing two minor issues to be resolved before adoption:
1. &quot;Public key exchange&quot; is a totally non-specific name, so much =
so, that I
oppose adoption under this name.  Public key exchange could mean
Diffie-Hellman key agreement, for example.  If PKEX has been deployed in
some places, the name should be updated retroactively.  (Sorry that this is
merely a terminology issue (as in the color of bikeshed, not the bikeshed
itself.)
2. What is the problem being solved here?  For example, I think that TLS
will or does offer PSK authentication.  So, why not just do an out-of-band
PAKE to establish a PSK, then use PSK-authenticated TLS.  So, to rephrase m=
y
question: is there some security defect with PSK-authenticated TLS that PKE=
X
solves?  Maybe this was discussed already, sorry if I missed it (and am out
of order).
Otherwise, I do not have much of an opinion in either direction.

-----Original Message-----
From: Cfrg [<a class=3D"m_5001397464744976805moz-txt-link-freetext" href=3D=
"mailto:cfrg-bounces@irtf.org" target=3D"_blank">mailto:cfrg-bounces@irtf.o=
rg</a>] On Behalf Of Alexey Melnikov
Sent: Sunday, April 8, 2018 7:42 AM
To: <a class=3D"m_5001397464744976805moz-txt-link-abbreviated" href=3D"mail=
to:cfrg@irtf.org" target=3D"_blank">cfrg@irtf.org</a>
Subject: [Cfrg] Adoption call for draft-harkins-pkex-05

Dear CFRG participants,
This message is starting a 2 weeks adoption call for
draft-harkins-pkex-05 (Public Key Exchange). From the document&#39;s
Introduction:

   [RFC7250] further states that &quot;the main security challenge [to usin=
g
   &#39;raw&#39; public keys] is how to associate the public key with a spe=
cific
   entity.  Without a secure binding between identifier and key, the
   protocol will be vulnerable to man-in-the- middle attacks.&quot;

   The Public Key Exchange (PKEX) is designed to fill that gap: it
   establishes a secure binding between exchanged public keys and
   identifiers, it provides proof-of-possession of the exchanged public
   keys to each peer, and it enables the establishment of trust in
   public keys that can subsequently be used to facilitate
   authentication in other authentication and key exchange protocols.
   At the end of a successful run of PKEX the two peers will have trust
   in each others exchanged public keys and also share an authenticated
   symmetric key which may be discarded or used for another purpose.

The adoption call will last for 2 weeks and will end on April 22nd.

Thank you,
Kenny and Alexey

______________________________<wbr>_________________
Cfrg mailing list
<a class=3D"m_5001397464744976805moz-txt-link-abbreviated" href=3D"mailto:C=
frg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a>
<a class=3D"m_5001397464744976805moz-txt-link-freetext" href=3D"https://www=
.irtf.org/mailman/listinfo/cfrg" target=3D"_blank">https://www.irtf.org/mai=
lman/<wbr>listinfo/cfrg</a>
</pre>
      <br>
      <fieldset class=3D"m_5001397464744976805mimeAttachmentHeader"></field=
set>
      <br>
      <pre>______________________________<wbr>_________________
Cfrg mailing list
<a class=3D"m_5001397464744976805moz-txt-link-abbreviated" href=3D"mailto:C=
frg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a>
<a class=3D"m_5001397464744976805moz-txt-link-freetext" href=3D"https://www=
.irtf.org/mailman/listinfo/cfrg" target=3D"_blank">https://www.irtf.org/mai=
lman/<wbr>listinfo/cfrg</a>
</pre>
    </blockquote>
    <br>
  </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>

--00000000000037b6bc05699682e9--


From nobody Wed Apr 11 13:16:48 2018
Return-Path: <Jeff.Hodges@kingsmountain.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 DD30212D72F for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 13:16:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.003
X-Spam-Level: 
X-Spam-Status: No, score=-0.003 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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 BFlopsaLbADP for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 13:16:45 -0700 (PDT)
Received: from qproxy1-pub.mail.unifiedlayer.com (qproxy1-pub.mail.unifiedlayer.com [173.254.64.10]) (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 5336A1271FD for <cfrg@irtf.org>; Wed, 11 Apr 2018 13:16:45 -0700 (PDT)
Received: from cmgw2 (unknown [10.0.90.83]) by qproxy1.mail.unifiedlayer.com (Postfix) with ESMTP id 7F3B912009F for <cfrg@irtf.org>; Wed, 11 Apr 2018 14:16:37 -0600 (MDT)
Received: from box514.bluehost.com ([74.220.219.114]) by cmgw2 with  id Z86E1x02x2UhLwi018GENH; Wed, 11 Apr 2018 14:16:35 -0600
X-Authority-Reason: s=1
X-Authority-Analysis: v=2.2 cv=M5g9E24s c=1 sm=1 tr=0 a=9W6Fsu4pMcyimqnCr1W0/w==:117 a=9W6Fsu4pMcyimqnCr1W0/w==:17 a=IkcTkHD0fZMA:10 a=Kd1tUaAdevIA:10 a=PYnjg3YJAAAA:8 a=I3S-fYIfWB04JUTgqH0A:9 a=oRxTY-XNxxVD2-Zg:21 a=GOc4Ewk7s7MNr9FB:21 a=QEXdDO2ut3YA:10 a=96-UuAdfYG6OSYlHWuPe:22
Received: from [173.224.162.69] (port=4064 helo=[10.225.82.86]) by box514.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from <Jeff.Hodges@KingsMountain.com>) id 1f6Kg1-002Ax4-Qb for cfrg@irtf.org; Wed, 11 Apr 2018 12:41:01 -0600
To: cfrg@irtf.org
From: =JeffH <Jeff.Hodges@KingsMountain.com>
Message-ID: <b3ed6c54-ab6f-8722-bd60-15d0f31b75cc@KingsMountain.com>
Date: Wed, 11 Apr 2018 11:40:59 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - box514.bluehost.com
X-AntiAbuse: Original Domain - irtf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - KingsMountain.com
X-BWhitelist: no
X-Source-IP: 173.224.162.69
X-Exim-ID: 1f6Kg1-002Ax4-Qb
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Source-Sender: ([10.225.82.86]) [173.224.162.69]:4064
X-Source-Auth: jeff.hodges+kingsmountain.com
X-Email-Count: 0
X-Source-Cap: a2luZ3Ntb3U7a2luZ3Ntb3U7Ym94NTE0LmJsdWVob3N0LmNvbQ==
X-Local-Domain: no
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/0fmN-hkjWMTTxvM5wOog3Je9aNc>
Subject: [Cfrg] =?utf-8?q?fyi=3A_NIST=E2=80=99s_New_Quantum_Method_Generat?= =?utf-8?q?es_Really_Random_Numbers_=28they_claim=29?=
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 11 Apr 2018 20:16:47 -0000

of possible interest...


From: "National Institute of Standards and Technology (NIST)"
Date: Wednesday, April 11, 2018 at 11:04 AM
Subject: NIST’s New Quantum Method Generates Really Random Numbers

Experimental technique may enhance security and trust in cryptographic 
systems...


NIST’s New Quantum Method Generates Really Random Numbers
https://www.nist.gov/news-events/news/2018/04/nists-new-quantum-method-generates-really-random-numbers


Researchers at the National Institute of Standards and Technology (NIST) 
have developed a method for generating numbers guaranteed to be random 
by quantum mechanics. Described in the April 12 issue of Nature, the 
experimental technique surpasses all previous methods for ensuring the 
unpredictability of its random numbers and may enhance security and 
trust in cryptographic systems.

[...]


From nobody Wed Apr 11 13:49:44 2018
Return-Path: <Jeff.Hodges@kingsmountain.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 5B79C129C59 for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 13:49:43 -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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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 lwE6vlpBGDdU for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 13:49:41 -0700 (PDT)
Received: from gproxy9-pub.mail.unifiedlayer.com (gproxy9-pub.mail.unifiedlayer.com [69.89.20.122]) (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 5CB5012D77E for <cfrg@irtf.org>; Wed, 11 Apr 2018 13:49:41 -0700 (PDT)
Received: from cmgw4 (unknown [10.0.90.85]) by gproxy9.mail.unifiedlayer.com (Postfix) with ESMTP id 448651E07B5 for <cfrg@irtf.org>; Wed, 11 Apr 2018 14:49:32 -0600 (MDT)
Received: from box514.bluehost.com ([74.220.219.114]) by cmgw4 with  id Z8pU1x00B2UhLwi018pX04; Wed, 11 Apr 2018 14:49:32 -0600
X-Authority-Analysis: v=2.2 cv=G85sK5s5 c=1 sm=1 tr=0 a=9W6Fsu4pMcyimqnCr1W0/w==:117 a=9W6Fsu4pMcyimqnCr1W0/w==:17 a=IkcTkHD0fZMA:10 a=Kd1tUaAdevIA:10 a=lyRYXRXIAAAA:8 a=9OQ0qarsAAAA:8 a=cMPRhGSLAAAA:8 a=YFVDfM67vLH15NoKleIA:9 a=QEXdDO2ut3YA:10 a=VByxsBQXhDNqntnM_-SO:22 a=MY6nsNME8ze9f8DOcFcP:22 a=jtIZKijodqmz_Wdb4Ahg:22
Received: from [173.224.162.69] (port=51655 helo=[10.225.82.86]) by box514.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from <Jeff.Hodges@KingsMountain.com>) id 1f6MgJ-003SjN-VG for cfrg@irtf.org; Wed, 11 Apr 2018 14:49:27 -0600
To: cfrg@irtf.org
From: =JeffH <Jeff.Hodges@KingsMountain.com>
Message-ID: <4075eab5-65e2-e635-d9fb-408529ae4632@KingsMountain.com>
Date: Wed, 11 Apr 2018 13:49:26 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - box514.bluehost.com
X-AntiAbuse: Original Domain - irtf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - KingsMountain.com
X-BWhitelist: no
X-Source-IP: 173.224.162.69
X-Exim-ID: 1f6MgJ-003SjN-VG
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Source-Sender: ([10.225.82.86]) [173.224.162.69]:51655
X-Source-Auth: jeff.hodges+kingsmountain.com
X-Email-Count: 1
X-Source-Cap: a2luZ3Ntb3U7a2luZ3Ntb3U7Ym94NTE0LmJsdWVob3N0LmNvbQ==
X-Local-Domain: no
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/JP2d-ldr9LQdqkcYiFmp3EdoUgI>
Subject: Re: [Cfrg] SHE Key Update Protocol
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 11 Apr 2018 20:49:43 -0000

 > Anyone know of any published formal analysis/modeling of it?

hm, I get only one hit when searching goog scholar for [ "SHE Key 
Update" Protocol ]:

Approaches for secure and efficient in-vehicle key management
T Sugashima, DK Oka, C Vuillaume - SAE International Journal of …, 2016 
- papers.sae.org
https://www.denso.com/jp/ja/innovation/technology/dtr/v21/paper-16.pdf

..which contains some modest threat analysis.

In it, they say in part:

HIS,  a  car  consortium  consisting  of  several  major
German  auto  manufacturers,  has  developed  an
implementation  specification  for  secure  hardware
called  SHE  (secure  hardware  extension).  SHE
provides  various  security  functionalities  such  as  MAC
generation  and  verification  based  on  a  hardware  AES
engine  and  loading  of  symmetric  keys  into  secure
key  storage.  To  be  able  to  support  security  use  cases
where  SHE  functionality  is  not  sufficient,  Bosch  has
developed  a  Bosch  HSM  (hardware  security  module)
specification.  HSM  provides  further  support  for
security  functionalities  as  it  has  in  addition  to  a
hardware  AES  engine,  a  dedicated  secure  CPU  and
secure  memory  allowing  it  to  be  programmable  to
support  a  vast  range  of  use  cases.  The  AUTOSAR
specification  4.2.1  includes  CSM  (crypto  services
manager)  and  describes  how  cryptographic  keys
can  be  used  to  support  use  cases  such  as  to  protect
the  in-vehicle  communication.


tho search goog scholar for [ SHE  "Secure hardware extension" analysis 
] yields some further hits, including:

Design, implementation, and evaluation of a vehicular hardware security 
module
M Wolf, T Gendrullis - … Conference on Information Security and 
Cryptology, 2011 - Springer
http://www.marko-wolf.de/files/WoGe12_Automotive_HSM.pdf

..also containing some modest security analysis.

HTH,

=JeffH


From nobody Wed Apr 11 14:06:48 2018
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 618A912D77C for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 14:06:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, 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 cjGd4_RUNaBW for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 14:06:42 -0700 (PDT)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id B3D70127876 for <cfrg@irtf.org>; Wed, 11 Apr 2018 14:06:42 -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 2234CA888018; Wed, 11 Apr 2018 14:06:42 -0700 (PDT)
To: Richard Barnes <rlb@ipv.sx>
Cc: cfrg@irtf.org
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net> <16affdfc-df9a-a883-e0d6-dd52efee15e4@lounge.org> <CAL02cgT72J=cboruKiHnF4BP7ffaDfae=JeoYDJJfjenF4wC8Q@mail.gmail.com>
From: Dan Harkins <dharkins@lounge.org>
Message-ID: <fe239e8a-0a64-4b8b-7dba-f38fcfcdc4fd@lounge.org>
Date: Wed, 11 Apr 2018 14:06:39 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <CAL02cgT72J=cboruKiHnF4BP7ffaDfae=JeoYDJJfjenF4wC8Q@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------AD7BB3B2EBD999087FD197D5"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/nxmcmLOpSqoUtFSUo0b0Hz9pbVg>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 11 Apr 2018 21:06:46 -0000

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


   Hi Richard,

On 4/11/18 11:07 AM, Richard Barnes wrote:
> Just to confirm I understand here, the scenario this is intended to 
> address is as follows (?):
>
> - Two parties share a password
> - Each party wishes to allow the other to assert an identity, where 
> the assertion is authenticated by the password

   Each party wishes to stop using passwords and migrate to public keys. 
Imagine
they want to do MQV or IKE or some other protocol that uses uncertified 
public
keys.

> I would be interested to learn why people think this a useful problem 
> to solve.  If you have a system for provisioning passwords, couldn't 
> you just as well provision key fingerprints?  If you care about 
> identities (say if you're using the password to authenticate a group, 
> and you want identities to distinguish individual members), then why 
> are you OK with raw assertion, allowing anyone to claim any identity?

   Yes, you can provision key fingerprints but it's difficult to manage 
256-bit
hexidecimal strings which is why people always look to some other 
technique. You
could use the "Drunken Bishop" algorithm to make a graphical 
representation of
the public key. The security of that is not well-established though 
(i.e. how
hard is it to come up with a key that makes a drunken bishop walk that 
looks enough
like yours to make people think my key is yours? I don't think anyone 
knows exactly).
Humans make mistakes and PKEX is robust and allows for simple, easy to 
provision
credentials to be used.

   The reason a raw assertion is OK is because you and I are agreeing on 
what
the password is so we can decide what identity I will accept. But I will 
know
that it's you because you're the only guy I shared the password with.

> Assuming this is a useful problem to solve, it's not clear to me that 
> this is the best way to solve it.  For example, it seems like the 
> parties could perform a traditional PAKE, then send their preferred 
> identities to each other protected by the negotiated key.  Note that 
> this is basically what happens with the TLS-PAKE I-D that I submitted 
> earlier today 
> (https://datatracker.ietf.org/doc/draft-barnes-tls-pake/), though in 
> that case, you can have either certified or uncertified keys.

   TLS-pake, yea! What used to be draft-ietf-tls-pwd-- certificate-less 
authentication
for TLS-- is sitting in the RFC editor's queue waiting for the TLS 
registry to get reworked.

   PKEX is a little different though. You could do TLS-pake and use the 
negotiated
key with an identity you pass but then you'd have to maintain a 
multiplicity of
public keys, one for each server you did TLS-pake to, otherwise you void 
the security
of TLS-pake. PKEX will allow me to share my single uncertified public 
key with multiple
people (using different passwords, of course).

   Also, I don't want to have to do TLS to obtain trust in a public key.

   regards,

   Dan.
> This latter question seems important for the adoption question.  If 
> this is just a usage of a PAKE, then it's a protocol question more 
> suited to IETF.  Only if there's a need to entangle the identity in 
> the PAKE would we need this group to opine.
>
>
> On Wed, Apr 11, 2018 at 12:25 PM, Dan Harkins <dharkins@lounge.org 
> <mailto:dharkins@lounge.org>> wrote:
>
>
>       Hi Dan,
>
>     On 4/11/18 8:25 AM, Dan Brown wrote:
>>     A 4th issue/question, not really about terminology, but more definitional,
>>     also a bit uncertain (I'm tiring out on this one):
>>
>>     The authentication phase of PKEX is basically just SPAKE2, and goes from a
>>     weak password to a strong symmetric key z.  I'm still fine with this phase,
>>     modulo (1) subtle differences in PAKEs that I do not yet understand and (2)
>>     questions whether passwords are properly in scope of IETF, since they don't
>>     scale well globally, etc.
>
>       No they don't. They scale about as well as raw public keys :-)
>     But they
>     are in scope.
>
>>     The reveal phase does not seem to add obvious value.  It seems to be almost
>>     the opposite of static Diffie-Hellman. We can switch back and forth between
>>     a secret symmetric key z and authenticated asymmetric keys A,B.   What can
>>     Alice and Bob with A and B that they could not already do with z.
>>     Authenticate messages?  They can use HMAC with z - instead of (repudiable)
>>     signatures or OTR with A and B.  Send each other secret messages? They can
>>     use AES, etc, with z, - instead of ECIES with A or B?   Generate yet more
>>     symmetric keys? They can use KDFs, PRFs, wrapped keys, etc., - instead of
>>     Diffie-Hellman or MQV.
>
>       Yes, z (or keys derived from it) can be used for all sorts of
>     things while
>     Alice and Bob are still talking to each other. This is mentioned
>     at the end
>     of section 5.2.
>
>       The value of the reveal phase is confirmation of SPAKE2 and
>     gained trust
>     in the public keys. The ability to successfully unwrap a received
>     message
>     authenticates the SPAKE2 exchange. The identity associated with
>     the password
>     is confirmed. The guarantees that AES-SIV provide mean that the
>     received
>     public key could only be sent by someone who knows z (and there
>     are only
>     two people in the world that know z at that time) so the received
>     key has
>     integrity and it is bound to the identity authenticated by SPAKE2.
>     Finally,
>     proof of possession is provided by the peer using its private key
>     with the
>     ephemeral share sent in SPAKE2 to symmetrically "sign" information
>     binding
>     it to the exchange.
>
>>     If some IETF protocols use public keys but lack any means for Alice and Bob
>>     to leverage their pre-shared secret (password, etc.), then I guess could
>>     PKEX retro-fit or shoe-horn it in.  But then one could also, maybe just as
>>     modularly, run a tunnel based on SPAKE2 and z inside (or outside) such an
>>     inflexible IETF protocol to get the same effect.  For example, an online
>>     bank could run a CA-authenticated TLS tunnel, and then run, at a higher
>>     layer, a SPAKE2-protected connection inside the TLS tunnel, etc.
>>
>>     Please note, although I am deliberately trying to be extra-critical here, I
>>     am also trying not to be contrarian.
>
>       Understood. And appreciated!
>
>       regards,
>
>       Dan.
>
>>     -----Original Message-----
>>     From: Dan Brown
>>     Sent: Tuesday, April 10, 2018 4:47 PM
>>     To: Dan Brown<danibrown@blackberry.com> <mailto:danibrown@blackberry.com>; Alexey Melnikov
>>     <alexey.melnikov@isode.com> <mailto:alexey.melnikov@isode.com>;cfrg@irtf.org <mailto:cfrg@irtf.org>
>>     Subject: RE: [Cfrg] Adoption call for draft-harkins-pkex-05
>>
>>     A third very minor issue (again terminology, and arguably more pedantic):
>>     3. The PKEX I-D uses the word "trust" often. It seems to me that is not an
>>     equivalent in strength trust to a more conventional public-key certificate
>>     (or a distributed web of trust either).  I think this needs clarification in
>>     the draft.  I expand on the difference below, in two closely related
>>     sub-issues.
>>     3a. First, if Bob lost his secret password, or has a bad RNG, then Eve may
>>     be able to impersonate Alice to Bob, even if Alice system's is entirely
>>     uncompromised.  In regular authenticated key exchange, this type of attack
>>     is called key-compromise impersonation (KCI).  I guess KCI applies to every
>>     PAKE, which is fair enough.  But PKEX has farther aims than a just PAKE,
>>     kind of a sub-PKI. (Is PKEX a play on PKIX?)  But in a PKI, relying parties
>>     can "trust" public keys, such as code signing keys, without having any
>>     secrets at all to guard.  So, in some sense there is lesser degree of trust
>>     provided by a PKI.
>>     3b. Second, and this issue is an extension of the first (not independent of
>>     it), I would argue that part of "trust" in a public key includes an ability
>>     to trust its use in non-repudiable signed transaction.  Because of the KCI
>>     threat, Alice could do PKEX with Bob, sign a message with her key A, then
>>     try to repudiate.  Bob will not be able to prove to anybody A is Alice's
>>     key, because he could have generated A himself, as if Bob did a KCI attack
>>     on himself.  So, Bob will not be able to trust Alice as much as usual in a
>>     PKI.
>>
>>     At the moment I don't have a concrete suggestion to correct this
>>     terminology.  Also, I forget if PKI spec use the word "trust" or something
>>     else.
>>
>>     -----Original Message-----
>>     From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Dan Brown
>>     Sent: Tuesday, April 10, 2018 2:00 PM
>>     To: Alexey Melnikov<alexey.melnikov@isode.com> <mailto:alexey.melnikov@isode.com>;cfrg@irtf.org <mailto:cfrg@irtf.org>
>>     Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
>>
>>     I'm seeing two minor issues to be resolved before adoption:
>>     1. "Public key exchange" is a totally non-specific name, so much so, that I
>>     oppose adoption under this name.  Public key exchange could mean
>>     Diffie-Hellman key agreement, for example.  If PKEX has been deployed in
>>     some places, the name should be updated retroactively.  (Sorry that this is
>>     merely a terminology issue (as in the color of bikeshed, not the bikeshed
>>     itself.)
>>     2. What is the problem being solved here?  For example, I think that TLS
>>     will or does offer PSK authentication.  So, why not just do an out-of-band
>>     PAKE to establish a PSK, then use PSK-authenticated TLS.  So, to rephrase my
>>     question: is there some security defect with PSK-authenticated TLS that PKEX
>>     solves?  Maybe this was discussed already, sorry if I missed it (and am out
>>     of order).
>>     Otherwise, I do not have much of an opinion in either direction.
>>
>>     -----Original Message-----
>>     From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Alexey Melnikov
>>     Sent: Sunday, April 8, 2018 7:42 AM
>>     To:cfrg@irtf.org <mailto:cfrg@irtf.org>
>>     Subject: [Cfrg] Adoption call for draft-harkins-pkex-05
>>
>>     Dear CFRG participants,
>>     This message is starting a 2 weeks adoption call for
>>     draft-harkins-pkex-05 (Public Key Exchange). From the document's
>>     Introduction:
>>
>>         [RFC7250] further states that "the main security challenge [to using
>>         'raw' public keys] is how to associate the public key with a specific
>>         entity.  Without a secure binding between identifier and key, the
>>         protocol will be vulnerable to man-in-the- middle attacks."
>>
>>         The Public Key Exchange (PKEX) is designed to fill that gap: it
>>         establishes a secure binding between exchanged public keys and
>>         identifiers, it provides proof-of-possession of the exchanged public
>>         keys to each peer, and it enables the establishment of trust in
>>         public keys that can subsequently be used to facilitate
>>         authentication in other authentication and key exchange protocols.
>>         At the end of a successful run of PKEX the two peers will have trust
>>         in each others exchanged public keys and also share an authenticated
>>         symmetric key which may be discarded or used for another purpose.
>>
>>     The adoption call will last for 2 weeks and will end on April 22nd.
>>
>>     Thank you,
>>     Kenny and Alexey
>>
>>     _______________________________________________
>>     Cfrg mailing list
>>     Cfrg@irtf.org <mailto:Cfrg@irtf.org>
>>     https://www.irtf.org/mailman/listinfo/cfrg
>>     <https://www.irtf.org/mailman/listinfo/cfrg>
>>
>>
>>     _______________________________________________
>>     Cfrg mailing list
>>     Cfrg@irtf.org <mailto:Cfrg@irtf.org>
>>     https://www.irtf.org/mailman/listinfo/cfrg
>>     <https://www.irtf.org/mailman/listinfo/cfrg>
>
>
>     _______________________________________________
>     Cfrg mailing list
>     Cfrg@irtf.org <mailto:Cfrg@irtf.org>
>     https://www.irtf.org/mailman/listinfo/cfrg
>     <https://www.irtf.org/mailman/listinfo/cfrg>
>
>


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

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <tt>  Hi Richard,</tt><br>
    <br>
    <div class="moz-cite-prefix">On 4/11/18 11:07 AM, Richard Barnes
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAL02cgT72J=cboruKiHnF4BP7ffaDfae=JeoYDJJfjenF4wC8Q@mail.gmail.com">
      <div dir="ltr">
        <div>Just to confirm I understand here, the scenario this is
          intended to address is as follows (?):</div>
        <div><br>
        </div>
        <div>- Two parties share a password<br>
        </div>
        <div>- Each party wishes to allow the other to assert an
          identity, where the assertion is authenticated by the password</div>
      </div>
    </blockquote>
    <br>
    <tt>  Each party wishes to stop using passwords and migrate to
      public keys. Imagine<br>
      they want to do MQV or IKE or some other protocol that uses
      uncertified public <br>
      keys.<br>
      <br>
    </tt>
    <blockquote type="cite"
cite="mid:CAL02cgT72J=cboruKiHnF4BP7ffaDfae=JeoYDJJfjenF4wC8Q@mail.gmail.com">
      <div dir="ltr">
        <div>I would be interested to learn why people think this a
          useful problem to solve.  If you have a system for
          provisioning passwords, couldn't you just as well provision
          key fingerprints?  If you care about identities (say if you're
          using the password to authenticate a group, and you want
          identities to distinguish individual members), then why are
          you OK with raw assertion, allowing anyone to claim any
          identity?<br>
        </div>
      </div>
    </blockquote>
    <br>
    <tt>  Yes, you can provision key fingerprints but it's difficult to
      manage 256-bit<br>
      hexidecimal strings which is why people always look to some other
      technique. You<br>
      could use the "Drunken Bishop" algorithm to make a graphical
      representation of<br>
      the public key. The security of that is not well-established
      though (i.e. how<br>
      hard is it to come up with a key that makes a drunken bishop walk
      that looks enough<br>
      like yours to make people think my key is yours? I don't think
      anyone knows exactly).<br>
      Humans make mistakes and PKEX is robust and allows for simple,
      easy to provision<br>
      credentials to be used.<br>
      <br>
        The reason a raw assertion is OK is because you and I are
      agreeing on what<br>
      the password is so we can decide what identity I will accept. But
      I will know<br>
      that it's you because you're the only guy I shared the password
      with. <br>
      <br>
    </tt>
    <blockquote type="cite"
cite="mid:CAL02cgT72J=cboruKiHnF4BP7ffaDfae=JeoYDJJfjenF4wC8Q@mail.gmail.com">
      <div dir="ltr">
        <div>Assuming this is a useful problem to solve, it's not clear
          to me that this is the best way to solve it.  For example, it
          seems like the parties could perform a traditional PAKE, then
          send their preferred identities to each other protected by the
          negotiated key.  Note that this is basically what happens with
          the TLS-PAKE I-D that I submitted earlier today (<a
            href="https://datatracker.ietf.org/doc/draft-barnes-tls-pake/"
            moz-do-not-send="true">https://datatracker.ietf.org/doc/draft-barnes-tls-pake/</a>),
          though in that case, you can have either certified or
          uncertified keys.<br>
        </div>
      </div>
    </blockquote>
    <br>
    <tt>  TLS-pake, yea! What used to be draft-ietf-tls-pwd--
      certificate-less authentication<br>
      for TLS-- is sitting in the RFC editor's queue waiting for the TLS
      registry to get reworked. <br>
      <br>
        PKEX is a little different though. You could do TLS-pake and use
      the negotiated<br>
      key with an identity you pass but then you'd have to maintain a
      multiplicity of<br>
      public keys, one for each server you did TLS-pake to, otherwise
      you void the security<br>
      of TLS-pake. PKEX will allow me to share my single uncertified
      public key with multiple<br>
      people (using different passwords, of course).<br>
      <br>
        Also, I don't want to have to do TLS to obtain trust in a public
      key.<br>
      <br>
        regards, <br>
      <br>
        Dan.<br>
    </tt>
    <blockquote type="cite"
cite="mid:CAL02cgT72J=cboruKiHnF4BP7ffaDfae=JeoYDJJfjenF4wC8Q@mail.gmail.com">
      <div dir="ltr">
        <div>This latter question seems important for the adoption
          question.  If this is just a usage of a PAKE, then it's a
          protocol question more suited to IETF.  Only if there's a need
          to entangle the identity in the PAKE would we need this group
          to opine.<br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Apr 11, 2018 at 12:25 PM, Dan
          Harkins <span dir="ltr">&lt;<a
              href="mailto:dharkins@lounge.org" target="_blank"
              moz-do-not-send="true">dharkins@lounge.org</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> <br>
              <tt>  Hi Dan,</tt><span class=""><br>
                <br>
                <div class="m_5001397464744976805moz-cite-prefix">On
                  4/11/18 8:25 AM, Dan Brown wrote:<br>
                </div>
                <blockquote type="cite">
                  <pre>A 4th issue/question, not really about terminology, but more definitional,
also a bit uncertain (I'm tiring out on this one):

The authentication phase of PKEX is basically just SPAKE2, and goes from a
weak password to a strong symmetric key z.  I'm still fine with this phase,
modulo (1) subtle differences in PAKEs that I do not yet understand and (2)
questions whether passwords are properly in scope of IETF, since they don't
scale well globally, etc.</pre>
                </blockquote>
                <br>
              </span><tt>  No they don't. They scale about as well as
                raw public keys :-) But they<br>
                are in scope.  <br>
                <br>
              </tt><span class="">
                <blockquote type="cite">
                  <pre>The reveal phase does not seem to add obvious value.  It seems to be almost
the opposite of static Diffie-Hellman. We can switch back and forth between
a secret symmetric key z and authenticated asymmetric keys A,B.   What can
Alice and Bob with A and B that they could not already do with z.
Authenticate messages?  They can use HMAC with z - instead of (repudiable)
signatures or OTR with A and B.  Send each other secret messages? They can
use AES, etc, with z, - instead of ECIES with A or B?   Generate yet more
symmetric keys? They can use KDFs, PRFs, wrapped keys, etc., - instead of
Diffie-Hellman or MQV.  </pre>
                </blockquote>
                <br>
              </span><tt>  Yes, z (or keys derived from it) can be used
                for all sorts of things while<br>
                Alice and Bob are still talking to each other. This is
                mentioned at the end<br>
                of section 5.2.<br>
                <br>
                  The value of the reveal phase is confirmation of
                SPAKE2 and gained trust<br>
                in the public keys. The ability to successfully unwrap a
                received message<br>
                authenticates the SPAKE2 exchange. The identity
                associated with the password<br>
                is confirmed. The guarantees that AES-SIV provide mean
                that the received<br>
                public key could only be sent by someone who knows z
                (and there are only<br>
                two people in the world that know z at that time) so the
                received key has<br>
                integrity and it is bound to the identity authenticated
                by SPAKE2. Finally,<br>
                proof of possession is provided by the peer using its
                private key with the<br>
                ephemeral share sent in SPAKE2 to symmetrically "sign"
                information binding<br>
                it to the exchange.<br>
                <br>
              </tt><span class="">
                <blockquote type="cite">
                  <pre>If some IETF protocols use public keys but lack any means for Alice and Bob
to leverage their pre-shared secret (password, etc.), then I guess could
PKEX retro-fit or shoe-horn it in.  But then one could also, maybe just as
modularly, run a tunnel based on SPAKE2 and z inside (or outside) such an
inflexible IETF protocol to get the same effect.  For example, an online
bank could run a CA-authenticated TLS tunnel, and then run, at a higher
layer, a SPAKE2-protected connection inside the TLS tunnel, etc.

Please note, although I am deliberately trying to be extra-critical here, I
am also trying not to be contrarian.</pre>
                </blockquote>
                <br>
              </span><tt>  Understood. And appreciated!<br>
                <br>
                  regards,<br>
                <br>
                  Dan.<br>
                <br>
              </tt>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <pre>-----Original Message-----
From: Dan Brown 
Sent: Tuesday, April 10, 2018 4:47 PM
To: Dan Brown <a class="m_5001397464744976805moz-txt-link-rfc2396E" href="mailto:danibrown@blackberry.com" target="_blank" moz-do-not-send="true">&lt;danibrown@blackberry.com&gt;</a>; Alexey Melnikov
<a class="m_5001397464744976805moz-txt-link-rfc2396E" href="mailto:alexey.melnikov@isode.com" target="_blank" moz-do-not-send="true">&lt;alexey.melnikov@isode.com&gt;</a>; <a class="m_5001397464744976805moz-txt-link-abbreviated" href="mailto:cfrg@irtf.org" target="_blank" moz-do-not-send="true">cfrg@irtf.org</a>
Subject: RE: [Cfrg] Adoption call for draft-harkins-pkex-05

A third very minor issue (again terminology, and arguably more pedantic):
3. The PKEX I-D uses the word "trust" often. It seems to me that is not an
equivalent in strength trust to a more conventional public-key certificate
(or a distributed web of trust either).  I think this needs clarification in
the draft.  I expand on the difference below, in two closely related
sub-issues.
3a. First, if Bob lost his secret password, or has a bad RNG, then Eve may
be able to impersonate Alice to Bob, even if Alice system's is entirely
uncompromised.  In regular authenticated key exchange, this type of attack
is called key-compromise impersonation (KCI).  I guess KCI applies to every
PAKE, which is fair enough.  But PKEX has farther aims than a just PAKE,
kind of a sub-PKI. (Is PKEX a play on PKIX?)  But in a PKI, relying parties
can "trust" public keys, such as code signing keys, without having any
secrets at all to guard.  So, in some sense there is lesser degree of trust
provided by a PKI.  
3b. Second, and this issue is an extension of the first (not independent of
it), I would argue that part of "trust" in a public key includes an ability
to trust its use in non-repudiable signed transaction.  Because of the KCI
threat, Alice could do PKEX with Bob, sign a message with her key A, then
try to repudiate.  Bob will not be able to prove to anybody A is Alice's
key, because he could have generated A himself, as if Bob did a KCI attack
on himself.  So, Bob will not be able to trust Alice as much as usual in a
PKI.

At the moment I don't have a concrete suggestion to correct this
terminology.  Also, I forget if PKI spec use the word "trust" or something
else.

-----Original Message-----
From: Cfrg [<a class="m_5001397464744976805moz-txt-link-freetext" href="mailto:cfrg-bounces@irtf.org" target="_blank" moz-do-not-send="true">mailto:cfrg-bounces@irtf.org</a>] On Behalf Of Dan Brown
Sent: Tuesday, April 10, 2018 2:00 PM
To: Alexey Melnikov <a class="m_5001397464744976805moz-txt-link-rfc2396E" href="mailto:alexey.melnikov@isode.com" target="_blank" moz-do-not-send="true">&lt;alexey.melnikov@isode.com&gt;</a>; <a class="m_5001397464744976805moz-txt-link-abbreviated" href="mailto:cfrg@irtf.org" target="_blank" moz-do-not-send="true">cfrg@irtf.org</a>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05

I'm seeing two minor issues to be resolved before adoption:
1. "Public key exchange" is a totally non-specific name, so much so, that I
oppose adoption under this name.  Public key exchange could mean
Diffie-Hellman key agreement, for example.  If PKEX has been deployed in
some places, the name should be updated retroactively.  (Sorry that this is
merely a terminology issue (as in the color of bikeshed, not the bikeshed
itself.)
2. What is the problem being solved here?  For example, I think that TLS
will or does offer PSK authentication.  So, why not just do an out-of-band
PAKE to establish a PSK, then use PSK-authenticated TLS.  So, to rephrase my
question: is there some security defect with PSK-authenticated TLS that PKEX
solves?  Maybe this was discussed already, sorry if I missed it (and am out
of order).
Otherwise, I do not have much of an opinion in either direction.

-----Original Message-----
From: Cfrg [<a class="m_5001397464744976805moz-txt-link-freetext" href="mailto:cfrg-bounces@irtf.org" target="_blank" moz-do-not-send="true">mailto:cfrg-bounces@irtf.org</a>] On Behalf Of Alexey Melnikov
Sent: Sunday, April 8, 2018 7:42 AM
To: <a class="m_5001397464744976805moz-txt-link-abbreviated" href="mailto:cfrg@irtf.org" target="_blank" moz-do-not-send="true">cfrg@irtf.org</a>
Subject: [Cfrg] Adoption call for draft-harkins-pkex-05

Dear CFRG participants,
This message is starting a 2 weeks adoption call for
draft-harkins-pkex-05 (Public Key Exchange). From the document's
Introduction:

   [RFC7250] further states that "the main security challenge [to using
   'raw' public keys] is how to associate the public key with a specific
   entity.  Without a secure binding between identifier and key, the
   protocol will be vulnerable to man-in-the- middle attacks."

   The Public Key Exchange (PKEX) is designed to fill that gap: it
   establishes a secure binding between exchanged public keys and
   identifiers, it provides proof-of-possession of the exchanged public
   keys to each peer, and it enables the establishment of trust in
   public keys that can subsequently be used to facilitate
   authentication in other authentication and key exchange protocols.
   At the end of a successful run of PKEX the two peers will have trust
   in each others exchanged public keys and also share an authenticated
   symmetric key which may be discarded or used for another purpose.

The adoption call will last for 2 weeks and will end on April 22nd.

Thank you,
Kenny and Alexey

______________________________<wbr>_________________
Cfrg mailing list
<a class="m_5001397464744976805moz-txt-link-abbreviated" href="mailto:Cfrg@irtf.org" target="_blank" moz-do-not-send="true">Cfrg@irtf.org</a>
<a class="m_5001397464744976805moz-txt-link-freetext" href="https://www.irtf.org/mailman/listinfo/cfrg" target="_blank" moz-do-not-send="true">https://www.irtf.org/mailman/<wbr>listinfo/cfrg</a>
</pre>
                    <br>
                    <fieldset
                      class="m_5001397464744976805mimeAttachmentHeader"></fieldset>
                    <br>
                    <pre>______________________________<wbr>_________________
Cfrg mailing list
<a class="m_5001397464744976805moz-txt-link-abbreviated" href="mailto:Cfrg@irtf.org" target="_blank" moz-do-not-send="true">Cfrg@irtf.org</a>
<a class="m_5001397464744976805moz-txt-link-freetext" href="https://www.irtf.org/mailman/listinfo/cfrg" target="_blank" moz-do-not-send="true">https://www.irtf.org/mailman/<wbr>listinfo/cfrg</a>
</pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            Cfrg mailing list<br>
            <a href="mailto:Cfrg@irtf.org" moz-do-not-send="true">Cfrg@irtf.org</a><br>
            <a href="https://www.irtf.org/mailman/listinfo/cfrg"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://www.irtf.org/mailman/<wbr>listinfo/cfrg</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------AD7BB3B2EBD999087FD197D5--


From nobody Wed Apr 11 14:59:05 2018
Return-Path: <rlb@ipv.sx>
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 4E84412D7E8 for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 14:59:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level: 
X-Spam-Status: No, score=-1.909 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, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ipv-sx.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 ioZcA2Lla4S0 for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 14:59:00 -0700 (PDT)
Received: from mail-ot0-x22c.google.com (mail-ot0-x22c.google.com [IPv6:2607:f8b0:4003:c0f::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 81E8A12422F for <cfrg@irtf.org>; Wed, 11 Apr 2018 14:59:00 -0700 (PDT)
Received: by mail-ot0-x22c.google.com with SMTP id o9-v6so3753922otj.5 for <cfrg@irtf.org>; Wed, 11 Apr 2018 14:59:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=oQAr7nzWj3VNugVlIFqQLUDrmRPIQEl1VydSnBiWWL8=; b=w1vmY5Rkbl2C6mxuLR29hVTFyRxJIqN96fSu4pFkfK1klY6om6SuFVWSLFERgm4Rjf 8yXQOscINioIUmVJMKuE5UinbM4f2blW/7/LemJ13rN36f8oaBQERlzsC1F9QdWEJEqg ogKTCGCjFq99mb5uYLRE4lNqDdDsN18YFCKJMao+qAyRxOwz+BpkGn4cZj7wX1sT20jf JOTSMXZM5NdASn1A3Yz5YZEDp6JspOwuRRG3zqG8t3f/ESPbuYqpg1J1OBZFvPTDWIub pWNYlIJUwxWMTs1oQKmrf7hCY4Qfm2OGM/2xCxh9PzDP8tDtV6WjVTsMEgcqYB/Po+tA eQcw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=oQAr7nzWj3VNugVlIFqQLUDrmRPIQEl1VydSnBiWWL8=; b=OOT7B7NLd0vWstrh3zP6Uy7/7tcXQu7wGHVwHT+8WswtdCL14jkz2bUpR2qyq0RWnH 1axVcFRM2AVNC8JMqSIdwjq072/8hoSY8AziJ9oL1BSDLJO+6tedKEZZ+fRv/fr3BPST Elo6hH3miI+cyuvAiEejdZv8+kMa8IERaNsnloFU17EQ07jHVBBe+l5LlhyFLkB2B6uW iqQV0bgskmCxZeqc2QR0fxAERVtc4XHxE7WaRYjqF68t8WVXEql7fdEKMcXLsv85lKBV OoFh0nKFqVfAdt3miSq8LuyAu9tb2WCPjMNawTKjugpPQLGB/MUbDvULulRQKkVpA5d8 ZE7Q==
X-Gm-Message-State: ALQs6tCg23Th1HDzpWyHsFS4WCFk1jqwwDFSMMqat8dDEa2bu0C00htS WBkbWYGQ/CBCEkbbbr9yLusDi6PAbPzYzVn3AQlz1Nyu
X-Google-Smtp-Source: AIpwx4/uBjbGiZE+Jvcaysk0Cg8W1tsgRUwqMsAfRlpGF+50TEy1zIH4Xrp5gOBSpJj+jjJi9N9Wy2a4rpuky1fYmrk=
X-Received: by 2002:a9d:1920:: with SMTP id j32-v6mr4472228ota.383.1523483939385;  Wed, 11 Apr 2018 14:58:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.201.90.67 with HTTP; Wed, 11 Apr 2018 14:58:58 -0700 (PDT)
In-Reply-To: <fe239e8a-0a64-4b8b-7dba-f38fcfcdc4fd@lounge.org>
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net> <16affdfc-df9a-a883-e0d6-dd52efee15e4@lounge.org> <CAL02cgT72J=cboruKiHnF4BP7ffaDfae=JeoYDJJfjenF4wC8Q@mail.gmail.com> <fe239e8a-0a64-4b8b-7dba-f38fcfcdc4fd@lounge.org>
From: Richard Barnes <rlb@ipv.sx>
Date: Wed, 11 Apr 2018 17:58:58 -0400
Message-ID: <CAL02cgRy7M8AjQySy=1njavj+cyxPvQe-n1f+N4xVc_GZFwdNA@mail.gmail.com>
To: Dan Harkins <dharkins@lounge.org>
Cc: cfrg@irtf.org
Content-Type: multipart/alternative; boundary="000000000000074aa2056999bfe8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/A2UzPP6yYSZ2iBN1nnbD3LD1Vz8>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 11 Apr 2018 21:59:04 -0000

--000000000000074aa2056999bfe8
Content-Type: text/plain; charset="UTF-8"

On Wed, Apr 11, 2018 at 5:06 PM, Dan Harkins <dharkins@lounge.org> wrote:

>
>   Hi Richard,
>
> On 4/11/18 11:07 AM, Richard Barnes wrote:
>
> Just to confirm I understand here, the scenario this is intended to
> address is as follows (?):
>
> - Two parties share a password
> - Each party wishes to allow the other to assert an identity, where the
> assertion is authenticated by the password
>
>
>   Each party wishes to stop using passwords and migrate to public keys.
> Imagine
> they want to do MQV or IKE or some other protocol that uses uncertified
> public
> keys.
>
> I would be interested to learn why people think this a useful problem to
> solve.  If you have a system for provisioning passwords, couldn't you just
> as well provision key fingerprints?  If you care about identities (say if
> you're using the password to authenticate a group, and you want identities
> to distinguish individual members), then why are you OK with raw assertion,
> allowing anyone to claim any identity?
>
>
>   Yes, you can provision key fingerprints but it's difficult to manage
> 256-bit
> hexidecimal strings which is why people always look to some other
> technique. You
> could use the "Drunken Bishop" algorithm to make a graphical
> representation of
> the public key. The security of that is not well-established though (i.e.
> how
> hard is it to come up with a key that makes a drunken bishop walk that
> looks enough
> like yours to make people think my key is yours? I don't think anyone
> knows exactly).
> Humans make mistakes and PKEX is robust and allows for simple, easy to
> provision
> credentials to be used.
>
>   The reason a raw assertion is OK is because you and I are agreeing on
> what
> the password is so we can decide what identity I will accept. But I will
> know
> that it's you because you're the only guy I shared the password with.
>

OK, so the one-identity-per-password thing seems pretty important.  It
would be good to make that really clear in the document.  And maybe note
that the side provisioning the passwords can be stateless by making the
password a function of the expected identity (e.g., a MAC using a key known
only to the provisioning party).



> Assuming this is a useful problem to solve, it's not clear to me that this
> is the best way to solve it.  For example, it seems like the parties could
> perform a traditional PAKE, then send their preferred identities to each
> other protected by the negotiated key.  Note that this is basically what
> happens with the TLS-PAKE I-D that I submitted earlier today (
> https://datatracker.ietf.org/doc/draft-barnes-tls-pake/), though in that
> case, you can have either certified or uncertified keys.
>
>
>   TLS-pake, yea! What used to be draft-ietf-tls-pwd-- certificate-less
> authentication
> for TLS-- is sitting in the RFC editor's queue waiting for the TLS
> registry to get reworked.
>
>   PKEX is a little different though. You could do TLS-pake and use the
> negotiated
> key with an identity you pass but then you'd have to maintain a
> multiplicity of
> public keys, one for each server you did TLS-pake to, otherwise you void
> the security
> of TLS-pake. PKEX will allow me to share my single uncertified public key
> with multiple
> people (using different passwords, of course).
>

Thanks for the reminder of the proof-of-possession part.  i had gotten
fixated on the PAKE part :)

I guess what I don't understand here is the benefit of conjoining the
primitives rather than composing them.  It seems like you would get the
same effects here in the same number of RTTs with a straightforward
combination of PAKE, sending identities, and a proof-of-possession protocol
[1], all of which are already well-established.  Instead, you've mushed
them all together.  That seems like it has some costs, e.g., the
restriction to ECDSA when with a more composed design you could support
arbitrary DH or signing keys.  What are the corresponding benefits?

--Richard

[1] Sketch:

A->B: SPAKE-Kex
B->A: SPAKE-Kex, SPAKE-Confirm, {ID_B, Pub_B, Eph_B}K_spake_B
A->B: SPAKE-Confirm, {ID_A, Pub_A, Eph_A}K_spake_A, MAC(K_DH_A, transcript}
B->A: MAC(K_DH_B, transcript)

Note that at this point, it's starting to look simpler just to do TLS!




>   Also, I don't want to have to do TLS to obtain trust in a public key.
>
>   regards,
>
>   Dan.
>
> This latter question seems important for the adoption question.  If this
> is just a usage of a PAKE, then it's a protocol question more suited to
> IETF.  Only if there's a need to entangle the identity in the PAKE would we
> need this group to opine.
>
>
> On Wed, Apr 11, 2018 at 12:25 PM, Dan Harkins <dharkins@lounge.org> wrote:
>
>>
>>   Hi Dan,
>>
>> On 4/11/18 8:25 AM, Dan Brown wrote:
>>
>> A 4th issue/question, not really about terminology, but more definitional,
>> also a bit uncertain (I'm tiring out on this one):
>>
>> The authentication phase of PKEX is basically just SPAKE2, and goes from a
>> weak password to a strong symmetric key z.  I'm still fine with this phase,
>> modulo (1) subtle differences in PAKEs that I do not yet understand and (2)
>> questions whether passwords are properly in scope of IETF, since they don't
>> scale well globally, etc.
>>
>>
>>   No they don't. They scale about as well as raw public keys :-) But they
>> are in scope.
>>
>> The reveal phase does not seem to add obvious value.  It seems to be almost
>> the opposite of static Diffie-Hellman. We can switch back and forth between
>> a secret symmetric key z and authenticated asymmetric keys A,B.   What can
>> Alice and Bob with A and B that they could not already do with z.
>> Authenticate messages?  They can use HMAC with z - instead of (repudiable)
>> signatures or OTR with A and B.  Send each other secret messages? They can
>> use AES, etc, with z, - instead of ECIES with A or B?   Generate yet more
>> symmetric keys? They can use KDFs, PRFs, wrapped keys, etc., - instead of
>> Diffie-Hellman or MQV.
>>
>>
>>   Yes, z (or keys derived from it) can be used for all sorts of things
>> while
>> Alice and Bob are still talking to each other. This is mentioned at the
>> end
>> of section 5.2.
>>
>>   The value of the reveal phase is confirmation of SPAKE2 and gained trust
>> in the public keys. The ability to successfully unwrap a received message
>> authenticates the SPAKE2 exchange. The identity associated with the
>> password
>> is confirmed. The guarantees that AES-SIV provide mean that the received
>> public key could only be sent by someone who knows z (and there are only
>> two people in the world that know z at that time) so the received key has
>> integrity and it is bound to the identity authenticated by SPAKE2.
>> Finally,
>> proof of possession is provided by the peer using its private key with the
>> ephemeral share sent in SPAKE2 to symmetrically "sign" information binding
>> it to the exchange.
>>
>> If some IETF protocols use public keys but lack any means for Alice and Bob
>> to leverage their pre-shared secret (password, etc.), then I guess could
>> PKEX retro-fit or shoe-horn it in.  But then one could also, maybe just as
>> modularly, run a tunnel based on SPAKE2 and z inside (or outside) such an
>> inflexible IETF protocol to get the same effect.  For example, an online
>> bank could run a CA-authenticated TLS tunnel, and then run, at a higher
>> layer, a SPAKE2-protected connection inside the TLS tunnel, etc.
>>
>> Please note, although I am deliberately trying to be extra-critical here, I
>> am also trying not to be contrarian.
>>
>>
>>   Understood. And appreciated!
>>
>>   regards,
>>
>>   Dan.
>>
>> -----Original Message-----
>> From: Dan Brown
>> Sent: Tuesday, April 10, 2018 4:47 PM
>> To: Dan Brown <danibrown@blackberry.com> <danibrown@blackberry.com>; Alexey Melnikov<alexey.melnikov@isode.com> <alexey.melnikov@isode.com>; cfrg@irtf.org
>> Subject: RE: [Cfrg] Adoption call for draft-harkins-pkex-05
>>
>> A third very minor issue (again terminology, and arguably more pedantic):
>> 3. The PKEX I-D uses the word "trust" often. It seems to me that is not an
>> equivalent in strength trust to a more conventional public-key certificate
>> (or a distributed web of trust either).  I think this needs clarification in
>> the draft.  I expand on the difference below, in two closely related
>> sub-issues.
>> 3a. First, if Bob lost his secret password, or has a bad RNG, then Eve may
>> be able to impersonate Alice to Bob, even if Alice system's is entirely
>> uncompromised.  In regular authenticated key exchange, this type of attack
>> is called key-compromise impersonation (KCI).  I guess KCI applies to every
>> PAKE, which is fair enough.  But PKEX has farther aims than a just PAKE,
>> kind of a sub-PKI. (Is PKEX a play on PKIX?)  But in a PKI, relying parties
>> can "trust" public keys, such as code signing keys, without having any
>> secrets at all to guard.  So, in some sense there is lesser degree of trust
>> provided by a PKI.
>> 3b. Second, and this issue is an extension of the first (not independent of
>> it), I would argue that part of "trust" in a public key includes an ability
>> to trust its use in non-repudiable signed transaction.  Because of the KCI
>> threat, Alice could do PKEX with Bob, sign a message with her key A, then
>> try to repudiate.  Bob will not be able to prove to anybody A is Alice's
>> key, because he could have generated A himself, as if Bob did a KCI attack
>> on himself.  So, Bob will not be able to trust Alice as much as usual in a
>> PKI.
>>
>> At the moment I don't have a concrete suggestion to correct this
>> terminology.  Also, I forget if PKI spec use the word "trust" or something
>> else.
>>
>> -----Original Message-----
>> From: Cfrg [mailto:cfrg-bounces@irtf.org <cfrg-bounces@irtf.org>] On Behalf Of Dan Brown
>> Sent: Tuesday, April 10, 2018 2:00 PM
>> To: Alexey Melnikov <alexey.melnikov@isode.com> <alexey.melnikov@isode.com>; cfrg@irtf.org
>> Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
>>
>> I'm seeing two minor issues to be resolved before adoption:
>> 1. "Public key exchange" is a totally non-specific name, so much so, that I
>> oppose adoption under this name.  Public key exchange could mean
>> Diffie-Hellman key agreement, for example.  If PKEX has been deployed in
>> some places, the name should be updated retroactively.  (Sorry that this is
>> merely a terminology issue (as in the color of bikeshed, not the bikeshed
>> itself.)
>> 2. What is the problem being solved here?  For example, I think that TLS
>> will or does offer PSK authentication.  So, why not just do an out-of-band
>> PAKE to establish a PSK, then use PSK-authenticated TLS.  So, to rephrase my
>> question: is there some security defect with PSK-authenticated TLS that PKEX
>> solves?  Maybe this was discussed already, sorry if I missed it (and am out
>> of order).
>> Otherwise, I do not have much of an opinion in either direction.
>>
>> -----Original Message-----
>> From: Cfrg [mailto:cfrg-bounces@irtf.org <cfrg-bounces@irtf.org>] On Behalf Of Alexey Melnikov
>> Sent: Sunday, April 8, 2018 7:42 AM
>> To: cfrg@irtf.org
>> Subject: [Cfrg] Adoption call for draft-harkins-pkex-05
>>
>> Dear CFRG participants,
>> This message is starting a 2 weeks adoption call for
>> draft-harkins-pkex-05 (Public Key Exchange). From the document's
>> Introduction:
>>
>>    [RFC7250] further states that "the main security challenge [to using
>>    'raw' public keys] is how to associate the public key with a specific
>>    entity.  Without a secure binding between identifier and key, the
>>    protocol will be vulnerable to man-in-the- middle attacks."
>>
>>    The Public Key Exchange (PKEX) is designed to fill that gap: it
>>    establishes a secure binding between exchanged public keys and
>>    identifiers, it provides proof-of-possession of the exchanged public
>>    keys to each peer, and it enables the establishment of trust in
>>    public keys that can subsequently be used to facilitate
>>    authentication in other authentication and key exchange protocols.
>>    At the end of a successful run of PKEX the two peers will have trust
>>    in each others exchanged public keys and also share an authenticated
>>    symmetric key which may be discarded or used for another purpose.
>>
>> The adoption call will last for 2 weeks and will end on April 22nd.
>>
>> Thank you,
>> Kenny and Alexey
>>
>> _______________________________________________
>> Cfrg mailing listCfrg@irtf.orghttps://www.irtf.org/mailman/listinfo/cfrg
>>
>>
>>
>> _______________________________________________
>> Cfrg mailing listCfrg@irtf.orghttps://www.irtf.org/mailman/listinfo/cfrg
>>
>>
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> https://www.irtf.org/mailman/listinfo/cfrg
>>
>>
>
>

--000000000000074aa2056999bfe8
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 Wed, Apr 11, 2018 at 5:06 PM, Dan Harkins <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:dharkins@lounge.org" target=3D"_blank">dharkins@lounge.org</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">
 =20
   =20
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF">
    <br>
    <tt>=C2=A0 Hi Richard,</tt><span class=3D""><br>
    <br>
    <div class=3D"m_962449202316752920moz-cite-prefix">On 4/11/18 11:07 AM,=
 Richard Barnes
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div>Just to confirm I understand here, the scenario this is
          intended to address is as follows (?):</div>
        <div><br>
        </div>
        <div>- Two parties share a password<br>
        </div>
        <div>- Each party wishes to allow the other to assert an
          identity, where the assertion is authenticated by the password</d=
iv>
      </div>
    </blockquote>
    <br>
    </span><tt>=C2=A0 Each party wishes to stop using passwords and migrate=
 to
      public keys. Imagine<br>
      they want to do MQV or IKE or some other protocol that uses
      uncertified public <br>
      keys.<br>
      <br>
    </tt><span class=3D"">
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div>I would be interested to learn why people think this a
          useful problem to solve.=C2=A0 If you have a system for
          provisioning passwords, couldn&#39;t you just as well provision
          key fingerprints?=C2=A0 If you care about identities (say if you&=
#39;re
          using the password to authenticate a group, and you want
          identities to distinguish individual members), then why are
          you OK with raw assertion, allowing anyone to claim any
          identity?<br>
        </div>
      </div>
    </blockquote>
    <br>
    </span><tt>=C2=A0 Yes, you can provision key fingerprints but it&#39;s =
difficult to
      manage 256-bit<br>
      hexidecimal strings which is why people always look to some other
      technique. You<br>
      could use the &quot;Drunken Bishop&quot; algorithm to make a graphica=
l
      representation of<br>
      the public key. The security of that is not well-established
      though (i.e. how<br>
      hard is it to come up with a key that makes a drunken bishop walk
      that looks enough<br>
      like yours to make people think my key is yours? I don&#39;t think
      anyone knows exactly).<br>
      Humans make mistakes and PKEX is robust and allows for simple,
      easy to provision<br>
      credentials to be used.<br>
      <br>
      =C2=A0 The reason a raw assertion is OK is because you and I are
      agreeing on what<br>
      the password is so we can decide what identity I will accept. But
      I will know<br>
      that it&#39;s you because you&#39;re the only guy I shared the passwo=
rd
      with. <br></tt></div></blockquote><div><br></div><div>OK, so the one-=
identity-per-password thing seems pretty important.=C2=A0 It would be good =
to make that really clear in the document.=C2=A0 And maybe note that the si=
de provisioning the passwords can be stateless by making the password a fun=
ction of the expected identity (e.g., a MAC using a key known only to the p=
rovisioning party).<br></div><div><br></div><div>=C2=A0</div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex"><div text=3D"#000000" bgcolor=3D"#FFFFFF"><tt>
    </tt><span class=3D"">
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div>Assuming this is a useful problem to solve, it&#39;s not clear
          to me that this is the best way to solve it.=C2=A0 For example, i=
t
          seems like the parties could perform a traditional PAKE, then
          send their preferred identities to each other protected by the
          negotiated key.=C2=A0 Note that this is basically what happens wi=
th
          the TLS-PAKE I-D that I submitted earlier today (<a href=3D"https=
://datatracker.ietf.org/doc/draft-barnes-tls-pake/" target=3D"_blank">https=
://datatracker.ietf.org/<wbr>doc/draft-barnes-tls-pake/</a>),
          though in that case, you can have either certified or
          uncertified keys.<br>
        </div>
      </div>
    </blockquote>
    <br>
    </span><tt>=C2=A0 TLS-pake, yea! What used to be draft-ietf-tls-pwd--
      certificate-less authentication<br>
      for TLS-- is sitting in the RFC editor&#39;s queue waiting for the TL=
S
      registry to get reworked. <br>
      <br>
      =C2=A0 PKEX is a little different though. You could do TLS-pake and u=
se
      the negotiated<br>
      key with an identity you pass but then you&#39;d have to maintain a
      multiplicity of<br>
      public keys, one for each server you did TLS-pake to, otherwise
      you void the security<br>
      of TLS-pake. PKEX will allow me to share my single uncertified
      public key with multiple<br>
      people (using different passwords, of course).<br></tt></div></blockq=
uote><div><br></div><div>Thanks for the reminder of the proof-of-possession=
 part.=C2=A0 i had gotten fixated on the PAKE part :)</div><div><br></div><=
div>I guess what I don&#39;t understand here is the benefit of conjoining t=
he primitives rather than composing them.=C2=A0 It seems like you would get=
 the same effects here in the same number of RTTs with a straightforward co=
mbination of PAKE, sending identities, and a proof-of-possession protocol [=
1], all of which are already well-established.=C2=A0 Instead, you&#39;ve mu=
shed them all together.=C2=A0 That seems like it has some costs, e.g., the =
restriction to ECDSA when with a more composed design you could support arb=
itrary DH or signing keys.=C2=A0 What are the corresponding benefits?=C2=A0=
 <br></div></div><div class=3D"gmail_quote"><br></div><div class=3D"gmail_q=
uote">--Richard</div><div class=3D"gmail_quote"><br></div><div class=3D"gma=
il_quote">[1] Sketch:</div><div class=3D"gmail_quote"><br></div><div class=
=3D"gmail_quote">A-&gt;B: SPAKE-Kex</div><div class=3D"gmail_quote">B-&gt;A=
: SPAKE-Kex, SPAKE-Confirm, {ID_B, Pub_B, Eph_B}K_spake_B</div><div class=
=3D"gmail_quote">A-&gt;B: SPAKE-Confirm, {ID_A, Pub_A, Eph_A}K_spake_A, MAC=
(K_DH_A, transcript}</div><div class=3D"gmail_quote">B-&gt;A: MAC(K_DH_B, t=
ranscript)</div><div class=3D"gmail_quote"><br></div><div class=3D"gmail_qu=
ote">Note that at this point, it&#39;s starting to look simpler just to do =
TLS!<br></div><div class=3D"gmail_quote"><br></div><div class=3D"gmail_quot=
e"><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"><div text=3D"#000000=
" bgcolor=3D"#FFFFFF"><tt>
      =C2=A0 Also, I don&#39;t want to have to do TLS to obtain trust in a =
public
      key.<br>
      <br>
      =C2=A0 regards, <br>
      <br>
      =C2=A0 Dan.<br>
    </tt><div><div class=3D"h5">
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div>This latter question seems important for the adoption
          question.=C2=A0 If this is just a usage of a PAKE, then it&#39;s =
a
          protocol question more suited to IETF.=C2=A0 Only if there&#39;s =
a need
          to entangle the identity in the PAKE would we need this group
          to opine.<br>
        </div>
        <div><br>
        </div>
      </div>
      <div class=3D"gmail_extra"><br>
        <div class=3D"gmail_quote">On Wed, Apr 11, 2018 at 12:25 PM, Dan
          Harkins <span dir=3D"ltr">&lt;<a href=3D"mailto:dharkins@lounge.o=
rg" target=3D"_blank">dharkins@lounge.org</a>&gt;</span>
          wrote:<br>
          <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex">
            <div text=3D"#000000" bgcolor=3D"#FFFFFF"> <br>
              <tt>=C2=A0 Hi Dan,</tt><span><br>
                <br>
                <div class=3D"m_962449202316752920m_5001397464744976805moz-=
cite-prefix">On
                  4/11/18 8:25 AM, Dan Brown wrote:<br>
                </div>
                <blockquote type=3D"cite">
                  <pre>A 4th issue/question, not really about terminology, =
but more definitional,
also a bit uncertain (I&#39;m tiring out on this one):

The authentication phase of PKEX is basically just SPAKE2, and goes from a
weak password to a strong symmetric key z.  I&#39;m still fine with this ph=
ase,
modulo (1) subtle differences in PAKEs that I do not yet understand and (2)
questions whether passwords are properly in scope of IETF, since they don&#=
39;t
scale well globally, etc.</pre>
                </blockquote>
                <br>
              </span><tt>=C2=A0 No they don&#39;t. They scale about as well=
 as
                raw public keys :-) But they<br>
                are in scope.=C2=A0 <br>
                <br>
              </tt><span>
                <blockquote type=3D"cite">
                  <pre>The reveal phase does not seem to add obvious value.=
  It seems to be almost
the opposite of static Diffie-Hellman. We can switch back and forth between
a secret symmetric key z and authenticated asymmetric keys A,B.   What can
Alice and Bob with A and B that they could not already do with z.
Authenticate messages?  They can use HMAC with z - instead of (repudiable)
signatures or OTR with A and B.  Send each other secret messages? They can
use AES, etc, with z, - instead of ECIES with A or B?   Generate yet more
symmetric keys? They can use KDFs, PRFs, wrapped keys, etc., - instead of
Diffie-Hellman or MQV.  </pre>
                </blockquote>
                <br>
              </span><tt>=C2=A0 Yes, z (or keys derived from it) can be use=
d
                for all sorts of things while<br>
                Alice and Bob are still talking to each other. This is
                mentioned at the end<br>
                of section 5.2.<br>
                <br>
                =C2=A0 The value of the reveal phase is confirmation of
                SPAKE2 and gained trust<br>
                in the public keys. The ability to successfully unwrap a
                received message<br>
                authenticates the SPAKE2 exchange. The identity
                associated with the password<br>
                is confirmed. The guarantees that AES-SIV provide mean
                that the received<br>
                public key could only be sent by someone who knows z
                (and there are only<br>
                two people in the world that know z at that time) so the
                received key has<br>
                integrity and it is bound to the identity authenticated
                by SPAKE2. Finally,<br>
                proof of possession is provided by the peer using its
                private key with the<br>
                ephemeral share sent in SPAKE2 to symmetrically &quot;sign&=
quot;
                information binding<br>
                it to the exchange.<br>
                <br>
              </tt><span>
                <blockquote type=3D"cite">
                  <pre>If some IETF protocols use public keys but lack any =
means for Alice and Bob
to leverage their pre-shared secret (password, etc.), then I guess could
PKEX retro-fit or shoe-horn it in.  But then one could also, maybe just as
modularly, run a tunnel based on SPAKE2 and z inside (or outside) such an
inflexible IETF protocol to get the same effect.  For example, an online
bank could run a CA-authenticated TLS tunnel, and then run, at a higher
layer, a SPAKE2-protected connection inside the TLS tunnel, etc.

Please note, although I am deliberately trying to be extra-critical here, I
am also trying not to be contrarian.</pre>
                </blockquote>
                <br>
              </span><tt>=C2=A0 Understood. And appreciated!<br>
                <br>
                =C2=A0 regards,<br>
                <br>
                =C2=A0 Dan.<br>
                <br>
              </tt>
              <div>
                <div class=3D"m_962449202316752920h5">
                  <blockquote type=3D"cite">
                    <pre>-----Original Message-----
From: Dan Brown=20
Sent: Tuesday, April 10, 2018 4:47 PM
To: Dan Brown <a class=3D"m_962449202316752920m_5001397464744976805moz-txt-=
link-rfc2396E" href=3D"mailto:danibrown@blackberry.com" target=3D"_blank">&=
lt;danibrown@blackberry.com&gt;</a>; Alexey Melnikov
<a class=3D"m_962449202316752920m_5001397464744976805moz-txt-link-rfc2396E"=
 href=3D"mailto:alexey.melnikov@isode.com" target=3D"_blank">&lt;alexey.mel=
nikov@isode.com&gt;</a>; <a class=3D"m_962449202316752920m_5001397464744976=
805moz-txt-link-abbreviated" href=3D"mailto:cfrg@irtf.org" target=3D"_blank=
">cfrg@irtf.org</a>
Subject: RE: [Cfrg] Adoption call for draft-harkins-pkex-05

A third very minor issue (again terminology, and arguably more pedantic):
3. The PKEX I-D uses the word &quot;trust&quot; often. It seems to me that =
is not an
equivalent in strength trust to a more conventional public-key certificate
(or a distributed web of trust either).  I think this needs clarification i=
n
the draft.  I expand on the difference below, in two closely related
sub-issues.
3a. First, if Bob lost his secret password, or has a bad RNG, then Eve may
be able to impersonate Alice to Bob, even if Alice system&#39;s is entirely
uncompromised.  In regular authenticated key exchange, this type of attack
is called key-compromise impersonation (KCI).  I guess KCI applies to every
PAKE, which is fair enough.  But PKEX has farther aims than a just PAKE,
kind of a sub-PKI. (Is PKEX a play on PKIX?)  But in a PKI, relying parties
can &quot;trust&quot; public keys, such as code signing keys, without havin=
g any
secrets at all to guard.  So, in some sense there is lesser degree of trust
provided by a PKI. =20
3b. Second, and this issue is an extension of the first (not independent of
it), I would argue that part of &quot;trust&quot; in a public key includes =
an ability
to trust its use in non-repudiable signed transaction.  Because of the KCI
threat, Alice could do PKEX with Bob, sign a message with her key A, then
try to repudiate.  Bob will not be able to prove to anybody A is Alice&#39;=
s
key, because he could have generated A himself, as if Bob did a KCI attack
on himself.  So, Bob will not be able to trust Alice as much as usual in a
PKI.

At the moment I don&#39;t have a concrete suggestion to correct this
terminology.  Also, I forget if PKI spec use the word &quot;trust&quot; or =
something
else.

-----Original Message-----
From: Cfrg [<a class=3D"m_962449202316752920m_5001397464744976805moz-txt-li=
nk-freetext" href=3D"mailto:cfrg-bounces@irtf.org" target=3D"_blank">mailto=
:cfrg-bounces@irtf.org</a>] On Behalf Of Dan Brown
Sent: Tuesday, April 10, 2018 2:00 PM
To: Alexey Melnikov <a class=3D"m_962449202316752920m_5001397464744976805mo=
z-txt-link-rfc2396E" href=3D"mailto:alexey.melnikov@isode.com" target=3D"_b=
lank">&lt;alexey.melnikov@isode.com&gt;</a>; <a class=3D"m_9624492023167529=
20m_5001397464744976805moz-txt-link-abbreviated" href=3D"mailto:cfrg@irtf.o=
rg" target=3D"_blank">cfrg@irtf.org</a>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05

I&#39;m seeing two minor issues to be resolved before adoption:
1. &quot;Public key exchange&quot; is a totally non-specific name, so much =
so, that I
oppose adoption under this name.  Public key exchange could mean
Diffie-Hellman key agreement, for example.  If PKEX has been deployed in
some places, the name should be updated retroactively.  (Sorry that this is
merely a terminology issue (as in the color of bikeshed, not the bikeshed
itself.)
2. What is the problem being solved here?  For example, I think that TLS
will or does offer PSK authentication.  So, why not just do an out-of-band
PAKE to establish a PSK, then use PSK-authenticated TLS.  So, to rephrase m=
y
question: is there some security defect with PSK-authenticated TLS that PKE=
X
solves?  Maybe this was discussed already, sorry if I missed it (and am out
of order).
Otherwise, I do not have much of an opinion in either direction.

-----Original Message-----
From: Cfrg [<a class=3D"m_962449202316752920m_5001397464744976805moz-txt-li=
nk-freetext" href=3D"mailto:cfrg-bounces@irtf.org" target=3D"_blank">mailto=
:cfrg-bounces@irtf.org</a>] On Behalf Of Alexey Melnikov
Sent: Sunday, April 8, 2018 7:42 AM
To: <a class=3D"m_962449202316752920m_5001397464744976805moz-txt-link-abbre=
viated" href=3D"mailto:cfrg@irtf.org" target=3D"_blank">cfrg@irtf.org</a>
Subject: [Cfrg] Adoption call for draft-harkins-pkex-05

Dear CFRG participants,
This message is starting a 2 weeks adoption call for
draft-harkins-pkex-05 (Public Key Exchange). From the document&#39;s
Introduction:

   [RFC7250] further states that &quot;the main security challenge [to usin=
g
   &#39;raw&#39; public keys] is how to associate the public key with a spe=
cific
   entity.  Without a secure binding between identifier and key, the
   protocol will be vulnerable to man-in-the- middle attacks.&quot;

   The Public Key Exchange (PKEX) is designed to fill that gap: it
   establishes a secure binding between exchanged public keys and
   identifiers, it provides proof-of-possession of the exchanged public
   keys to each peer, and it enables the establishment of trust in
   public keys that can subsequently be used to facilitate
   authentication in other authentication and key exchange protocols.
   At the end of a successful run of PKEX the two peers will have trust
   in each others exchanged public keys and also share an authenticated
   symmetric key which may be discarded or used for another purpose.

The adoption call will last for 2 weeks and will end on April 22nd.

Thank you,
Kenny and Alexey

______________________________<wbr>_________________
Cfrg mailing list
<a class=3D"m_962449202316752920m_5001397464744976805moz-txt-link-abbreviat=
ed" href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a>
<a class=3D"m_962449202316752920m_5001397464744976805moz-txt-link-freetext"=
 href=3D"https://www.irtf.org/mailman/listinfo/cfrg" target=3D"_blank">http=
s://www.irtf.org/mailman/l<wbr>istinfo/cfrg</a>
</pre>
                    <br>
                    <fieldset class=3D"m_962449202316752920m_50013974647449=
76805mimeAttachmentHeader"></fieldset>
                    <br>
                    <pre>______________________________<wbr>_______________=
__
Cfrg mailing list
<a class=3D"m_962449202316752920m_5001397464744976805moz-txt-link-abbreviat=
ed" href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a>
<a class=3D"m_962449202316752920m_5001397464744976805moz-txt-link-freetext"=
 href=3D"https://www.irtf.org/mailman/listinfo/cfrg" target=3D"_blank">http=
s://www.irtf.org/mailman/l<wbr>istinfo/cfrg</a>
</pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            Cfrg mailing list<br>
            <a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.or=
g</a><br>
            <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>
    <br>
  </div></div></div>

</blockquote></div><br></div></div>

--000000000000074aa2056999bfe8--


From nobody Wed Apr 11 17:32:46 2018
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 7D0C012D870 for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 17:32:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level: 
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=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 5N668xpEFKYi for <cfrg@ietfa.amsl.com>; Wed, 11 Apr 2018 17:32:42 -0700 (PDT)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id 32D4D12D872 for <cfrg@irtf.org>; Wed, 11 Apr 2018 17:32:41 -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 A1800A888018; Wed, 11 Apr 2018 17:32:40 -0700 (PDT)
To: Richard Barnes <rlb@ipv.sx>
Cc: cfrg@irtf.org
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net> <16affdfc-df9a-a883-e0d6-dd52efee15e4@lounge.org> <CAL02cgT72J=cboruKiHnF4BP7ffaDfae=JeoYDJJfjenF4wC8Q@mail.gmail.com> <fe239e8a-0a64-4b8b-7dba-f38fcfcdc4fd@lounge.org> <CAL02cgRy7M8AjQySy=1njavj+cyxPvQe-n1f+N4xVc_GZFwdNA@mail.gmail.com>
From: Dan Harkins <dharkins@lounge.org>
Message-ID: <90c10953-6550-09d0-642e-e84710b706cf@lounge.org>
Date: Wed, 11 Apr 2018 17:32:39 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <CAL02cgRy7M8AjQySy=1njavj+cyxPvQe-n1f+N4xVc_GZFwdNA@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------07518717498223C719705E0C"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/-9b_d6Q03OvuhTuDvVIiFXy7RmA>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 12 Apr 2018 00:32:45 -0000

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


   Hi Richard,

On 4/11/18 2:58 PM, Richard Barnes wrote:
>
>
> On Wed, Apr 11, 2018 at 5:06 PM, Dan Harkins <dharkins@lounge.org 
> <mailto:dharkins@lounge.org>> wrote:
>
>
>
>       Hi Richard,
>
>     On 4/11/18 11:07 AM, Richard Barnes wrote:
>
[snip]
>
>>     Assuming this is a useful problem to solve, it's not clear to me
>>     that this is the best way to solve it.  For example, it seems
>>     like the parties could perform a traditional PAKE, then send
>>     their preferred identities to each other protected by the
>>     negotiated key.  Note that this is basically what happens with
>>     the TLS-PAKE I-D that I submitted earlier today
>>     (https://datatracker.ietf.org/doc/draft-barnes-tls-pake/
>>     <https://datatracker.ietf.org/doc/draft-barnes-tls-pake/>),
>>     though in that case, you can have either certified or uncertified
>>     keys.
>
>       TLS-pake, yea! What used to be draft-ietf-tls-pwd--
>     certificate-less authentication
>     for TLS-- is sitting in the RFC editor's queue waiting for the TLS
>     registry to get reworked.
>
>       PKEX is a little different though. You could do TLS-pake and use
>     the negotiated
>     key with an identity you pass but then you'd have to maintain a
>     multiplicity of
>     public keys, one for each server you did TLS-pake to, otherwise
>     you void the security
>     of TLS-pake. PKEX will allow me to share my single uncertified
>     public key with multiple
>     people (using different passwords, of course).
>
>
> Thanks for the reminder of the proof-of-possession part.  i had gotten 
> fixated on the PAKE part :)
>
> I guess what I don't understand here is the benefit of conjoining the 
> primitives rather than composing them.  It seems like you would get 
> the same effects here in the same number of RTTs with a 
> straightforward combination of PAKE, sending identities, and a 
> proof-of-possession protocol [1], all of which are already 
> well-established.  Instead, you've mushed them all together.  That 
> seems like it has some costs, e.g., the restriction to ECDSA when with 
> a more composed design you could support arbitrary DH or signing 
> keys.  What are the corresponding benefits?

   I'm not sure where the mashup is. You have basically described PKEX. 
It does
SPAKE2 and then it sends identities and a proof of possession protected 
by the
PAKE shared secret. The limitations are that the two sides have to be 
exchanging
keys from the same group and since they've already agreed on a group for 
their
identity keys then they have to use the same one for the PAKE. Those 
were not
seen as serious issues because such a restriction may already be imposed 
on the
subsequent key exchange protocol (e.g. MQV), and it obviates the need to 
discuss
what it means to exchange, for instance, a p521 public key over a PAKE 
that uses
brainpool256. It cuts down on problematic options. That's the same 
reason that
the hash algorithm and SIV key length are determined by the prime 
defining the
group, less options that might be used poorly means a more robust and 
idiot-proof
protocol.

   Also, there is no restriction on ECDSA. In fact, Appendix A.2 has the 
SPAKE2
role-specific elements for four standard DH groups and the Appendix 
talks about
how to generate role-specific elements for other groups not enumerated.

> --Richard
>
> [1] Sketch:
>
> A->B: SPAKE-Kex
> B->A: SPAKE-Kex, SPAKE-Confirm, {ID_B, Pub_B, Eph_B}K_spake_B
> A->B: SPAKE-Confirm, {ID_A, Pub_A, Eph_A}K_spake_A, MAC(K_DH_A, 
> transcript}
> B->A: MAC(K_DH_B, transcript)
>
> Note that at this point, it's starting to look simpler just to do TLS!

   It's not really. There is running code for this protocol (and not just by
me) and it's much simpler than TLS.

   regards,

   Dan.



--------------07518717498223C719705E0C
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <tt>  Hi Richard,</tt><br>
    <br>
    <div class="moz-cite-prefix">On 4/11/18 2:58 PM, Richard Barnes
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAL02cgRy7M8AjQySy=1njavj+cyxPvQe-n1f+N4xVc_GZFwdNA@mail.gmail.com">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Wed, Apr 11, 2018 at 5:06 PM, Dan
            Harkins <span dir="ltr">&lt;<a
                href="mailto:dharkins@lounge.org" target="_blank"
                moz-do-not-send="true">dharkins@lounge.org</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
              <div text="#000000" bgcolor="#FFFFFF"> <br>
                <tt>  Hi Richard,</tt><span class=""><br>
                  <br>
                  <div class="m_962449202316752920moz-cite-prefix">On
                    4/11/18 11:07 AM, Richard Barnes wrote:<br>
                  </div>
                </span></div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <tt>[snip]</tt><br>
    <blockquote type="cite"
cite="mid:CAL02cgRy7M8AjQySy=1njavj+cyxPvQe-n1f+N4xVc_GZFwdNA@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"><span class="">
                  <div class="m_962449202316752920moz-cite-prefix"> </div>
                </span></div>
            </blockquote>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"><tt> </tt><span
                  class="">
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>Assuming this is a useful problem to solve,
                        it's not clear to me that this is the best way
                        to solve it.  For example, it seems like the
                        parties could perform a traditional PAKE, then
                        send their preferred identities to each other
                        protected by the negotiated key.  Note that this
                        is basically what happens with the TLS-PAKE I-D
                        that I submitted earlier today (<a
                          href="https://datatracker.ietf.org/doc/draft-barnes-tls-pake/"
                          target="_blank" moz-do-not-send="true">https://datatracker.ietf.org/<wbr>doc/draft-barnes-tls-pake/</a>),
                        though in that case, you can have either
                        certified or uncertified keys.<br>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </span><tt>  TLS-pake, yea! What used to be
                  draft-ietf-tls-pwd-- certificate-less authentication<br>
                  for TLS-- is sitting in the RFC editor's queue waiting
                  for the TLS registry to get reworked. <br>
                  <br>
                    PKEX is a little different though. You could do
                  TLS-pake and use the negotiated<br>
                  key with an identity you pass but then you'd have to
                  maintain a multiplicity of<br>
                  public keys, one for each server you did TLS-pake to,
                  otherwise you void the security<br>
                  of TLS-pake. PKEX will allow me to share my single
                  uncertified public key with multiple<br>
                  people (using different passwords, of course).<br>
                </tt></div>
            </blockquote>
            <div><br>
            </div>
            <div>Thanks for the reminder of the proof-of-possession
              part.  i had gotten fixated on the PAKE part :)</div>
            <div><br>
            </div>
            <div>I guess what I don't understand here is the benefit of
              conjoining the primitives rather than composing them.  It
              seems like you would get the same effects here in the same
              number of RTTs with a straightforward combination of PAKE,
              sending identities, and a proof-of-possession protocol
              [1], all of which are already well-established.  Instead,
              you've mushed them all together.  That seems like it has
              some costs, e.g., the restriction to ECDSA when with a
              more composed design you could support arbitrary DH or
              signing keys.  What are the corresponding benefits?  <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <tt>  I'm not sure where the mashup is. You have basically described
      PKEX. It does<br>
      SPAKE2 and then it sends identities and a proof of possession
      protected by the<br>
      PAKE shared secret. The limitations are that the two sides have to
      be exchanging<br>
      keys from the same group and since they've already agreed on a
      group for their<br>
      identity keys then they have to use the same one for the PAKE.
      Those were not<br>
      seen as serious issues because such a restriction may already be
      imposed on the<br>
      subsequent key exchange protocol (e.g. MQV), and it obviates the
      need to discuss<br>
      what it means to exchange, for instance, a p521 public key over a
      PAKE that uses<br>
      brainpool256. It cuts down on problematic options. That's the same
      reason that<br>
      the hash algorithm and SIV key length are determined by the prime
      defining the<br>
      group, less options that might be used poorly means a more robust
      and idiot-proof<br>
      protocol. <br>
      <br>
        Also, there is no restriction on ECDSA. In fact, Appendix A.2
      has the SPAKE2<br>
      role-specific elements for four standard DH groups and the
      Appendix talks about<br>
      how to generate role-specific elements for other groups not
      enumerated.<br>
      <br>
    </tt>
    <blockquote type="cite"
cite="mid:CAL02cgRy7M8AjQySy=1njavj+cyxPvQe-n1f+N4xVc_GZFwdNA@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">--Richard</div>
          <div class="gmail_quote"><br>
          </div>
          <div class="gmail_quote">[1] Sketch:</div>
          <div class="gmail_quote"><br>
          </div>
          <div class="gmail_quote">A-&gt;B: SPAKE-Kex</div>
          <div class="gmail_quote">B-&gt;A: SPAKE-Kex, SPAKE-Confirm,
            {ID_B, Pub_B, Eph_B}K_spake_B</div>
          <div class="gmail_quote">A-&gt;B: SPAKE-Confirm, {ID_A, Pub_A,
            Eph_A}K_spake_A, MAC(K_DH_A, transcript}</div>
          <div class="gmail_quote">B-&gt;A: MAC(K_DH_B, transcript)</div>
          <div class="gmail_quote"><br>
          </div>
          <div class="gmail_quote">Note that at this point, it's
            starting to look simpler just to do TLS!<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <tt>  It's not really. There is running code for this protocol (and
      not just by<br>
      me) and it's much simpler than TLS.<br>
      <br>
        regards,<br>
      <br>
        Dan.<br>
      <br>
      <br>
    </tt>
  </body>
</html>

--------------07518717498223C719705E0C--


From nobody Thu Apr 12 06:22:03 2018
Return-Path: <rlb@ipv.sx>
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 49A7012708C for <cfrg@ietfa.amsl.com>; Thu, 12 Apr 2018 06:22:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.908
X-Spam-Level: 
X-Spam-Status: No, score=-1.908 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, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ipv-sx.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 0RgCS-FNyt91 for <cfrg@ietfa.amsl.com>; Thu, 12 Apr 2018 06:21:59 -0700 (PDT)
Received: from mail-ot0-x232.google.com (mail-ot0-x232.google.com [IPv6:2607:f8b0:4003:c0f::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 08A0D12711D for <cfrg@irtf.org>; Thu, 12 Apr 2018 06:21:58 -0700 (PDT)
Received: by mail-ot0-x232.google.com with SMTP id h55-v6so5932832ote.9 for <cfrg@irtf.org>; Thu, 12 Apr 2018 06:21:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=B1YkWZyGRJq702/yiwMR6EIRA5aYw1CSJ3YRupaLxgk=; b=az8Ar32u/zENujv7D1AnEHavVxn3GcNWm2eCRAHlZ5+rbg0wj1ShnXpRWFdF0oPOD8 /+YGbkgNZ10802rP8fYlbxpcTsaWSUwOEBFXFPl5qxd7hhDe9C6doquSck4Gu+nCCqlB 3BJdDycTu1mnkacoVjw8L41Uo/ATpqGB8R8mrXtIZnY7p5QrrHcDh1yrWUkdXoclb/RN YrA+Jfe1W7BrMQW1I1DlR9IZHGw+KrnsL4jciDpQK4WK9Aj0guroxI3zfcYUOw29WEh/ oQPK44GW20vTkdlQQSCiQgxs1qXz3/GyIvvvDzXwVFs7oJ9zp7/CSH6czG8mAYgXyomP lqfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=B1YkWZyGRJq702/yiwMR6EIRA5aYw1CSJ3YRupaLxgk=; b=oP/6EybvW/csGx8MHbjSz6WlLtoleeryJo/lNvfsUphIrz6vTBQHo1ZaE86+9kQiKV ixh4l2PuNkmeZOtF4WBvCltG2yWhUvHEscSJq9sg23iRWJJnX3jXq4+o2BT6xK+V9KIs SDlGGSRvY/MFN3LbklFAunSVQiP5o0GGwG864dkY4BJAerqcrFANtBlLhpEvboJ4k1zz yc1wTtzIA79Bi/bK+mN6Cub+r6FX+ikv29E6l8QFw5J4+2elwrg+wv3l8ZdJLUzpsLQW bKYiJqrMVGwBHZ+nOxF/D6r84e7COwpQSdi++Fl3JayFGt8O2MsHAahCtq0M6eTCKf0C hCNQ==
X-Gm-Message-State: ALQs6tCDLD3ajW/as2YOPz/BFGaDOK7Mkec2EOj9OLjvEVgqECVDSG0U 2WV7mNZa1Jyexxsc97IWCMNycSX2brwTVvSCaVHFcI08ejo=
X-Google-Smtp-Source: AIpwx4+Lz6NDIw9N91etDv5SLX3GFfTlN7pLrhDF0OVpALCSNLBlCI5k33NaLTlrnPpmQ0w11e5dZU9Lxwyre5uxbBk=
X-Received: by 2002:a9d:1920:: with SMTP id j32-v6mr639734ota.383.1523539318072;  Thu, 12 Apr 2018 06:21:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.201.90.67 with HTTP; Thu, 12 Apr 2018 06:21:57 -0700 (PDT)
In-Reply-To: <90c10953-6550-09d0-642e-e84710b706cf@lounge.org>
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net> <16affdfc-df9a-a883-e0d6-dd52efee15e4@lounge.org> <CAL02cgT72J=cboruKiHnF4BP7ffaDfae=JeoYDJJfjenF4wC8Q@mail.gmail.com> <fe239e8a-0a64-4b8b-7dba-f38fcfcdc4fd@lounge.org> <CAL02cgRy7M8AjQySy=1njavj+cyxPvQe-n1f+N4xVc_GZFwdNA@mail.gmail.com> <90c10953-6550-09d0-642e-e84710b706cf@lounge.org>
From: Richard Barnes <rlb@ipv.sx>
Date: Thu, 12 Apr 2018 09:21:57 -0400
Message-ID: <CAL02cgTF6E697t+twXwbkrzZ7OHsFPh--W_NaT5-f0VJ=Jo7Tg@mail.gmail.com>
To: Dan Harkins <dharkins@lounge.org>
Cc: cfrg@irtf.org
Content-Type: multipart/alternative; boundary="000000000000dafa2d0569a6a309"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/lW49SOsAN7RLdZKtedMn_wHnxns>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 12 Apr 2018 13:22:01 -0000

--000000000000dafa2d0569a6a309
Content-Type: text/plain; charset="UTF-8"

On Wed, Apr 11, 2018 at 8:32 PM, Dan Harkins <dharkins@lounge.org> wrote:

>
>   Hi Richard,
>
> On 4/11/18 2:58 PM, Richard Barnes wrote:
>
>
>
> On Wed, Apr 11, 2018 at 5:06 PM, Dan Harkins <dharkins@lounge.org> wrote:
>
>>
>>
>>   Hi Richard,
>>
>> On 4/11/18 11:07 AM, Richard Barnes wrote:
>>
> [snip]
>
> Assuming this is a useful problem to solve, it's not clear to me that this
>> is the best way to solve it.  For example, it seems like the parties could
>> perform a traditional PAKE, then send their preferred identities to each
>> other protected by the negotiated key.  Note that this is basically what
>> happens with the TLS-PAKE I-D that I submitted earlier today (
>> https://datatracker.ietf.org/doc/draft-barnes-tls-pake/), though in that
>> case, you can have either certified or uncertified keys.
>>
>>
>>   TLS-pake, yea! What used to be draft-ietf-tls-pwd-- certificate-less
>> authentication
>> for TLS-- is sitting in the RFC editor's queue waiting for the TLS
>> registry to get reworked.
>>
>>   PKEX is a little different though. You could do TLS-pake and use the
>> negotiated
>> key with an identity you pass but then you'd have to maintain a
>> multiplicity of
>> public keys, one for each server you did TLS-pake to, otherwise you void
>> the security
>> of TLS-pake. PKEX will allow me to share my single uncertified public key
>> with multiple
>> people (using different passwords, of course).
>>
>
> Thanks for the reminder of the proof-of-possession part.  i had gotten
> fixated on the PAKE part :)
>
> I guess what I don't understand here is the benefit of conjoining the
> primitives rather than composing them.  It seems like you would get the
> same effects here in the same number of RTTs with a straightforward
> combination of PAKE, sending identities, and a proof-of-possession protocol
> [1], all of which are already well-established.  Instead, you've mushed
> them all together.  That seems like it has some costs, e.g., the
> restriction to ECDSA when with a more composed design you could support
> arbitrary DH or signing keys.  What are the corresponding benefits?
>
>
>   I'm not sure where the mashup is. You have basically described PKEX. It
> does
> SPAKE2 and then it sends identities and a proof of possession protected by
> the
> PAKE shared secret.
>

What I mean is that in addition to just using the PAKE, you're also
changing its internals:

- Instead of using the password as input, PKEX hashes in the identities
- The key shares from SPAKE2 are re-used for the proof of possession

You're not treating the PAKE as a box that takes a password on one side and
emits a key on the other side.



> The limitations are that the two sides have to be exchanging
> keys from the same group and since they've already agreed on a group for
> their
> identity keys then they have to use the same one for the PAKE. Those were
> not
> seen as serious issues because such a restriction may already be imposed
> on the
> subsequent key exchange protocol (e.g. MQV), and it obviates the need to
> discuss
> what it means to exchange, for instance, a p521 public key over a PAKE
> that uses
> brainpool256. It cuts down on problematic options. That's the same reason
> that
> the hash algorithm and SIV key length are determined by the prime defining
> the
> group, less options that might be used poorly means a more robust and
> idiot-proof
> protocol.
>

I'll grant that you do get more rigidity from the conjunction.  But I'm not
sure that this is more effective than simply expressing the requirement in
prose.



>
>   Also, there is no restriction on ECDSA.
>

Maybe you should revise this text then :)

"""
Due to the nature of the exchange, only DSA ([DSS]) and ECDSA
   ([X9.62]) keys can be exchanged with PKEX.
"""

And maybe add a clearer explanation than "due to the nature of the
exchange".

--Richard



> In fact, Appendix A.2 has the SPAKE2
> role-specific elements for four standard DH groups and the Appendix talks
> about
> how to generate role-specific elements for other groups not enumerated.
>
> --Richard
>
> [1] Sketch:
>
> A->B: SPAKE-Kex
> B->A: SPAKE-Kex, SPAKE-Confirm, {ID_B, Pub_B, Eph_B}K_spake_B
> A->B: SPAKE-Confirm, {ID_A, Pub_A, Eph_A}K_spake_A, MAC(K_DH_A, transcript}
> B->A: MAC(K_DH_B, transcript)
>
> Note that at this point, it's starting to look simpler just to do TLS!
>
>
>   It's not really. There is running code for this protocol (and not just by
> me) and it's much simpler than TLS.
>
>   regards,
>
>   Dan.
>
>
>

--000000000000dafa2d0569a6a309
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 Wed, Apr 11, 2018 at 8:32 PM, Dan Harkins <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:dharkins@lounge.org" target=3D"_blank">dharkins@lounge.org</a=
>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF">
    <br>
    <tt>=C2=A0 Hi Richard,</tt><span class=3D"gmail-"><br>
    <br>
    <div class=3D"gmail-m_6095620806597636437moz-cite-prefix">On 4/11/18 2:=
58 PM, Richard Barnes
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
      <div dir=3D"ltr"><br>
        <div class=3D"gmail_extra"><br>
          <div class=3D"gmail_quote">On Wed, Apr 11, 2018 at 5:06 PM, Dan
            Harkins <span dir=3D"ltr">&lt;<a href=3D"mailto:dharkins@lounge=
.org" target=3D"_blank">dharkins@lounge.org</a>&gt;</span>
            wrote:<br>
            <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br>
              <div bgcolor=3D"#FFFFFF"> <br>
                <tt>=C2=A0 Hi Richard,</tt><span><br>
                  <br>
                  <div class=3D"gmail-m_6095620806597636437m_96244920231675=
2920moz-cite-prefix">On
                    4/11/18 11:07 AM, Richard Barnes wrote:<br>
                  </div>
                </span></div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    </span><tt>[snip]</tt><span class=3D"gmail-"><br>
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div class=3D"gmail_extra">
          <div class=3D"gmail_quote">
            <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div bgcolor=3D"#FFFFFF"><span>
                  <div class=3D"gmail-m_6095620806597636437m_96244920231675=
2920moz-cite-prefix"> </div>
                </span></div>
            </blockquote>
            <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div bgcolor=3D"#FFFFFF"><tt> </tt><span>
                  <blockquote type=3D"cite">
                    <div dir=3D"ltr">
                      <div>Assuming this is a useful problem to solve,
                        it&#39;s not clear to me that this is the best way
                        to solve it.=C2=A0 For example, it seems like the
                        parties could perform a traditional PAKE, then
                        send their preferred identities to each other
                        protected by the negotiated key.=C2=A0 Note that th=
is
                        is basically what happens with the TLS-PAKE I-D
                        that I submitted earlier today (<a href=3D"https://=
datatracker.ietf.org/doc/draft-barnes-tls-pake/" target=3D"_blank">https://=
datatracker.ietf.org/<wbr>doc/draft-barnes-tls-pake/</a>),
                        though in that case, you can have either
                        certified or uncertified keys.<br>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </span><tt>=C2=A0 TLS-pake, yea! What used to be
                  draft-ietf-tls-pwd-- certificate-less authentication<br>
                  for TLS-- is sitting in the RFC editor&#39;s queue waitin=
g
                  for the TLS registry to get reworked. <br>
                  <br>
                  =C2=A0 PKEX is a little different though. You could do
                  TLS-pake and use the negotiated<br>
                  key with an identity you pass but then you&#39;d have to
                  maintain a multiplicity of<br>
                  public keys, one for each server you did TLS-pake to,
                  otherwise you void the security<br>
                  of TLS-pake. PKEX will allow me to share my single
                  uncertified public key with multiple<br>
                  people (using different passwords, of course).<br>
                </tt></div>
            </blockquote>
            <div><br>
            </div>
            <div>Thanks for the reminder of the proof-of-possession
              part.=C2=A0 i had gotten fixated on the PAKE part :)</div>
            <div><br>
            </div>
            <div>I guess what I don&#39;t understand here is the benefit of
              conjoining the primitives rather than composing them.=C2=A0 I=
t
              seems like you would get the same effects here in the same
              number of RTTs with a straightforward combination of PAKE,
              sending identities, and a proof-of-possession protocol
              [1], all of which are already well-established.=C2=A0 Instead=
,
              you&#39;ve mushed them all together.=C2=A0 That seems like it=
 has
              some costs, e.g., the restriction to ECDSA when with a
              more composed design you could support arbitrary DH or
              signing keys.=C2=A0 What are the corresponding benefits?=C2=
=A0 <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    </span><tt>=C2=A0 I&#39;m not sure where the mashup is. You have basica=
lly described
      PKEX. It does<br>
      SPAKE2 and then it sends identities and a proof of possession
      protected by the<br>
      PAKE shared secret. </tt></div></blockquote><div><br></div><div>What =
I mean is that in addition to just using the PAKE, you&#39;re also changing=
 its internals:</div><div><br></div><div>- Instead of using the password as=
 input, PKEX hashes in the identities</div><div>- The key shares from SPAKE=
2 are re-used for the proof of possession<br></div><div><br></div><div>You&=
#39;re not treating the PAKE as a box that takes a password on one side and=
 emits a key on the other side.<br></div><div><br></div><div>=C2=A0</div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor=3D"#FFFFFF"><t=
t>The limitations are that the two sides have to
      be exchanging<br>
      keys from the same group and since they&#39;ve already agreed on a
      group for their<br>
      identity keys then they have to use the same one for the PAKE.
      Those were not<br>
      seen as serious issues because such a restriction may already be
      imposed on the<br>
      subsequent key exchange protocol (e.g. MQV), and it obviates the
      need to discuss<br>
      what it means to exchange, for instance, a p521 public key over a
      PAKE that uses<br>
      brainpool256. It cuts down on problematic options. That&#39;s the sam=
e
      reason that<br>
      the hash algorithm and SIV key length are determined by the prime
      defining the<br>
      group, less options that might be used poorly means a more robust
      and idiot-proof<br>
      protocol. <br></tt></div></blockquote><div><br></div><div>I&#39;ll gr=
ant that you do get more rigidity from the conjunction.=C2=A0 But I&#39;m n=
ot sure that this is more effective than simply expressing the requirement =
in prose.<br></div><div><br></div><div>=C2=A0</div><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2=
04,204);padding-left:1ex"><div bgcolor=3D"#FFFFFF"><tt>
      <br>
      =C2=A0 Also, there is no restriction on ECDSA. </tt></div></blockquot=
e><div><br></div><div>Maybe you should revise this text then :)</div><div><=
br></div><div>&quot;&quot;&quot;</div><div>Due to the nature of the exchang=
e, only DSA ([DSS]) and ECDSA<br>=C2=A0=C2=A0 ([X9.62]) keys can be exchang=
ed with PKEX.<br></div><div>&quot;&quot;&quot;</div><div><br></div><div>And=
 maybe add a clearer explanation than &quot;due to the nature of the exchan=
ge&quot;.<br></div><div><br></div><div>--Richard</div><div><br></div><div>=
=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor=
=3D"#FFFFFF"><tt>In fact, Appendix A.2
      has the SPAKE2<br>
      role-specific elements for four standard DH groups and the
      Appendix talks about<br>
      how to generate role-specific elements for other groups not
      enumerated.<br>
      <br>
    </tt><span class=3D"gmail-">
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div class=3D"gmail_extra">
          <div class=3D"gmail_quote">--Richard</div>
          <div class=3D"gmail_quote"><br>
          </div>
          <div class=3D"gmail_quote">[1] Sketch:</div>
          <div class=3D"gmail_quote"><br>
          </div>
          <div class=3D"gmail_quote">A-&gt;B: SPAKE-Kex</div>
          <div class=3D"gmail_quote">B-&gt;A: SPAKE-Kex, SPAKE-Confirm,
            {ID_B, Pub_B, Eph_B}K_spake_B</div>
          <div class=3D"gmail_quote">A-&gt;B: SPAKE-Confirm, {ID_A, Pub_A,
            Eph_A}K_spake_A, MAC(K_DH_A, transcript}</div>
          <div class=3D"gmail_quote">B-&gt;A: MAC(K_DH_B, transcript)</div>
          <div class=3D"gmail_quote"><br>
          </div>
          <div class=3D"gmail_quote">Note that at this point, it&#39;s
            starting to look simpler just to do TLS!<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    </span><tt>=C2=A0 It&#39;s not really. There is running code for this p=
rotocol (and
      not just by<br>
      me) and it&#39;s much simpler than TLS.<br>
      <br>
      =C2=A0 regards,<br>
      <br>
      =C2=A0 Dan.<br>
      <br>
      <br>
    </tt>
  </div>

</blockquote></div><br></div></div>

--000000000000dafa2d0569a6a309--


From nobody Thu Apr 12 06:34:40 2018
Return-Path: <prvs=76403bde36=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 84873127136 for <cfrg@ietfa.amsl.com>; Thu, 12 Apr 2018 06:34:38 -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, HTML_MESSAGE=0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=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 UINMZk5nYE7E for <cfrg@ietfa.amsl.com>; Thu, 12 Apr 2018 06:34:36 -0700 (PDT)
Received: from llmx3.ll.mit.edu (LLMX3.LL.MIT.EDU [129.55.12.49]) by ietfa.amsl.com (Postfix) with ESMTP id AA1501201F2 for <cfrg@irtf.org>; Thu, 12 Apr 2018 06:34:35 -0700 (PDT)
Received: from LLE2K16-MBX01.mitll.ad.local (LLE2K16-MBX01.mitll.ad.local) by llmx3.ll.mit.edu (unknown) with ESMTP id w3CDYW84030573; Thu, 12 Apr 2018 09:34:32 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
Message-ID: <3C9F0260-66B3-4436-959D-AC97329FEA50@ll.mit.edu>
Content-Type: multipart/alternative; boundary="Apple-Mail=_940CE9F6-B8B2-49B1-A157-F629CC0AEDCC"
MIME-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\))
Date: Thu, 12 Apr 2018 09:34:30 -0400
In-Reply-To: <CAL02cgTF6E697t+twXwbkrzZ7OHsFPh--W_NaT5-f0VJ=Jo7Tg@mail.gmail.com>
CC: Dan Harkins <dharkins@lounge.org>, CFRG <cfrg@irtf.org>
To: Richard Barnes <rlb@ipv.sx>
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net> <16affdfc-df9a-a883-e0d6-dd52efee15e4@lounge.org> <CAL02cgT72J=cboruKiHnF4BP7ffaDfae=JeoYDJJfjenF4wC8Q@mail.gmail.com> <fe239e8a-0a64-4b8b-7dba-f38fcfcdc4fd@lounge.org> <CAL02cgRy7M8AjQySy=1njavj+cyxPvQe-n1f+N4xVc_GZFwdNA@mail.gmail.com> <90c10953-6550-09d0-642e-e84710b706cf@lounge.org> <CAL02cgTF6E697t+twXwbkrzZ7OHsFPh--W_NaT5-f0VJ=Jo7Tg@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.6.18)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-04-12_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804120134
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/MY51bbMReL5calmsFmY99pPaSxk>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 12 Apr 2018 13:34:38 -0000

--Apple-Mail=_940CE9F6-B8B2-49B1-A157-F629CC0AEDCC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

> On Apr 12, 2018, at 09:21, Richard Barnes <rlb@ipv.sx> wrote:
>=20
>   I'm not sure where the mashup is. You have basically described PKEX. =
It does
> SPAKE2 and then it sends identities and a proof of possession =
protected by the
> PAKE shared secret.=20
>=20
> What I mean is that in addition to just using the PAKE, you're also =
changing its internals:
>=20
> - Instead of using the password as input, PKEX hashes in the =
identities

I=E2=80=99d rather type a 20-character password than 256-character hash, =
thank you!

I prefer keeping PKEX as it is now.


--Apple-Mail=_940CE9F6-B8B2-49B1-A157-F629CC0AEDCC
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; line-break: after-white-space;" =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
Apr 12, 2018, at 09:21, Richard Barnes &lt;<a href=3D"mailto:rlb@ipv.sx" =
class=3D"">rlb@ipv.sx</a>&gt; wrote:</div><div class=3D""><div dir=3D"ltr"=
 style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><div =
class=3D"gmail_extra"><div class=3D"gmail_quote"><blockquote =
class=3D"gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; =
border-left-width: 1px; border-left-style: solid; border-left-color: =
rgb(204, 204, 204); padding-left: 1ex;"><div bgcolor=3D"#FFFFFF" =
class=3D""><span class=3D"gmail-"><br class=3D""></span><tt =
class=3D"">&nbsp; I'm not sure where the mashup is. You have basically =
described PKEX. It does<br class=3D"">SPAKE2 and then it sends =
identities and a proof of possession protected by the<br class=3D"">PAKE =
shared secret.<span =
class=3D"Apple-converted-space">&nbsp;</span></tt></div></blockquote><div =
class=3D""><br class=3D""></div><div class=3D"">What I mean is that in =
addition to just using the PAKE, you're also changing its =
internals:</div><div class=3D""><br class=3D""></div><div class=3D"">- =
Instead of using the password as input, PKEX hashes in the =
identities</div></div></div></div></div></blockquote><div><br =
class=3D""></div>I=E2=80=99d rather type a 20-character password than =
256-character hash, thank you!</div><div><br class=3D""></div><div>I =
prefer keeping PKEX as it is now.</div><br class=3D""></body></html>=

--Apple-Mail=_940CE9F6-B8B2-49B1-A157-F629CC0AEDCC--


From nobody Thu Apr 12 06:48:10 2018
Return-Path: <rlb@ipv.sx>
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 9C912127136 for <cfrg@ietfa.amsl.com>; Thu, 12 Apr 2018 06:48:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.608
X-Spam-Level: 
X-Spam-Status: No, score=-2.608 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, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ipv-sx.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 EcYFDrBQfcxO for <cfrg@ietfa.amsl.com>; Thu, 12 Apr 2018 06:48:08 -0700 (PDT)
Received: from mail-oi0-x22c.google.com (mail-oi0-x22c.google.com [IPv6:2607:f8b0:4003: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 0156A126CE8 for <cfrg@irtf.org>; Thu, 12 Apr 2018 06:48:07 -0700 (PDT)
Received: by mail-oi0-x22c.google.com with SMTP id z8-v6so5195844oix.2 for <cfrg@irtf.org>; Thu, 12 Apr 2018 06:48:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gvbDPI9Q7cjAVRVIc7PCXm2BV82e41X2PzeGVIa4Ngw=; b=mVLsx9AEN41AF4Wn4fxVDw4SQ8oKyXR6CyXhVlhqYyGDfUuyXKaZGzexOKTTLF7/Tf D+pkEEgHzuSFjm6zs+tkHaNEnAyV6DR3oIoyJENqoYHkKJGHfjj1eBN0XzB4Mnh9lH/f H7XDe81yTm6UxqYMnypg44uSXyomOYeBYibY0fzf8En2fy1obICHU+ph+0FjEimpF9xz jAIkBPbnBg/AYEulHM1PNRCUgQXdWNT2388lCmMJw95Qvh2b+Ix3yh3KLIvSuKgpbtx/ puvrJEMG31Di0KovJJZCRpq/n+QI17EiLk0S5FBp7zT87DDg5wOlIiMZacbnPTDZBZ5M LWfg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gvbDPI9Q7cjAVRVIc7PCXm2BV82e41X2PzeGVIa4Ngw=; b=aDRiHsIWh0931EO9YOUzoeonkIM17Mrd+KYYEkZ/tz0ssjXhTk1QviHjIGtV08jVAS 7a39Lf/eCKRUtP/IOrK0aqfvVUgC6Fu2nas/GVK8dkJQbkCiCVzE5fEpsMB4tlfZ28vJ Ve1sRIVGi64wg4rpDJuRKNU99XEnlZWsFuvzqM3ng+sxNIF/Kb2bLFYE23sQpz911fIk Phi07w6xNe+mLowXzar/ppWVX7D6FBdkQh5iyK1UOkqL+Nne12ZA/wJkys+7JFMkkJgz +8LueKmUwlUxPRlakwh32enfGOuq5nYYuplryMR3/tpcUo1M1txIxblbWq7zgAgkaSku mrAg==
X-Gm-Message-State: ALQs6tBuSmYj9JsvmTkXV8xTo+zpi9ued0blwiqIblhURxVdlM0VyTrj RT5QZ3If88SH2miWWGK56gbeMx92XGXNlVLFcUFDEg==
X-Google-Smtp-Source: AIpwx4+eMhhnXdNVeaYg8XznU08CZ9cHn0UFLg9vh+3DmQgxQLHCZhiCWZus0NBEC0Ut8a4QwKyYx6E/NYmgrApr0Bg=
X-Received: by 2002:aca:30c6:: with SMTP id w189-v6mr5455446oiw.29.1523540887106;  Thu, 12 Apr 2018 06:48:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.201.90.67 with HTTP; Thu, 12 Apr 2018 06:48:06 -0700 (PDT)
In-Reply-To: <3C9F0260-66B3-4436-959D-AC97329FEA50@ll.mit.edu>
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net> <16affdfc-df9a-a883-e0d6-dd52efee15e4@lounge.org> <CAL02cgT72J=cboruKiHnF4BP7ffaDfae=JeoYDJJfjenF4wC8Q@mail.gmail.com> <fe239e8a-0a64-4b8b-7dba-f38fcfcdc4fd@lounge.org> <CAL02cgRy7M8AjQySy=1njavj+cyxPvQe-n1f+N4xVc_GZFwdNA@mail.gmail.com> <90c10953-6550-09d0-642e-e84710b706cf@lounge.org> <CAL02cgTF6E697t+twXwbkrzZ7OHsFPh--W_NaT5-f0VJ=Jo7Tg@mail.gmail.com> <3C9F0260-66B3-4436-959D-AC97329FEA50@ll.mit.edu>
From: Richard Barnes <rlb@ipv.sx>
Date: Thu, 12 Apr 2018 09:48:06 -0400
Message-ID: <CAL02cgT1Vemzu5xX5veMvWe=zCh=27HhxWDru3mB8MG+-mQjQg@mail.gmail.com>
To: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
Cc: Dan Harkins <dharkins@lounge.org>, CFRG <cfrg@irtf.org>
Content-Type: multipart/alternative; boundary="000000000000608dfb0569a701d2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/7vi_A0QVFR571ElDhNCoYimtf38>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 12 Apr 2018 13:48:10 -0000

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

On Thu, Apr 12, 2018 at 9:34 AM, Blumenthal, Uri - 0553 - MITLL <
uri@ll.mit.edu> wrote:

> On Apr 12, 2018, at 09:21, Richard Barnes <rlb@ipv.sx> wrote:
>
>>
>>   I'm not sure where the mashup is. You have basically described PKEX. I=
t
>> does
>> SPAKE2 and then it sends identities and a proof of possession protected
>> by the
>> PAKE shared secret.
>>
>
> What I mean is that in addition to just using the PAKE, you're also
> changing its internals:
>
> - Instead of using the password as input, PKEX hashes in the identities
>
>
> I=E2=80=99d rather type a 20-character password than 256-character hash, =
thank you!
>
> I prefer keeping PKEX as it is now.
>

None of the alternatives being discussed here would entail a user interface
change.

Also, to be precise, a SHA-256 hash is only 64 characters, if you do it in
hex ;)

--RIchard

--000000000000608dfb0569a701d2
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, Apr 12, 2018 at 9:34 AM, Blumenthal, Uri - 0553 - MITLL <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:uri@ll.mit.edu" target=3D"_blank">uri@ll.m=
it.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"><div style=
=3D"word-wrap:break-word;line-break:after-white-space"><div><span class=3D"=
"><blockquote type=3D"cite"><div>On Apr 12, 2018, at 09:21, Richard Barnes =
&lt;<a href=3D"mailto:rlb@ipv.sx" target=3D"_blank">rlb@ipv.sx</a>&gt; wrot=
e:</div><div><div dir=3D"ltr" style=3D"font-family:Helvetica;font-size:12px=
;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spaci=
ng:normal;text-align:start;text-indent:0px;text-transform:none;white-space:=
normal;word-spacing:0px;text-decoration:none"><div class=3D"gmail_extra"><d=
iv class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left=
-color:rgb(204,204,204);padding-left:1ex"><div bgcolor=3D"#FFFFFF"><span cl=
ass=3D"m_2209658780846820475gmail-"><br></span><tt>=C2=A0 I&#39;m not sure =
where the mashup is. You have basically described PKEX. It does<br>SPAKE2 a=
nd then it sends identities and a proof of possession protected by the<br>P=
AKE shared secret.<span class=3D"m_2209658780846820475Apple-converted-space=
">=C2=A0</span></tt></div></blockquote><div><br></div><div>What I mean is t=
hat in addition to just using the PAKE, you&#39;re also changing its intern=
als:</div><div><br></div><div>- Instead of using the password as input, PKE=
X hashes in the identities</div></div></div></div></div></blockquote><div><=
br></div></span>I=E2=80=99d rather type a 20-character password than 256-ch=
aracter hash, thank you!</div><div><br></div><div>I prefer keeping PKEX as =
it is now.</div></div></blockquote><div>=C2=A0</div></div>None of the alter=
natives being discussed here would entail a user interface change.</div><di=
v class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Also, to be pr=
ecise, a SHA-256 hash is only 64 characters, if you do it in hex ;)<br></di=
v><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">--RIchard=
<br></div></div>

--000000000000608dfb0569a701d2--


From nobody Thu Apr 12 16:52:39 2018
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 B13C0124D6C for <cfrg@ietfa.amsl.com>; Thu, 12 Apr 2018 16:52:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, 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 28XXf3dV8w1i for <cfrg@ietfa.amsl.com>; Thu, 12 Apr 2018 16:52:35 -0700 (PDT)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id CBE59126CBF for <cfrg@irtf.org>; Thu, 12 Apr 2018 16:52:35 -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 36C4AA888018; Thu, 12 Apr 2018 16:52:35 -0700 (PDT)
To: Richard Barnes <rlb@ipv.sx>
Cc: cfrg@irtf.org
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net> <16affdfc-df9a-a883-e0d6-dd52efee15e4@lounge.org> <CAL02cgT72J=cboruKiHnF4BP7ffaDfae=JeoYDJJfjenF4wC8Q@mail.gmail.com> <fe239e8a-0a64-4b8b-7dba-f38fcfcdc4fd@lounge.org> <CAL02cgRy7M8AjQySy=1njavj+cyxPvQe-n1f+N4xVc_GZFwdNA@mail.gmail.com> <90c10953-6550-09d0-642e-e84710b706cf@lounge.org> <CAL02cgTF6E697t+twXwbkrzZ7OHsFPh--W_NaT5-f0VJ=Jo7Tg@mail.gmail.com>
From: Dan Harkins <dharkins@lounge.org>
Message-ID: <e186b642-7282-3bfe-3da1-f68e4c3b687c@lounge.org>
Date: Thu, 12 Apr 2018 16:52:32 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <CAL02cgTF6E697t+twXwbkrzZ7OHsFPh--W_NaT5-f0VJ=Jo7Tg@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------34F5BE7FBF85B1ED9D93C86D"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/0Qvt_k4El3VMixs0ZsLlEQ4lciQ>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 12 Apr 2018 23:52:37 -0000

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



On 4/12/18 6:21 AM, Richard Barnes wrote:
[snip]
>
> I guess what I don't understand here is the benefit of conjoining the 
> primitives rather than composing them.  It seems like you would get 
> the same effects here in the same number of RTTs with a 
> straightforward combination of PAKE, sending identities, and a 
> proof-of-possession protocol [1], all of which are already 
> well-established.  Instead, you've mushed them all together.  That 
> seems like it has some costs, e.g., the restriction to ECDSA when with 
> a more composed design you could support arbitrary DH or signing 
> keys.  What are the corresponding benefits?
>
>
>       I'm not sure where the mashup is. You have basically described
>     PKEX. It does
>     SPAKE2 and then it sends identities and a proof of possession
>     protected by the
>     PAKE shared secret.
>
>
> What I mean is that in addition to just using the PAKE, you're also 
> changing its internals:
>
> - Instead of using the password as input, PKEX hashes in the identities

   So? The password is still used. Are you saying this is not SPAKE2 
anymore?

> - The key shares from SPAKE2 are re-used for the proof of possession

   There needs to be some demonstration that the key is used "live" in 
the exchange
otherwise you're not really proving possession. In your sketch below 
(which I
admittedly don't understand 100%) you are introducing yet another 
Diffie-Hellman
with Eph_A and Eph_B which I guess are used with the private analogs of 
Pub_B
and Pub_A, respectively, to produce K_DH_B and K_DH_A, respectively.

   I don't see the value of treating the PAKE a closed some black box. 
It already
has a perfectly good ephemeral Diffie-Hellman share which I am putting 
to good use
instead of ignoring which necessitates generation of yet another ephemeral
Diffie-Hellman share.

> You're not treating the PAKE as a box that takes a password on one 
> side and emits a key on the other side.
>
>     The limitations are that the two sides have to be exchanging
>     keys from the same group and since they've already agreed on a
>     group for their
>     identity keys then they have to use the same one for the PAKE.
>     Those were not
>     seen as serious issues because such a restriction may already be
>     imposed on the
>     subsequent key exchange protocol (e.g. MQV), and it obviates the
>     need to discuss
>     what it means to exchange, for instance, a p521 public key over a
>     PAKE that uses
>     brainpool256. It cuts down on problematic options. That's the same
>     reason that
>     the hash algorithm and SIV key length are determined by the prime
>     defining the
>     group, less options that might be used poorly means a more robust
>     and idiot-proof
>     protocol.
>
>
> I'll grant that you do get more rigidity from the conjunction.  But 
> I'm not sure that this is more effective than simply expressing the 
> requirement in prose.
>
>
>       Also, there is no restriction on ECDSA.
>
>
> Maybe you should revise this text then :)
>
> """
> Due to the nature of the exchange, only DSA ([DSS]) and ECDSA
>    ([X9.62]) keys can be exchanged with PKEX.
> """

   Right, it expressly includes DSA keys.

> And maybe add a clearer explanation than "due to the nature of the 
> exchange".

   OK, good comment. That is overly vague.

   Dan.

> --Richard
>
>     In fact, Appendix A.2 has the SPAKE2
>     role-specific elements for four standard DH groups and the
>     Appendix talks about
>     how to generate role-specific elements for other groups not
>     enumerated.
>
>>     --Richard
>>
>>     [1] Sketch:
>>
>>     A->B: SPAKE-Kex
>>     B->A: SPAKE-Kex, SPAKE-Confirm, {ID_B, Pub_B, Eph_B}K_spake_B
>>     A->B: SPAKE-Confirm, {ID_A, Pub_A, Eph_A}K_spake_A, MAC(K_DH_A,
>>     transcript}
>>     B->A: MAC(K_DH_B, transcript)
>>
>>     Note that at this point, it's starting to look simpler just to do
>>     TLS!
>
>       It's not really. There is running code for this protocol (and
>     not just by
>     me) and it's much simpler than TLS.
>
>       regards,
>
>       Dan.
>
>
>


--------------34F5BE7FBF85B1ED9D93C86D
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <br>
    <div class="moz-cite-prefix">On 4/12/18 6:21 AM, Richard Barnes
      wrote:<br>
      <tt>[snip]</tt><br>
    </div>
    <blockquote type="cite"
cite="mid:CAL02cgTF6E697t+twXwbkrzZ7OHsFPh--W_NaT5-f0VJ=Jo7Tg@mail.gmail.com">
      <div dir="ltr"><br>
        <div>I guess what I don't understand here is the benefit of
          conjoining the primitives rather than composing them.  It
          seems like you would get the same effects here in the same
          number of RTTs with a straightforward combination of PAKE,
          sending identities, and a proof-of-possession protocol [1],
          all of which are already well-established.  Instead, you've
          mushed them all together.  That seems like it has some costs,
          e.g., the restriction to ECDSA when with a more composed
          design you could support arbitrary DH or signing keys.  What
          are the corresponding benefits?  <br>
        </div>
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF"><span class="gmail-">
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div class="gmail_extra"> </div>
                    </div>
                  </blockquote>
                  <br>
                </span><tt>  I'm not sure where the mashup is. You have
                  basically described PKEX. It does<br>
                  SPAKE2 and then it sends identities and a proof of
                  possession protected by the<br>
                  PAKE shared secret. </tt></div>
            </blockquote>
            <div><br>
            </div>
            <div>What I mean is that in addition to just using the PAKE,
              you're also changing its internals:</div>
            <div><br>
            </div>
            <div>- Instead of using the password as input, PKEX hashes
              in the identities</div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <tt>  So? The password is still used. Are you saying this is not
      SPAKE2 anymore?<br>
      <br>
    </tt>
    <blockquote type="cite"
cite="mid:CAL02cgTF6E697t+twXwbkrzZ7OHsFPh--W_NaT5-f0VJ=Jo7Tg@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>- The key shares from SPAKE2 are re-used for the proof
              of possession<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <tt>  There needs to be some demonstration that the key is used
      "live" in the exchange<br>
      otherwise you're not really proving possession. In your sketch
      below (which I<br>
      admittedly don't understand 100%) you are introducing yet another
      Diffie-Hellman<br>
      with Eph_A and Eph_B which I guess are used with the private
      analogs of Pub_B<br>
      and Pub_A, respectively, to produce K_DH_B and K_DH_A,
      respectively.  <br>
      <br>
        I don't see the value of treating the PAKE a closed some black
      box. It already<br>
      has a perfectly good ephemeral Diffie-Hellman share which I am
      putting to good use<br>
      instead of ignoring which necessitates generation of yet another
      ephemeral<br>
      Diffie-Hellman share. <br>
      <br>
    </tt>
    <blockquote type="cite"
cite="mid:CAL02cgTF6E697t+twXwbkrzZ7OHsFPh--W_NaT5-f0VJ=Jo7Tg@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>You're not treating the PAKE as a box that takes a
              password on one side and emits a key on the other side.<br>
            </div>
            <div><br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF"><tt>The limitations are that the
                  two sides have to be exchanging<br>
                  keys from the same group and since they've already
                  agreed on a group for their<br>
                  identity keys then they have to use the same one for
                  the PAKE. Those were not<br>
                  seen as serious issues because such a restriction may
                  already be imposed on the<br>
                  subsequent key exchange protocol (e.g. MQV), and it
                  obviates the need to discuss<br>
                  what it means to exchange, for instance, a p521 public
                  key over a PAKE that uses<br>
                  brainpool256. It cuts down on problematic options.
                  That's the same reason that<br>
                  the hash algorithm and SIV key length are determined
                  by the prime defining the<br>
                  group, less options that might be used poorly means a
                  more robust and idiot-proof<br>
                  protocol. <br>
                </tt></div>
            </blockquote>
            <div><br>
            </div>
            <div>I'll grant that you do get more rigidity from the
              conjunction.  But I'm not sure that this is more effective
              than simply expressing the requirement in prose.<br>
            </div>
            <div><br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF"><tt> <br>
                    Also, there is no restriction on ECDSA. </tt></div>
            </blockquote>
            <div><br>
            </div>
            <div>Maybe you should revise this text then :)</div>
            <div><br>
            </div>
            <div>"""</div>
            <div>Due to the nature of the exchange, only DSA ([DSS]) and
              ECDSA<br>
                 ([X9.62]) keys can be exchanged with PKEX.<br>
            </div>
            <div>"""</div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <tt>  Right, it expressly includes DSA keys. <br>
      <br>
    </tt>
    <blockquote type="cite"
cite="mid:CAL02cgTF6E697t+twXwbkrzZ7OHsFPh--W_NaT5-f0VJ=Jo7Tg@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>And maybe add a clearer explanation than "due to the
              nature of the exchange".<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <tt>  OK, good comment. That is overly vague.<br>
      <br>
        Dan.<br>
      <br>
    </tt>
    <blockquote type="cite"
cite="mid:CAL02cgTF6E697t+twXwbkrzZ7OHsFPh--W_NaT5-f0VJ=Jo7Tg@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>--Richard</div>
            <div><br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF"><tt>In fact, Appendix A.2 has the
                  SPAKE2<br>
                  role-specific elements for four standard DH groups and
                  the Appendix talks about<br>
                  how to generate role-specific elements for other
                  groups not enumerated.<br>
                  <br>
                </tt><span class="gmail-">
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div class="gmail_extra">
                        <div class="gmail_quote">--Richard</div>
                        <div class="gmail_quote"><br>
                        </div>
                        <div class="gmail_quote">[1] Sketch:</div>
                        <div class="gmail_quote"><br>
                        </div>
                        <div class="gmail_quote">A-&gt;B: SPAKE-Kex</div>
                        <div class="gmail_quote">B-&gt;A: SPAKE-Kex,
                          SPAKE-Confirm, {ID_B, Pub_B, Eph_B}K_spake_B</div>
                        <div class="gmail_quote">A-&gt;B: SPAKE-Confirm,
                          {ID_A, Pub_A, Eph_A}K_spake_A, MAC(K_DH_A,
                          transcript}</div>
                        <div class="gmail_quote">B-&gt;A: MAC(K_DH_B,
                          transcript)</div>
                        <div class="gmail_quote"><br>
                        </div>
                        <div class="gmail_quote">Note that at this
                          point, it's starting to look simpler just to
                          do TLS!<br>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </span><tt>  It's not really. There is running code for
                  this protocol (and not just by<br>
                  me) and it's much simpler than TLS.<br>
                  <br>
                    regards,<br>
                  <br>
                    Dan.<br>
                  <br>
                  <br>
                </tt> </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------34F5BE7FBF85B1ED9D93C86D--


From nobody Thu Apr 12 18:39:27 2018
Return-Path: <rlb@ipv.sx>
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 029B8124205 for <cfrg@ietfa.amsl.com>; Thu, 12 Apr 2018 18:39:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.609
X-Spam-Level: 
X-Spam-Status: No, score=-2.609 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, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ipv-sx.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 UCz_Q2ijMT5t for <cfrg@ietfa.amsl.com>; Thu, 12 Apr 2018 18:39:23 -0700 (PDT)
Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::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 DE33012D82F for <cfrg@irtf.org>; Thu, 12 Apr 2018 18:38:52 -0700 (PDT)
Received: by mail-oi0-x229.google.com with SMTP id 188-v6so7006682oih.8 for <cfrg@irtf.org>; Thu, 12 Apr 2018 18:38:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=leCykkl/KOJ2n4pyM5gclFriRE2nP+RjEM+Sn6bOv6c=; b=gABeezMCD+plQUwpLNpothQBtCOwQvuKXaq2Yqeg0H8p25BZRlx1UCgURp8nb8k79e eTvgkK8firIegqyIJ0GCq36mTg3v5x/dJOwKxjTHuYMUkIHbxt7QEBpqmmn99UZSd9+w rjMf0pyjLHKVYjn5FqiEqGKc4T7PuThHXXkWJ3CS1FH9gM1zrzVwXKiLGygfTU7piUCS w19SGsVLY5VZM2WgC5ajKMDPJ7xu7567I0hOAUCQwnrngYCnzhcE4q5oJXa1TrA2xawf 89iBhYe2K/JUxQMS2TtjVOitq9nulsLuuV7Ecu76j82FYi9fDieOHyo/l6HMnLleF7mr KTzg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=leCykkl/KOJ2n4pyM5gclFriRE2nP+RjEM+Sn6bOv6c=; b=SU7KsLX7JcAb6oWdx8kO9jENiDlJ9aSm/z8bdhqDZG7JQn5Z1mgpP9RA1iFmAL0+dq ERLooMMe3KLEWg8OKkxVBcHX5Ma63HWGYHMo0fYjZymVvBoKsQtvfCTxydmkbKgq+v/W f0yrIYfnTUwXnyxV3UCt/9vo0FAhsr92k07oNMSm4gRj2eY3VdAtrRmBmWlWTF9zGf9/ tjEnbmSAeEhNla/T6Y6/wbdXdUIbk1vjLkqVAoyWD0Q9f9VmstatSJNFkFt9Yezrx+8h RhIq5pwdzv7CTZWYNhYHs1mSRc3ZjSaVf286/YIk+2d8LMm5pGUMfgz+9mKgAIgoVBDA quWA==
X-Gm-Message-State: ALQs6tD9+2qAQjBG9GX78E3iOUppq+PdID2SO5LlzN18zy8KOPebRrKa AidyAMzyDdTvrOcc4mWCgqe/vNT8UH9XYhWQLwtu+r+8
X-Google-Smtp-Source: AIpwx48MHfJzQylwUt+li9bMGMpfkQLy+3CZZzqKIJuoIGnkC5DqOrs/Xh9VaUrZoqiBse3hxytMGrZtFfc8C0AtLcE=
X-Received: by 2002:aca:30c6:: with SMTP id w189-v6mr6873185oiw.29.1523583532003;  Thu, 12 Apr 2018 18:38:52 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.201.90.67 with HTTP; Thu, 12 Apr 2018 18:38:51 -0700 (PDT)
In-Reply-To: <e186b642-7282-3bfe-3da1-f68e4c3b687c@lounge.org>
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net> <16affdfc-df9a-a883-e0d6-dd52efee15e4@lounge.org> <CAL02cgT72J=cboruKiHnF4BP7ffaDfae=JeoYDJJfjenF4wC8Q@mail.gmail.com> <fe239e8a-0a64-4b8b-7dba-f38fcfcdc4fd@lounge.org> <CAL02cgRy7M8AjQySy=1njavj+cyxPvQe-n1f+N4xVc_GZFwdNA@mail.gmail.com> <90c10953-6550-09d0-642e-e84710b706cf@lounge.org> <CAL02cgTF6E697t+twXwbkrzZ7OHsFPh--W_NaT5-f0VJ=Jo7Tg@mail.gmail.com> <e186b642-7282-3bfe-3da1-f68e4c3b687c@lounge.org>
From: Richard Barnes <rlb@ipv.sx>
Date: Thu, 12 Apr 2018 21:38:51 -0400
Message-ID: <CAL02cgQc2HJ0bOZzOc1Q9iqX0-E-PN5qYqW6=iWGE3iggdRQUA@mail.gmail.com>
To: Dan Harkins <dharkins@lounge.org>
Cc: CFRG <cfrg@irtf.org>
Content-Type: multipart/alternative; boundary="000000000000360b230569b0efd1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/9tdvl-S4SsNjLtkHjERvKLGNeFk>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 13 Apr 2018 01:39:26 -0000

--000000000000360b230569b0efd1
Content-Type: text/plain; charset="UTF-8"

On Thu, Apr 12, 2018 at 7:52 PM, Dan Harkins <dharkins@lounge.org> wrote:

>
>
> On 4/12/18 6:21 AM, Richard Barnes wrote:
> [snip]
>
>
> I guess what I don't understand here is the benefit of conjoining the
> primitives rather than composing them.  It seems like you would get the
> same effects here in the same number of RTTs with a straightforward
> combination of PAKE, sending identities, and a proof-of-possession protocol
> [1], all of which are already well-established.  Instead, you've mushed
> them all together.  That seems like it has some costs, e.g., the
> restriction to ECDSA when with a more composed design you could support
> arbitrary DH or signing keys.  What are the corresponding benefits?
>
>>
>>   I'm not sure where the mashup is. You have basically described PKEX. It
>> does
>> SPAKE2 and then it sends identities and a proof of possession protected
>> by the
>> PAKE shared secret.
>>
>
> What I mean is that in addition to just using the PAKE, you're also
> changing its internals:
>
> - Instead of using the password as input, PKEX hashes in the identities
>
>
>   So? The password is still used. Are you saying this is not SPAKE2
> anymore?
>
> - The key shares from SPAKE2 are re-used for the proof of possession
>
>
>   There needs to be some demonstration that the key is used "live" in the
> exchange
> otherwise you're not really proving possession. In your sketch below
> (which I
> admittedly don't understand 100%) you are introducing yet another
> Diffie-Hellman
> with Eph_A and Eph_B which I guess are used with the private analogs of
> Pub_B
> and Pub_A, respectively, to produce K_DH_B and K_DH_A, respectively.
>
>   I don't see the value of treating the PAKE a closed some black box.
>

The benefits are the typical "don't roll your own crypto" benefits --
generality, code re-use, and analysis re-use.  If you have a general
"insert proof of possession here" slot, you can address keys from any DH
group (even if it can't do SPAKE) or even signing keys.   You can take an
SPAKE implementation that has a "password in, key out" interface and re-use
it.  And when you're trying to prove the properties of the system, you can
treat the "black box" sub-units as things with known properties; you don't
have to worry about whether re-using a key share will undermine some
property.

It seems like you're trading off 1 DH key generation per side (the
incremental cost of the sketch below over PKEX) against a lot of work to
analyze this thing and more difficulty implementing.  I'm just saying that
trade-off doesn't seem like a good deal to me.  (If I were the chairs, I
might consider whether this merits the group's time, given that the can be
solved with existing primitives at not much cost.)  If others feel it is
worthwhile, though, I'm not going to stand in the way.

--Richard



> It already
> has a perfectly good ephemeral Diffie-Hellman share which I am putting to
> good use
> instead of ignoring which necessitates generation of yet another ephemeral
> Diffie-Hellman share.
>
> You're not treating the PAKE as a box that takes a password on one side
> and emits a key on the other side.
>
>
>
>> The limitations are that the two sides have to be exchanging
>> keys from the same group and since they've already agreed on a group for
>> their
>> identity keys then they have to use the same one for the PAKE. Those were
>> not
>> seen as serious issues because such a restriction may already be imposed
>> on the
>> subsequent key exchange protocol (e.g. MQV), and it obviates the need to
>> discuss
>> what it means to exchange, for instance, a p521 public key over a PAKE
>> that uses
>> brainpool256. It cuts down on problematic options. That's the same reason
>> that
>> the hash algorithm and SIV key length are determined by the prime
>> defining the
>> group, less options that might be used poorly means a more robust and
>> idiot-proof
>> protocol.
>>
>
> I'll grant that you do get more rigidity from the conjunction.  But I'm
> not sure that this is more effective than simply expressing the requirement
> in prose.
>
>
>
>>
>>   Also, there is no restriction on ECDSA.
>>
>
> Maybe you should revise this text then :)
>
> """
> Due to the nature of the exchange, only DSA ([DSS]) and ECDSA
>    ([X9.62]) keys can be exchanged with PKEX.
> """
>
>
>   Right, it expressly includes DSA keys.
>
> And maybe add a clearer explanation than "due to the nature of the
> exchange".
>
>
>   OK, good comment. That is overly vague.
>
>   Dan.
>
> --Richard
>
>
>
>> In fact, Appendix A.2 has the SPAKE2
>> role-specific elements for four standard DH groups and the Appendix talks
>> about
>> how to generate role-specific elements for other groups not enumerated.
>>
>> --Richard
>>
>> [1] Sketch:
>>
>> A->B: SPAKE-Kex
>> B->A: SPAKE-Kex, SPAKE-Confirm, {ID_B, Pub_B, Eph_B}K_spake_B
>> A->B: SPAKE-Confirm, {ID_A, Pub_A, Eph_A}K_spake_A, MAC(K_DH_A,
>> transcript}
>> B->A: MAC(K_DH_B, transcript)
>>
>> Note that at this point, it's starting to look simpler just to do TLS!
>>
>>
>>   It's not really. There is running code for this protocol (and not just
>> by
>> me) and it's much simpler than TLS.
>>
>>   regards,
>>
>>   Dan.
>>
>>
>>
>
>

--000000000000360b230569b0efd1
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, Apr 12, 2018 at 7:52 PM, Dan Harkins <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:dharkins@lounge.org" target=3D"_blank">dharkins@lounge.org</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">
 =20
   =20
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF"><span class=3D"">
    <br>
    <br>
    <div class=3D"m_-7533798180134797771moz-cite-prefix">On 4/12/18 6:21 AM=
, Richard Barnes
      wrote:<br>
      <tt>[snip]</tt><br>
    </div>
    </span><blockquote type=3D"cite">
      <div dir=3D"ltr"><br><span class=3D"">
        <div>I guess what I don&#39;t understand here is the benefit of
          conjoining the primitives rather than composing them.=C2=A0 It
          seems like you would get the same effects here in the same
          number of RTTs with a straightforward combination of PAKE,
          sending identities, and a proof-of-possession protocol [1],
          all of which are already well-established.=C2=A0 Instead, you&#39=
;ve
          mushed them all together.=C2=A0 That seems like it has some costs=
,
          e.g., the restriction to ECDSA when with a more composed
          design you could support arbitrary DH or signing keys.=C2=A0 What
          are the corresponding benefits?=C2=A0 <br>
        </div>
        <div class=3D"gmail_extra">
          <div class=3D"gmail_quote">
            <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div bgcolor=3D"#FFFFFF"><span class=3D"m_-753379818013479777=
1gmail-">
                  <blockquote type=3D"cite">
                    <div dir=3D"ltr">
                      <div class=3D"gmail_extra"> </div>
                    </div>
                  </blockquote>
                  <br>
                </span><tt>=C2=A0 I&#39;m not sure where the mashup is. You=
 have
                  basically described PKEX. It does<br>
                  SPAKE2 and then it sends identities and a proof of
                  possession protected by the<br>
                  PAKE shared secret. </tt></div>
            </blockquote>
            <div><br>
            </div>
            <div>What I mean is that in addition to just using the PAKE,
              you&#39;re also changing its internals:</div>
            <div><br>
            </div>
            <div>- Instead of using the password as input, PKEX hashes
              in the identities</div>
          </div>
        </div>
      </span></div>
    </blockquote>
    <br>
    <tt>=C2=A0 So? The password is still used. Are you saying this is not
      SPAKE2 anymore?<br>
      <br>
    </tt><span class=3D"">
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div class=3D"gmail_extra">
          <div class=3D"gmail_quote">
            <div>- The key shares from SPAKE2 are re-used for the proof
              of possession<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    </span><tt>=C2=A0 There needs to be some demonstration that the key is =
used
      &quot;live&quot; in the exchange<br>
      otherwise you&#39;re not really proving possession. In your sketch
      below (which I<br>
      admittedly don&#39;t understand 100%) you are introducing yet another
      Diffie-Hellman<br>
      with Eph_A and Eph_B which I guess are used with the private
      analogs of Pub_B<br>
      and Pub_A, respectively, to produce K_DH_B and K_DH_A,
      respectively.=C2=A0 <br>
      <br>
      =C2=A0 I don&#39;t see the value of treating the PAKE a closed some b=
lack
      box. </tt></div></blockquote><div><br></div><div>The benefits are the=
 typical &quot;don&#39;t roll your own crypto&quot; benefits -- generality,=
 code re-use, and analysis re-use.=C2=A0 If you have a general &quot;insert=
 proof of possession here&quot; slot, you can address keys from any DH grou=
p (even if it can&#39;t do SPAKE) or even signing keys. =C2=A0 You can take=
 an SPAKE implementation that has a &quot;password in, key out&quot; interf=
ace and re-use it.=C2=A0 And when you&#39;re trying to prove the properties=
 of the system, you can treat the &quot;black box&quot; sub-units as things=
 with known properties; you don&#39;t have to worry about whether re-using =
a key share will undermine some property.</div><div><br></div><div>It seems=
 like you&#39;re trading off 1 DH key generation per side (the incremental =
cost of the sketch below over PKEX) against a lot of work to analyze this t=
hing and more difficulty implementing.=C2=A0 I&#39;m just saying that trade=
-off doesn&#39;t seem like a good deal to me.=C2=A0 (If I were the chairs, =
I might consider whether this merits the group&#39;s time, given that the c=
an be solved with existing primitives at not much cost.)=C2=A0 If others fe=
el it is worthwhile, though, I&#39;m not going to stand in the way.=C2=A0 <=
br></div><div><br></div><div>--Richard<br></div><div><br></div><div>=C2=A0<=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex"><div text=3D"#000000" bgcolor=3D"#FFFFF=
F"><tt>It already<br>
      has a perfectly good ephemeral Diffie-Hellman share which I am
      putting to good use<br>
      instead of ignoring which necessitates generation of yet another
      ephemeral<br>
      Diffie-Hellman share. <br>
      <br>
    </tt><span class=3D"">
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div class=3D"gmail_extra">
          <div class=3D"gmail_quote">
            <div>You&#39;re not treating the PAKE as a box that takes a
              password on one side and emits a key on the other side.<br>
            </div>
            <div><br>
            </div>
            <div>=C2=A0</div>
            <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div bgcolor=3D"#FFFFFF"><tt>The limitations are that the
                  two sides have to be exchanging<br>
                  keys from the same group and since they&#39;ve already
                  agreed on a group for their<br>
                  identity keys then they have to use the same one for
                  the PAKE. Those were not<br>
                  seen as serious issues because such a restriction may
                  already be imposed on the<br>
                  subsequent key exchange protocol (e.g. MQV), and it
                  obviates the need to discuss<br>
                  what it means to exchange, for instance, a p521 public
                  key over a PAKE that uses<br>
                  brainpool256. It cuts down on problematic options.
                  That&#39;s the same reason that<br>
                  the hash algorithm and SIV key length are determined
                  by the prime defining the<br>
                  group, less options that might be used poorly means a
                  more robust and idiot-proof<br>
                  protocol. <br>
                </tt></div>
            </blockquote>
            <div><br>
            </div>
            <div>I&#39;ll grant that you do get more rigidity from the
              conjunction.=C2=A0 But I&#39;m not sure that this is more eff=
ective
              than simply expressing the requirement in prose.<br>
            </div>
            <div><br>
            </div>
            <div>=C2=A0</div>
            <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div bgcolor=3D"#FFFFFF"><tt> <br>
                  =C2=A0 Also, there is no restriction on ECDSA. </tt></div=
>
            </blockquote>
            <div><br>
            </div>
            <div>Maybe you should revise this text then :)</div>
            <div><br>
            </div>
            <div>&quot;&quot;&quot;</div>
            <div>Due to the nature of the exchange, only DSA ([DSS]) and
              ECDSA<br>
              =C2=A0=C2=A0 ([X9.62]) keys can be exchanged with PKEX.<br>
            </div>
            <div>&quot;&quot;&quot;</div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    </span><tt>=C2=A0 Right, it expressly includes DSA keys. <br>
      <br>
    </tt><span class=3D"">
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div class=3D"gmail_extra">
          <div class=3D"gmail_quote">
            <div>And maybe add a clearer explanation than &quot;due to the
              nature of the exchange&quot;.<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    </span><tt>=C2=A0 OK, good comment. That is overly vague.<span class=3D=
"HOEnZb"><font color=3D"#888888"><br>
      <br>
      =C2=A0 Dan.<br>
      <br>
    </font></span></tt><span class=3D"">
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div class=3D"gmail_extra">
          <div class=3D"gmail_quote">
            <div>--Richard</div>
            <div><br>
            </div>
            <div>=C2=A0</div>
            <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div bgcolor=3D"#FFFFFF"><tt>In fact, Appendix A.2 has the
                  SPAKE2<br>
                  role-specific elements for four standard DH groups and
                  the Appendix talks about<br>
                  how to generate role-specific elements for other
                  groups not enumerated.<br>
                  <br>
                </tt><span class=3D"m_-7533798180134797771gmail-">
                  <blockquote type=3D"cite">
                    <div dir=3D"ltr">
                      <div class=3D"gmail_extra">
                        <div class=3D"gmail_quote">--Richard</div>
                        <div class=3D"gmail_quote"><br>
                        </div>
                        <div class=3D"gmail_quote">[1] Sketch:</div>
                        <div class=3D"gmail_quote"><br>
                        </div>
                        <div class=3D"gmail_quote">A-&gt;B: SPAKE-Kex</div>
                        <div class=3D"gmail_quote">B-&gt;A: SPAKE-Kex,
                          SPAKE-Confirm, {ID_B, Pub_B, Eph_B}K_spake_B</div=
>
                        <div class=3D"gmail_quote">A-&gt;B: SPAKE-Confirm,
                          {ID_A, Pub_A, Eph_A}K_spake_A, MAC(K_DH_A,
                          transcript}</div>
                        <div class=3D"gmail_quote">B-&gt;A: MAC(K_DH_B,
                          transcript)</div>
                        <div class=3D"gmail_quote"><br>
                        </div>
                        <div class=3D"gmail_quote">Note that at this
                          point, it&#39;s starting to look simpler just to
                          do TLS!<br>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </span><tt>=C2=A0 It&#39;s not really. There is running cod=
e for
                  this protocol (and not just by<br>
                  me) and it&#39;s much simpler than TLS.<br>
                  <br>
                  =C2=A0 regards,<br>
                  <br>
                  =C2=A0 Dan.<br>
                  <br>
                  <br>
                </tt> </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </span></div>

</blockquote></div><br></div></div>

--000000000000360b230569b0efd1--


From nobody Thu Apr 12 19:15:28 2018
Return-Path: <martin.thomson@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 206A512D7F1 for <cfrg@ietfa.amsl.com>; Thu, 12 Apr 2018 19:15:27 -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 XjvLAir1zshS for <cfrg@ietfa.amsl.com>; Thu, 12 Apr 2018 19:15:25 -0700 (PDT)
Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003:c06::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 9F89E12D7F4 for <cfrg@irtf.org>; Thu, 12 Apr 2018 19:15:24 -0700 (PDT)
Received: by mail-oi0-x234.google.com with SMTP id 126-v6so7063046oig.0 for <cfrg@irtf.org>; Thu, 12 Apr 2018 19:15:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5i9uQG+dKya2VmMooMKsC/NVVRogbsGZZ6fcuOlKyj8=; b=mPDzwAv0a/L8zwf2wKVU7mJaXWq8bNrO3Q6EF5/oJYTRU0Tlj6WSUE8aM67lqASWsl A+LpmAH1f2JCPrOBaE6Bs2prtpBJAibDSCr9uRxONjNCVj+SoRovSL5i2f6AxBb2/xko GCf0QzkzzKwF/BKKoG8yItdg2coHuuC03JUqjnpN/4oGWgwtwh3xfJ0rBYGDqfMvLshz mwNcTHBjff9y7HWYYDvQGFF2IwHnjTNarwviioU+tpPU+SXE/GK3IHxGvMLdR7XFJY8A gNJWh+/BeJ3LuBIPm/7HEjuN64VB/lkwiPOMy6YrpLi4IuzX4dCIzIHuixMmYlfYBnP4 6Q9A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5i9uQG+dKya2VmMooMKsC/NVVRogbsGZZ6fcuOlKyj8=; b=manPOJR0Ka5aTDSlXpbgP2ktUN/WqyKovUb2RNu1jCjDOTnli7CHyzlhaelcKUfdkC dReFZozk2QFNWJfMNFT/GaYnrf3rPaVqdAxJGplkC4ZzFbzCHwbfyCExRbDeOjGNCBra e/U/HnYNy2XN+OHzJiSx1AYWM4xpTtqpy6iCwnY10MCDQpNr+fIZhOZITfnYQELeIQFd yDRJ1pvnBL6cgw6nsVzUT8h0j/JLq5YafRHAd7JYncFKh364vwvW51rzdvgOtx3lw6m5 fRROtDF49oaPQ+Zg8+2DzU+Ij1KLBijMAj7/cqkZgaSigaDpA7LXsHRwlNvFUFPFUfgL zhHg==
X-Gm-Message-State: ALQs6tBeyAnk9Oo0Mg55wlnNf+OUq9kxd/fhdbaMGSDHrHxFQyQHMiy/ 1VsPggBucjLOlZznK27f14ePsKGFLK69I+SKb0o=
X-Google-Smtp-Source: AIpwx4/m+AkkjwGwrt0HwGRjKriiGWCVMxT07vWKras1l0uqOS6Qnf08E1mhsoUpnDOwgICwrl5xtkMCVVmdphC7kLw=
X-Received: by 2002:aca:5e86:: with SMTP id s128-v6mr7493346oib.346.1523585723587;  Thu, 12 Apr 2018 19:15:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a9d:ac7:0:0:0:0:0 with HTTP; Thu, 12 Apr 2018 19:15:23 -0700 (PDT)
In-Reply-To: <CAL02cgQc2HJ0bOZzOc1Q9iqX0-E-PN5qYqW6=iWGE3iggdRQUA@mail.gmail.com>
References: <5ACA0006.4020809@isode.com> <810C31990B57ED40B2062BA10D43FBF501C515B8@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C5168A@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF501C51B18@XMB116CNC.rim.net> <16affdfc-df9a-a883-e0d6-dd52efee15e4@lounge.org> <CAL02cgT72J=cboruKiHnF4BP7ffaDfae=JeoYDJJfjenF4wC8Q@mail.gmail.com> <fe239e8a-0a64-4b8b-7dba-f38fcfcdc4fd@lounge.org> <CAL02cgRy7M8AjQySy=1njavj+cyxPvQe-n1f+N4xVc_GZFwdNA@mail.gmail.com> <90c10953-6550-09d0-642e-e84710b706cf@lounge.org> <CAL02cgTF6E697t+twXwbkrzZ7OHsFPh--W_NaT5-f0VJ=Jo7Tg@mail.gmail.com> <e186b642-7282-3bfe-3da1-f68e4c3b687c@lounge.org> <CAL02cgQc2HJ0bOZzOc1Q9iqX0-E-PN5qYqW6=iWGE3iggdRQUA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Fri, 13 Apr 2018 12:15:23 +1000
Message-ID: <CABkgnnWSNiM6SrbhFuAptRaRpNGAOtQEiG1RtDXXMUbcBV_tGQ@mail.gmail.com>
To: Richard Barnes <rlb@ipv.sx>
Cc: Dan Harkins <dharkins@lounge.org>, CFRG <cfrg@irtf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/pUzcfhdqrqlSrrUE6dvQ_W6Vs50>
Subject: Re: [Cfrg] Adoption call for draft-harkins-pkex-05
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 13 Apr 2018 02:15:27 -0000

Richard has summarized my own reservations with this and the
composition of existing primitives makes a lot of sense.  We're seeing
a relative explosion in the number of cryptographic tools available of
late, and this is a clear example of where we can make an engineering
decision to use existing tools rather than build new ones.  I
recognize that this isn't the IETF, but that doesn't make that any
less valid a choice.

FWIW, the lack of support for anything other than DSA and ECDSA is
also a major problem. DSA is basically non-existent in practice.  What
about Ed25519/Ed448?

On Fri, Apr 13, 2018 at 11:38 AM, Richard Barnes <rlb@ipv.sx> wrote:
>
>
> On Thu, Apr 12, 2018 at 7:52 PM, Dan Harkins <dharkins@lounge.org> wrote:
>>
>>
>>
>> On 4/12/18 6:21 AM, Richard Barnes wrote:
>> [snip]
>>
>>
>> I guess what I don't understand here is the benefit of conjoining the
>> primitives rather than composing them.  It seems like you would get the same
>> effects here in the same number of RTTs with a straightforward combination
>> of PAKE, sending identities, and a proof-of-possession protocol [1], all of
>> which are already well-established.  Instead, you've mushed them all
>> together.  That seems like it has some costs, e.g., the restriction to ECDSA
>> when with a more composed design you could support arbitrary DH or signing
>> keys.  What are the corresponding benefits?
>>>
>>>
>>>   I'm not sure where the mashup is. You have basically described PKEX. It
>>> does
>>> SPAKE2 and then it sends identities and a proof of possession protected
>>> by the
>>> PAKE shared secret.
>>
>>
>> What I mean is that in addition to just using the PAKE, you're also
>> changing its internals:
>>
>> - Instead of using the password as input, PKEX hashes in the identities
>>
>>
>>   So? The password is still used. Are you saying this is not SPAKE2
>> anymore?
>>
>> - The key shares from SPAKE2 are re-used for the proof of possession
>>
>>
>>   There needs to be some demonstration that the key is used "live" in the
>> exchange
>> otherwise you're not really proving possession. In your sketch below
>> (which I
>> admittedly don't understand 100%) you are introducing yet another
>> Diffie-Hellman
>> with Eph_A and Eph_B which I guess are used with the private analogs of
>> Pub_B
>> and Pub_A, respectively, to produce K_DH_B and K_DH_A, respectively.
>>
>>   I don't see the value of treating the PAKE a closed some black box.
>
>
> The benefits are the typical "don't roll your own crypto" benefits --
> generality, code re-use, and analysis re-use.  If you have a general "insert
> proof of possession here" slot, you can address keys from any DH group (even
> if it can't do SPAKE) or even signing keys.   You can take an SPAKE
> implementation that has a "password in, key out" interface and re-use it.
> And when you're trying to prove the properties of the system, you can treat
> the "black box" sub-units as things with known properties; you don't have to
> worry about whether re-using a key share will undermine some property.
>
> It seems like you're trading off 1 DH key generation per side (the
> incremental cost of the sketch below over PKEX) against a lot of work to
> analyze this thing and more difficulty implementing.  I'm just saying that
> trade-off doesn't seem like a good deal to me.  (If I were the chairs, I
> might consider whether this merits the group's time, given that the can be
> solved with existing primitives at not much cost.)  If others feel it is
> worthwhile, though, I'm not going to stand in the way.
>
> --Richard
>
>
>>
>> It already
>> has a perfectly good ephemeral Diffie-Hellman share which I am putting to
>> good use
>> instead of ignoring which necessitates generation of yet another ephemeral
>> Diffie-Hellman share.
>>
>> You're not treating the PAKE as a box that takes a password on one side
>> and emits a key on the other side.
>>
>>
>>>
>>> The limitations are that the two sides have to be exchanging
>>> keys from the same group and since they've already agreed on a group for
>>> their
>>> identity keys then they have to use the same one for the PAKE. Those were
>>> not
>>> seen as serious issues because such a restriction may already be imposed
>>> on the
>>> subsequent key exchange protocol (e.g. MQV), and it obviates the need to
>>> discuss
>>> what it means to exchange, for instance, a p521 public key over a PAKE
>>> that uses
>>> brainpool256. It cuts down on problematic options. That's the same reason
>>> that
>>> the hash algorithm and SIV key length are determined by the prime
>>> defining the
>>> group, less options that might be used poorly means a more robust and
>>> idiot-proof
>>> protocol.
>>
>>
>> I'll grant that you do get more rigidity from the conjunction.  But I'm
>> not sure that this is more effective than simply expressing the requirement
>> in prose.
>>
>>
>>>
>>>
>>>   Also, there is no restriction on ECDSA.
>>
>>
>> Maybe you should revise this text then :)
>>
>> """
>> Due to the nature of the exchange, only DSA ([DSS]) and ECDSA
>>    ([X9.62]) keys can be exchanged with PKEX.
>> """
>>
>>
>>   Right, it expressly includes DSA keys.
>>
>> And maybe add a clearer explanation than "due to the nature of the
>> exchange".
>>
>>
>>   OK, good comment. That is overly vague.
>>
>>   Dan.
>>
>> --Richard
>>
>>
>>>
>>> In fact, Appendix A.2 has the SPAKE2
>>> role-specific elements for four standard DH groups and the Appendix talks
>>> about
>>> how to generate role-specific elements for other groups not enumerated.
>>>
>>> --Richard
>>>
>>> [1] Sketch:
>>>
>>> A->B: SPAKE-Kex
>>> B->A: SPAKE-Kex, SPAKE-Confirm, {ID_B, Pub_B, Eph_B}K_spake_B
>>> A->B: SPAKE-Confirm, {ID_A, Pub_A, Eph_A}K_spake_A, MAC(K_DH_A,
>>> transcript}
>>> B->A: MAC(K_DH_B, transcript)
>>>
>>> Note that at this point, it's starting to look simpler just to do TLS!
>>>
>>>
>>>   It's not really. There is running code for this protocol (and not just
>>> by
>>> me) and it's much simpler than TLS.
>>>
>>>   regards,
>>>
>>>   Dan.
>>>
>>>
>>
>>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg
>


From nobody Fri Apr 13 06:57:25 2018
Return-Path: <hbhotz@oxy.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 51385120721 for <cfrg@ietfa.amsl.com>; Fri, 13 Apr 2018 06:57:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.536
X-Spam-Level: 
X-Spam-Status: No, score=-3.536 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_SOFTFAIL=0.665] 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 RlC4zj13U6xw for <cfrg@ietfa.amsl.com>; Fri, 13 Apr 2018 06:57:22 -0700 (PDT)
Received: from mailout.easymail.ca (mailout.easymail.ca [64.68.200.34]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 054BA120724 for <cfrg@irtf.org>; Fri, 13 Apr 2018 06:57:21 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 6524E21092; Fri, 13 Apr 2018 13:57:21 +0000 (UTC)
Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo02-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O-MHekEl7d1q; Fri, 13 Apr 2018 13:57:21 +0000 (UTC)
Received: from [100.112.166.68] (182.sub-174-210-14.myvzw.com [174.210.14.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id C381420F91; Fri, 13 Apr 2018 13:57:18 +0000 (UTC)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (1.0)
From: Henry B Hotz <hbhotz@oxy.edu>
X-Mailer: iPhone Mail (15D100)
In-Reply-To: <4075eab5-65e2-e635-d9fb-408529ae4632@KingsMountain.com>
Date: Fri, 13 Apr 2018 06:57:17 -0700
Cc: cfrg@irtf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <576984EE-DBE5-4615-A699-EE383A7A8616@oxy.edu>
References: <4075eab5-65e2-e635-d9fb-408529ae4632@KingsMountain.com>
To: =JeffH <Jeff.Hodges@KingsMountain.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/UVx3BJl9na6zjrXzWXETsczU9Us>
Subject: Re: [Cfrg] SHE Key Update Protocol
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 13 Apr 2018 13:57:24 -0000

Thanks.=20

Personal email. hbhotz@oxy.edu

> On Apr 11, 2018, at 1:49 PM, =3DJeffH <Jeff.Hodges@KingsMountain.com> wrot=
e:
>=20
> > Anyone know of any published formal analysis/modeling of it?
>=20
> hm, I get only one hit when searching goog scholar for [ "SHE Key Update" P=
rotocol ]:
>=20
> Approaches for secure and efficient in-vehicle key management
> T Sugashima, DK Oka, C Vuillaume - SAE International Journal of =E2=80=A6,=
 2016 - papers.sae.org
> https://www.denso.com/jp/ja/innovation/technology/dtr/v21/paper-16.pdf
>=20
> ..which contains some modest threat analysis.
>=20
> In it, they say in part:
>=20
> HIS,  a  car  consortium  consisting  of  several  major
> German  auto  manufacturers,  has  developed  an
> implementation  specification  for  secure  hardware
> called  SHE  (secure  hardware  extension).  SHE
> provides  various  security  functionalities  such  as  MAC
> generation  and  verification  based  on  a  hardware  AES
> engine  and  loading  of  symmetric  keys  into  secure
> key  storage.  To  be  able  to  support  security  use  cases
> where  SHE  functionality  is  not  sufficient,  Bosch  has
> developed  a  Bosch  HSM  (hardware  security  module)
> specification.  HSM  provides  further  support  for
> security  functionalities  as  it  has  in  addition  to  a
> hardware  AES  engine,  a  dedicated  secure  CPU  and
> secure  memory  allowing  it  to  be  programmable  to
> support  a  vast  range  of  use  cases.  The  AUTOSAR
> specification  4.2.1  includes  CSM  (crypto  services
> manager)  and  describes  how  cryptographic  keys
> can  be  used  to  support  use  cases  such  as  to  protect
> the  in-vehicle  communication.
>=20
>=20
> tho search goog scholar for [ SHE  "Secure hardware extension" analysis ] y=
ields some further hits, including:
>=20
> Design, implementation, and evaluation of a vehicular hardware security mo=
dule
> M Wolf, T Gendrullis - =E2=80=A6 Conference on Information Security and Cr=
yptology, 2011 - Springer
> http://www.marko-wolf.de/files/WoGe12_Automotive_HSM.pdf
>=20
> ..also containing some modest security analysis.
>=20
> HTH,
>=20
> =3DJeffH
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Mon Apr 16 07:45:54 2018
Return-Path: <rlb@ipv.sx>
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 55B9112DA26 for <cfrg@ietfa.amsl.com>; Mon, 16 Apr 2018 07:45:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level: 
X-Spam-Status: No, score=-1.909 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, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ipv-sx.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 7JOe8U2pGZef for <cfrg@ietfa.amsl.com>; Mon, 16 Apr 2018 07:45:50 -0700 (PDT)
Received: from mail-ot0-x231.google.com (mail-ot0-x231.google.com [IPv6:2607:f8b0:4003:c0f::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 7452912DA02 for <cfrg@irtf.org>; Mon, 16 Apr 2018 07:45:50 -0700 (PDT)
Received: by mail-ot0-x231.google.com with SMTP id w2-v6so6688230otj.12 for <cfrg@irtf.org>; Mon, 16 Apr 2018 07:45:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=WiZiClQdWycashdpotr/seTk3zqe4qiMNMksvUjBMmQ=; b=zmi6Q7F24JJPZtreRofpoz+u0Z40ymGv1513TeB85Kx+NSkuY+9dlvDYgyBg/Dqa/0 7u6h08yUbnXmM0d+bRotKo0lUWNLvNbvMh2lGQXXENQxKhcMFkxO6vD4zRESy1zeqHUI +RqO9256YhSVEuXOYPAPNAPDAvbCgZmbTIJN3+XUvgMxGnG1GDA+NEdQ6jw61Yx8gHvT DQT8RkzWH10QMhHkDnN+aLy/Xdu6pyN6BPmIr+hB8nBmdSwF2eQIe+IXkv9an44FCwJc ZE3ctCHKalZDQMySR0zvxzlX7BSlI9RGzIv0SH6D4jCMK4H0cXqwpfBfFOqL9EsI6vox hPag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WiZiClQdWycashdpotr/seTk3zqe4qiMNMksvUjBMmQ=; b=XkAPlVa8N7nYx7FGghaOydWOYXpakS44nnU9YINoZLmxnIHObZ33XcpiiEvrLe8enn WEGLU756okuUqqlBIWPfgT58soW2SIqTgUUrxVkhA04CVsAWu9F/lChpe5WZS4Tif6Yy udvdF/swmW+2OhEsMx92/+UuabHZUJep8W8RJh/Nq54l2GmT0q1Qv7DH/2MQgAYNK9qq 8MT6/yMqylWVzCXkKt3M1lWnEEhHbZ4a7C5JAgEMpYfWCtFq8afSqhypFPpkFA9HWMVr qgM5RuGm/rvCicp7sXTnQg+aVUCJfP+Ubi3sGK7ulJrKz2/QQ5LCweMb12B0ALQlrc+r wDLw==
X-Gm-Message-State: ALQs6tBrFSqw+vrXge0SnTnmc7R3W/8KK8r/oJg00Wy79o015XypwtvD PUUDOnNFAAYhHuaHRS6gYnD6PFHDtRWiktba21src5Tmp+c=
X-Google-Smtp-Source: AIpwx4+ju2z4+vcmnuzDNRA3JDZrw/wZoAndIop2N1KTGJwSRRCMelxGo0fNQqjOuJNQYdZ8dXF+7vF+hd3GWrw/974=
X-Received: by 2002:a9d:1920:: with SMTP id j32-v6mr11122723ota.383.1523889949334;  Mon, 16 Apr 2018 07:45:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.201.90.67 with HTTP; Mon, 16 Apr 2018 07:45:48 -0700 (PDT)
From: Richard Barnes <rlb@ipv.sx>
Date: Mon, 16 Apr 2018 10:45:48 -0400
Message-ID: <CAL02cgTWMafMKQag-vGy7dtUK_A0X2SHhnwDxJj3-crQyrS1Wg@mail.gmail.com>
To: CFRG <cfrg@irtf.org>, Benjamin Kaduk <kaduk@mit.edu>, Watson Ladd <watsonbladd@gmail.com>
Content-Type: multipart/alternative; boundary="0000000000001b759c0569f84776"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/p-t8fferOfHpQS5QgSyFVTEfM44>
Subject: [Cfrg] Some questions on draft-irtf-cfrg-spake2
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 16 Apr 2018 14:45:52 -0000

--0000000000001b759c0569f84776
Content-Type: text/plain; charset="UTF-8"

Hey Ben, Watson,

(CC'ing CFRG in case other folks are interested / because document updates
might be needed.)

1. The secrets w, w0, w1 aren't really specified, except "typically w will
be the hash of a user-supplied password, truncated and taken mod p."
However, in the security considerations, you say "the multiplication by
cofactors eliminates the potential for mebership in a small-order
subgroup".

Don't you need to specify that the integer w / w0 / w1 is divisible by h,
or equivalently, multiply it by h before use in the protocol?  It seems
like if not, then you end up leaking w mod h.

2. In SPAKE2+, [TDH] specifies that w0 and w1 are derived from the password
by hashing it together with the identities of the two sides.  Is there a
reason you don't make a similar requirement here?  When I read the SPAKE2+
section, the current wording led me to wonder whether w0 could be set to 0
or another static value, which seems not to be safe according to [TDH].

Thanks,
--Richard

P.S., a convenient PDF of the full version of [TDH] can be found at
http://www.shoup.net/papers/twindh.pdf

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

<div dir=3D"ltr"><div>Hey Ben, Watson,</div><div><br></div><div>(CC&#39;ing=
 CFRG in case other folks are interested / because document updates might b=
e needed.)<br></div><div><br></div><div>1. The secrets w, w0, w1 aren&#39;t=
 really specified, except &quot;typically w will be the hash of a user-supp=
lied password, truncated and taken mod p.&quot;=C2=A0 However, in the secur=
ity considerations, you say &quot;the multiplication by cofactors eliminate=
s the potential for mebership in a small-order subgroup&quot;.=C2=A0 <br></=
div><div><br></div><div>Don&#39;t you need to specify that the integer w / =
w0 / w1 is divisible by h, or equivalently, multiply it by h before use in =
the protocol?=C2=A0 It seems like if not, then you end up leaking w mod h.<=
br></div><div><br></div><div>2. In SPAKE2+, [TDH] specifies that w0 and w1 =
are derived from the password by hashing it together with the identities of=
 the two sides.=C2=A0 Is there a reason you don&#39;t make a similar requir=
ement here?=C2=A0 When I read the SPAKE2+ section, the current wording led =
me to wonder whether w0 could be set to 0 or another static value, which se=
ems not to be safe according to [TDH].<br></div><div><br></div><div>Thanks,=
</div><div>--Richard</div><div><br></div><div>P.S., a convenient PDF of the=
 full version of [TDH] can be found at <a href=3D"http://www.shoup.net/pape=
rs/twindh.pdf">http://www.shoup.net/papers/twindh.pdf</a><br></div></div>

--0000000000001b759c0569f84776--


From nobody Mon Apr 16 08:32:05 2018
Return-Path: <ghudson@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 6501512E05C for <cfrg@ietfa.amsl.com>; Mon, 16 Apr 2018 08:32:03 -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, RCVD_IN_DNSWL_MED=-2.3, 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 EP7f6B8t7GFU for <cfrg@ietfa.amsl.com>; Mon, 16 Apr 2018 08:32:01 -0700 (PDT)
Received: from dmz-mailsec-scanner-8.mit.edu (dmz-mailsec-scanner-8.mit.edu [18.7.68.37]) (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 8F061126B7E for <cfrg@irtf.org>; Mon, 16 Apr 2018 08:32:01 -0700 (PDT)
X-AuditID: 12074425-9fbff700000075da-e4-5ad4c1ee7cf3
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 dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP id B8.FB.30170.FE1C4DA5; Mon, 16 Apr 2018 11:31:59 -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 w3GFVr7g011425; Mon, 16 Apr 2018 11:31:54 -0400
Received: from [18.101.8.154] (VPN-18-101-8-154.MIT.EDU [18.101.8.154]) (authenticated bits=0) (User authenticated as ghudson@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id w3GFVo7r002701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 16 Apr 2018 11:31:52 -0400
To: Richard Barnes <rlb@ipv.sx>, CFRG <cfrg@irtf.org>, Benjamin Kaduk <kaduk@mit.edu>, Watson Ladd <watsonbladd@gmail.com>
References: <CAL02cgTWMafMKQag-vGy7dtUK_A0X2SHhnwDxJj3-crQyrS1Wg@mail.gmail.com>
From: Greg Hudson <ghudson@mit.edu>
Message-ID: <1c81c2e1-0569-3a2a-3712-8b855bb0ee0d@mit.edu>
Date: Mon, 16 Apr 2018 11:31:50 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
MIME-Version: 1.0
In-Reply-To: <CAL02cgTWMafMKQag-vGy7dtUK_A0X2SHhnwDxJj3-crQyrS1Wg@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmleLIzCtJLcpLzFFi42IRYrdT0X1/8EqUwa82LYvuHweZLKb22Vr0 dJ5kc2D22DnrLrvH5I2zWIDEYbYA5igum5TUnMyy1CJ9uwSujK0Lb7EVnOKs+Dqtn7mB8Th7 FyMnh4SAicSNfXtZuxi5OIQEFjNJzFy1iBnC2cgo8XbpcjYI5wiTxN5Nj8FahAVsJFZ+mAlW JSLQzCjx9/V3FpCEkECARPu0l8wgNpuAssT6/VvB4rwCVhLTPrxjA7FZBFQlWr8uAhskKhAh 0TRzLitEjaDEyZlPwOo5BQIlfu6/wwRiMwuoS/yZd4kZwhaXuPVkPlRcXqJ562zmCYwCs5C0 z0LSMgtJyywkLQsYWVYxyqbkVunmJmbmFKcm6xYnJ+blpRbpWujlZpbopaaUbmIEh7WL6g7G OX+9DjEKcDAq8fBK7LgSJcSaWFZcmXuIUZKDSUmU9+hMoBBfUn5KZUZicUZ8UWlOavEhRgkO ZiUR3oKdQDnelMTKqtSifJiUNAeLkjjv4v17o4QE0hNLUrNTUwtSi2CyMhwcShK8Nw4ANQoW paanVqRl5pQgpJk4OEGG8wANNzkIMry4IDG3ODMdIn+KUVFKnNcbJCEAksgozYPrBaedVI5Z rxjFgV4R5uUHqeIBpiy47ldAg5mABl8zBhtckoiQkmpgrNe8tbGLI/B/S9/1DbkBSx+2czy5 80rCcdadP4xB0ven3m9KmejpsVromkzcbdYEY7NrRd1ZpXv4FQxjTxxpkjQ+cPCgrYzhy6CH i3ku2Vb+vLXt49tPfkdX/t1uzxsicGGN1KP0HdsLS+vW/Zs+Y+rZH0fMY4HJ4sP0B5UaPxaY lKwJ1LN+rMRSnJFoqMVcVJwIAK50WgAWAwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/UcIM7knf_Y50BYBp6Bj6dATe1ZQ>
Subject: Re: [Cfrg] Some questions on draft-irtf-cfrg-spake2
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 16 Apr 2018 15:32:03 -0000

On 04/16/2018 10:45 AM, Richard Barnes wrote:
> 1. The secrets w, w0, w1 aren't really specified, except "typically w
> will be the hash of a user-supplied password, truncated and taken mod
> p."  However, in the security considerations, you say "the
> multiplication by cofactors eliminates the potential for mebership in a
> small-order subgroup". 
> 
> Don't you need to specify that the integer w / w0 / w1 is divisible by
> h, or equivalently, multiply it by h before use in the protocol?  It
> seems like if not, then you end up leaking w mod h.

w is multiplied by M or N, not by a point chosen by the peer.  Since M
and N are members of the prime-order subgroup, wM and wN will also be.

If a rogue peer sends a T or S value which is not in the prime-order
subgroup, S-wN or T-wM will also not be in the prime-order subgroup,
whether or not w is divisible by h.  But multiplication by x or y to
produce x(S-wN) or y(T-wM) will yield a point in the prime-order
subgroup, because x and y are divisible by h.  This step is what the
security consideration refers to by "multiplication by cofactors".

[I do not have a response to point 2, as SPAKE2+ isn't in my area of
interest for this draft.]


From nobody Mon Apr 16 12:03:33 2018
Return-Path: <rlb@ipv.sx>
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 2AAC112EA97 for <cfrg@ietfa.amsl.com>; Mon, 16 Apr 2018 12:03:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.609
X-Spam-Level: 
X-Spam-Status: No, score=-2.609 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, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ipv-sx.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 SveaCiS2BbI7 for <cfrg@ietfa.amsl.com>; Mon, 16 Apr 2018 12:03:29 -0700 (PDT)
Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::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 62A5A126CD6 for <cfrg@irtf.org>; Mon, 16 Apr 2018 12:03:29 -0700 (PDT)
Received: by mail-oi0-x231.google.com with SMTP id f63-v6so15590768oic.4 for <cfrg@irtf.org>; Mon, 16 Apr 2018 12:03:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RiGLWDtwuw7VPVV3hNFZTJ1OD5YjsiIb7BoyDaNYgC8=; b=YHbC5GSFkupFOjoqF+GLbCpg9/+GjRoDhuVkORZzYhVecNzJ/Wj0SBX5SRMslDloEJ 5t8JBu0aXgSeuxVfBY9TuscG2a1xv1LiMtTMG8Ko3fi4yfzQOpeussLr8XJLenHh0gbr kGWbGfyS1yODAQRyFH20cVTljmIMnuRAglBpvMw4cEkse989U34/4Bx0dwZ/Wd2PB34c XuF/gpDNZtkcsyqLa79/XXrL0ufimvORkFKuRupkPESoxzE3toMicrEjuyGCDA9InPgk N2zDXhZ1vWQCGIWdm57sJgMGm/nE/iyaZEdsWCIwIlujv5DSr40yIia+5X/OcpuDfVen PkVw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RiGLWDtwuw7VPVV3hNFZTJ1OD5YjsiIb7BoyDaNYgC8=; b=fNK+OEiJUUizYLpw0SS0dLAb/eyh/iP0vFMs8QLAC7sBshF03d9WkrFYwomS+3rJc8 yUwod0L2Ury1hP+/D2zlDKJrN5e46fzF+rjOe5Pkt8bY3wuRIZIb1OH4YYlCD93O86ix E22Zj1Q0+f57RBpFt9pcTJKtluZViv/K11hZgKuIRr9mEfUuDxItnKg/vPw8OLUn4TPi 2EaPTXp8wq/Kpcz/w8rtv8FvzTLN/f8ChI6mOdbX9tizY+ZB/mQwM5Lpm22oddza2Bdr 0t6uBA1q2rhpYUiI4GSZ6J2YOMkeb9KHHkwVpGNBiNN6lsef+eHAhamb8DHi+2uWr7Co aWYw==
X-Gm-Message-State: ALQs6tAwDj0c6BNnd+J6v0UEGrFdH2mLieHBoRazpFo0VDUNgL7zpsTv KVO4tNRbCPjkv1R3J4052b2TFtzTreTHqq3U9I3eDg==
X-Google-Smtp-Source: AIpwx4/j9KzTunzX2JHDCcxy2BUQSws54mvoLVDMs7gbMl5odQJCsIoHs7igajEeuPEbruvm1RmU9a0TxXEiTfn2Xg4=
X-Received: by 2002:aca:d08c:: with SMTP id j12-v6mr3542899oiy.276.1523905408723;  Mon, 16 Apr 2018 12:03:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.201.90.67 with HTTP; Mon, 16 Apr 2018 12:03:28 -0700 (PDT)
In-Reply-To: <1c81c2e1-0569-3a2a-3712-8b855bb0ee0d@mit.edu>
References: <CAL02cgTWMafMKQag-vGy7dtUK_A0X2SHhnwDxJj3-crQyrS1Wg@mail.gmail.com> <1c81c2e1-0569-3a2a-3712-8b855bb0ee0d@mit.edu>
From: Richard Barnes <rlb@ipv.sx>
Date: Mon, 16 Apr 2018 15:03:28 -0400
Message-ID: <CAL02cgTZsJnosk9w8SBEvyiHy1bcW2wmggGF1_12+fwW-per+g@mail.gmail.com>
To: Greg Hudson <ghudson@mit.edu>
Cc: CFRG <cfrg@irtf.org>, Benjamin Kaduk <kaduk@mit.edu>, Watson Ladd <watsonbladd@gmail.com>
Content-Type: multipart/alternative; boundary="0000000000008f01c70569fbe089"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/cA5odrHHba9udmK1ZMaloW32OFc>
Subject: Re: [Cfrg] Some questions on draft-irtf-cfrg-spake2
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 16 Apr 2018 19:03:31 -0000

--0000000000008f01c70569fbe089
Content-Type: text/plain; charset="UTF-8"

Thanks, Greg, I had missed that point.

It might be worth noting that in the text somewhere, perhaps in the
Security Considerations.


On Mon, Apr 16, 2018 at 11:31 AM, Greg Hudson <ghudson@mit.edu> wrote:

> On 04/16/2018 10:45 AM, Richard Barnes wrote:
> > 1. The secrets w, w0, w1 aren't really specified, except "typically w
> > will be the hash of a user-supplied password, truncated and taken mod
> > p."  However, in the security considerations, you say "the
> > multiplication by cofactors eliminates the potential for mebership in a
> > small-order subgroup".
> >
> > Don't you need to specify that the integer w / w0 / w1 is divisible by
> > h, or equivalently, multiply it by h before use in the protocol?  It
> > seems like if not, then you end up leaking w mod h.
>
> w is multiplied by M or N, not by a point chosen by the peer.  Since M
> and N are members of the prime-order subgroup, wM and wN will also be.
>
> If a rogue peer sends a T or S value which is not in the prime-order
> subgroup, S-wN or T-wM will also not be in the prime-order subgroup,
> whether or not w is divisible by h.  But multiplication by x or y to
> produce x(S-wN) or y(T-wM) will yield a point in the prime-order
> subgroup, because x and y are divisible by h.  This step is what the
> security consideration refers to by "multiplication by cofactors".
>
> [I do not have a response to point 2, as SPAKE2+ isn't in my area of
> interest for this draft.]
>

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

<div dir=3D"ltr"><div>Thanks, Greg, I had missed that point.</div><div><br>=
</div><div>It might be worth noting that in the text somewhere, perhaps in =
the Security Considerations.</div><div><br></div><div><div class=3D"gmail_e=
xtra"><br><div class=3D"gmail_quote">On Mon, Apr 16, 2018 at 11:31 AM, Greg=
 Hudson <span dir=3D"ltr">&lt;<a href=3D"mailto:ghudson@mit.edu" target=3D"=
_blank">ghudson@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:=
1ex"><span class=3D"">On 04/16/2018 10:45 AM, Richard Barnes wrote:<br>
&gt; 1. The secrets w, w0, w1 aren&#39;t really specified, except &quot;typ=
ically w<br>
&gt; will be the hash of a user-supplied password, truncated and taken mod<=
br>
&gt; p.&quot;=C2=A0 However, in the security considerations, you say &quot;=
the<br>
&gt; multiplication by cofactors eliminates the potential for mebership in =
a<br>
&gt; small-order subgroup&quot;.=C2=A0<br>
&gt; <br>
&gt; Don&#39;t you need to specify that the integer w / w0 / w1 is divisibl=
e by<br>
&gt; h, or equivalently, multiply it by h before use in the protocol?=C2=A0=
 It<br>
&gt; seems like if not, then you end up leaking w mod h.<br>
<br>
</span>w is multiplied by M or N, not by a point chosen by the peer.=C2=A0 =
Since M<br>
and N are members of the prime-order subgroup, wM and wN will also be.<br>
<br>
If a rogue peer sends a T or S value which is not in the prime-order<br>
subgroup, S-wN or T-wM will also not be in the prime-order subgroup,<br>
whether or not w is divisible by h.=C2=A0 But multiplication by x or y to<b=
r>
produce x(S-wN) or y(T-wM) will yield a point in the prime-order<br>
subgroup, because x and y are divisible by h.=C2=A0 This step is what the<b=
r>
security consideration refers to by &quot;multiplication by cofactors&quot;=
.<br>
<br>
[I do not have a response to point 2, as SPAKE2+ isn&#39;t in my area of<br=
>
interest for this draft.]<br>
</blockquote></div><br></div></div></div>

--0000000000008f01c70569fbe089--


From nobody Thu Apr 19 07:13:41 2018
Return-Path: <scott@paragonie.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 8E5A2124D68 for <cfrg@ietfa.amsl.com>; Thu, 19 Apr 2018 07:13:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.609
X-Spam-Level: 
X-Spam-Status: No, score=-2.609 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, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=paragonie-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 KnO9DOYPjLns for <cfrg@ietfa.amsl.com>; Thu, 19 Apr 2018 07:13:33 -0700 (PDT)
Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::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 8D7441241FC for <cfrg@ietf.org>; Thu, 19 Apr 2018 07:13:33 -0700 (PDT)
Received: by mail-oi0-x231.google.com with SMTP id t27-v6so4945067oij.9 for <cfrg@ietf.org>; Thu, 19 Apr 2018 07:13:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragonie-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=aMURLuhjMUgS2d5GcH7gudocW2fqckQEqTaF6OpV2rw=; b=mMJ9yEP2NHM+enqd4ecwRBiRB8feCCh9ucAqfzu4N0aJNHdHbqQNN8gf5YRl2W1FaT 2azJ+kpkJil5DmnxgWUccbiFOKofk5uz5unLUCrCLmonLwvdS7KOXI0RUmh7TX706isv nO0n0N+iFc7Ps3YdRxG6fUfAqFxSSpArKRDHI56rIZyBn04Oqg4wirHDxm1RL7WfoYXa +oef6l/ZLa8uRbF9YX3WGVxhLlfNZy/yBw1gRqsfHnyqXgM7MlzAuAF1yuxlkeemRyOg H9/UumtTAUPc7dFhgrVuSfmHtyCFjNNAGy5fl6w/jMd9YSOZNk2kbPSfT0GpwIOU88kC Kp3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=aMURLuhjMUgS2d5GcH7gudocW2fqckQEqTaF6OpV2rw=; b=Bboa9OdGNjNVUVbDnoLeRSEJYeMJK10xxAkVjXzaIWmSIQ2F2EphtPXrSpaahiRoYL 4SspYyhoyy7leUr+6f9ARKuiDbjkhFfn3RAkVDCrShMX3gxk7p+HaTy9vP/zFv0S5rMS b2eM2jYk2A4mQC8nEGboZPVg+fPEw6qRg7HcQl57XeKD9poFhEpa9oCPKVoWgpKP0P6F QsJzu5bTvz+O3KVjTs9iysvNiwT+j+xrHKqEr6SzR5OGBj/SFpQKcL/YrQdB1sFpyO/k TieN5HJPK8lZYDuJi132ozoESSmYEjbEHMvyoFpNgKza/HkmozsiqDLxL+yRQ+b17gC9 LtGQ==
X-Gm-Message-State: ALQs6tBOgDrzGyjXVUURDxGIWL4+3X16OmZklcagO3AGaGg6MWNr1LXW V1pLt0P5eIKcSgUp80T4grnOLkEn503fwXz9FYabeFiim88=
X-Google-Smtp-Source: AIpwx49xr/7TFQKF8sMzMu+9WE2wFfVC7j0b8ROCFkovbOjc5Fm3xg5vFRR3uBWadPRC08jlMjhfnn5O9nCS+UhtqTM=
X-Received: by 2002:aca:b80a:: with SMTP id i10-v6mr3903280oif.72.1524147212663;  Thu, 19 Apr 2018 07:13:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a9d:55e9:0:0:0:0:0 with HTTP; Thu, 19 Apr 2018 07:13:31 -0700 (PDT)
From: Scott Arciszewski <scott@paragonie.com>
Date: Thu, 19 Apr 2018 10:13:31 -0400
Message-ID: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com>
To: jose@ietf.org, cfrg@ietf.org
Content-Type: multipart/alternative; boundary="000000000000324da0056a342dc9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/4YQH6Yj3c92VUxqo-6wJrXabFk4>
Subject: [Cfrg] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 19 Apr 2018 14:13:40 -0000

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

Dear IETF mailing list members,

There have been many real-world failures of the JOSE family of Internet
Standards since they were published in RFCs 7515-7520.

- Accepting {"alg":"none"} in many implementations allowed attackers to
bypass the protections that JWS were supposed to provide.
- Substituting RS256 with HS256 and using the RSA public key as an HMAC
secret key allowed trivial token forgery.
- JWE with ECIES fell to invalid curve attacks.

I've outlined these criticisms and more in a post titled "No way JOSE!
Javascript Object Signing and Encryption is a Bad Standard That Everyone
Should Avoid" [1] last year.

In addition to the critical vulnerabilities in the JOSE standards, there
are a lot of cryptographic smells to be found, especially in related
standards. Let me give you a brief, concrete example.

Recently, the W3C specification for WebAuthn was circulated on social
media. Upon closer review, it uses COSE (CBOR Object Signing and
Encryption-- a JOSE derivative), which requests the registration of two
classes of public-key signature algorithms [2]:

1. RSA with PCKS1v1.5
2. ECDAA, whose formal definition eschews the use of deterministic nonces [=
3]
and thereby fails to provide the protection of e.g. RFC 6979

There are a few lessons that I believe we can take away from these facts:

1. User-friendly standards like JOSE are incredibly influential in future
protocol designs.
2. If the decision to design cryptography protocols and/or decide the
primitives used is left to library designers and/or users, rather than
cryptography engineers, they will inevitably choose something dangerous or
terrifying.

There is an elegant solution to this trap we've found ourselves in: Design
an alternative token standard that avoids all of the design deficits that
plague the incumbent standard, but is still easy to use for at least 90% of
the JOSE/COSE use-cases. With that in mind, I'd like to present PASETO.

The first RFC draft is online [4]. As of this writing, we have 11
implementations in 10 different programming languages. [5]

The biggest change from JWT to PASETO is that, instead of an alg header
that MUST be understood and processed by implementations in JWT (which
allows different algorithms to be specified in the attacker-provided token)
in PASETO we use versioned protocols.

* If you're using v1, you're using AES-CTR+HMAC-SHA384 or RSASSA-PSS with
MGF1+SHA384, SHA384, and e=3D65537.
* If you're using v2, you're using XChaCha20-Poly1305 or Ed25519.

Future versions should be defined by cryptography experts.

Thank you for your time and please let me know if you have any immediate
feedback. If you would like to contribute to the next iteration of the RFC
draft, we're handling this on Github [6].

Note: I'm sending this to the JOSE and CFRG mailing lists. We don't yet
have a Working Group for this project. I'm unsure if a separate one should
be formed or if an existing one would like to contribute to the review and
refinement of this proposed Internet Standard.

[1]: https://paragonie.com/blog/2017/03/jwt-json-web-tokens-
is-bad-standard-that-everyone-should-avoid
[2]: https://www.w3.org/TR/2018/CR-webauthn-20180320/#sctn-cose-alg-reg
[3]: https://fidoalliance.org/specs/fido-uaf-v1.1-id-
20170202/fido-ecdaa-algorithm-v1.1-id-20170202.html#ecdaa-sign
[4]: https://datatracker.ietf.org/doc/draft-paragon-paseto-rfc
[5]: https://paseto.io
[6]: https://github.com/paragonie/paseto/blob/master/docs/RFC/paseto.md

Scott Arciszewski
Chief Development Officer
Paragon Initiative Enterprises
=E2=80=8B=E2=80=8B
<https://paragonie.com/>

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

<div dir=3D"ltr"><div class=3D"gmail_default"><font face=3D"monospace, mono=
space">Dear IETF mailing list members,</font></div><div class=3D"gmail_defa=
ult"><font face=3D"monospace, monospace" style=3D"color:rgb(34,34,34);font-=
size:small;font-style:normal;font-variant-ligatures:normal;font-variant-cap=
s:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent=
:0px;text-transform:none;white-space:normal;word-spacing:0px;background-col=
or:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:ini=
tial"><br></font></div><div class=3D"gmail_default"><font face=3D"monospace=
, monospace" style=3D"color:rgb(34,34,34);font-size:small;font-style:normal=
;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;let=
ter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;whi=
te-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-dec=
oration-style:initial;text-decoration-color:initial">There have been many r=
eal-world failures of the JOSE family of Internet Standards since they were=
 published in RFCs 7515-7520.</font></div><div class=3D"gmail_default"><fon=
t face=3D"monospace, monospace" style=3D"color:rgb(34,34,34);font-size:smal=
l;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;=
font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text=
-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(25=
5,255,255);text-decoration-style:initial;text-decoration-color:initial"><br=
></font></div><div class=3D"gmail_default"><font face=3D"monospace, monospa=
ce" style=3D"color:rgb(34,34,34);font-size:small;font-style:normal;font-var=
iant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spaci=
ng:normal;text-align:start;text-indent:0px;text-transform:none;white-space:=
normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-s=
tyle:initial;text-decoration-color:initial">- Accepting {&quot;alg&quot;:&q=
uot;none&quot;} in many implementations allowed attackers to bypass the pro=
tections that JWS were supposed to provide.</font></div><div class=3D"gmail=
_default"><span style=3D"font-family:monospace,monospace">- Substituting RS=
256 with HS256 and using the RSA public key as an HMAC secret key allowed t=
rivial token forgery.</span><br></div><div class=3D"gmail_default"><span st=
yle=3D"font-family:monospace,monospace">- JWE with ECIES fell to invalid cu=
rve attacks.=C2=A0</span></div><div class=3D"gmail_default"><span style=3D"=
font-family:monospace,monospace"><br class=3D"gmail-m_-3459617998979120872g=
mail-Apple-interchange-newline" style=3D"color:rgb(34,34,34);font-family:mo=
nospace,monospace;font-size:small;font-style:normal;font-variant-ligatures:=
normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-=
align:start;text-indent:0px;text-transform:none;white-space:normal;word-spa=
cing:0px;text-decoration-style:initial;text-decoration-color:initial"><span=
 style=3D"color:rgb(34,34,34);font-family:monospace,monospace;font-size:sma=
ll;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal=
;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;tex=
t-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(2=
55,255,255);text-decoration-style:initial;text-decoration-color:initial;flo=
at:none;display:inline">I&#39;ve outlined these criticisms and more in a po=
st titled &quot;No way JOSE! Javascript Object Signing and Encryption is a =
Bad Standard That Everyone Should Avoid&quot; [1] last year.</span>

</span><br></div><div class=3D"gmail_default"><br></div><div class=3D"gmail=
_default"><font face=3D"monospace, monospace" style=3D"color:rgb(34,34,34);=
font-size:small;font-style:normal;font-variant-ligatures:normal;font-varian=
t-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-i=
ndent:0px;text-transform:none;white-space:normal;word-spacing:0px;backgroun=
d-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-colo=
r:initial">In addition to the critical vulnerabilities in the JOSE standard=
s, there are a lot of cryptographic smells to be found, especially in relat=
ed standards. Let me give you a brief, concrete example.</font></div><div c=
lass=3D"gmail_default"><br></div><div class=3D"gmail_default"><font face=3D=
"monospace, monospace" style=3D"color:rgb(34,34,34);font-size:small;font-st=
yle:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weig=
ht:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transfor=
m:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255=
);text-decoration-style:initial;text-decoration-color:initial">Recently, th=
e W3C specification for WebAuthn was circulated on social media. Upon close=
r review, it uses COSE (CBOR Object Signing and Encryption-- a JOSE derivat=
ive), which requests the registration of two classes of public-key signatur=
e algorithms [2]:</font></div><div class=3D"gmail_default"><font face=3D"mo=
nospace, monospace" style=3D"color:rgb(34,34,34);font-size:small;font-style=
:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:=
400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:n=
one;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);t=
ext-decoration-style:initial;text-decoration-color:initial"><br></font></di=
v><div class=3D"gmail_default"><font face=3D"monospace, monospace" style=3D=
"color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatur=
es:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;te=
xt-align:start;text-indent:0px;text-transform:none;white-space:normal;word-=
spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial=
;text-decoration-color:initial">1. RSA with PCKS1v1.5</font></div><div clas=
s=3D"gmail_default"><font face=3D"monospace, monospace" style=3D"color:rgb(=
34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;f=
ont-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:st=
art;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px=
;background-color:rgb(255,255,255);text-decoration-style:initial;text-decor=
ation-color:initial">2. ECDAA, whose formal definition eschews the use of d=
eterministic nonces<span style=3D"color:rgb(34,34,34);font-family:monospace=
,monospace;font-size:small;font-style:normal;font-variant-ligatures:normal;=
font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:s=
tart;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0p=
x;background-color:rgb(255,255,255);text-decoration-style:initial;text-deco=
ration-color:initial;float:none;display:inline"><span>=C2=A0</span></span><=
span style=3D"color:rgb(34,34,34);font-family:monospace,monospace;font-size=
:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:no=
rmal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px=
;text-transform:none;white-space:normal;word-spacing:0px;background-color:r=
gb(255,255,255);text-decoration-style:initial;text-decoration-color:initial=
;float:none;display:inline">[3] and thereby fails to provide the protection=
 of e.g. RFC 6979</span></font></div><div class=3D"gmail_default"><font fac=
e=3D"monospace, monospace" style=3D"color:rgb(34,34,34);font-size:small;fon=
t-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-=
weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-tran=
sform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255=
,255);text-decoration-style:initial;text-decoration-color:initial"><br></fo=
nt></div><div class=3D"gmail_default"><font face=3D"monospace, monospace" s=
tyle=3D"color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-=
ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:no=
rmal;text-align:start;text-indent:0px;text-transform:none;white-space:norma=
l;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:=
initial;text-decoration-color:initial">There are a few lessons that I belie=
ve we can take away from these facts:</font></div><div class=3D"gmail_defau=
lt"><font face=3D"monospace, monospace" style=3D"color:rgb(34,34,34);font-s=
ize:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps=
:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:=
0px;text-transform:none;white-space:normal;word-spacing:0px;background-colo=
r:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:init=
ial"><br></font></div><div class=3D"gmail_default"><font face=3D"monospace,=
 monospace" style=3D"color:rgb(34,34,34);font-size:small;font-style:normal;=
font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;lett=
er-spacing:normal;text-align:start;text-indent:0px;text-transform:none;whit=
e-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-deco=
ration-style:initial;text-decoration-color:initial">1. User-friendly standa=
rds like JOSE are incredibly influential in future protocol designs.</font>=
</div><div class=3D"gmail_default"><font face=3D"monospace, monospace" styl=
e=3D"color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-lig=
atures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:norma=
l;text-align:start;text-indent:0px;text-transform:none;white-space:normal;w=
ord-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:ini=
tial;text-decoration-color:initial">2. If the decision to design cryptograp=
hy protocols and/or decide the primitives used is left to library designers=
 and/or users, rather than cryptography engineers, they will inevitably cho=
ose something dangerous or terrifying.</font></div><div class=3D"gmail_defa=
ult"><font face=3D"monospace, monospace" style=3D"color:rgb(34,34,34);font-=
size:small;font-style:normal;font-variant-ligatures:normal;font-variant-cap=
s:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent=
:0px;text-transform:none;white-space:normal;word-spacing:0px;background-col=
or:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:ini=
tial"><br></font></div><div class=3D"gmail_default"><font face=3D"monospace=
, monospace" style=3D"color:rgb(34,34,34);font-size:small;font-style:normal=
;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;let=
ter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;whi=
te-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-dec=
oration-style:initial;text-decoration-color:initial">There is an elegant so=
lution to this trap we&#39;ve found ourselves in: Design an alternative tok=
en standard that avoids all of the design deficits that plague the incumben=
t standard, but is still easy to use for at least 90% of the JOSE/COSE use-=
cases. With that in mind, I&#39;d like to present PASETO.</font></div><div =
class=3D"gmail_default"><font face=3D"monospace, monospace" style=3D"color:=
rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:norm=
al;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-alig=
n:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing=
:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-d=
ecoration-color:initial"><br></font></div><div class=3D"gmail_default"><fon=
t face=3D"monospace, monospace" style=3D"text-align:start;text-indent:0px;b=
ackground-color:rgb(255,255,255);text-decoration-style:initial;text-decorat=
ion-color:initial">The first RFC draft is online [4]. As of this writing, w=
e have 11 implementations in 10 different programming languages. [5]</font>=
</div><div class=3D"gmail_default"><font face=3D"monospace, monospace" styl=
e=3D"text-align:start;text-indent:0px;background-color:rgb(255,255,255);tex=
t-decoration-style:initial;text-decoration-color:initial"><br></font></div>=
<div class=3D"gmail_default"><font face=3D"monospace, monospace" style=3D"t=
ext-align:start;text-indent:0px;background-color:rgb(255,255,255);text-deco=
ration-style:initial;text-decoration-color:initial">The biggest change from=
 JWT to PASETO is that, instead of an alg header that MUST be understood an=
d processed by implementations in JWT (which allows different algorithms to=
 be specified in the attacker-provided token) in PASETO we use versioned pr=
otocols.</font></div><div class=3D"gmail_default"><font face=3D"monospace, =
monospace" style=3D"text-align:start;text-indent:0px;background-color:rgb(2=
55,255,255);text-decoration-style:initial;text-decoration-color:initial"><b=
r></font></div><div class=3D"gmail_default"><font face=3D"monospace, monosp=
ace" style=3D"text-align:start;text-indent:0px;background-color:rgb(255,255=
,255);text-decoration-style:initial;text-decoration-color:initial">* If you=
&#39;re using v1, you&#39;re using AES-CTR+HMAC-SHA384 or RSASSA-PSS with M=
GF1+SHA384, SHA384, and e=3D65537.</font></div><div class=3D"gmail_default"=
><span style=3D"font-family:monospace,monospace">* If you&#39;re using v2, =
you&#39;re using XChaCha20-Poly1305 or Ed25519.</span></div><div class=3D"g=
mail_default"><span style=3D"font-family:monospace,monospace"><br></span></=
div><div class=3D"gmail_default"><span style=3D"font-family:monospace,monos=
pace">Future versions should be defined by cryptography experts.</span></di=
v><div class=3D"gmail_default"><span style=3D"font-family:monospace,monospa=
ce"><br></span></div><div class=3D"gmail_default"><span style=3D"font-famil=
y:monospace,monospace">Thank you for your time and please let me know if yo=
u have any immediate feedback. If you would like to contribute to the next =
iteration of the RFC draft, we&#39;re handling this on Github [6].</span></=
div><div class=3D"gmail_default"><font face=3D"monospace, monospace" style=
=3D"text-align:start;text-indent:0px;background-color:rgb(255,255,255);text=
-decoration-style:initial;text-decoration-color:initial"><br></font></div><=
div class=3D"gmail_default"><font face=3D"monospace, monospace" style=3D"te=
xt-align:start;text-indent:0px;background-color:rgb(255,255,255);text-decor=
ation-style:initial;text-decoration-color:initial">Note: I&#39;m sending th=
is to the JOSE and CFRG mailing lists. We don&#39;t yet have a Working Grou=
p for this project. I&#39;m unsure if a separate one should be formed or if=
 an existing one would like to contribute to the review and refinement of t=
his proposed Internet Standard.</font></div><div class=3D"gmail_default"><f=
ont face=3D"monospace, monospace" style=3D"color:rgb(34,34,34);font-size:sm=
all;font-style:normal;font-variant-ligatures:normal;font-variant-caps:norma=
l;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;te=
xt-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(=
255,255,255);text-decoration-style:initial;text-decoration-color:initial"><=
br></font></div><div class=3D"gmail_default"><font face=3D"monospace, monos=
pace" style=3D"text-align:start;text-indent:0px;background-color:rgb(255,25=
5,255);text-decoration-style:initial;text-decoration-color:initial">[1]: <a=
 href=3D"https://paragonie.com/blog/2017/03/jwt-json-web-tokens-is-bad-stan=
dard-that-everyone-should-avoid" target=3D"_blank">https://paragonie.com/bl=
og/<wbr>2017/03/jwt-json-web-tokens-<wbr>is-bad-standard-that-everyone-<wbr=
>should-avoid</a></font></div><div class=3D"gmail_default"><font face=3D"mo=
nospace, monospace" style=3D"text-align:start;text-indent:0px;background-co=
lor:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:in=
itial">[2]: <a href=3D"https://www.w3.org/TR/2018/CR-webauthn-20180320/#sct=
n-cose-alg-reg" target=3D"_blank">https://www.w3.org/TR/2018/CR-<wbr>webaut=
hn-20180320/#sctn-cose-<wbr>alg-reg</a></font></div><div class=3D"gmail_def=
ault"><font face=3D"monospace, monospace" style=3D"text-align:start;text-in=
dent:0px;background-color:rgb(255,255,255);text-decoration-style:initial;te=
xt-decoration-color:initial">[3]:=C2=A0<a href=3D"https://fidoalliance.org/=
specs/fido-uaf-v1.1-id-20170202/fido-ecdaa-algorithm-v1.1-id-20170202.html#=
ecdaa-sign" target=3D"_blank">https://fidoalliance.org/<wbr>specs/fido-uaf-=
v1.1-id-<wbr>20170202/fido-ecdaa-algorithm-<wbr>v1.1-id-20170202.html#ecdaa=
-<wbr>sign</a></font></div><div class=3D"gmail_default"><font face=3D"monos=
pace, monospace" style=3D"text-align:start;text-indent:0px;background-color=
:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initi=
al">[4]:=C2=A0<span style=3D"color:rgb(34,34,34);font-family:monospace,mono=
space;font-size:small;font-style:normal;font-variant-ligatures:normal;font-=
variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;=
text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;bac=
kground-color:rgb(255,255,255);text-decoration-style:initial;text-decoratio=
n-color:initial;float:none;display:inline"><a href=3D"https://datatracker.i=
etf.org/doc/draft-paragon-paseto-rfc" target=3D"_blank">https://datatracker=
.ietf.<wbr>org/doc/draft-paragon-paseto-<wbr>rfc</a></span>

</font></div><div class=3D"gmail_default"><font face=3D"monospace, monospac=
e" style=3D"text-align:start;text-indent:0px;background-color:rgb(255,255,2=
55);text-decoration-style:initial;text-decoration-color:initial">[5]: <a hr=
ef=3D"https://paseto.io">h<font color=3D"#1155cc">ttps://paseto.io</font></=
a>

</font></div><div class=3D"gmail_default"><font face=3D"monospace, monospac=
e" style=3D"text-align:start;text-indent:0px;background-color:rgb(255,255,2=
55);text-decoration-style:initial;text-decoration-color:initial">[6]:=C2=A0=
<a href=3D"https://github.com/paragonie/paseto/blob/master/docs/RFC/paseto.=
md">https://github.com/paragonie/paseto/blob/master/docs/RFC/paseto.md</a><=
/font></div><div class=3D"gmail_default"><font face=3D"monospace, monospace=
" style=3D"text-align:start;text-indent:0px;background-color:rgb(255,255,25=
5);text-decoration-style:initial;text-decoration-color:initial"><br></font>=
</div><div class=3D"gmail_default"><font face=3D"monospace, monospace" styl=
e=3D"color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-lig=
atures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:norma=
l;text-align:start;text-indent:0px;text-transform:none;white-space:normal;w=
ord-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:ini=
tial;text-decoration-color:initial">Scott Arciszewski</font><div style=3D"c=
olor:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:=
normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:4=
00;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:no=
ne;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);te=
xt-decoration-style:initial;text-decoration-color:initial"><font face=3D"mo=
nospace, monospace">Chief Development Officer</font></div><div style=3D"col=
or:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:no=
rmal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400=
;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none=
;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text=
-decoration-style:initial;text-decoration-color:initial"><a href=3D"https:/=
/paragonie.com/" style=3D"color:rgb(17,85,204)" target=3D"_blank"><font fac=
e=3D"monospace, monospace">Paragon Initiative Enterprises<div class=3D"gmai=
l_default" style=3D"font-family:monospace,monospace;display:inline">=E2=80=
=8B=E2=80=8B</div></font></a></div>

<br></div><div><div class=3D"gmail-m_-3459617998979120872gmail_signature"><=
div dir=3D"ltr"></div></div></div>
</div>

--000000000000324da0056a342dc9--


From nobody Thu Apr 19 15:03:40 2018
Return-Path: <neil.e.madden@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 996DD12E867; Thu, 19 Apr 2018 15:03:39 -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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=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 R4CNsluM18qH; Thu, 19 Apr 2018 15:03:36 -0700 (PDT)
Received: from mail-wr0-x22a.google.com (mail-wr0-x22a.google.com [IPv6:2a00:1450:400c:c0c::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 CC099126C3D; Thu, 19 Apr 2018 15:03:35 -0700 (PDT)
Received: by mail-wr0-x22a.google.com with SMTP id f14-v6so17863645wre.4; Thu, 19 Apr 2018 15:03:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=kjIJ1eI5sVEEXkvj49YozBr9lYWoUWW3OhIcXtRUEEs=; b=pW9b/eoI0Yp6HHJvXYF8TOHV/G4JbGjBuQjZD6BWPfqfLqx8FxN15ZGbq4minSsO3P lVywvBRsusNgZousB6ixDajJrOIBSTOHb1TSjVtaM4ZWNsoiTgBGDjSK+IWyB+L/wgJO Pz40YKlLsHw88ofeDFHWo3lqOfjKiqOdAK3YXY6sxpoDBVokIinecEMyo02YLxR3qNp1 7d989GnkhH2VwtrE8wKAzXjh79ZwBvMmRKcSTfjCVWxLdwE12Sbtwakcs40cuKkM/dSm 8LHV1P/NhxHRZGhJ43zx9kg3n4vmsbl6IDuGmmTPnOR1QhR6THMh66JWivBMA1j0ktTm ChcA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=kjIJ1eI5sVEEXkvj49YozBr9lYWoUWW3OhIcXtRUEEs=; b=mRBszz7BHhatFNvmqT+k7W6f21Ay4EAVYsMM3gf8e3sQzJA69heEu3fpFZItm+7Fxx I8ccS+UqEor/YswQGa+hW1V8sveotIy4LG9lOsdWGd1Vpb7cL3vn0qUmkmjSwz9e+jdI Z+IIKqOX5QwS0yziW+AFxLQ9XK8LCbzrEY7Na/Fpa5AK6ooOBL96dVC2nRRUZo2YqIn2 y0lE6F95WDEApynDwdPZW4MSu6SJ2CZwT21aQVEMR2BXFJ20RjzREVEGa1aSYJNVJiS1 /FvnzR2+o95Zx+neFMeg7tKfs0yMz593NMIaev8HrdojB0L81fpzAO9DeNnEEKGRStDK aPTQ==
X-Gm-Message-State: ALQs6tBK4MAWlvdZ7ICt/ueZyqAbhIKAktubvSLu6pv2UhfiXjz1MoFp hgbLtc2jbj1g+VYpUoXuySs4nksf
X-Google-Smtp-Source: AIpwx48hc2pJ3gfVM70F8LP93xy+oilLCuspCPMUy+SjNpzdCfxPx8QsjrN8+O4hcVkah2L73vJ1ZQ==
X-Received: by 2002:adf:b71a:: with SMTP id l26-v6mr6122504wre.115.1524175414220;  Thu, 19 Apr 2018 15:03:34 -0700 (PDT)
Received: from guest2s-mbp.home (198.179.93.209.dyn.plus.net. [209.93.179.198]) by smtp.gmail.com with ESMTPSA id l73sm222127wma.10.2018.04.19.15.03.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 15:03:33 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\))
From: Neil Madden <neil.e.madden@gmail.com>
In-Reply-To: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com>
Date: Thu, 19 Apr 2018 23:03:31 +0100
Cc: jose@ietf.org, cfrg@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com>
References: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com>
To: Scott Arciszewski <scott@paragonie.com>
X-Mailer: Apple Mail (2.3445.6.18)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/eizT0evFycRHWDOHOfiBaP0zuCo>
Subject: Re: [Cfrg] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 19 Apr 2018 22:03:39 -0000

I agree with some of the criticisms of JOSE here, but I have some =
concerns about the proposed replacement.

Firstly, your blog post states that ECDH in JOSE is only defined for =
NIST curves. Actually, RFC 8037 [1] defined X25519/X448 for ECDH in JWE =
and EdDSA for JWS.

Thomas Ptacek also had some good observations about weaknesses of the =
JOSE standards [2].=20

Two questions then occur to me:
1. Is JOSE fixable or does it need to be replaced entirely?
2. If it needs to be replaced, is PASETO a suitable replacement?

I=E2=80=99ll tackle these in reverse order. I find PASETO interesting, =
but also find aspects of the design somewhat confusing:

- The basic encryption construction [3] appears (to me at least) to be a =
novel design based on three passes over the message: once to generate a =
pseudorandom nonce in an SIV-like construction (but not actually =
authenticating the message), a second time to encrypt, and then a third =
time to authenticate the cipher text. Is this a well-studied design? =
What security goal is it designed to meet? Why not just use SIV mode?

- PASETO still relies on the message to tell it the type of crypto =
algorithms in use: =E2=80=9Cv1.local=E2=80=9D vs =E2=80=9Cv1.public=E2=80=9D=
 vs =E2=80=9Cv2.local=E2=80=9D etc. Isn=E2=80=99t this =E2=80=9Calg=E2=80=9D=
 again, but with a more restricted (and higher-level) set of algorithms? =
I don=E2=80=99t think this is necessary at all - see below for an =
alternative.

- There are some odd combinations of security levels defined. For =
instance, v1.local uses untruncated HMAC-SHA384 for authentication =
(384-bit tag), while v2.local uses Poly1305 (128-bit tag) - so v2 is =
actually targeting a lower security level for authentication?=20

- XChaCha20 has not been formally published before. While it seems an =
=E2=80=9Cobvious=E2=80=9D translation of XSalsa20 to ChaCha20, I=E2=80=99d=
 prefer that to be independently specified (e.g. by CFRG) before being =
the recommended choice. XSalsa20 is already published and well known.

- The guidelines in section 3.1 are unclear. For instance, they state =
that long nonces (> 128 bits) satisfy =E2=80=9Csome degree of =
nonce-misuse resistance=E2=80=9D, but they do not - at least not in the =
sense of misuse-resistant authenticated encryption (MRAE). They just =
make randomly-generated nonces less likely to collide. The security =
goals should be clearly defined here.

- The guidelines state that public key encryption should be IND-CCA2, =
but public key encryption is not defined in the spec. It=E2=80=99s not =
clear that IND-CCA2 is the right security goal here, vs e.g. public key =
authenticated encryption as in NaCl.

So while I appreciate the streamlined design compared to JOSE, there are =
enough non-obvious design decisions here that I am reluctant to =
immediately recommend it as a replacement for JOSE.

But is JOSE fixable instead? I think there is certainly a lot you could =
do to improve it without completely throwing it away and starting again. =
The problem is that old standards never really get thrown away, so we =
end up supporting n+1 standards instead. I think a few basic changes =
could improve the standards considerably:

1. Deprecating broken/dubious algorithms (like RSA encryption with =
PKCS#1 v1.5 padding) and proposing modern and robust replacements (like =
RFC 8037 or my own draft for SIV modes [4]).
2. Moving the =E2=80=9Calg=E2=80=9D and =E2=80=9Cenc=E2=80=9D headers =
out of JWE/JWS and instead into JWK so that is the key that determines =
the algorithm not the message.
3. Deprecating all the ways that you can specify a key in a message, =
leaving just =E2=80=9Ckid=E2=80=9D.

I think these changes would go quite a long way to making JOSE more =
robust. It wouldn=E2=80=99t solve everything (and I have more =
suggestions for another time), but it moves in the right direction. =
Ultimately I would like JWE to gravitate towards authenticated =
encryption in both symmetric and public-key settings, and JWS to =
concentrate on non-repudiation, but that is a larger change.

[1] https://tools.ietf.org/html/rfc8037
[2] =
https://lobste.rs/s/r4lv76/jwt_is_bad_standard_everyone_should_avoid#c_k91=
fsa
[3] =
https://tools.ietf.org/html/draft-paragon-paseto-rfc-00#section-4.3.2
[4] https://tools.ietf.org/html/draft-madden-jose-siv-mode-02

Regards,

Neil Madden

> On 19 Apr 2018, at 15:13, Scott Arciszewski <scott@paragonie.com> =
wrote:
>=20
> Dear IETF mailing list members,
>=20
> There have been many real-world failures of the JOSE family of =
Internet Standards since they were published in RFCs 7515-7520.
>=20
> - Accepting {"alg":"none"} in many implementations allowed attackers =
to bypass the protections that JWS were supposed to provide.
> - Substituting RS256 with HS256 and using the RSA public key as an =
HMAC secret key allowed trivial token forgery.
> - JWE with ECIES fell to invalid curve attacks.=20
>=20
> I've outlined these criticisms and more in a post titled "No way JOSE! =
Javascript Object Signing and Encryption is a Bad Standard That Everyone =
Should Avoid" [1] last year.=20
>=20
> In addition to the critical vulnerabilities in the JOSE standards, =
there are a lot of cryptographic smells to be found, especially in =
related standards. Let me give you a brief, concrete example.
>=20
> Recently, the W3C specification for WebAuthn was circulated on social =
media. Upon closer review, it uses COSE (CBOR Object Signing and =
Encryption-- a JOSE derivative), which requests the registration of two =
classes of public-key signature algorithms [2]:
>=20
> 1. RSA with PCKS1v1.5
> 2. ECDAA, whose formal definition eschews the use of deterministic =
nonces [3] and thereby fails to provide the protection of e.g. RFC 6979
>=20
> There are a few lessons that I believe we can take away from these =
facts:
>=20
> 1. User-friendly standards like JOSE are incredibly influential in =
future protocol designs.
> 2. If the decision to design cryptography protocols and/or decide the =
primitives used is left to library designers and/or users, rather than =
cryptography engineers, they will inevitably choose something dangerous =
or terrifying.
>=20
> There is an elegant solution to this trap we've found ourselves in: =
Design an alternative token standard that avoids all of the design =
deficits that plague the incumbent standard, but is still easy to use =
for at least 90% of the JOSE/COSE use-cases. With that in mind, I'd like =
to present PASETO.
>=20
> The first RFC draft is online [4]. As of this writing, we have 11 =
implementations in 10 different programming languages. [5]
>=20
> The biggest change from JWT to PASETO is that, instead of an alg =
header that MUST be understood and processed by implementations in JWT =
(which allows different algorithms to be specified in the =
attacker-provided token) in PASETO we use versioned protocols.
>=20
> * If you're using v1, you're using AES-CTR+HMAC-SHA384 or RSASSA-PSS =
with MGF1+SHA384, SHA384, and e=3D65537.
> * If you're using v2, you're using XChaCha20-Poly1305 or Ed25519.
>=20
> Future versions should be defined by cryptography experts.
>=20
> Thank you for your time and please let me know if you have any =
immediate feedback. If you would like to contribute to the next =
iteration of the RFC draft, we're handling this on Github [6].
>=20
> Note: I'm sending this to the JOSE and CFRG mailing lists. We don't =
yet have a Working Group for this project. I'm unsure if a separate one =
should be formed or if an existing one would like to contribute to the =
review and refinement of this proposed Internet Standard.
>=20
> [1]: =
https://paragonie.com/blog/2017/03/jwt-json-web-tokens-is-bad-standard-tha=
t-everyone-should-avoid
> [2]: =
https://www.w3.org/TR/2018/CR-webauthn-20180320/#sctn-cose-alg-reg
> [3]: =
https://fidoalliance.org/specs/fido-uaf-v1.1-id-20170202/fido-ecdaa-algori=
thm-v1.1-id-20170202.html#ecdaa-sign
> [4]: https://datatracker..ietf.org/doc/draft-paragon-paseto-rfc
> [5]: https://paseto.io
> [6]: =
https://github.com/paragonie/paseto/blob/master/docs/RFC/paseto.md
>=20
> Scott Arciszewski
> Chief Development Officer
> Paragon Initiative Enterprises=E2=80=8B=E2=80=8B
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Thu Apr 19 15:42:07 2018
Return-Path: <rsalz@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 3EA0712E87C; Thu, 19 Apr 2018 15:42:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.711
X-Spam-Level: 
X-Spam-Status: No, score=-2.711 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, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-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 K1vopyi448UI; Thu, 19 Apr 2018 15:41:58 -0700 (PDT)
Received: from mx0a-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (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 DA0B012D882; Thu, 19 Apr 2018 15:41:58 -0700 (PDT)
Received: from pps.filterd (m0050095.ppops.net [127.0.0.1]) by m0050095.ppops.net-00190b01. (8.16.0.22/8.16.0.22) with SMTP id w3JMb7D1017861; Thu, 19 Apr 2018 23:41:57 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=jan2016.eng; bh=Aiqryd+3Li7EpIjg/yOjuBIboH5XpdnKIR3OqZ7PNao=; b=Wj2xUPFLZf6ji+rgSXAuXE/epTwZ8tBe8LOZQ4re8KKOSe+JVIhiTSW+DnxMWZsLeviC AI2do6fFisNsp/m4k68EP3wTixBsSUKyXzgvTmLliqPFBOFylJPejzsdLT+I6MM6bBrm 77OFMvJN9kTN312vjOzOQfIL/2JuKj5YJ45UUBqg0WAbJ4CukxFk6ESgNYXbX6C+HUaX x+4ewxasvYJJTVGUiRd5mo7DqpJ0AHbiZM7q3qq3gMqqjQWpGljC1kxK8xFfF//0Zuh2 WcDEJ4qgvakhWm4A9UHCjfTD+9b4pl1h4hQLKLKtgLUOFh6Lzv8+jIfdOghqUAPzXv/F Kw== 
Received: from prod-mail-ppoint2 (prod-mail-ppoint2.akamai.com [184.51.33.19]) by m0050095.ppops.net-00190b01. with ESMTP id 2hdnp6xggt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Apr 2018 23:41:56 +0100
Received: from pps.filterd (prod-mail-ppoint2.akamai.com [127.0.0.1]) by prod-mail-ppoint2.akamai.com (8.16.0.21/8.16.0.21) with SMTP id w3JMfHCJ002294; Thu, 19 Apr 2018 18:41:55 -0400
Received: from email.msg.corp.akamai.com ([172.27.123.34]) by prod-mail-ppoint2.akamai.com with ESMTP id 2hbd0ayp8s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 19 Apr 2018 18:41:55 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb6.msg.corp.akamai.com (172.27.123.65) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Thu, 19 Apr 2018 18:41:55 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1365.000; Thu, 19 Apr 2018 18:41:54 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: Neil Madden <neil.e.madden@gmail.com>, Scott Arciszewski <scott@paragonie.com>
CC: "cfrg@ietf.org" <cfrg@ietf.org>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [Cfrg] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
Thread-Index: AQHT1+ikF93gujSL2kug06GbhFcwgKQI576A///HqoA=
Date: Thu, 19 Apr 2018 22:41:54 +0000
Message-ID: <FE584F80-7920-4DE6-A980-B92FB3D0969A@akamai.com>
References: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com> <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com>
In-Reply-To: <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/10.c.0.180410
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.42.49]
Content-Type: text/plain; charset="utf-8"
Content-ID: <53BE39DE5BDD374DB476D4E52A9FC8B7@akamai.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-04-19_05:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=894 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804190202
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-04-19_05:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=840 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804190201
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/fmhPBXs-c0SditaSz3hsM6_fMRc>
Subject: Re: [Cfrg] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 19 Apr 2018 22:42:00 -0000

PiAgICAtIFRoZSBiYXNpYyBlbmNyeXB0aW9uIGNvbnN0cnVjdGlvbiBbM10gYXBwZWFycyAodG8g
bWUgYXQgbGVhc3QpIHRvIGJlIGEgbm92ZWwgZGVzaWduDQoNCkFuZCBmb3IgdGhhdCByZWFzb24g
YWxvbmUsIHdlIHNob3VsZCB0aHJvdyB0aGlzIGF3YXkuDQoNCg0KDQo=


From nobody Fri Apr 20 03:49:21 2018
Return-Path: <neil.e.madden@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 82FAB129C6E; Fri, 20 Apr 2018 03:49:10 -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 JwBoQUOiqLgK; Fri, 20 Apr 2018 03:49:08 -0700 (PDT)
Received: from mail-wr0-x231.google.com (mail-wr0-x231.google.com [IPv6:2a00:1450:400c:c0c::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 38F6D12E8D4; Fri, 20 Apr 2018 03:49:07 -0700 (PDT)
Received: by mail-wr0-x231.google.com with SMTP id o15-v6so21766804wro.11; Fri, 20 Apr 2018 03:49:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QzFbOcRLSuO8SmN/OdKRhH4ffSnHIq8/fGzJ2jjK4E8=; b=Uk4gtVxSrk2ILhDOaEEsW2cOrFvQ4rUKoi77qccwX5KD5uZ2lZOc1GS3Ha7+L7vIOV Hj6JkfFruDbK9eaxyfqcMCoj/+bMekN8lS9AH/+hLakKI5rEB8dal6RuqYe7eIrqh4yc SD9HQOLcEzG5CoPrsXxjdUVBVvp1wkh3qd4L/Q3GXM4u3twp/IIYG7reyhLvSKYvxHUS eRGddwWwHpjerzHuZG5AErjLEWtpZ4g/ffPZzh2RCHAPGK1OarCuwV0ufFEXfwlW+nZi IIQ1ObEQHGQkIhpsVnaRDClPOwsj/1QLeDp3X6Vz7ivSbP9IR5w2gDX1ovEWkj3yWz6h Cprg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QzFbOcRLSuO8SmN/OdKRhH4ffSnHIq8/fGzJ2jjK4E8=; b=oej4VI0+l/mlofQeY0pYN3Bj2kJ6MgaHM9oLSsP8p2IRGmvWfpKj8mSEIFK59Pss9+ zkEss+Kvj6Enina+oskrgK9ZBlitDhNraZDoRI0wYO1DNgmXjYTPmeHuUhJk6zo9gumc aPLCtYT20mcK3/UYQEEZoh1phVIzwX0TLzNrKa2O+doNO3PVvfcgBxFXlIzo1RVrw3AC 3ZvVuJ5tkT4WGbKuZ6oAyLx8W5vFy/SJhxAa2z4rp/+Y3XStfRNNG32/oCCnI65oZDnn h0JzS9bKFqb5r4jEKDuYQ57IJd8PDwsNUPgjVioNgeiZANjvGuxuTlwvLU6paV9wbp+x V+cg==
X-Gm-Message-State: ALQs6tDGnyXCtwjecoVRMv+NRea7XhzqpC7hnCiaHL3e/5EHYKruyOhr eN55cNCFSqfwroF0ZQv4B9U=
X-Google-Smtp-Source: AIpwx4+JhVWDRZg5geDneXQa8ZghGtcFdDtqL8ia6keiSlRDJei7HRuowcxJvGqAPFIrIdOvQnherQ==
X-Received: by 10.28.48.149 with SMTP id w143mr1681482wmw.88.1524221345633; Fri, 20 Apr 2018 03:49:05 -0700 (PDT)
Received: from guest2s-mbp.home (198.179.93.209.dyn.plus.net. [209.93.179.198]) by smtp.gmail.com with ESMTPSA id u8sm653842wmf.3.2018.04.20.03.49.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Apr 2018 03:49:04 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\))
From: Neil Madden <neil.e.madden@gmail.com>
In-Reply-To: <CAKws9z277JLfv7Pb9wSkJ7zYR8FzoAfiXuFS6Vq0x32-3bWx7Q@mail.gmail.com>
Date: Fri, 20 Apr 2018 11:49:02 +0100
Cc: jose@ietf.org, cfrg@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <DB58CEFE-ED93-4C1C-9212-B622DFCCFFB9@gmail.com>
References: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com> <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com> <CAKws9z277JLfv7Pb9wSkJ7zYR8FzoAfiXuFS6Vq0x32-3bWx7Q@mail.gmail.com>
To: Scott Arciszewski <scott@paragonie.com>
X-Mailer: Apple Mail (2.3445.6.18)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/N0I_gQrNdZho-m7RafFj1mSavlc>
Subject: Re: [Cfrg] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 20 Apr 2018 10:49:10 -0000

Comments inline below.

> On 20 Apr 2018, at 03:33, Scott Arciszewski <scott@paragonie.com> =
wrote:
>=20
> Hi Neil,
>=20
> > Firstly, your blog post states that ECDH in JOSE is only defined for =
NIST curves. Actually, RFC 8037 [1] defined X25519/X448 for ECDH in JWE =
and EdDSA for JWS.
>=20
> That's great. This was not known to me when I wrote the blog post in =
March 2017.
>=20
> I'm curious: Which libraries implement RFC 8037 and eschew the =
foot-gun public key cryptography protocols?
>=20
> If RFC 8037 adoption has reached 100% of libraries and protocols that =
implement JOSE standards, and none of them speak RSA-PKCS1v1.5 or =
non-deterministic ECDSA with a NIST curve anymore, I'll need to =
reevaluate my position on JOSE at the ecosystem level. Otherwise, JOSE's =
legacy of being an error-prone cryptographic standard is still rather =
damning at the ecosystem level, and the only effective means of fixing =
that is to replace the entire standard with something not-broken.

I think you are overestimating the effectiveness of this strategy. =
Unfortunately, insecure implementations of old standards don=E2=80=99t =
go away because you introduce a new standard.

>=20
> >=E2=80=8B =E2=80=8B- The basic encryption construction [3] appears =
(to me at least) to be a novel design based on three passes over the =
message: once to generate a pseudorandom nonce in an SIV-like =
construction (but not actually authenticating the message), a second =
time to encrypt, and then a third time to authenticate the cipher text. =
Is this a well-studied design? What security goal is it designed to =
meet?
>=20
> The v1 construction is literally CTR+HMAC. It uses HKDF for key =
splitting (which is what HKDF was meant for). It uses SHA384 so only one =
hash function needs to be implemented. (SHA384 was chosen due to it =
being the best of the SHA2 variants available in e.g. PHP 7.0 that's =
immune to length-extension attacks.) Furthermore, v1 uses PSS instead of =
PKCS1v1.5 because PKCS1v1.5 is a terrible idea.
>=20
> What you're calling an SIV-like construction is just part of the =
nonce/HKDF-salt generation scheme for v1. Its purpose is to add a =
safeguard in case someone implements it against an insecure RNG such as =
OpenSSL's RAND_bytes() (which is not fork-safe and might repeat outputs, =
which would be catastrophic for CTR mode). If an implementation eschewed =
that and just did /dev/urandom here, it wouldn't affect much since the =
nonce provided in the actual token is what's used to decrypt. As long as =
HMAC-SHA384 is collision-resistant, it will serve its purpose of =
avoiding nonce-reuse conditions and otherwise isn't that important.

Don=E2=80=99t get me wrong, I think this is a nice idea, but it=E2=80=99s =
also sufficiently novel that I don=E2=80=99t feel comfortable saying =
that PASETO v1.local is =E2=80=9Cjust=E2=80=9D CTR+HMAC with a few minor =
tweaks. The HMAC key for the GetNonce() function is coming from the PRNG =
that you do not trust because it may be biased, poorly designed, etc. If =
you look at the design of HKDF, it puts potentially biased source key =
material in the (non-key) input to HMAC and uses either a fixed/empty =
constant or an (unbiased) random salt as the key. Part of the rationale =
is given on page 19 of [1]:

=E2=80=9C[=E2=80=A6] PRFs are specifically designed to remain secure =
even when the inputs (except for the key) are fully known and =
correlated, or even adversarially chosen.=E2=80=9D

So what can we conclude about the pseudorandom collision resistance of =
the output of HMAC when the *key* comes from a potentially =
biased/untrusted source? I=E2=80=99m not a cryptographer, so maybe that =
is still fine, but I don=E2=80=99t know if you could prove it without =
making non-standard assumptions about HMAC.

[1] https://eprint.iacr.org/2010/264.pdf

>=20
> AES-CTR then HMAC-SHA2 is a pretty simple and well-studied =
construction, although AES-CBC is more common than AES-CTR. We find it =
simpler to implement CTR mode safely in real world systems that only =
give you ECB mode out of the box, without introducing e.g. =
padding-related bugs.
>=20
> =E2=80=8B> Why not just use SIV mode?
>=20
> Open up the crypto interfaces exposed in any three of the most used =
programming languages on the Internet today. You can be biased and pick =
your favorites, as long as they power >=3D 1% of the Internet and aren't =
something totally obscure. Then tell me which among them offer SIV mode.

=46rom a quick survey:

 - OpenSSL is adding support for AES-SIV [2], apparently because it is =
planned to be mandatory to implement for NTP security [3].
 - BoringSSL supports AES-GCM-SIV [4] (admittedly this is not quite a =
straightforward application of SIV mode).
 - Google Tink supports AES-SIV [5] on Java (& Android) with Go, C++, =
Objective-C in development/planned (I believe), and Javascript and C# =
ports =E2=80=9Cin the works".

[2] https://github.com/openssl/openssl/pull/3540
[3] https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp-11.html
[4] =
https://github.com/google/boringssl/blob/master/include/openssl/aead.h
[5] =
https://github.com/google/tink/blob/master/doc/PRIMITIVES.md#deterministic=
-authenticated-encryption-with-associated-data

>=20
> Protocol v1 literally only exists for systems that use e.g. OpenSSL =
and cannot, for political or technical reasons, use something like NaCl, =
libsodium, HaCl, etc.

AES-SIV itself is a relatively straight-forward composition of AES-CMAC =
(or another MAC) and AES-CTR, which are widely available building =
blocks.

>=20
> > - PASETO still relies on the message to tell it the type of crypto =
algorithms in use: =E2=80=9Cv1.local=E2=80=9D vs =E2=80=9Cv1.public=E2=80=9D=
 vs =E2=80=9Cv2.local=E2=80=9D etc. Isn=E2=80=99t this =E2=80=9Calg=E2=80=9D=
 again, but with a more restricted (and higher-level) set of algorithms? =
I don=E2=80=99t think this is necessary at all - see below for an =
alternative. =E2=80=8B
>=20
> There is one advantage to what we're doing here (v1.local vs v2.local) =
over what JOSE does: Instead of library designers or users being able to =
mix-and-match cryptography protocols, they choose their version and =
purpose and the rest of the details are decided for them.
>=20
> No knobs, no levers, no corner cases where someone accidentally =
deploys e=3Dd=3D1 RSA [1]. Instead, they get one simple, =
misuse-resistant standard that solves their needs without any surprises.

Right, but you could write an RFC that proposes 4 new JOSE algorithms: =
=E2=80=9Cv1.local=E2=80=9D, =E2=80=9Cv1.public=E2=80=9D, =E2=80=9Cv2.local=
=E2=80=9D, =E2=80=9Cv2.public=E2=80=9D and marks all others (and =
associated headers) as prohibited. Wouldn=E2=80=99t that be pretty =
similar to the core of PASETO? The fundamental problem with =E2=80=9Calg=E2=
=80=9D in JOSE is that it requires you to trust the message to tell you =
what algorithm to use to validate that message. PASETO makes exactly the =
same mistake, it just has a much better (and much smaller) algorithm =
selection.=20

[snip]

I think the work you are doing on PASETO is valuable and has a lot of =
nice ideas. I would also say that is already better than JOSE as it =
currently is, but I=E2=80=99m not sure it is the best replacement.

Kind regards,

Neil


From nobody Fri Apr 20 04:03:17 2018
Return-Path: <cabo@tzi.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 1DB1D1270AE; Fri, 20 Apr 2018 04:03:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] 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 Nr-qA3lcHrRl; Fri, 20 Apr 2018 04:03:13 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (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 022CB1250B8; Fri, 20 Apr 2018 04:03:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::b]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id w3KB39FW027632; Fri, 20 Apr 2018 13:03:09 +0200 (CEST)
Received: from client-0174.vpn.uni-bremen.de (client-0174.vpn.uni-bremen.de [134.102.107.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 40SCd92Wz1zDXFp; Fri, 20 Apr 2018 13:03:09 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <DB58CEFE-ED93-4C1C-9212-B622DFCCFFB9@gmail.com>
Date: Fri, 20 Apr 2018 13:03:08 +0200
Cc: Scott Arciszewski <scott@paragonie.com>, cfrg@ietf.org, jose@ietf.org
X-Mao-Original-Outgoing-Id: 545914982.158986-79cbfd1956e01b70884143440ab5007d
Content-Transfer-Encoding: quoted-printable
Message-Id: <A6784DBB-C147-40B7-8A5C-E96F431020F6@tzi.org>
References: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com> <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com> <CAKws9z277JLfv7Pb9wSkJ7zYR8FzoAfiXuFS6Vq0x32-3bWx7Q@mail.gmail.com> <DB58CEFE-ED93-4C1C-9212-B622DFCCFFB9@gmail.com>
To: Neil Madden <neil.e.madden@gmail.com>
X-Mailer: Apple Mail (2.3445.5.20)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/zW107gC3jlHNKj5TwBU3WVeVAvY>
Subject: Re: [Cfrg] [jose] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 20 Apr 2018 11:03:15 -0000

On Apr 20, 2018, at 12:49, Neil Madden <neil.e.madden@gmail.com> wrote:
>=20
> insecure implementations of old standards don=E2=80=99t go away =
because you introduce a new standard

Exactly.

If we have to invent a new standard each time an existing standard is =
implemented with a security flaw, we have a lot of work to do.

Insecure implementations exist even of standards such as TLS.  Usually =
the strategy is to fix the implementations.  (It is also a good idea to =
envision what implementers will mess up when creating a new standard.  =
But there are limits to that approach.)

One of the objectives in the definition of COSE was to avoid some of the =
pitfalls of JOSE.
There is also work ongoing to document the security considerations of =
JOSE better, e.g., draft-ietf-oauth-jwt-bcp.

I=E2=80=99d like to focus the energy that appears to be visible here on =
agreeing good SIV constructions and getting them registered with COSE.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Fri Apr 20 04:14:51 2018
Return-Path: <vladimir@connect2id.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 3F821129C51 for <cfrg@ietfa.amsl.com>; Fri, 20 Apr 2018 04:14:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.879
X-Spam-Level: 
X-Spam-Status: No, score=-0.879 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no 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 HqMlOrDYwsPZ for <cfrg@ietfa.amsl.com>; Fri, 20 Apr 2018 04:14:49 -0700 (PDT)
Received: from p3plsmtpa11-02.prod.phx3.secureserver.net (p3plsmtpa11-02.prod.phx3.secureserver.net [68.178.252.103]) (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 17F0C1241F8 for <cfrg@ietf.org>; Fri, 20 Apr 2018 04:14:49 -0700 (PDT)
Received: from [192.168.0.107] ([78.130.190.73]) by :SMTPAUTH: with SMTP id 9U05fPYyUErAG9U07fTS4i; Fri, 20 Apr 2018 04:14:48 -0700
Cc: cfrg@ietf.org, jose@ietf.org
References: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com> <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com>
From: Vladimir Dzhuvinov <vladimir@connect2id.com>
Organization: Connect2id Ltd.
Message-ID: <6e37c5eb-32e9-3739-3b1a-fec91e6a01fa@connect2id.com>
Date: Fri, 20 Apr 2018 14:14:44 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
X-CMAE-Envelope: MS4wfB83sR8F9kTAFwAZPkIgMQlUaSsh95A1hzbvRF6nCe8wzpiGSSe90AsEJ4yJq8kDlDswOkE4JPndPMSh3DlNE4Z6mOscWQ/T1rKEnGIK+0OaYdgkikIU ZAGavFX6BAT4IFJpI1gG8wqIEDbt1ZDV1c3YGasNqN3hFC5iqrhfP+iwVJ9TkzsSB6GopzSAR9tvuQ==
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/OSslEKdG8whOcgF6HNpomjDe0ZI>
Subject: Re: [Cfrg] [jose] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 20 Apr 2018 11:14:50 -0000

On 20/04/18 01:03, Neil Madden wrote:
> 2. Moving the =E2=80=9Calg=E2=80=9D and =E2=80=9Cenc=E2=80=9D headers o=
ut of JWE/JWS and instead into JWK so that is the key that determines the=
 algorithm not the message.
Developers letting the "alg" header alone drive JWS / JWE processing is
the most glaring mistake I keep seeing. JOSE library maintainers can
possibly help here, by hiding the "alg" header from developers :)

We took a similar measure with "alg":"none", by giving those JOSE
objects a different class than JWS (for type safety) which cannot be
validated.

Vladimir


From nobody Fri Apr 20 08:18:20 2018
Return-Path: <Michael.Jones@microsoft.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 577A9124F57; Fri, 20 Apr 2018 08:18:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level: 
X-Spam-Status: No, score=-2.011 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, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 nEvJakLNXtT0; Fri, 20 Apr 2018 08:18:15 -0700 (PDT)
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0139.outbound.protection.outlook.com [104.47.33.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D1A88124B17; Fri, 20 Apr 2018 08:18:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=h8jEjry4XdqGWxSFhviY9ax7ncHO4RK6BT3vK2yQ3NY=; b=IYFvu69It71bnVJSZCgDtEE8aJQH8BZZ7Mx1CxME0t6N2dyTHsfyrMdDptvv33nZZhVeT9MsAeaUveKCM01tJeL0TJ3vAcEyQc7PDXF4awr0JNp0wr9AycezJXOnS/20OIT/+7o72wUJpPB571/vmCP4Ym3aoYTTFJ69yfJ4jp0=
Received: from SN6PR00MB0301.namprd00.prod.outlook.com (2603:10b6:805:b::27) by SN6PR00MB0448.namprd00.prod.outlook.com (2603:10b6:805:d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.734.0; Fri, 20 Apr 2018 15:18:11 +0000
Received: from SN6PR00MB0301.namprd00.prod.outlook.com ([fe80::f0f1:9187:23d6:1dc7]) by SN6PR00MB0301.namprd00.prod.outlook.com ([fe80::f0f1:9187:23d6:1dc7%5]) with mapi id 15.20.0734.000; Fri, 20 Apr 2018 15:18:04 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Carsten Bormann <cabo@tzi.org>, Neil Madden <neil.e.madden@gmail.com>
CC: "cfrg@ietf.org" <cfrg@ietf.org>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [Cfrg] [jose] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
Thread-Index: AQHT2Jc7m/3WOZ14uUeqVakI/+p1jaQJvW5g
Date: Fri, 20 Apr 2018 15:18:04 +0000
Message-ID: <SN6PR00MB0301F595CF57BF58D4BAA4D2F5B40@SN6PR00MB0301.namprd00.prod.outlook.com>
References: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com> <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com> <CAKws9z277JLfv7Pb9wSkJ7zYR8FzoAfiXuFS6Vq0x32-3bWx7Q@mail.gmail.com> <DB58CEFE-ED93-4C1C-9212-B622DFCCFFB9@gmail.com> <A6784DBB-C147-40B7-8A5C-E96F431020F6@tzi.org>
In-Reply-To: <A6784DBB-C147-40B7-8A5C-E96F431020F6@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [2001:4898:80e8:e::6c3]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; SN6PR00MB0448; 7:G0FuV3+cGxICF6ajnPzYwdcQ5SE8wdwl6cxgEeEU/mXCVw2S9RwVceUMAJ+MqPmXURksCZOqstGcHBzzvYZwEfAoy/CGSUw2XxjrPtZWkVlrlpjaO3n/YCtuuxk86IZXvlk86jfjC+fjr9DiZkY3Z4vRWoWlIDO+WIpMbIR3lQ05juckQ4uMKt95UCjqhC8wugPRbTwvMw9A9z0+sYnaL/YdPLD5rnBKMbkjShLmuFYwob6T/SdCTUxlkCEgorES; 20:yb7MahuTyU0ap8Szcw8LYAxGF5I3k3lDGdPQwSdwg5XQ8RXtZH3tODJNtrbrZnZASQDwnBbfH34O4LPYZHnVItBgWr+Fz9dm2l1g1+AWKN3/5HgoQLlEl/jajAYVpkhtcwssQSCQKmQpARMubq+T2YmzjtSXrYLD8/YZ+bpXiQ0=
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(48565401081)(2017052603328)(7193020); SRVR:SN6PR00MB0448; 
x-ms-traffictypediagnostic: SN6PR00MB0448:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michael.Jones@microsoft.com; 
x-microsoft-antispam-prvs: <SN6PR00MB0448165B4EF964757C70D097F5B40@SN6PR00MB0448.namprd00.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(192374486261705)(85827821059158);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(2017102700009)(2017102701064)(61425038)(6040522)(2401047)(8121501046)(5005006)(2017102702064)(20171027021009)(20171027022009)(20171027023009)(20171027024009)(20171027025009)(20171027026009)(2017102703076)(10201501046)(93006095)(93001095)(3002001)(3231232)(944501395)(52105095)(6055026)(61426038)(61427038)(6041310)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:SN6PR00MB0448; BCL:0; PCL:0; RULEID:; SRVR:SN6PR00MB0448; 
x-forefront-prvs: 0648FCFFA8
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(39860400002)(366004)(376002)(39380400002)(346002)(13464003)(39060400002)(2906002)(22452003)(72206003)(966005)(14454004)(478600001)(10290500003)(4326008)(93886005)(3280700002)(99286004)(33656002)(3660700001)(53936002)(110136005)(316002)(8936002)(8676002)(6116002)(6246003)(81166006)(54906003)(305945005)(7736002)(5660300001)(15650500001)(74316002)(2900100001)(25786009)(9686003)(86362001)(46003)(6306002)(55016002)(229853002)(476003)(10090500001)(6436002)(446003)(7696005)(59450400001)(6506007)(52396003)(53546011)(76176011)(8990500004)(11346002)(5250100002)(186003)(86612001)(102836004); DIR:OUT; SFP:1102; SCL:1; SRVR:SN6PR00MB0448; H:SN6PR00MB0301.namprd00.prod.outlook.com; FPR:; SPF:None; LANG:en; MLV:ovrnspm; PTR:InfoNoRecords; 
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: XBwtKxcYQ0flTzdJm+BsWoexJzjt5Qeivkvw7fR5U+qsfzD5kJFaTCzaC68w0iammMDQ8KvIfsfZqDDcusZCxMdJ3e8Mv6EKOO09ElchvIG7T61nNYNCOZ+R6mll+9JlJkQSr09EiOshpywTAi6Kp4z2BcBmVDFA7fGXJgUjKhhV1xbkS/71feRoOcNwDJ6s
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Office365-Filtering-Correlation-Id: 0bbed353-6b10-4a4e-f4dd-08d5a6d1ea07
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0bbed353-6b10-4a4e-f4dd-08d5a6d1ea07
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2018 15:18:04.5737 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR00MB0448
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/ZxSFy0s7ximvn5Bu2SKk4VB52ig>
Subject: Re: [Cfrg] [jose] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 20 Apr 2018 15:18:18 -0000

VGhlIEpXVCBCZXN0IEN1cnJlbnQgUHJhY3RpY2VzIChCQ1ApIGRyYWZ0IGNhdGFsb2dzIHRoZSBk
aWZmZXJlbnQgaW1wbGVtZW50YXRpb24gbWlzdGFrZXMgdGhhdCBoYXZlIGJlZW4gZG9jdW1lbnRl
ZCBhbmQgZGVzY3JpYmVzIGhvdyBub3QgbWFrZSB0aGVtLiAgVGhlIHRpbWluZyBvZiB0aGlzIGRp
c2N1c3Npb24gaXMgZ29vZCBiZWNhdXNlIHRoZSBkcmFmdCBpcyBjdXJyZW50bHkgaW4gd29ya2lu
ZyBncm91cCBsYXN0IGNhbGwgLSB0aHJvdWdoIE1vbmRheSwgQXByaWwgMzB0aC4gIEhhdmUgYSBs
b29rIGF0IGh0dHBzOi8vdG9vbHMuaWV0Zi5vcmcvaHRtbC9kcmFmdC1pZXRmLW9hdXRoLWp3dC1i
Y3AtMDEuICBJZiB5b3UgYmVsaWV2ZSB0aGF0IGFkZGl0aW9uYWwgY29udG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X19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KQ2ZyZyBtYWlsaW5nIGxpc3QNCkNmcmdA
aXJ0Zi5vcmcNCmh0dHBzOi8vd3d3LmlydGYub3JnL21haWxtYW4vbGlzdGluZm8vY2ZyZw0K


From nobody Mon Apr 23 06:44:19 2018
Return-Path: <davadria@umich.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 82985129C5D for <cfrg@ietfa.amsl.com>; Mon, 23 Apr 2018 06:44:17 -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, 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=umich.edu
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 TGgWhenwbE12 for <cfrg@ietfa.amsl.com>; Mon, 23 Apr 2018 06:44:14 -0700 (PDT)
Received: from mail-ot0-x22a.google.com (mail-ot0-x22a.google.com [IPv6:2607:f8b0:4003:c0f::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 C2155127333 for <cfrg@ietf.org>; Mon, 23 Apr 2018 06:44:14 -0700 (PDT)
Received: by mail-ot0-x22a.google.com with SMTP id h8-v6so13511977otb.2 for <cfrg@ietf.org>; Mon, 23 Apr 2018 06:44:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ceE6vfT6h8FMeWrj2liL2WePu5Hwis2HWubm8DzP21k=; b=KYISa3s/S0GrWp7czvCmq6tokpFSDClFp0/VAAbjz6wbtvNQ/cUQhO/ekpK5QzDdsg 4vchN23uQxATNOF3Aw98W3XNXBYEsbXbVLYf3vAINh4sbe/lfo/yfk5JRDtBH5WTwJlH Fxp6x23wRGDUxHryl2UcX3vUrZGTox33GiooJPih6dMD2GBd+lZMZ+JnKsCTXuPSlCc/ F5S1cvM5mzuWq3Gbd7sfqLRFmkoAz8JH6KroiJF/1UvirlkQ8GUKEn6HczDO38Iq6LtD 9m4Ji8RKbOwWBkkT0Z2NCJNKTRac8DGlu9QEwQOWvbD2UtQt/tWwpkx2aZaweF7xaEtO 7QAg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ceE6vfT6h8FMeWrj2liL2WePu5Hwis2HWubm8DzP21k=; b=JP52gnKdGZ5/INUlwyVZYNp22HXEcJkNqGofjrKu50ysDe+M7RDswvcA5qv+XX1w37 hP4gX6066vuO/KiWHwLO33U3cZOn4EhnkCIXis3RmkgPixVxpZ/MVh/mUurYgq2ymC/n 7o74i2MeNrEl1tLUnNKboKjbmv116tG9zJ1lohS34aYlll42F46xqeej8HNMPwEZWzwV I4GfkoZN5YyaRvEJPyyYmvB95pdUSotR342WlVtyghD9q5pAHwi4ihpj9jxQHRfDYUAL Sfnu2mA+SbYF26W8TNz6kK6qv/lNIu8/wnhYBhhZRyYINWFIKtAYve09WOqgIKg2iF5Z 2UzQ==
X-Gm-Message-State: ALQs6tCLSBVbfqWJ7qRsHqKaDPWtkYbij7vMRgyAna304gvX3xZE7Jbu IjBTENOShnk+T3R7VlubArwvH4zs
X-Google-Smtp-Source: AIpwx4/FalPzfzGrDZkB0T/VbFJXGqP3pd0u46cAflsdDtLol1gONscm5BYMSxzYC0fiXkMFiwQ2Sw==
X-Received: by 2002:a9d:1691:: with SMTP id c17-v6mr14705319ote.115.1524491053984;  Mon, 23 Apr 2018 06:44:13 -0700 (PDT)
Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com. [209.85.218.44]) by smtp.gmail.com with ESMTPSA id q81-v6sm6870179oih.6.2018.04.23.06.44.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 06:44:12 -0700 (PDT)
Received: by mail-oi0-f44.google.com with SMTP id 188-v6so14295427oih.8; Mon, 23 Apr 2018 06:44:11 -0700 (PDT)
X-Received: by 2002:aca:f257:: with SMTP id q84-v6mr12668100oih.240.1524491051769;  Mon, 23 Apr 2018 06:44:11 -0700 (PDT)
MIME-Version: 1.0
References: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com> <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com> <CAKws9z277JLfv7Pb9wSkJ7zYR8FzoAfiXuFS6Vq0x32-3bWx7Q@mail.gmail.com> <DB58CEFE-ED93-4C1C-9212-B622DFCCFFB9@gmail.com> <A6784DBB-C147-40B7-8A5C-E96F431020F6@tzi.org> <SN6PR00MB0301F595CF57BF58D4BAA4D2F5B40@SN6PR00MB0301.namprd00.prod.outlook.com>
In-Reply-To: <SN6PR00MB0301F595CF57BF58D4BAA4D2F5B40@SN6PR00MB0301.namprd00.prod.outlook.com>
From: David Adrian <davadria@umich.edu>
Date: Mon, 23 Apr 2018 13:44:00 +0000
X-Gmail-Original-Message-ID: <CACf5n78R3Fur_eunfiQnM9+enbV5vrXs8aW1sfmU6HhV6_3WVA@mail.gmail.com>
Message-ID: <CACf5n78R3Fur_eunfiQnM9+enbV5vrXs8aW1sfmU6HhV6_3WVA@mail.gmail.com>
To: Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>
Cc: Carsten Bormann <cabo@tzi.org>, Neil Madden <neil.e.madden@gmail.com>,  "cfrg@ietf.org" <cfrg@ietf.org>, "jose@ietf.org" <jose@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000009aa637056a843b4b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/AouyObhTyLQY5ABiN7TM-ZhhUpY>
Subject: Re: [Cfrg] [jose] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 23 Apr 2018 13:44:17 -0000

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

> If we have to invent a new standard each time an existing standard is
implemented with a security flaw, we have a lot of work to do.

You fundamentally cannot fix a standard with unusable to the point of
broken negotiation by extending the negotiation. If you don't want PASETO
to be a new standard, call it JOSEv3.

On Fri, Apr 20, 2018 at 11:18 AM Mike Jones <Michael.Jones=3D
40microsoft.com@dmarc.ietf.org> wrote:

> The JWT Best Current Practices (BCP) draft catalogs the different
> implementation mistakes that have been documented and describes how not
> make them.  The timing of this discussion is good because the draft is
> currently in working group last call - through Monday, April 30th.  Have =
a
> look at https://tools.ietf.org/html/draft-ietf-oauth-jwt-bcp-01.  If you
> believe that additional content is needed, please send your reviews to
> oauth@ietf.org.
>
> Also, see Neil Madden's draft
> https://tools.ietf.org/html/draft-madden-jose-siv-mode-02 on
> misuse-resistant cryptography for JOSE.  I've encouraged him to take it
> forward.  Please provide feedback on that as well.
>
>                                 -- Mike
>
> -----Original Message-----
> From: Cfrg <cfrg-bounces@irtf.org> On Behalf Of Carsten Bormann
> Sent: Friday, April 20, 2018 4:03 AM
> To: Neil Madden <neil.e.madden@gmail.com>
> Cc: cfrg@ietf.org; jose@ietf.org
> Subject: Re: [Cfrg] [jose] RFC Draft: PASETO - Platform-Agnotic SEcurity
> TOkens
>
> On Apr 20, 2018, at 12:49, Neil Madden <neil.e.madden@gmail.com> wrote:
> >
> > insecure implementations of old standards don=E2=80=99t go away because=
 you
> introduce a new standard
>
> Exactly.
>
> If we have to invent a new standard each time an existing standard is
> implemented with a security flaw, we have a lot of work to do.
>
> Insecure implementations exist even of standards such as TLS.  Usually th=
e
> strategy is to fix the implementations.  (It is also a good idea to
> envision what implementers will mess up when creating a new standard.  Bu=
t
> there are limits to that approach.)
>
> One of the objectives in the definition of COSE was to avoid some of the
> pitfalls of JOSE.
> There is also work ongoing to document the security considerations of JOS=
E
> better, e.g., draft-ietf-oauth-jwt-bcp.
>
> I=E2=80=99d like to focus the energy that appears to be visible here on a=
greeing
> good SIV constructions and getting them registered with COSE.
>
> Gr=C3=BC=C3=9Fe, Carsten
>
> _______________________________________________
> 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
>
--=20
David Adrian
https://dadrian.io

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

<div dir=3D"ltr">&gt;=C2=A0<span style=3D"font-size:small">If we have to in=
vent a new standard each time an existing standard is implemented with a se=
curity flaw, we have a lot of work to do.<br><br>You fundamentally cannot f=
ix a standard with unusable to the point of broken negotiation by extending=
 the negotiation. If you don&#39;t want PASETO to be a new standard, call i=
t JOSEv3.</span></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Fr=
i, Apr 20, 2018 at 11:18 AM Mike Jones &lt;Michael.Jones=3D<a href=3D"mailt=
o:40microsoft.com@dmarc.ietf.org">40microsoft.com@dmarc.ietf.org</a>&gt; wr=
ote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">The JWT Best Current Practices=
 (BCP) draft catalogs the different implementation mistakes that have been =
documented and describes how not make them.=C2=A0 The timing of this discus=
sion is good because the draft is currently in working group last call - th=
rough Monday, April 30th.=C2=A0 Have a look at <a href=3D"https://tools.iet=
f.org/html/draft-ietf-oauth-jwt-bcp-01" rel=3D"noreferrer" target=3D"_blank=
">https://tools.ietf.org/html/draft-ietf-oauth-jwt-bcp-01</a>.=C2=A0 If you=
 believe that additional content is needed, please send your reviews to <a =
href=3D"mailto:oauth@ietf.org" target=3D"_blank">oauth@ietf.org</a>.<br>
<br>
Also, see Neil Madden&#39;s draft <a href=3D"https://tools.ietf.org/html/dr=
aft-madden-jose-siv-mode-02" rel=3D"noreferrer" target=3D"_blank">https://t=
ools.ietf.org/html/draft-madden-jose-siv-mode-02</a> on misuse-resistant cr=
yptography for JOSE.=C2=A0 I&#39;ve encouraged him to take it forward.=C2=
=A0 Please provide feedback on that as well.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -- Mike<br>
<br>
-----Original Message-----<br>
From: Cfrg &lt;<a href=3D"mailto:cfrg-bounces@irtf.org" target=3D"_blank">c=
frg-bounces@irtf.org</a>&gt; On Behalf Of Carsten Bormann<br>
Sent: Friday, April 20, 2018 4:03 AM<br>
To: Neil Madden &lt;<a href=3D"mailto:neil.e.madden@gmail.com" target=3D"_b=
lank">neil.e.madden@gmail.com</a>&gt;<br>
Cc: <a href=3D"mailto:cfrg@ietf.org" target=3D"_blank">cfrg@ietf.org</a>; <=
a href=3D"mailto:jose@ietf.org" target=3D"_blank">jose@ietf.org</a><br>
Subject: Re: [Cfrg] [jose] RFC Draft: PASETO - Platform-Agnotic SEcurity TO=
kens<br>
<br>
On Apr 20, 2018, at 12:49, Neil Madden &lt;<a href=3D"mailto:neil.e.madden@=
gmail.com" target=3D"_blank">neil.e.madden@gmail.com</a>&gt; wrote:<br>
&gt; <br>
&gt; insecure implementations of old standards don=E2=80=99t go away becaus=
e you introduce a new standard<br>
<br>
Exactly.<br>
<br>
If we have to invent a new standard each time an existing standard is imple=
mented with a security flaw, we have a lot of work to do.<br>
<br>
Insecure implementations exist even of standards such as TLS.=C2=A0 Usually=
 the strategy is to fix the implementations.=C2=A0 (It is also a good idea =
to envision what implementers will mess up when creating a new standard.=C2=
=A0 But there are limits to that approach.)<br>
<br>
One of the objectives in the definition of COSE was to avoid some of the pi=
tfalls of JOSE.<br>
There is also work ongoing to document the security considerations of JOSE =
better, e.g., draft-ietf-oauth-jwt-bcp.<br>
<br>
I=E2=80=99d like to focus the energy that appears to be visible here on agr=
eeing good SIV constructions and getting them registered with COSE.<br>
<br>
Gr=C3=BC=C3=9Fe, Carsten<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>
_______________________________________________<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>-- <br><div dir=3D"ltr" class=3D"gmail_signature" data-s=
martmail=3D"gmail_signature"><div dir=3D"ltr"><div>David Adrian</div><div><=
a href=3D"https://dadrian.io">https://dadrian.io</a></div></div></div>

--0000000000009aa637056a843b4b--


From nobody Mon Apr 23 09:43:41 2018
Return-Path: <neil.e.madden@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 2477412D86A; Mon, 23 Apr 2018 09:43:34 -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 vEx3WuERg2EJ; Mon, 23 Apr 2018 09:43:29 -0700 (PDT)
Received: from mail-wr0-x22a.google.com (mail-wr0-x22a.google.com [IPv6:2a00:1450:400c:c0c::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 75A0112D86E; Mon, 23 Apr 2018 09:43:29 -0700 (PDT)
Received: by mail-wr0-x22a.google.com with SMTP id p5-v6so15321225wre.12; Mon, 23 Apr 2018 09:43:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ZcFD5jt65Gx2YcBO/WVu28oyWo6kAOE3UXrPdq7zd0U=; b=pfHUJWzvBmYVtuu/Q5biUjwp2WCqCG/G7j8hs87W/2obG54J5KUMgrsUGotBXKFIuk ocnGKjf9UnCbDqh6m/abKB5HqSUrU1te2re0TnLPiWakYtoYR4yFsHcQ+riNgET2T3+F J31h6plphu4uN4NNNnPmSLFM7ceKlPHSPj4uX6DfJQfTNDSlz/KaZqR5V714fJwdklJq jgVWmLiqx0PL3tFlhywllycANgy+bq5VNRJvk/lKSsCoK/RchLzUoCDYowIFjYysbluK Js4KePXiyDp/fLm4wz8M/+ha+sVX0AdMkDeaqLcxndL+17mqr/5xw/PLAWrNchzljjE2 faZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ZcFD5jt65Gx2YcBO/WVu28oyWo6kAOE3UXrPdq7zd0U=; b=Y5rkJCnp/hDOAoALpluNkw52cWMqBiY6XENWlOAeNqKCCV6bTwHbsxJGyI8DGRneuW VItuJsxpI6dxddEutrbHr0acFbNJo5T3pH3a7ypABvvD6AB4wqVSMtB/jR4PbXPIa+7Y 7Bv2Hlloz0+idsH0ksb8NOctknYNok7G7vgiWYR0LARh1wRhTHWixUhB8xmPgDE9B6hU gD7hPGbQxZK5tpRV/GiNjwDC2nMJZ8u3CS8tAWJjQ7JcbKz0+A4B8+//+lCAKQI4fHc5 X2Nb30oLxwe6wCd/Fe+3XT5akTH/CDMdWa4w2InrcBy9lHLxaKsiFxAyaq1Qqrr/2r2Z 5bLQ==
X-Gm-Message-State: ALQs6tCIjaYTWNbT5No7Hm/BC2Acjg/8GhuzfxJzo/ll609gK4+dtDzK N9sWK6irexevFk9MSJJZC/I2wqGsKfU=
X-Google-Smtp-Source: AIpwx48qeEQRueb+Omqc1RAexjzhXaYpGb4pd6w84w0zs0JVUArTPKNo7Ew7N8NKmX9wuOeyLECebw==
X-Received: by 10.28.12.129 with SMTP id 123mr9811810wmm.75.1524501807897; Mon, 23 Apr 2018 09:43:27 -0700 (PDT)
Received: from guest2s-mbp.home (72.142.200.146.dyn.plus.net. [146.200.142.72]) by smtp.gmail.com with ESMTPSA id n14-v6sm15221857wrj.16.2018.04.23.09.43.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 09:43:26 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\))
From: Neil Madden <neil.e.madden@gmail.com>
In-Reply-To: <CACf5n78R3Fur_eunfiQnM9+enbV5vrXs8aW1sfmU6HhV6_3WVA@mail.gmail.com>
Date: Mon, 23 Apr 2018 17:43:25 +0100
Cc: Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>, Carsten Bormann <cabo@tzi.org>, "cfrg@ietf.org" <cfrg@ietf.org>, "jose@ietf.org" <jose@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <9F9C6A42-0E89-4AB9-915C-8B208D9C31FD@gmail.com>
References: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com> <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com> <CAKws9z277JLfv7Pb9wSkJ7zYR8FzoAfiXuFS6Vq0x32-3bWx7Q@mail.gmail.com> <DB58CEFE-ED93-4C1C-9212-B622DFCCFFB9@gmail.com> <A6784DBB-C147-40B7-8A5C-E96F431020F6@tzi.org> <SN6PR00MB0301F595CF57BF58D4BAA4D2F5B40@SN6PR00MB0301.namprd00.prod.outlook.com> <CACf5n78R3Fur_eunfiQnM9+enbV5vrXs8aW1sfmU6HhV6_3WVA@mail.gmail.com>
To: David Adrian <davadria@umich.edu>
X-Mailer: Apple Mail (2.3445.6.18)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/Yd85GHaPfkUYvCsWAdikByQsiLQ>
Subject: Re: [Cfrg] [jose] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 23 Apr 2018 16:43:34 -0000

> On 23 Apr 2018, at 14:44, David Adrian <davadria@umich.edu> wrote:
>=20
> > If we have to invent a new standard each time an existing standard =
is implemented with a security flaw, we have a lot of work to do.
>=20
> You fundamentally cannot fix a standard with unusable to the point of =
broken negotiation by extending the negotiation. If you don't want =
PASETO to be a new standard, call it JOSEv3.

I don=E2=80=99t believe that PASETO is actually fundamentally different =
from JOSE in this respect. Is there a meaningful distinction between =
v1.local.<token> and {=E2=80=9Calg=E2=80=9D:=E2=80=9Dv1.local=E2=80=9D}.<t=
oken> ?

One of the critical vulnerabilities historically in JOSE implementations =
was [1], whereby if an implementation was using RSA signed JWTs an =
attacker could get the server=E2=80=99s public key and use it as if it =
was a HMAC key to produce a forged JWT with {=E2=80=9Calg=E2=80=9D:=E2=80=9D=
HS256=E2=80=9D} in the header. If the JWT library just provided a =
verify(String jwt, Key key) function then it might be tricked into using =
the attacker=E2=80=99s choice of algorithm (HS256) with the server=E2=80=99=
s RSA public key and the JWT would validate. Oops!

This flaw has been rightly criticised, including by the authors of =
PASETO. Don=E2=80=99t let the attacker chose the algorithm!

But wait, aren=E2=80=99t PASETO implementations potentially vulnerable =
to *exactly the same vulnerability*?! If my server is set up to use =
v2.public (Ed25519) signed PASETO tokens, what is to stop an attacker =
grabbing my Ed25519 public key (which is a 32 byte value) and using it =
to create a PASETO token using v2.local? Recall that v2.local takes a 32 =
byte symmetric key. If the PASETO library just has a function =
verify(String paseto, Key key) and looks at the header to decide how to =
process the token, then it will have exactly the same vulnerability that =
those JOSE libraries had. So how does PASETO the spec make this =
vulnerability less likely?

Looking at the reference implementation [2], it seems that if the =
library user didn=E2=80=99t set an allowed purpose then the only thing =
stopping this is a type check on the public key class. In other words, =
the implementor took extra safe-guards beyond those documented in the =
specification. Phew!

Am I missing something here? As far as I can tell, the PASETO docs and =
draft RFC don=E2=80=99t even mention this as a consideration. How is =
this better than JOSE?

[1] =
https://auth0.com/blog/critical-vulnerabilities-in-json-web-token-librarie=
s/
[2] https://github.com/paragonie/paseto/blob/master/src/Parser.php#L159

Neil=


From nobody Mon Apr 23 10:44:08 2018
Return-Path: <Michael.Jones@microsoft.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 EB2A5126BFD; Mon, 23 Apr 2018 10:43:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level: 
X-Spam-Status: No, score=-2.011 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, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 uSSZd3RcHEOg; Mon, 23 Apr 2018 10:43:56 -0700 (PDT)
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0115.outbound.protection.outlook.com [104.47.36.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9B6F81242F7; Mon, 23 Apr 2018 10:43:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=zzEqG799gIHR0EG9XZJQJQyYALPrWPmzX2iPlQucsIc=; b=W86SMo1H3R7L9L7kypGnwgVQVVf+aSxZ0VubNxIRbw9ysoPPCBs2X21uSnqhQ0mu8MNF7bUl6Lu57w1WH7yQIAR6fuHKvMz3K3VcMTdUm5Zlee1OTFZQ/g9jvVpJ5/AP57Xm3brU7gEn5YgHultSa3uVJYQC2POf4yGpqmMpVjE=
Received: from DM5PR00MB0296.namprd00.prod.outlook.com (2603:10b6:4:9e::37) by DM5PR00MB0390.namprd00.prod.outlook.com (2603:10b6:4:a0::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.746.0; Mon, 23 Apr 2018 17:43:52 +0000
Received: from DM5PR00MB0296.namprd00.prod.outlook.com ([fe80::e0eb:d2f7:29c5:1a1b]) by DM5PR00MB0296.namprd00.prod.outlook.com ([fe80::e0eb:d2f7:29c5:1a1b%2]) with mapi id 15.20.0747.000; Mon, 23 Apr 2018 17:43:52 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Neil Madden <neil.e.madden@gmail.com>, David Adrian <davadria@umich.edu>
CC: Carsten Bormann <cabo@tzi.org>, "cfrg@ietf.org" <cfrg@ietf.org>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] [Cfrg] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
Thread-Index: AQHT2yI+vfumLsHVbkCu3qp7vd4JgaQOmkyg
Date: Mon, 23 Apr 2018 17:43:52 +0000
Message-ID: <DM5PR00MB02962CC566F258FF69460CC7F5890@DM5PR00MB0296.namprd00.prod.outlook.com>
References: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com> <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com> <CAKws9z277JLfv7Pb9wSkJ7zYR8FzoAfiXuFS6Vq0x32-3bWx7Q@mail.gmail.com> <DB58CEFE-ED93-4C1C-9212-B622DFCCFFB9@gmail.com> <A6784DBB-C147-40B7-8A5C-E96F431020F6@tzi.org> <SN6PR00MB0301F595CF57BF58D4BAA4D2F5B40@SN6PR00MB0301.namprd00.prod.outlook.com> <CACf5n78R3Fur_eunfiQnM9+enbV5vrXs8aW1sfmU6HhV6_3WVA@mail.gmail.com> <9F9C6A42-0E89-4AB9-915C-8B208D9C31FD@gmail.com>
In-Reply-To: <9F9C6A42-0E89-4AB9-915C-8B208D9C31FD@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=mbj@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2018-04-23T17:43:50.3030398Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic; Sensitivity=General
x-originating-ip: [2001:4898:80e8:6::36]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM5PR00MB0390; 7:JL5aJ7odi6y0OzCET1lRwRPkCroSRL9PH7E/5M1O8kONC8Ztv3oG4Rq2s63DHn64aXsrivyuLh6uu3HBLVQlJpRYHz8JWJKmrbknf2zalMxlZgKjyCRGnBPdiQmygFc5QFQwrFH0YmMRVBidIfVrp4t9HAePXNW/887D+/xTmjWDLwQ4nwpFmwvMOG7LfhXfbKzx3NVjZZ6WiZrj5DapFCZpSQiCl1CfEJdmzp+fqscJwmCs2BNjX+KXISl81gCO; 20:KPhsCyu3Sf8k6ZWSEgVi9vFb30zcyF5gYmbmBp8QWVr3ByYTm38LSoPl+pty/rss6zW4mRphFl40WGDOgFkqqLrwcdlMqljgqNV+LawoluQ739Fp+s1FxU+d/Pf9Myvh12vgIzqGkZwnrzQ0b646TA6Xl1ykrOiyYJKDpyByFUw=
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020); SRVR:DM5PR00MB0390; 
x-ms-traffictypediagnostic: DM5PR00MB0390:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michael.Jones@microsoft.com; 
x-microsoft-antispam-prvs: <DM5PR00MB0390C0A53A8B14637788D3E1F5890@DM5PR00MB0390.namprd00.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(166708455590820)(192374486261705)(177329092695168)(21532816269658);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(2017102700009)(2017102701064)(6040522)(2401047)(5005006)(8121501046)(2017102702064)(20171027021009)(20171027022009)(20171027023009)(20171027024009)(20171027025009)(20171027026009)(2017102703076)(3231232)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123564045)(20161123562045)(6072148)(201708071742011); SRVR:DM5PR00MB0390; BCL:0; PCL:0; RULEID:; SRVR:DM5PR00MB0390; 
x-forefront-prvs: 06515DA04B
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(396003)(376002)(39860400002)(366004)(39380400002)(13464003)(10290500003)(966005)(7110500001)(229853002)(72206003)(2420400007)(478600001)(3660700001)(39060400002)(3280700002)(2906002)(15650500001)(6116002)(10710500007)(8936002)(7736002)(25786009)(53936002)(81166006)(2171002)(6246003)(55016002)(8676002)(53376002)(74316002)(305945005)(6306002)(9686003)(110136005)(54906003)(6436002)(33656002)(4326008)(316002)(5660300001)(46003)(14454004)(10090500001)(476003)(11346002)(446003)(16799955002)(93886005)(5250100002)(2900100001)(53546011)(59450400001)(86612001)(99286004)(6506007)(86362001)(52396003)(7696005)(22452003)(76176011)(8656006)(8990500004)(186003)(102836004); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR00MB0390; H:DM5PR00MB0296.namprd00.prod.outlook.com; FPR:; SPF:None; LANG:en; MLV:ovrnspm; PTR:InfoNoRecords; 
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: Oni6KzDli/VfOyXpxcFBbsY3rMCZFsdn4FVW7oPFLuUlmBMhrE3ee0NUH1fVZn+04238HMzqrNE2DMdbMBWcxKNyZEbWi5LdvQHrG+gJPq9Bab3tLnO8YKgymExGI9b3JSjy2R1g9CR6g5aUxVzT2eWi7RKsXtvZC8ZWFV93OKl1tcdH21fH2HUrLaDtjJex
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Office365-Filtering-Correlation-Id: 60677138-17e8-4cde-4c01-08d5a941c796
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 60677138-17e8-4cde-4c01-08d5a941c796
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Apr 2018 17:43:52.7886 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR00MB0390
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/0u3V2kzEbk2ryBwYS6YHIMxSJTA>
Subject: Re: [Cfrg] [jose] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 23 Apr 2018 17:44:00 -0000

SSByZWFsaXplIHRoYXQsIGFzIGRlc2NyaWJlZCBpbiBodHRwczovL2F1dGgwLmNvbS9ibG9nL2Ny
aXRpY2FsLXZ1bG5lcmFiaWxpdGllcy1pbi1qc29uLXdlYi10b2tlbi1saWJyYXJpZXMvLCBzb21l
IGxpYnJhcmllcyBkaWQgYWxsb3cgYSBSU0EgcHVibGljIGtleSB2YWx1ZSB0byBiZSB1c2VkIGFz
IGFuIEhNQUMga2V5LiAgQXMgSSBzZWUgaXQsIHRoaXMgaXMgYSBwcm9ibGVtIHdpdGggdGhvc2Ug
aW1wbGVtZW50YXRpb25zIC0gbm90IHdpdGggdGhlIHNwZWNpZmljYXRpb24uICBSU0EgcHVibGlj
IGtleXMgZG9uJ3QgZXZlbiBoYXZlIHRoZSBzYW1lIHN5bnRheCBhcyBITUFDIGtleXMhIChUaGUg
Zm9ybWVyIGhhcyAiZSIgYW5kICJuIiB2YWx1ZXMgYW5kICJrdHkiOiJSU0EiIGFuZCB0aGUgbGF0
dGVyIGhhcyBhICJrIiB2YWx1ZSBhbmQgImt0eSI6Im9jdCIuKSAgQW4gaW1wbGVtZW50YXRpb24g
dGhhdCB3b3VsZCBhbGxvdyB0aGUgdHdvIHRvIGJlIHVzZWQgaW50ZXJjaGFuZ2VhYmx5IGlzbid0
IGV2ZW4gcHJvdmlkaW5nIHR5cGU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3RoZXIgd29y
ZHMsIHRoZSBpbXBsZW1lbnRvciB0b29rIGV4dHJhIHNhZmUtZ3VhcmRzIGJleW9uZCB0aG9zZSBk
b2N1bWVudGVkIGluIHRoZSBzcGVjaWZpY2F0aW9uLiBQaGV3IQ0KDQpBbSBJIG1pc3Npbmcgc29t
ZXRoaW5nIGhlcmU/IEFzIGZhciBhcyBJIGNhbiB0ZWxsLCB0aGUgUEFTRVRPIGRvY3MgYW5kIGRy
YWZ0IFJGQyBkb27igJl0IGV2ZW4gbWVudGlvbiB0aGlzIGFzIGEgY29uc2lkZXJhdGlvbi4gSG93
IGlzIHRoaXMgYmV0dGVyIHRoYW4gSk9TRT8NCg0KWzFdIGh0dHBzOi8vYXV0aDAuY29tL2Jsb2cv
Y3JpdGljYWwtdnVsbmVyYWJpbGl0aWVzLWluLWpzb24td2ViLXRva2VuLWxpYnJhcmllcy8NClsy
XSBodHRwczovL2dpdGh1Yi5jb20vcGFyYWdvbmllL3Bhc2V0by9ibG9iL21hc3Rlci9zcmMvUGFy
c2VyLnBocCNMMTU5DQoNCk5laWwNCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fDQpqb3NlIG1haWxpbmcgbGlzdA0Kam9zZUBpZXRmLm9yZw0KaHR0cHM6Ly93
d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9qb3NlDQo=


From nobody Mon Apr 23 11:14:01 2018
Return-Path: <neil.e.madden@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 5E8A612D88B; Mon, 23 Apr 2018 11:13:55 -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 NG4pb6j38zXl; Mon, 23 Apr 2018 11:13:51 -0700 (PDT)
Received: from mail-wr0-x234.google.com (mail-wr0-x234.google.com [IPv6:2a00:1450:400c:c0c::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 51909126C0F; Mon, 23 Apr 2018 11:13:51 -0700 (PDT)
Received: by mail-wr0-x234.google.com with SMTP id s18-v6so43775690wrg.9; Mon, 23 Apr 2018 11:13:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version; bh=cI/qbuhbqJedqU0h98BWS8pbb5zDahg+V9vfkDkn1Cg=; b=u+uDWZdtU1n+2Tg2YAgOakYGXAXxdnsmwN6B32Pis3yqOH8Ow5ZkOpaMuwkUP+DMAz 7cTh9zH/akE8lv84sj/3oQWnPKUkzGrVJzHgs1rW9yqwNxrD5Tip1X48Glvev2rk0k0H WbOSCTGFjMQ2UG/r6hJCVDlcFneb9+2vvQ004dlPhzPFeNiuBRTa8K55LIxAefZ2VdBz gOac8pdZtNgx9bk2BhkohK2lchlXGgjL1HnBzeTL3Hw+2OAan29yao/01F90+nY/EEp3 vqesSk+WN496Ou1yF5qSh+WXSPLbywa/cs5CGsN+yLiuMQBbycNB0LRuvt8PNcLmIXBp MFvA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version; bh=cI/qbuhbqJedqU0h98BWS8pbb5zDahg+V9vfkDkn1Cg=; b=OFS+or/X/z1DP04evg4SmYPg5a1mmbqYIrA0/mo4uECvgfxArqeyLLqHmha3lPEpSN sDAyEqlzma+ni9Hi2QS9RSuze6GpeXxDK08cmIruZ6O+cYsaWmrck1sdqy4Z20XMC1wZ uT8LSxkIT33WNX+XjVsrxLBsMz3Jd1lBdAjgplW5tccs9y4btiapOZLXsGs/YhcIc7zd IF4sNT9yW6scdplfs7kKo/8TpjXGLcqQrcMqBPHhXRiqPTSUDLFOhwl98yW1HXA1Ne9f PVwSskgCI5Ss16iET1LaZGmYtoM1kJ+2ILDhp/R4wT2YnfTqgdfcCTNezRRfIlSwfcim 7rTA==
X-Gm-Message-State: ALQs6tAJ6NgmPW/dfvFEEcBhR118OjNMCCOOegHBFVcl76uwm3UNAblZ UsgXleYeo+jpk5iEQ97xiyI=
X-Google-Smtp-Source: AIpwx48YCmDn2EK+3wpVmnJifcazExvispm+EC49BRaCqZVO5/mdDGbONGEuPB8qdF3Tp4JTH7h9Ng==
X-Received: by 10.28.146.136 with SMTP id u130mr10812798wmd.125.1524507229746;  Mon, 23 Apr 2018 11:13:49 -0700 (PDT)
Received: from [192.168.1.81] (72.142.200.146.dyn.plus.net. [146.200.142.72]) by smtp.gmail.com with ESMTPSA id a139sm8122797wma.43.2018.04.23.11.13.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 11:13:48 -0700 (PDT)
Date: Mon, 23 Apr 2018 19:13:45 +0100
From: Neil Madden <neil.e.madden@gmail.com>
To: Mike Jones <Michael.Jones@microsoft.com>, David Adrian <davadria@umich.edu>
Cc: "=?utf-8?Q?cfrg=40ietf.org?=" <cfrg@ietf.org>, Carsten Bormann <cabo@tzi.org>, "=?utf-8?Q?jose=40ietf.org?=" <jose@ietf.org>
Message-ID: <b3fe3c35-061d-4858-a4a1-8d6db3bf2d1c@Canary>
In-Reply-To: <DM5PR00MB02962CC566F258FF69460CC7F5890@DM5PR00MB0296.namprd00.prod.outlook.com>
References: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com> <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com> <CAKws9z277JLfv7Pb9wSkJ7zYR8FzoAfiXuFS6Vq0x32-3bWx7Q@mail.gmail.com> <DB58CEFE-ED93-4C1C-9212-B622DFCCFFB9@gmail.com> <A6784DBB-C147-40B7-8A5C-E96F431020F6@tzi.org> <SN6PR00MB0301F595CF57BF58D4BAA4D2F5B40@SN6PR00MB0301.namprd00.prod.outlook.com> <CACf5n78R3Fur_eunfiQnM9+enbV5vrXs8aW1sfmU6HhV6_3WVA@mail.gmail.com> <9F9C6A42-0E89-4AB9-915C-8B208D9C31FD@gmail.com> <DM5PR00MB02962CC566F258FF69460CC7F5890@DM5PR00MB0296.namprd00.prod.outlook.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="5ade225b_327b23c6_ec2";  protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/PSVwk75yvm-zb16fUUA8AN_HJXw>
Subject: Re: [Cfrg] [jose] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 23 Apr 2018 18:13:55 -0000

--5ade225b_327b23c6_ec2
Content-Type: multipart/alternative; boundary="5ade225a_6b8b4567_ec2"

--5ade225a_6b8b4567_ec2
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

A public test suite along the lines of Project Wycheproof =5B1=5D for kno=
wn vulnerabilities would be extremely valuable in my opinion.

=5B1=5D https://github.com/google/wycheproof

Neil

> On Monday, Apr 23, 2018 at 6:43 pm, Mike Jones <Michael.Jones=40microso=
ft.com (mailto:Michael.Jones=40microsoft.com)> wrote:
> I realize that, as described in https://auth0.com/blog/critical-vulnera=
bilities-in-json-web-token-libraries/, some libraries did allow a RSA pub=
lic key value to be used as an HMAC key. As I see it, this is a problem w=
ith those implementations - not with the specification. RSA public keys d=
on't even have the same syntax as HMAC keys=21 (The former has =22e=22 an=
d =22n=22 values and =22kty=22:=22RSA=22 and the latter has a =22k=22 val=
ue and =22kty=22:=22oct=22.) An implementation that would allow the two t=
o be used interchangeably isn't even providing type safety - let alone se=
curity. Note that this implementation problem is already also covered in =
https://tools.ietf.org/html/draft-ietf-oauth-jwt-bcp-01=23section-3.1.
>
> The fact that there have been implementation bugs isn't overly surprisi=
ng. That happens in all code. This, to me, makes the case that we should =
have good public test suites for JWS/JWE/JWT implementations to ferret ou=
t these bugs - just like we have the OpenID Certification test suite http=
://openid.net/certification/ for OpenID Connect implementations. Whereas =
changing to a different standard would just result in different bugs, and=
 would reduce interoperability.
>
> -- Mike
>
> -----Original Message-----
> =46rom: jose <jose-bounces=40ietf.org> On Behalf Of Neil Madden
> Sent: Monday, April 23, 2018 9:43 AM
> To: David Adrian <davadria=40umich.edu>
> Cc: Carsten Bormann <cabo=40tzi.org>; cfrg=40ietf.org; Mike Jones <Mich=
ael.Jones=3D40microsoft.com=40dmarc.ietf.org>; jose=40ietf.org
> Subject: Re: =5Bjose=5D =5BCfrg=5D R=46C Draft: PASETO - Platform-Agnot=
ic SEcurity TOkens
>
>
> > On 23 Apr 2018, at 14:44, David Adrian <davadria=40umich.edu> wrote:
> >
> > > If we have to invent a new standard each time an existing standard =
is implemented with a security flaw, we have a lot of work to do.
> >
> > You fundamentally cannot fix a standard with unusable to the point of=
 broken negotiation by extending the negotiation. If you don't want PASET=
O to be a new standard, call it JOSEv3.
>
> I don=E2=80=99t believe that PASETO is actually fundamentally different=
 from JOSE in this respect. Is there a meaningful distinction between v1.=
local.<token> and =7B=E2=80=9Calg=E2=80=9D:=E2=80=9Dv1.local=E2=80=9D=7D.=
<token> =3F
>
> One of the critical vulnerabilities historically in JOSE implementation=
s was =5B1=5D, whereby if an implementation was using RSA signed JWTs an =
attacker could get the server=E2=80=99s public key and use it as if it wa=
s a HMAC key to produce a forged JWT with =7B=E2=80=9Calg=E2=80=9D:=E2=80=
=9DHS256=E2=80=9D=7D in the header. If the JWT library just provided a ve=
rify(String jwt, Key key) function then it might be tricked into using th=
e attacker=E2=80=99s choice of algorithm (HS256) with the server=E2=80=99=
s RSA public key and the JWT would validate. Oops=21
>
> This flaw has been rightly criticised, including by the authors of PASE=
TO. Don=E2=80=99t let the attacker chose the algorithm=21
>
> But wait, aren=E2=80=99t PASETO implementations potentially vulnerable =
to *exactly the same vulnerability*=3F=21 If my server is set up to use v=
2.public (Ed25519) signed PASETO tokens, what is to stop an attacker grab=
bing my Ed25519 public key (which is a 32 byte value) and using it to cre=
ate a PASETO token using v2.local=3F Recall that v2.local takes a 32 byte=
 symmetric key. If the PASETO library just has a function verify(String p=
aseto, Key key) and looks at the header to decide how to process the toke=
n, then it will have exactly the same vulnerability that those JOSE libra=
ries had. So how does PASETO the spec make this vulnerability less likely=
=3F
>
> Looking at the reference implementation =5B2=5D, it seems that if the l=
ibrary user didn=E2=80=99t set an allowed purpose then the only thing sto=
pping this is a type check on the public key class. In other words, the i=
mplementor took extra safe-guards beyond those documented in the specific=
ation. Phew=21
>
> Am I missing something here=3F As far as I can tell, the PASETO docs an=
d draft R=46C don=E2=80=99t even mention this as a consideration. How is =
this better than JOSE=3F
>
> =5B1=5D https://auth0.com/blog/critical-vulnerabilities-in-json-web-tok=
en-libraries/
> =5B2=5D https://github.com/paragonie/paseto/blob/master/src/Parser.php=23=
L159
>
> Neil
> =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
> jose mailing list
> jose=40ietf.org
> https://www.ietf.org/mailman/listinfo/jose

--5ade225a_6b8b4567_ec2
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<html xmlns=3D=22http://www.w3.org/1999/xhtml=22><head> <title></title> <=
meta name=3D=22viewport=22 content=3D=22width=3Ddevice-width, initial-sca=
le=3D1.0, user-scalable=3Dno=22> </head> <body style=3D=22font-family:Hel=
vetica;color:=23000000;font-size:13px;=22><div id=3D=22CanarySig=22 style=
=3D=22left: 0px; touch-action: auto; -webkit-touch-callout: none; -webkit=
-user-drag: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);=22><div>=
A public test suite along the lines of Project Wycheproof =5B1=5D for kno=
wn vulnerabilities would be extremely valuable in my opinion.=C2=A0</div>=
<div><br></div><div>=5B1=5D=C2=A0<a href=3D=22https://github.com/google/w=
ycheproof=22>https://github.com/google/wycheproof</a></div><div><br></div=
><div>Neil<br><div><br></div> </div> </div> <div id=3D=22CanaryDropbox=22=
> </div> <blockquote id=3D=22CanaryBlockquote=22> <div> <div>On Monday, A=
pr 23, 2018 at 6:43 pm, Mike Jones &lt;<a href=3D=22mailto:Michael.Jones=40=
microsoft.com=22>Michael.Jones=40microsoft.com</a>&gt; wrote:<br></div> <=
div>I realize that, as described in https://auth0.com/blog/critical-vulne=
rabilities-in-json-web-token-libraries/, some libraries did allow a RSA p=
ublic key value to be used as an HMAC key. As I see it, this is a problem=
 with those implementations - not with the specification. RSA public keys=
 don't even have the same syntax as HMAC keys=21 (The former has =22e=22 =
and =22n=22 values and =22kty=22:=22RSA=22 and the latter has a =22k=22 v=
alue and =22kty=22:=22oct=22.) An implementation that would allow the two=
 to be used interchangeably isn't even providing type safety - let alone =
security. Note that this implementation problem is already also covered i=
n https://tools.ietf.org/html/draft-ietf-oauth-jwt-bcp-01=23section-3.1. =
<br> <br>The fact that there have been implementation bugs isn't overly s=
urprising. That happens in all code. This, to me, makes the case that we =
should have good public test suites for JWS/JWE/JWT implementations to fe=
rret out these bugs - just like we have the OpenID Certification test sui=
te http://openid.net/certification/ for OpenID Connect implementations. W=
hereas changing to a different standard would just result in different bu=
gs, and would reduce interoperability. <br> <br> -- Mike <br> <br>-----Or=
iginal Message----- <br>=46rom: jose &lt;jose-bounces=40ietf.org&gt; On B=
ehalf Of Neil Madden <br>Sent: Monday, April 23, 2018 9:43 AM <br>To: Dav=
id Adrian &lt;davadria=40umich.edu&gt; <br>Cc: Carsten Bormann &lt;cabo=40=
tzi.org&gt;; cfrg=40ietf.org; Mike Jones &lt;Michael.Jones=3D40microsoft.=
com=40dmarc.ietf.org&gt;; jose=40ietf.org <br>Subject: Re: =5Bjose=5D =5B=
Cfrg=5D R=46C Draft: PASETO - Platform-Agnotic SEcurity TOkens <br> <br> =
<br><blockquote type=3D=22cite=22>On 23 Apr 2018, at 14:44, David Adrian =
&lt;davadria=40umich.edu&gt; wrote: <br> <br><blockquote type=3D=22cite=22=
>If we have to invent a new standard each time an existing standard is im=
plemented with a security flaw, we have a lot of work to do. <br></blockq=
uote> <br>You fundamentally cannot fix a standard with unusable to the po=
int of broken negotiation by extending the negotiation. If you don't want=
 PASETO to be a new standard, call it JOSEv3. <br></blockquote> <br>I don=
=E2=80=99t believe that PASETO is actually fundamentally different from J=
OSE in this respect. Is there a meaningful distinction between v1.local.&=
lt;token&gt; and =7B=E2=80=9Calg=E2=80=9D:=E2=80=9Dv1.local=E2=80=9D=7D.&=
lt;token&gt; =3F <br> <br>One of the critical vulnerabilities historicall=
y in JOSE implementations was =5B1=5D, whereby if an implementation was u=
sing RSA signed JWTs an attacker could get the server=E2=80=99s public ke=
y and use it as if it was a HMAC key to produce a forged JWT with =7B=E2=80=
=9Calg=E2=80=9D:=E2=80=9DHS256=E2=80=9D=7D in the header. If the JWT libr=
ary just provided a verify(String jwt, Key key) function then it might be=
 tricked into using the attacker=E2=80=99s choice of algorithm (HS256) wi=
th the server=E2=80=99s RSA public key and the JWT would validate. Oops=21=
 <br> <br>This flaw has been rightly criticised, including by the authors=
 of PASETO. Don=E2=80=99t let the attacker chose the algorithm=21 <br> <b=
r>But wait, aren=E2=80=99t PASETO implementations potentially vulnerable =
to *exactly the same vulnerability*=3F=21 If my server is set up to use v=
2.public (Ed25519) signed PASETO tokens, what is to stop an attacker grab=
bing my Ed25519 public key (which is a 32 byte value) and using it to cre=
ate a PASETO token using v2.local=3F Recall that v2.local takes a 32 byte=
 symmetric key. If the PASETO library just has a function verify(String p=
aseto, Key key) and looks at the header to decide how to process the toke=
n, then it will have exactly the same vulnerability that those JOSE libra=
ries had. So how does PASETO the spec make this vulnerability less likely=
=3F <br> <br>Looking at the reference implementation =5B2=5D, it seems th=
at if the library user didn=E2=80=99t set an allowed purpose then the onl=
y thing stopping this is a type check on the public key class. In other w=
ords, the implementor took extra safe-guards beyond those documented in t=
he specification. Phew=21 <br> <br>Am I missing something here=3F As far =
as I can tell, the PASETO docs and draft R=46C don=E2=80=99t even mention=
 this as a consideration. How is this better than JOSE=3F <br> <br>=5B1=5D=
 https://auth0.com/blog/critical-vulnerabilities-in-json-web-token-librar=
ies/ <br>=5B2=5D https://github.com/paragonie/paseto/blob/master/src/Pars=
er.php=23L159 <br> <br>Neil <br>=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F <br>jose mailing list <br>jose=40ietf.org <br>ht=
tps://www.ietf.org/mailman/listinfo/jose <br></div> </div> </blockquote> =
</body></html>
--5ade225a_6b8b4567_ec2--

--5ade225b_327b23c6_ec2
Content-Type: application/pgp-signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: Canary
Comment: https://www.canarymail.io
Charset: UTF-8

wsFcBAABCgAGBQJa3iJaAAoJEJU2zPYmJcVaiFkP/A8KWN8ZwAJeukqphD5ND7z025ZlfVlmhCpI
82hg9nmFCz5SwaC4c75vrlAuYXQ33/y3EdbHkoTHQgLNn3vcCaxP+bEHEgDyXF/OBCe6dxEb+k/i
GvWpAwbTb9lxF9zmcNgjmd/s/J8nLEli/gJLpGZWsX+O4An/g5zJ4zSOSzu8iSVFmV2qJurfghsI
7twLgN/eoQIHytTRBuc5DSoK9txjPAxe7jRbZM9mVP7+I0Do5z8Op8XourLxafykPRgixpJTKUQ3
rY09Yeu0YMuIyDLwoVLs+0QSKf/2i/jJyk36YHBiooq5FZq6lwcCnM/T33qhMSZstYdLQk/TTWi/
JeW6+x7bSua0sbYfH3CWWOoAH7iuT/qxs3xcJm5THAXx+UgCNXLx4TloeZ9iMcsTNyv87a1OwBUy
xYJedhVg5rg4mGk75LEKFdCzuUi4nAGKTmSJOFMG4Q4nw9d0WnkJb0WOC4dZ5eWE5dNybHueLV1k
x1eGtwmRKre7UFr6UWIas6cvf/KWKEtOTHk2Q+QyMvjY9tstZ9MS1yMiegCFKLREaL77A6Nwq8b8
eNahHpEDruAfpwnJVoFcvrGXyH9+p0UdwEwgl/NRRENqQy3k6xhgMYj1/6CfcHk20qg/HGr2+B6g
jOxpnKUBQm+HCQLpJgy8f6vkyLN2fuWcSK/Mfh/z
=yAJp
-----END PGP SIGNATURE-----

--5ade225b_327b23c6_ec2--


From nobody Mon Apr 23 12:00:14 2018
Return-Path: <scott@paragonie.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 031F712E03C for <cfrg@ietfa.amsl.com>; Mon, 23 Apr 2018 12:00:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 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_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=paragonie-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 LbgB19UBBdhu for <cfrg@ietfa.amsl.com>; Mon, 23 Apr 2018 12:00:05 -0700 (PDT)
Received: from mail-ot0-x231.google.com (mail-ot0-x231.google.com [IPv6:2607:f8b0:4003:c0f::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 3564F12D952 for <cfrg@ietf.org>; Mon, 23 Apr 2018 12:00:05 -0700 (PDT)
Received: by mail-ot0-x231.google.com with SMTP id v64-v6so18437780otb.13 for <cfrg@ietf.org>; Mon, 23 Apr 2018 12:00:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragonie-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2opw8Hk2b519XzwyzrTEqLRjTTTK5IGWtxlc/nbXapg=; b=OI+gUoVsDhittLPjHIczlPGBq2qALWrCrmg6XoYoFY8d2DNYPb+Bm/FhxGcaXh+cOE BAluzZSVbFu6mYgQ5bsEixyAy1Ws1WOQO7PCstyfG/FqE2RvEVjemlTSXMwoB4yT5bsN 06PTe6aLrpAs8vYeAMBIkmw0b/vU58vfnE+mOlPvBakrzGPXP3L3mClE0/FYW6usaetY maneyzdlkkfQ9z3B3WsXllKLqxa6Q9vx0GwecCyYIS65PvTVvQgt5IXGIzcjxHJDqocN nVW98EDUu4IUF9HYL1K/ARGDfRNpSP/GM3XSyav2bHYTxWIN3QyBjkVBweQPWNH3V1H/ 4mfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2opw8Hk2b519XzwyzrTEqLRjTTTK5IGWtxlc/nbXapg=; b=MInIvTmoN3pEcTjtUK2dPvH11t7MeI7qPtUMWjzQnTgvK0QI/ZJxitQbgfdvRU0mcf XbNpamNDGdBQss/NzICqBJnWHjrtFsTu0qcWnVsVCgsVnu+BuzkGL7ySaffRI+CsMg0l SdLxOKtiX6+gmfb2YR071+78wmnvAQjNM7CrLeg+x/F0m9Kcdm8ikjWS4CCJnUsFkkDv QZwETfJI7+55r3F4iUrX5M6Fn03YkVcoNdWTBk+1cqNB+yunBiQVdkvqMGtPtKj7iHwc 83RCH1YZGXh28KtbobarCwruCN4udCP4F1oaDg7kj3BNuluUMiSs6hxAMNqZIDuj/SwV fXGg==
X-Gm-Message-State: ALQs6tAJYkGKrHJA407hbwTGKTpdO5nTLHsdeqkCq7c05eQI5f3+0YJY +fkofY+DBTqs9tXv4XEcsCcdHgBGft5aZ3kuSqG+NgTO
X-Google-Smtp-Source: AIpwx495BOc700eG78D6f9+jiuZAe9KwE1XTj9/Gyda9nKnw5mAZPWEBJYIcxy6cuQq3PED/f7f7kP7ePvN/90KOghU=
X-Received: by 2002:a9d:440b:: with SMTP id u11-v6mr13410255ote.276.1524510004372;  Mon, 23 Apr 2018 12:00:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a9d:55e9:0:0:0:0:0 with HTTP; Mon, 23 Apr 2018 12:00:03 -0700 (PDT)
In-Reply-To: <9F9C6A42-0E89-4AB9-915C-8B208D9C31FD@gmail.com>
References: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com> <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com> <CAKws9z277JLfv7Pb9wSkJ7zYR8FzoAfiXuFS6Vq0x32-3bWx7Q@mail.gmail.com> <DB58CEFE-ED93-4C1C-9212-B622DFCCFFB9@gmail.com> <A6784DBB-C147-40B7-8A5C-E96F431020F6@tzi.org> <SN6PR00MB0301F595CF57BF58D4BAA4D2F5B40@SN6PR00MB0301.namprd00.prod.outlook.com> <CACf5n78R3Fur_eunfiQnM9+enbV5vrXs8aW1sfmU6HhV6_3WVA@mail.gmail.com> <9F9C6A42-0E89-4AB9-915C-8B208D9C31FD@gmail.com>
From: Scott Arciszewski <scott@paragonie.com>
Date: Mon, 23 Apr 2018 15:00:03 -0400
Message-ID: <CAKws9z2JithtthAkDKQCdFzJDGRCP22j5-R0b+EvBX6J5TmiKg@mail.gmail.com>
To: Neil Madden <neil.e.madden@gmail.com>
Cc: David Adrian <davadria@umich.edu>, Carsten Bormann <cabo@tzi.org>, "cfrg@ietf.org" <cfrg@ietf.org>,  Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>,  "jose@ietf.org" <jose@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000447d34056a88a5b0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/sFWgzYW6koJZXqT0PhF3rC22rEE>
Subject: Re: [Cfrg] [jose] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 23 Apr 2018 19:00:09 -0000

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

This is an excellent point that will be rectified in the documentation and
future drafts of the RFC.

How is this better than JOSE? It's better in that it's a first draft, not a
final specification. :P

Scott Arciszewski
Chief Development Officer
Paragon Initiative Enterprises <https://paragonie.com>

On Mon, Apr 23, 2018 at 12:43 PM, Neil Madden <neil.e.madden@gmail.com>
wrote:

>
> > On 23 Apr 2018, at 14:44, David Adrian <davadria@umich.edu> wrote:
> >
> > > If we have to invent a new standard each time an existing standard is
> implemented with a security flaw, we have a lot of work to do.
> >
> > You fundamentally cannot fix a standard with unusable to the point of
> broken negotiation by extending the negotiation. If you don't want PASETO
> to be a new standard, call it JOSEv3.
>
> I don=E2=80=99t believe that PASETO is actually fundamentally different f=
rom JOSE
> in this respect. Is there a meaningful distinction between v1.local.<toke=
n>
> and {=E2=80=9Calg=E2=80=9D:=E2=80=9Dv1.local=E2=80=9D}.<token> ?
>
> One of the critical vulnerabilities historically in JOSE implementations
> was [1], whereby if an implementation was using RSA signed JWTs an attack=
er
> could get the server=E2=80=99s public key and use it as if it was a HMAC =
key to
> produce a forged JWT with {=E2=80=9Calg=E2=80=9D:=E2=80=9DHS256=E2=80=9D}=
 in the header. If the JWT library
> just provided a verify(String jwt, Key key) function then it might be
> tricked into using the attacker=E2=80=99s choice of algorithm (HS256) wit=
h the
> server=E2=80=99s RSA public key and the JWT would validate. Oops!
>
> This flaw has been rightly criticised, including by the authors of PASETO=
.
> Don=E2=80=99t let the attacker chose the algorithm!
>
> But wait, aren=E2=80=99t PASETO implementations potentially vulnerable to=
 *exactly
> the same vulnerability*?! If my server is set up to use v2.public (Ed2551=
9)
> signed PASETO tokens, what is to stop an attacker grabbing my Ed25519
> public key (which is a 32 byte value) and using it to create a PASETO tok=
en
> using v2.local? Recall that v2.local takes a 32 byte symmetric key. If th=
e
> PASETO library just has a function verify(String paseto, Key key) and loo=
ks
> at the header to decide how to process the token, then it will have exact=
ly
> the same vulnerability that those JOSE libraries had. So how does PASETO
> the spec make this vulnerability less likely?
>
> Looking at the reference implementation [2], it seems that if the library
> user didn=E2=80=99t set an allowed purpose then the only thing stopping t=
his is a
> type check on the public key class. In other words, the implementor took
> extra safe-guards beyond those documented in the specification. Phew!
>
> Am I missing something here? As far as I can tell, the PASETO docs and
> draft RFC don=E2=80=99t even mention this as a consideration. How is this=
 better
> than JOSE?
>
> [1] https://auth0.com/blog/critical-vulnerabilities-in-
> json-web-token-libraries/
> [2] https://github.com/paragonie/paseto/blob/master/src/Parser.php#L159
>
> Neil
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose
>

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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e,monospace">This is an excellent point that will be rectified in the docum=
entation and future drafts of the RFC.</div><div class=3D"gmail_default" st=
yle=3D"font-family:monospace,monospace"><br></div><div class=3D"gmail_defau=
lt" style=3D"font-family:monospace,monospace">How is this better than JOSE?=
 It&#39;s better in that it&#39;s a first draft, not a final specification.=
 :P</div></div><div class=3D"gmail_extra"><br clear=3D"all"><div><div class=
=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><d=
iv><div dir=3D"ltr"><div><div dir=3D"ltr"><font face=3D"monospace, monospac=
e">Scott Arciszewski</font><div><font face=3D"monospace, monospace">Chief D=
evelopment Officer</font></div><div><a href=3D"https://paragonie.com" targe=
t=3D"_blank"><font face=3D"monospace, monospace">Paragon Initiative Enterpr=
ises</font></a></div></div></div></div></div></div></div></div>
<br><div class=3D"gmail_quote">On Mon, Apr 23, 2018 at 12:43 PM, Neil Madde=
n <span dir=3D"ltr">&lt;<a href=3D"mailto:neil.e.madden@gmail.com" target=
=3D"_blank">neil.e.madden@gmail.com</a>&gt;</span> wrote:<br><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex"><span class=3D""><br>
&gt; On 23 Apr 2018, at 14:44, David Adrian &lt;<a href=3D"mailto:davadria@=
umich.edu">davadria@umich.edu</a>&gt; wrote:<br>
&gt; <br>
&gt; &gt; If we have to invent a new standard each time an existing standar=
d is implemented with a security flaw, we have a lot of work to do.<br>
&gt; <br>
&gt; You fundamentally cannot fix a standard with unusable to the point of =
broken negotiation by extending the negotiation. If you don&#39;t want PASE=
TO to be a new standard, call it JOSEv3.<br>
<br>
</span>I don=E2=80=99t believe that PASETO is actually fundamentally differ=
ent from JOSE in this respect. Is there a meaningful distinction between v1=
.local.&lt;token&gt; and {=E2=80=9Calg=E2=80=9D:=E2=80=9Dv1.local=E2=80=9D}=
.&lt;token&gt; ?<br>
<br>
One of the critical vulnerabilities historically in JOSE implementations wa=
s [1], whereby if an implementation was using RSA signed JWTs an attacker c=
ould get the server=E2=80=99s public key and use it as if it was a HMAC key=
 to produce a forged JWT with {=E2=80=9Calg=E2=80=9D:=E2=80=9DHS256=E2=80=
=9D} in the header. If the JWT library just provided a verify(String jwt, K=
ey key) function then it might be tricked into using the attacker=E2=80=99s=
 choice of algorithm (HS256) with the server=E2=80=99s RSA public key and t=
he JWT would validate. Oops!<br>
<br>
This flaw has been rightly criticised, including by the authors of PASETO. =
Don=E2=80=99t let the attacker chose the algorithm!<br>
<br>
But wait, aren=E2=80=99t PASETO implementations potentially vulnerable to *=
exactly the same vulnerability*?! If my server is set up to use v2.public (=
Ed25519) signed PASETO tokens, what is to stop an attacker grabbing my Ed25=
519 public key (which is a 32 byte value) and using it to create a PASETO t=
oken using v2.local? Recall that v2.local takes a 32 byte symmetric key. If=
 the PASETO library just has a function verify(String paseto, Key key) and =
looks at the header to decide how to process the token, then it will have e=
xactly the same vulnerability that those JOSE libraries had. So how does PA=
SETO the spec make this vulnerability less likely?<br>
<br>
Looking at the reference implementation [2], it seems that if the library u=
ser didn=E2=80=99t set an allowed purpose then the only thing stopping this=
 is a type check on the public key class. In other words, the implementor t=
ook extra safe-guards beyond those documented in the specification. Phew!<b=
r>
<br>
Am I missing something here? As far as I can tell, the PASETO docs and draf=
t RFC don=E2=80=99t even mention this as a consideration. How is this bette=
r than JOSE?<br>
<br>
[1] <a href=3D"https://auth0.com/blog/critical-vulnerabilities-in-json-web-=
token-libraries/" rel=3D"noreferrer" target=3D"_blank">https://auth0.com/bl=
og/<wbr>critical-vulnerabilities-in-<wbr>json-web-token-libraries/</a><br>
[2] <a href=3D"https://github.com/paragonie/paseto/blob/master/src/Parser.p=
hp#L159" rel=3D"noreferrer" target=3D"_blank">https://github.com/paragonie/=
<wbr>paseto/blob/master/src/Parser.<wbr>php#L159</a><br>
<br>
Neil<br>
______________________________<wbr>_________________<br>
jose mailing list<br>
<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/jose" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/jose</a><br>
</blockquote></div><br></div>

--000000000000447d34056a88a5b0--


From nobody Wed Apr 25 11:41:10 2018
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 028EF127869 for <cfrg@ietfa.amsl.com>; Wed, 25 Apr 2018 11:41:09 -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, HTML_MESSAGE=0.001, 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 a6H4SmcL2BK9 for <cfrg@ietfa.amsl.com>; Wed, 25 Apr 2018 11:41:06 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) (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 686B2129C6E for <cfrg@irtf.org>; Wed, 25 Apr 2018 11:41:05 -0700 (PDT)
X-Spoof: 
Received: from xct106cnc.rim.net ([10.65.161.206]) by mhs214cnc.rim.net with ESMTP/TLS/DHE-RSA-AES256-SHA; 25 Apr 2018 14:41:04 -0400
Received: from XCT197YKF.rim.net (10.2.25.5) by XCT106CNC.rim.net (10.65.161.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 25 Apr 2018 14:41:04 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT197YKF.rim.net ([fe80::d451:a94b:26c6:5632%17]) with mapi id 14.03.0319.002; Wed, 25 Apr 2018 14:41:04 -0400
From: Dan Brown <danibrown@blackberry.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: Quibble about XMSS draft's critique of RSA, DSA, ECDSA ...
Thread-Index: AdPcwxLdkzpe3YW5ReucQEcwhtPfJA==
Date: Wed, 25 Apr 2018 18:41:03 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF501C59F30@XMB116CNC.rim.net>
Accept-Language: en-US, en-CA
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.252]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_016F_01D3DCA3.6ED7E920"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/4RNGb1QwiXHZrJ7gk5iSJIdhmBM>
Subject: [Cfrg] Quibble about XMSS draft's critique of RSA, DSA, ECDSA ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 25 Apr 2018 18:41:09 -0000

------=_NextPart_000_016F_01D3DCA3.6ED7E920
Content-Type: multipart/related;
	boundary="----=_NextPart_001_0170_01D3DCA3.6ED7E920"


------=_NextPart_001_0170_01D3DCA3.6ED7E920
Content-Type: multipart/alternative;
	boundary="----=_NextPart_002_0171_01D3DCA3.6ED7E920"


------=_NextPart_002_0171_01D3DCA3.6ED7E920
Content-Type: text/plain;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi CFRG,

https://tools.ietf.org/html/draft-irtf-cfrg-xmss-hash-based-signatures-12=
#section-9.2

says       =20

=E2=80=9CAny signature algorithm that allows

   arbitrary size messages relies on the security of a cryptographic

   hash function, either on collision resistance or on extended target

   collision resistance if randomized hashing is used for message

   compression.=E2=80=9D

and

=E2=80=9CIn contrast, common signature schemes like

   RSA, DSA, and ECDSA additionally rely on the conjectured hardness of

   certain mathematical problems.=E2=80=9D

This text is open to minor misunderstanding. It seems to imply all forms =
of XMSS security rely on fewer assumptions than any of RSA, DSA and =
ECDSA do.  I think this implication would be wrong. =20

=20

(Skip the next 2 paragraphs of arguments, for a suggested fix of the =
text.)

=20

For example, first consider key-only (=3Dno-message) universal =
(=3Dselective) forgery, and full-domain hash RSA.  The forger F is given =
a message M to forge and RSA public key (N,e).  The forger must compute =
H(M)^(1/e) mod N.  As long as H(M) is not overly likely to be an e^th =
power, then there is no forgery attack that I know of, other than =
breaking RSA.  Reduced to absurdity, put H(M)=3D2 for all M, so H is a =
constant.  It seems hard to launch a key-only universal forgery.  I =
believe that XMSS key-only universal forgery might be possible such an =
absurd hash, since every message would end up the same signature, etc.  =
Of course, the limitation to a key-only forger is quite arbitrary, and =
kind of like of considering the security of 0-time signature (1 =
signature and all bets are off). =20

=20

So, instead, consider non-chosen-message, universal forgery.  But there =
are moderately realistic applications in which the signer have strict =
control of the messages they sign, not giving the adversary any say in =
the message.  A 2nd preimage-finder against the hash certainly helps to =
get an existential forgery [a well-known attack], but a 2nd preimage =
finder does not seem to help (very much) in achieving a universal =
forgery (as long as say the hash function is not too lossy, etc.) =
against this signer.  So, it seems like non-chosen-message, universal =
forgery of RSA-FDH (and I think ECDSA, too), can be resisted even with =
considerable weakness in the hash.  I don=E2=80=99t have a proof, but =
the best attack of this type of forgery would be solving the RSA problem =
- as far as I know (60% sure).  (Proof sketch: such a forger could be =
used to invalidate the random oracle model security proof for RSA-FDH =
=E2=80=93 only 0.001% sure of this.) To reduce things to absurdity (and =
perhaps clarity), put H(M)=3DM mod n.  To review: 2nd preimage finding =
against H is easy, and existential forgery against RSA-FDH is easy too =
(e.g. if the signer signs M, the forger forges M=E2=80=99=3DM+fN), but =
universal forgery (the message M=E2=80=99 that the forger has to forge =
is given to the forger as an input) seems hard if the attacker cannot =
choose the messages that the signer signs.  By contrast, I think (80% =
sure)  that XMSS would resist not this type of forgery with a similarly =
absurd hash (e.g. H(M) =3D M mod 2^256).  In other words, for this type =
of security (UF-NCMA), XMSS relies on additional properties of the hash =
that RSA is not known to rely upon.  Given the realism of this threat =
model, I think resisting it more strongly has some merit.

=20

Okay, my points may arguably be too pedantic, verbose, incoherent, =
theoretical, academic, absurd, simplistic, and even petty (or worse =
wrong), so to be more constructive, I would suggest a correction to the =
draft like this:

=E2=80=9CIn contrast, common signature schemes like

   RSA, DSA, and ECDSA additionally rely on the conjectured hardness of

   certain mathematical problems to resist some types of forgery, such =
as existential forgery or chosen-message forgery.=E2=80=9D

=20

Best regards,

=E2=80=8B=E2=80=8B=E2=80=8B=E2=80=8B=E2=80=8B

Dan Brown
Office: +1 (289) 261-4157

 <http://www.blackberry.com/>=20

=20


------=_NextPart_002_0171_01D3DCA3.6ED7E920
Content-Type: text/html;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta =
name=3DGenerator content=3D"Microsoft Word 15 (filtered medium)"><!--[if =
!mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:Consolas;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1027" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US =
link=3D"#0563C1" vlink=3D"#954F72"><div class=3DWordSection1><p =
class=3DMsoNormal>Hi CFRG,<o:p></o:p></p><p class=3DMsoNormal><a =
href=3D"https://tools.ietf.org/html/draft-irtf-cfrg-xmss-hash-based-signa=
tures-12#section-9.2">https://tools.ietf.org/html/draft-irtf-cfrg-xmss-ha=
sh-based-signatures-12#section-9.2</a><o:p></o:p></p><p =
class=3DMsoNormal>says =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
<o:p></o:p></p><p class=3DMsoNormal>=E2=80=9C<span lang=3DEN>Any =
signature algorithm that allows<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN>=C2=A0=C2=A0 arbitrary size messages =
relies on the security of a cryptographic<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN>=C2=A0=C2=A0 hash function, either on =
collision resistance or on extended target<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN>=C2=A0=C2=A0 collision resistance if =
randomized hashing is used for message<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN>=C2=A0=C2=A0 =
compression.=E2=80=9D<o:p></o:p></span></p><p =
class=3DMsoNormal>and<o:p></o:p></p><p class=3DMsoNormal>=E2=80=9CIn =
contrast, common signature schemes like<o:p></o:p></p><p =
class=3DMsoNormal>=C2=A0=C2=A0 RSA, DSA, and ECDSA additionally rely on =
the conjectured hardness of<o:p></o:p></p><p =
class=3DMsoNormal>=C2=A0=C2=A0 certain mathematical =
problems.=E2=80=9D<o:p></o:p></p><p class=3DMsoNormal>This text is open =
to minor misunderstanding. It seems to imply all forms of XMSS security =
rely on fewer assumptions than any of RSA, DSA and ECDSA do.=C2=A0 I =
think this implication would be wrong. =C2=A0<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>(Skip the =
next 2 paragraphs of arguments, for a suggested fix of the =
text.)<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>For example, first consider key-only (=3Dno-message) =
universal (=3Dselective) forgery, and full-domain hash RSA.=C2=A0 The =
forger F is given a message M to forge and RSA public key (N,e).=C2=A0 =
The forger must compute H(M)^(1/e) mod N.=C2=A0 As long as H(M) is not =
overly likely to be an e^th power, then there is no forgery attack that =
I know of, other than breaking RSA.=C2=A0 Reduced to absurdity, put =
H(M)=3D2 for all M, so H is a constant.=C2=A0 It seems hard to launch a =
key-only universal forgery.=C2=A0 I believe that XMSS key-only universal =
forgery might be possible such an absurd hash, since every message would =
end up the same signature, etc.=C2=A0 Of course, the limitation to a =
key-only forger is quite arbitrary, and kind of like of considering the =
security of 0-time signature (1 signature and all bets are off).=C2=A0 =
<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>So, instead, consider non-chosen-message, universal =
forgery.=C2=A0 But there are moderately realistic applications in which =
the signer have strict control of the messages they sign, not giving the =
adversary any say in the message. =C2=A0A 2<sup>nd</sup> preimage-finder =
against the hash certainly helps to get an existential forgery [a =
well-known attack], but a 2<sup>nd</sup> preimage finder does not seem =
to help (very much) in achieving a universal forgery (as long as say the =
hash function is not too lossy, etc.) against this signer.=C2=A0 So, it =
seems like non-chosen-message, universal forgery of RSA-FDH (and I think =
ECDSA, too), can be resisted even with considerable weakness in the =
hash.=C2=A0 I don=E2=80=99t have a proof, but the best attack of this =
type of forgery would be solving the RSA problem - as far as I know (60% =
sure).=C2=A0 (Proof sketch: such a forger could be used to invalidate =
the random oracle model security proof for RSA-FDH =E2=80=93 only 0.001% =
sure of this.) To reduce things to absurdity (and perhaps clarity), put =
H(M)=3DM mod n.=C2=A0 To review: 2<sup>nd</sup> preimage finding against =
H is easy, and existential forgery against RSA-FDH is easy too (e.g. if =
the signer signs M, the forger forges M=E2=80=99=3DM+fN), but universal =
forgery (the message M=E2=80=99 that the forger has to forge is given to =
the forger as an input) seems hard if the attacker cannot choose the =
messages that the signer signs.=C2=A0 By contrast, I think (80% =
sure)=C2=A0 that XMSS would resist not this type of forgery with a =
similarly absurd hash (e.g. H(M) =3D M mod 2^256).=C2=A0 In other words, =
for this type of security (UF-NCMA), XMSS relies on additional =
properties of the hash that RSA is not known to rely upon.=C2=A0 Given =
the realism of this threat model, I think resisting it more strongly has =
some merit.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Okay, my points may arguably be too pedantic, verbose, =
incoherent, theoretical, academic, absurd, simplistic, and even petty =
(or worse wrong), so to be more constructive, I would suggest a =
correction to the draft like this:<o:p></o:p></p><p =
class=3DMsoNormal>=E2=80=9CIn contrast, common signature schemes =
like<o:p></o:p></p><p class=3DMsoNormal>=C2=A0=C2=A0 RSA, DSA, and ECDSA =
additionally rely on the conjectured hardness of<o:p></o:p></p><p =
class=3DMsoNormal>=C2=A0=C2=A0 certain mathematical problems to resist =
some types of forgery, such as existential forgery or chosen-message =
forgery.=E2=80=9D<o:p></o:p></p><p class=3DMsoNormal> =
=C2=A0<o:p></o:p></p><p class=3DMsoNormal>Best regards,<o:p></o:p></p><p =
class=3DMsoNormal>=E2=80=8B=E2=80=8B=E2=80=8B=E2=80=8B=E2=80=8B<o:p></o:p=
></p><p class=3DMsoNormal><span =
style=3D'font-size:9.0pt;font-family:"Arial",sans-serif;color:black'>Dan =
Brown<br>Office: +1 (289) 261-4157<br><br></span><!--[if gte vml =
1]><v:shapetype id=3D"_x0000_t75" coordsize=3D"21600,21600" o:spt=3D"75" =
o:preferrelative=3D"t" path=3D"m@4@5l@4@11@9@11@9@5xe" filled=3D"f" =
stroked=3D"f">
<v:stroke joinstyle=3D"miter" />
<v:formulas>
<v:f eqn=3D"if lineDrawn pixelLineWidth 0" />
<v:f eqn=3D"sum @0 1 0" />
<v:f eqn=3D"sum 0 0 @1" />
<v:f eqn=3D"prod @2 1 2" />
<v:f eqn=3D"prod @3 21600 pixelWidth" />
<v:f eqn=3D"prod @3 21600 pixelHeight" />
<v:f eqn=3D"sum @0 0 1" />
<v:f eqn=3D"prod @6 1 2" />
<v:f eqn=3D"prod @7 21600 pixelWidth" />
<v:f eqn=3D"sum @8 21600 0" />
<v:f eqn=3D"prod @7 21600 pixelHeight" />
<v:f eqn=3D"sum @10 21600 0" />
</v:formulas>
<v:path o:extrusionok=3D"f" gradientshapeok=3D"t" o:connecttype=3D"rect" =
/>
<o:lock v:ext=3D"edit" aspectratio=3D"t" />
</v:shapetype><v:shape id=3D"s_image" o:spid=3D"_x0000_s1026" =
type=3D"#_x0000_t75" alt=3D"BlackBerry" =
href=3D"http://www.blackberry.com/" =
style=3D'width:24pt;height:24pt;visibility:visible;mso-left-percent:-1000=
1;mso-top-percent:-10001;mso-position-horizontal:absolute;mso-position-ho=
rizontal-relative:char;mso-position-vertical:absolute;mso-position-vertic=
al-relative:line;mso-left-percent:-10001;mso-top-percent:-10001' =
o:button=3D"t">
<v:fill o:detectmouseclick=3D"t" />
<w:wrap type=3D"none"/>
<w:anchorlock/>
</v:shape><![endif]--><![if !vml]><span style=3D'mso-ignore:vglayout'><a =
href=3D"http://www.blackberry.com/"><img border=3D0 width=3D32 =
height=3D32 style=3D'width:.3333in;height:.3333in' =
src=3D"cid:image002.png@01D3DCA3.6E78B220" alt=3DBlackBerry title=3D"" =
v:shapes=3D"s_image"></a></span><![endif]><span =
style=3D'font-size:9.0pt;font-family:"Arial",sans-serif;color:black'><o:p=
></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_002_0171_01D3DCA3.6ED7E920--

------=_NextPart_001_0170_01D3DCA3.6ED7E920
Content-Type: image/png;
	name="image002.png"
Content-Transfer-Encoding: base64
Content-ID: <image002.png@01D3DCA3.6E78B220>

iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAAXNSR0ICQMB9xQAAAANQTFRFAAAA
p3o92gAAAAF0Uk5TAEDm2GYAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAZdEVYdFNvZnR3YXJlAE1p
Y3Jvc29mdCBPZmZpY2V/7TVxAAAAEklEQVQ4y2NgGAWjYBSMAuwAAAQgAAFWu83mAAAAAElFTkSu
QmCC

------=_NextPart_001_0170_01D3DCA3.6ED7E920--

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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIh1TCCBckw
ggOxoAMCAQICBQD2V+DAMA0GCSqGSIb3DQEBDQUAMHwxCzAJBgNVBAYTAkNBMRswGQYDVQQKDBJC
bGFja0JlcnJ5IExpbWl0ZWQxIjAgBgNVBAsMGUJsYWNrQmVycnkgRW50ZXJwcmlzZSBQS0kxLDAq
BgNVBAMMI0JsYWNrQmVycnkgRW50ZXJwcmlzZSBSU0EgUm9vdCBDQSAxMB4XDTEzMTIxMzE3NDU0
N1oXDTM4MTIxMzE3NDU0N1owfDELMAkGA1UEBhMCQ0ExGzAZBgNVBAoMEkJsYWNrQmVycnkgTGlt
aXRlZDEiMCAGA1UECwwZQmxhY2tCZXJyeSBFbnRlcnByaXNlIFBLSTEsMCoGA1UEAwwjQmxhY2tC
ZXJyeSBFbnRlcnByaXNlIFJTQSBSb290IENBIDEwggIg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qSwkplk0hzTkoSyLZcosSLUcJpmYmFsGDw
Qo6mm3u23brZiHmheijAAzT3YsNebEM1huQcuubX1gCwbZNqhOu46BNzlHLVTFXo4Bl2CLDrlJoK
k3kVaZCrOWMFiOog0l40hS55WjleTjOxNBI/av777Y/m2vsYumPf4KvUgBsNQepwjhejHzQwmkyX
91AigJWFzY+zVR1zNmW8Dii9aOAKcBJKciiJL8FTKPXrYvqi8vp2qnJw74KHXtWjaWN9tT1KR+tx
CkZUasUW+V9jQeMaiw4OK51qXD02OSfdofa6RyLDgWR2IIiVC54mAAAAAAAA

------=_NextPart_000_016F_01D3DCA3.6ED7E920--


From nobody Wed Apr 25 14:48:44 2018
Return-Path: <ietf@huelsing.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 230BC12D7ED for <cfrg@ietfa.amsl.com>; Wed, 25 Apr 2018 14:48:43 -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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 MsF1vhg2WKT2 for <cfrg@ietfa.amsl.com>; Wed, 25 Apr 2018 14:48:39 -0700 (PDT)
Received: from www363.your-server.de (www363.your-server.de [78.46.179.9]) (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 A618912D7E4 for <cfrg@irtf.org>; Wed, 25 Apr 2018 14:48:38 -0700 (PDT)
Received: from [78.46.172.3] (helo=sslproxy06.your-server.de) by www363.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from <ietf@huelsing.net>) id 1fBSHE-00086x-4t; Wed, 25 Apr 2018 23:48:36 +0200
Received: from [77.173.230.115] (helo=[192.168.2.7]) by sslproxy06.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from <ietf@huelsing.net>) id 1fBSHA-00081d-Vz; Wed, 25 Apr 2018 23:48:33 +0200
To: cfrg@irtf.org, danibrown@blackberry.com
References: <810C31990B57ED40B2062BA10D43FBF501C59F30@XMB116CNC.rim.net>
From: "A. Huelsing" <ietf@huelsing.net>
Message-ID: <0e09d550-7880-86f9-b412-b4426a34f435@huelsing.net>
Date: Wed, 25 Apr 2018 23:48:29 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF501C59F30@XMB116CNC.rim.net>
Content-Type: multipart/alternative; boundary="------------D664ADF4A910628BDC8F96CC"
Content-Language: en-GB
X-Authenticated-Sender: ietf@huelsing.net
X-Virus-Scanned: Clear (ClamAV 0.99.3/24513/Wed Apr 25 22:29:52 2018)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/8d3kLblIB8jrbZAEK_mdHkoDVtA>
Subject: Re: [Cfrg] Quibble about XMSS draft's critique of RSA, DSA, ECDSA ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 25 Apr 2018 21:48:43 -0000

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

Dear Dan,

I sign responsible for that statement and I still think it should be there as is.

The standard notion of security for signature schemes is existential
unforgability under adaptive chosen message attacks (EU-CMA). Section 9 starts
with saying:
"A signature system is considered secure if it prevents an attacker

   from forging a valid signature.  More specifically, consider a
   setting in which an attacker gets a public key and can learn
   signatures on arbitrary messages of his choice.  A signature system
   is secure if, even in this setting, the attacker can not produce a
   new message, signature pair of his choosing such that the
   verification algorithm accepts."

This is an informal definition of EU-CMA and the whole text in this section
comes with this background. Moreover, a general purpose signature scheme that
does not achieve EU-CMA would be considered insecure for general use. Hence, I
think the statement is perfectly fine. I also do not see any discrimination
against RSA, DSA, or ECDSA here. This is just the way it is. Otherwise you could
use MD5 with those to sign and i am pretty sure this is not what you want to
imply :-)

Best regards,
Andreas


Am 25-04-18 um 20:41 schrieb Dan Brown:
>
> Hi CFRG,
>
> https://tools.ietf.org/html/draft-irtf-cfrg-xmss-hash-based-signatures-12#section-9.2
>
> says       
>
> “Any signature algorithm that allows
>
>    arbitrary size messages relies on the security of a cryptographic
>
>    hash function, either on collision resistance or on extended target
>
>    collision resistance if randomized hashing is used for message
>
>    compression.”
>
> and
>
> “In contrast, common signature schemes like
>
>    RSA, DSA, and ECDSA additionally rely on the conjectured hardness of
>
>    certain mathematical problems.”
>
> This text is open to minor misunderstanding. It seems to imply all forms of
> XMSS security rely on fewer assumptions than any of RSA, DSA and ECDSA do.  I
> think this implication would be wrong.  
>
>  
>
> (Skip the next 2 paragraphs of arguments, for a suggested fix of the text.)
>
>  
>
> For example, first consider key-only (=no-message) universal (=selective)
> forgery, and full-domain hash RSA.  The forger F is given a message M to forge
> and RSA public key (N,e).  The forger must compute H(M)^(1/e) mod N.  As long
> as H(M) is not overly likely to be an e^th power, then there is no forgery
> attack that I know of, other than breaking RSA.  Reduced to absurdity, put
> H(M)=2 for all M, so H is a constant.  It seems hard to launch a key-only
> universal forgery.  I believe that XMSS key-only universal forgery might be
> possible such an absurd hash, since every message would end up the same
> signature, etc.  Of course, the limitation to a key-only forger is quite
> arbitrary, and kind of like of considering the security of 0-time signature (1
> signature and all bets are off). 
>
>  
>
> So, instead, consider non-chosen-message, universal forgery.  But there are
> moderately realistic applications in which the signer have strict control of
> the messages they sign, not giving the adversary any say in the message.  A
> 2^nd preimage-finder against the hash certainly helps to get an existential
> forgery [a well-known attack], but a 2^nd preimage finder does not seem to
> help (very much) in achieving a universal forgery (as long as say the hash
> function is not too lossy, etc.) against this signer.  So, it seems like
> non-chosen-message, universal forgery of RSA-FDH (and I think ECDSA, too), can
> be resisted even with considerable weakness in the hash.  I don’t have a
> proof, but the best attack of this type of forgery would be solving the RSA
> problem - as far as I know (60% sure).  (Proof sketch: such a forger could be
> used to invalidate the random oracle model security proof for RSA-FDH – only
> 0.001% sure of this.) To reduce things to absurdity (and perhaps clarity), put
> H(M)=M mod n.  To review: 2^nd preimage finding against H is easy, and
> existential forgery against RSA-FDH is easy too (e.g. if the signer signs M,
> the forger forges M’=M+fN), but universal forgery (the message M’ that the
> forger has to forge is given to the forger as an input) seems hard if the
> attacker cannot choose the messages that the signer signs.  By contrast, I
> think (80% sure)  that XMSS would resist not this type of forgery with a
> similarly absurd hash (e.g. H(M) = M mod 2^256).  In other words, for this
> type of security (UF-NCMA), XMSS relies on additional properties of the hash
> that RSA is not known to rely upon.  Given the realism of this threat model, I
> think resisting it more strongly has some merit.
>
>  
>
> Okay, my points may arguably be too pedantic, verbose, incoherent,
> theoretical, academic, absurd, simplistic, and even petty (or worse wrong), so
> to be more constructive, I would suggest a correction to the draft like this:
>
> “In contrast, common signature schemes like
>
>    RSA, DSA, and ECDSA additionally rely on the conjectured hardness of
>
>    certain mathematical problems to resist some types of forgery, such as
> existential forgery or chosen-message forgery.”
>
>  
>
> Best regards,
>
> ​​​​​
>
> Dan Brown
> Office: +1 (289) 261-4157
>
> BlackBerry <http://www.blackberry.com/>
>
>  
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


--------------D664ADF4A910628BDC8F96CC
Content-Type: multipart/related;
 boundary="------------0A7703D8FAC543F7B889A53E"


--------------0A7703D8FAC543F7B889A53E
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Dear Dan,<br>
    <br>
    I sign responsible for that statement and I still think it should be
    there as is.<br>
    <br>
    The standard notion of security for signature schemes is existential
    unforgability under adaptive chosen message attacks (EU-CMA).
    Section 9 starts with saying:<br>
    "A signature system is considered secure if it prevents an attacker
    <pre class="newpage">   from forging a valid signature.  More specifically, consider a
   setting in which an attacker gets a public key and can learn
   signatures on arbitrary messages of his choice.  A signature system
   is secure if, even in this setting, the attacker can not produce a
   new message, signature pair of his choosing such that the
   verification algorithm accepts."

</pre>
    This is an informal definition of EU-CMA and the whole text in this
    section comes with this background. Moreover, a general purpose
    signature scheme that does not achieve EU-CMA would be considered
    insecure for general use. Hence, I think the statement is perfectly
    fine. I also do not see any discrimination against RSA, DSA, or
    ECDSA here. This is just the way it is. Otherwise you could use MD5
    with those to sign and i am pretty sure this is not what you want to
    imply :-)<br>
    <br>
    Best regards, <br>
    Andreas<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Am 25-04-18 um 20:41 schrieb Dan Brown:<br>
    </div>
    <blockquote type="cite"
      cite="mid:810C31990B57ED40B2062BA10D43FBF501C59F30@XMB116CNC.rim.net">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
..shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:Consolas;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;}
..MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1027" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hi CFRG,<o:p></o:p></p>
        <p class="MsoNormal"><a
href="https://tools.ietf.org/html/draft-irtf-cfrg-xmss-hash-based-signatures-12#section-9.2"
            moz-do-not-send="true">https://tools.ietf.org/html/draft-irtf-cfrg-xmss-hash-based-signatures-12#section-9.2</a><o:p></o:p></p>
        <p class="MsoNormal">says        <o:p></o:p></p>
        <p class="MsoNormal">“<span lang="EN">Any signature algorithm
            that allows<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN">   arbitrary size messages
            relies on the security of a cryptographic<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN">   hash function, either on
            collision resistance or on extended target<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN">   collision resistance if
            randomized hashing is used for message<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN">   compression.”<o:p></o:p></span></p>
        <p class="MsoNormal">and<o:p></o:p></p>
        <p class="MsoNormal">“In contrast, common signature schemes like<o:p></o:p></p>
        <p class="MsoNormal">   RSA, DSA, and ECDSA additionally rely on
          the conjectured hardness of<o:p></o:p></p>
        <p class="MsoNormal">   certain mathematical problems.”<o:p></o:p></p>
        <p class="MsoNormal">This text is open to minor
          misunderstanding. It seems to imply all forms of XMSS security
          rely on fewer assumptions than any of RSA, DSA and ECDSA do. 
          I think this implication would be wrong.  <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">(Skip the next 2 paragraphs of arguments,
          for a suggested fix of the text.)<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">For example, first consider key-only
          (=no-message) universal (=selective) forgery, and full-domain
          hash RSA.  The forger F is given a message M to forge and RSA
          public key (N,e).  The forger must compute H(M)^(1/e) mod N. 
          As long as H(M) is not overly likely to be an e^th power, then
          there is no forgery attack that I know of, other than breaking
          RSA.  Reduced to absurdity, put H(M)=2 for all M, so H is a
          constant.  It seems hard to launch a key-only universal
          forgery.  I believe that XMSS key-only universal forgery might
          be possible such an absurd hash, since every message would end
          up the same signature, etc.  Of course, the limitation to a
          key-only forger is quite arbitrary, and kind of like of
          considering the security of 0-time signature (1 signature and
          all bets are off).  <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">So, instead, consider non-chosen-message,
          universal forgery.  But there are moderately realistic
          applications in which the signer have strict control of the
          messages they sign, not giving the adversary any say in the
          message.  A 2<sup>nd</sup> preimage-finder against the hash
          certainly helps to get an existential forgery [a well-known
          attack], but a 2<sup>nd</sup> preimage finder does not seem to
          help (very much) in achieving a universal forgery (as long as
          say the hash function is not too lossy, etc.) against this
          signer.  So, it seems like non-chosen-message, universal
          forgery of RSA-FDH (and I think ECDSA, too), can be resisted
          even with considerable weakness in the hash.  I don’t have a
          proof, but the best attack of this type of forgery would be
          solving the RSA problem - as far as I know (60% sure).  (Proof
          sketch: such a forger could be used to invalidate the random
          oracle model security proof for RSA-FDH – only 0.001% sure of
          this.) To reduce things to absurdity (and perhaps clarity),
          put H(M)=M mod n.  To review: 2<sup>nd</sup> preimage finding
          against H is easy, and existential forgery against RSA-FDH is
          easy too (e.g. if the signer signs M, the forger forges
          M’=M+fN), but universal forgery (the message M’ that the
          forger has to forge is given to the forger as an input) seems
          hard if the attacker cannot choose the messages that the
          signer signs.  By contrast, I think (80% sure)  that XMSS
          would resist not this type of forgery with a similarly absurd
          hash (e.g. H(M) = M mod 2^256).  In other words, for this type
          of security (UF-NCMA), XMSS relies on additional properties of
          the hash that RSA is not known to rely upon.  Given the
          realism of this threat model, I think resisting it more
          strongly has some merit.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Okay, my points may arguably be too
          pedantic, verbose, incoherent, theoretical, academic, absurd,
          simplistic, and even petty (or worse wrong), so to be more
          constructive, I would suggest a correction to the draft like
          this:<o:p></o:p></p>
        <p class="MsoNormal">“In contrast, common signature schemes like<o:p></o:p></p>
        <p class="MsoNormal">   RSA, DSA, and ECDSA additionally rely on
          the conjectured hardness of<o:p></o:p></p>
        <p class="MsoNormal">   certain mathematical problems to resist
          some types of forgery, such as existential forgery or
          chosen-message forgery.”<o:p></o:p></p>
        <p class="MsoNormal">  <o:p></o:p></p>
        <p class="MsoNormal">Best regards,<o:p></o:p></p>
        <p class="MsoNormal">​​​​​<o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:9.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">Dan
            Brown<br>
            Office: +1 (289) 261-4157<br>
            <br>
          </span><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter" />
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0" />
<v:f eqn="sum @0 1 0" />
<v:f eqn="sum 0 0 @1" />
<v:f eqn="prod @2 1 2" />
<v:f eqn="prod @3 21600 pixelWidth" />
<v:f eqn="prod @3 21600 pixelHeight" />
<v:f eqn="sum @0 0 1" />
<v:f eqn="prod @6 1 2" />
<v:f eqn="prod @7 21600 pixelWidth" />
<v:f eqn="sum @8 21600 0" />
<v:f eqn="prod @7 21600 pixelHeight" />
<v:f eqn="sum @10 21600 0" />
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" />
<o:lock v:ext="edit" aspectratio="t" />
</v:shapetype><v:shape id="s_image" o:spid="_x0000_s1026" type="#_x0000_t75" alt="BlackBerry" href="http://www.blackberry.com/" style='width:24pt;height:24pt;visibility:visible;mso-left-percent:-10001;mso-top-percent:-10001;mso-position-horizontal:absolute;mso-position-horizontal-relative:char;mso-position-vertical:absolute;mso-position-vertical-relative:line;mso-left-percent:-10001;mso-top-percent:-10001' o:button="t">
<v:fill o:detectmouseclick="t" />
<w:wrap type="none"/>
<w:anchorlock/>
</v:shape><![endif]--><!--[if !vml]--><span style="mso-ignore:vglayout"><a
              href="http://www.blackberry.com/" moz-do-not-send="true"><img
                style="width:.3333in;height:.3333in"
                src="cid:part2.F63F7CC0.44CA8FF7@huelsing.net"
                alt="BlackBerry" title="" v:shapes="s_image" class=""
                height="32" width="32" border="0"></a></span><!--[endif]--><span
style="font-size:9.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </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>
    <br>
  </body>
</html>

--------------0A7703D8FAC543F7B889A53E
Content-Type: image/png;
 name="image002.png"
Content-Transfer-Encoding: base64
Content-ID: <part2.F63F7CC0.44CA8FF7@huelsing.net>
Content-Disposition: inline;
 filename="image002.png"

iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAAXNSR0ICQMB9xQAAAANQTFRF
AAAAp3o92gAAAAF0Uk5TAEDm2GYAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAZdEVYdFNvZnR3
YXJlAE1pY3Jvc29mdCBPZmZpY2V/7TVxAAAAEklEQVQ4y2NgGAWjYBSMAuwAAAQgAAFWu83m
AAAAAElFTkSuQmCC
--------------0A7703D8FAC543F7B889A53E--

--------------D664ADF4A910628BDC8F96CC--


From nobody Fri Apr 27 08:23:44 2018
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 A52EF1252BA for <cfrg@ietfa.amsl.com>; Fri, 27 Apr 2018 08:23:43 -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, HTML_MESSAGE=0.001, 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 v2lo5zyTikHb for <cfrg@ietfa.amsl.com>; Fri, 27 Apr 2018 08:23:41 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) (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 52A2B120047 for <cfrg@irtf.org>; Fri, 27 Apr 2018 08:23:40 -0700 (PDT)
X-Spoof: 
Received: from smtp-pop.rim.net (HELO XCT103CNC.rim.net) ([10.65.161.203]) by mhs211cnc.rim.net with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Apr 2018 11:23:39 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT103CNC.rim.net ([fe80::b8:d5e:26a5:f4d6%17]) with mapi id 14.03.0319.002; Fri, 27 Apr 2018 11:23:39 -0400
From: Dan Brown <danibrown@blackberry.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: XMSS and https://ia.cr/2017/938
Thread-Index: AdPeOm7Em2T/GsohTn6sfQYbuRQZhA==
Date: Fri, 27 Apr 2018 15:23:39 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF501C5B39E@XMB116CNC.rim.net>
Accept-Language: en-US, en-CA
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.252]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_002E_01D3DE1A.2FC9D9F0"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/8ydEgfYLrnO8YIBcPYi9bKOuoT0>
Subject: [Cfrg] XMSS and https://ia.cr/2017/938
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 27 Apr 2018 15:23:44 -0000

------=_NextPart_000_002E_01D3DE1A.2FC9D9F0
Content-Type: multipart/related;
	boundary="----=_NextPart_001_002F_01D3DE1A.2FC9D9F0"


------=_NextPart_001_002F_01D3DE1A.2FC9D9F0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_002_0030_01D3DE1A.2FC9D9F0"


------=_NextPart_002_0030_01D3DE1A.2FC9D9F0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Hi XMSS team,

=20

Lafrance and Menezes https://ia.cr/2017/938 describe a flaw in a =
security analysis and correction to the security estimates for WOTS-PRF =
and to XMSS.  I am rather new to this area, so I naively ask:

=20

Are the Lafrance=E2=80=94Menezes results applicable to (and addressed =
by) the current draft of XMSS?

=20

Best regards,

=E2=80=8B=E2=80=8B=E2=80=8B=E2=80=8B=E2=80=8B

Dan Brown
Standards Manager
Office: +1 (289) 261-4157
Mobile: +1 (416) 276-1736
danibrown@blackberry.com


 <http://www.blackberry.com/>=20

=20


------=_NextPart_002_0030_01D3DE1A.2FC9D9F0
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta =
name=3DGenerator content=3D"Microsoft Word 15 (filtered medium)"><!--[if =
!mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1027" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US =
link=3D"#0563C1" vlink=3D"#954F72"><div class=3DWordSection1><p =
class=3DMsoNormal>Hi XMSS team,<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Lafrance and =
Menezes <a href=3D"https://ia.cr/2017/938">https://ia.cr/2017/938</a> =
describe a flaw in a security analysis and correction to the security =
estimates for WOTS-PRF and to XMSS.=C2=A0 I am rather new to this area, =
so I naively ask:<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Are the =
Lafrance=E2=80=94Menezes results applicable to (and addressed by) the =
current draft of XMSS?<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Best =
regards,<o:p></o:p></p><p =
class=3DMsoNormal>=E2=80=8B=E2=80=8B=E2=80=8B=E2=80=8B=E2=80=8B<o:p></o:p=
></p><p class=3DMsoNormal><span =
style=3D'font-size:9.0pt;font-family:"Arial",sans-serif;color:black'>Dan =
Brown<br></span><span =
style=3D'font-size:9.0pt;font-family:"Arial",sans-serif;color:#0073BC'>St=
andards Manager</span><span =
style=3D'font-size:9.0pt;font-family:"Arial",sans-serif;color:black'><br>=
Office: +1 (289) 261-4157<br>Mobile: +1 (416) 276-1736</span><span =
style=3D'font-size:9.0pt;font-family:"Arial",sans-serif;color:#0073BC'><b=
r>danibrown@blackberry.com</span><span =
style=3D'font-size:9.0pt;font-family:"Arial",sans-serif;color:black'><o:p=
></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:9.0pt;font-family:"Arial",sans-serif;color:black'><br>=
</span><!--[if gte vml 1]><v:shapetype id=3D"_x0000_t75" =
coordsize=3D"21600,21600" o:spt=3D"75" o:preferrelative=3D"t" =
path=3D"m@4@5l@4@11@9@11@9@5xe" filled=3D"f" stroked=3D"f">
<v:stroke joinstyle=3D"miter" />
<v:formulas>
<v:f eqn=3D"if lineDrawn pixelLineWidth 0" />
<v:f eqn=3D"sum @0 1 0" />
<v:f eqn=3D"sum 0 0 @1" />
<v:f eqn=3D"prod @2 1 2" />
<v:f eqn=3D"prod @3 21600 pixelWidth" />
<v:f eqn=3D"prod @3 21600 pixelHeight" />
<v:f eqn=3D"sum @0 0 1" />
<v:f eqn=3D"prod @6 1 2" />
<v:f eqn=3D"prod @7 21600 pixelWidth" />
<v:f eqn=3D"sum @8 21600 0" />
<v:f eqn=3D"prod @7 21600 pixelHeight" />
<v:f eqn=3D"sum @10 21600 0" />
</v:formulas>
<v:path o:extrusionok=3D"f" gradientshapeok=3D"t" o:connecttype=3D"rect" =
/>
<o:lock v:ext=3D"edit" aspectratio=3D"t" />
</v:shapetype><v:shape id=3D"s_image" o:spid=3D"_x0000_s1026" =
type=3D"#_x0000_t75" alt=3D"BlackBerry" =
href=3D"http://www.blackberry.com/" =
style=3D'width:24pt;height:24pt;visibility:visible;mso-left-percent:-1000=
1;mso-top-percent:-10001;mso-position-horizontal:absolute;mso-position-ho=
rizontal-relative:char;mso-position-vertical:absolute;mso-position-vertic=
al-relative:line;mso-left-percent:-10001;mso-top-percent:-10001' =
o:button=3D"t">
<v:fill o:detectmouseclick=3D"t" />
<w:wrap type=3D"none"/>
<w:anchorlock/>
</v:shape><![endif]--><![if !vml]><span style=3D'mso-ignore:vglayout'><a =
href=3D"http://www.blackberry.com/"><img border=3D0 width=3D32 =
height=3D32 style=3D'width:.3333in;height:.3333in' =
src=3D"cid:image002.png@01D3DE1A.2F759F70" alt=3DBlackBerry title=3D"" =
v:shapes=3D"s_image"></a></span><![endif]><span =
style=3D'font-size:9.0pt;font-family:"Arial",sans-serif;color:black'><o:p=
></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_002_0030_01D3DE1A.2FC9D9F0--

------=_NextPart_001_002F_01D3DE1A.2FC9D9F0
Content-Type: image/png;
	name="image002.png"
Content-Transfer-Encoding: base64
Content-ID: <image002.png@01D3DE1A.2F759F70>

iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAAXNSR0ICQMB9xQAAAANQTFRFAAAA
p3o92gAAAAF0Uk5TAEDm2GYAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAZdEVYdFNvZnR3YXJlAE1p
Y3Jvc29mdCBPZmZpY2V/7TVxAAAAEklEQVQ4y2NgGAWjYBSMAuwAAAQgAAFWu83mAAAAAElFTkSu
QmCC

------=_NextPart_001_002F_01D3DE1A.2FC9D9F0--

------=_NextPart_000_002E_01D3DE1A.2FC9D9F0
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7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37b7hJWVVE048I
gOfRemUiP7yZ5nh0+SQ6+jTVRaWAba8nawivkrv0ja/k1QwzZD9p7nUSvmizKhbCYzGCAiwwggIo
AgEBMGQwVjETMBEGCgmSJomT8ixkARkWA25ldDETMBEGCgmSJomT8ixkARkWA3JpbTEqMCgGA1UE
AxMhQmxhY2tCZXJyeSBDb3Jwb3JhdGUgSXNzdWluZyBDQSAxAgpWcQ2NAAAAAh9xMAkGBSsOAwIa
BQCggZ4wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTgwNDI3MTUy
MzM3WjAjBgkqhkiG9w0BCQQxFgQUt2cktIsAi6q8XbhEAo8fSw8WqwgwPwYJKoZIhvcNAQkPMTIw
MDAHBgUrDgMCGjALBglghkgBZQMEAgMwCwYJYIZIAWUDBAICMAsGCWCGSAFlAwQCATANBgkqhkiG
9w0BAQEFAASCAQAjSSgwAFJM0mpc7/F07zkVjnpObATPsxsrPbVbKvPavSJwuv6fRYh+dbkFtkMj
Jj6o73az4ECNyCc+T0FsSK1/VQzDMczuGrUT8r/tg/t/R397qEVRh2NmnuEwH+6URz+ZnzjTbsbc
Fv1gJzOAvy9EG1Ulwwc1ZeFc1gLh2WLL1YmwXlFDrn1QozhU4JiF13Df12PjPBy5e/lnR5CM8udP
MoqS+VlDU2I4HijdDpuwAZmZP87elr0UHL1zNaEZuNEtpYQWkcpkHHvHeCJzoEGbyiXLjTnzmq/B
+3rbluKEgpe0ZPWvd6cmJeL+AKzqQiyuijavffcb7NzRjv2yaUltAAAAAAAA

------=_NextPart_000_002E_01D3DE1A.2FC9D9F0--


From nobody Fri Apr 27 08:29:22 2018
Return-Path: <philip.lafrance92@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 0A05A1252BA for <cfrg@ietfa.amsl.com>; Fri, 27 Apr 2018 08:29:21 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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 fP-lkMqfsgPc for <cfrg@ietfa.amsl.com>; Fri, 27 Apr 2018 08:29:18 -0700 (PDT)
Received: from mail-it0-x230.google.com (mail-it0-x230.google.com [IPv6:2607:f8b0:4001:c0b::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 ACFB7120047 for <cfrg@irtf.org>; Fri, 27 Apr 2018 08:29:18 -0700 (PDT)
Received: by mail-it0-x230.google.com with SMTP id 186-v6so2296951itu.0 for <cfrg@irtf.org>; Fri, 27 Apr 2018 08:29:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+XMqUGXyyCtZry15vFB7p7W4NCg4rSGEJP2JCap1gGA=; b=DyfLZHDh1mRezfqD3htNNOPwcq5j6VRUIaapkxyNYfaWGJ/xl8C4NJUhZcCs6wk98Z DYIR+Bmhtngs5lNtx9TnUGbHXy9o3ciC/m6aMzXB79lZQBqOAd4Z8QA436Sh0+6y+fnG d7G2TqOqHPsxyj6WNunH0w6qea0UoQvk7rWEHc2HQ7z73A30PIuUEHB8NnMdIxjemIBT 5JSUNYd4ir5rOOfef3Zfyo5MWhDa8fu0NtRGispF9xF/GxNtqc73YcbgdCWzOwG5yw23 uZMN1B2PBFIB2hbKXZsdURv7RSDnULCEPSdmXuXu+kdyZXhvYp1uj/vDmfBxdg9/prpM oqbA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+XMqUGXyyCtZry15vFB7p7W4NCg4rSGEJP2JCap1gGA=; b=OIbaKM9dhxfXWgePhld+W8imfsDUVPGRGPPpVXSg5jCkwZirWBfKU/rwqQjC5HBAY3 t8yUhHDNGPwGmf0mj21P7L7cSZKgcNd+xznKHcS0o04UVW0cBlS0+Jc03DN9FoUbp6Y7 FP9FlVhYhSqyJdIUifYDAqHM6l+BmjRReRIRyLhzKA7xXdAIX5kRoJeJ9R8IPhd+O4AL J7I/pfd6LJi3LekFiTxtXpBySFYyVhmXVoodTWKm40hfUHvQmaf6UCk6MvwGen2FO5zi tOpLEcsy02w7H6XpBJXQ8+Zuk/Q8sRYUHpoNdkkPGu5Tas03FBKJ2ysKVNmDhPYa5XeI yUDw==
X-Gm-Message-State: ALQs6tCp9AsfZQFBdZa/UmlJcxVomTr4m6rmYs7R1YZuiXJHA67juk+P CXYSvh1gPo/P82QZI8A6gx9p+LM3OcAGYAqU+bs=
X-Google-Smtp-Source: AB8JxZo2zYPU1UcUgmOR+U13kYX2AHlZujheve809s/d2ezR3UXmGVJiaqA00eCc9CPke1DHKS6JExdn9BMEoIlGiwU=
X-Received: by 2002:a24:45a4:: with SMTP id c36-v6mr2396894itd.18.1524842957750;  Fri, 27 Apr 2018 08:29:17 -0700 (PDT)
MIME-Version: 1.0
References: <810C31990B57ED40B2062BA10D43FBF501C5B39E@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF501C5B39E@XMB116CNC.rim.net>
From: Philip Lafrance <philip.lafrance92@gmail.com>
Date: Fri, 27 Apr 2018 15:29:07 +0000
Message-ID: <CALwqbuwaTxd9JQBMSOWNj0rK_CU3-=mYq+f1k0t1aNXQ8H7FrA@mail.gmail.com>
To: Dan Brown <danibrown@blackberry.com>
Cc: cfrg@irtf.org
Content-Type: multipart/related; boundary="000000000000d5e46e056ad62ace"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/FFI43-363dgVD2xl6DhWpX6GRpw>
Subject: Re: [Cfrg] XMSS and https://ia.cr/2017/938
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 27 Apr 2018 15:29:21 -0000

--000000000000d5e46e056ad62ace
Content-Type: multipart/alternative; boundary="000000000000d5e46b056ad62acd"

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

Hello Dan,

(I'm not a member of the XMSS team, but felt qualified to answer.)

The answer to your question is not at all. Our paper only discussed the
security of WOTS-PRF and this has no bearing on the security of other
Winternitz constructions. In particular I should say that the WOTS+ scheme
remains secure.

Good question though! And thanks for asking :)

Warm regards,
Philip Lafrance

On Fri, Apr 27, 2018, 11:24 AM Dan Brown, <danibrown@blackberry.com> wrote:

> Hi XMSS team,
>
>
>
> Lafrance and Menezes https://ia.cr/2017/938 describe a flaw in a security
> analysis and correction to the security estimates for WOTS-PRF and to
> XMSS.  I am rather new to this area, so I naively ask:
>
>
>
> Are the Lafrance=E2=80=94Menezes results applicable to (and addressed by)=
 the
> current draft of XMSS?
>
>
>
> Best regards,
>
> =E2=80=8B=E2=80=8B=E2=80=8B=E2=80=8B=E2=80=8B
>
> Dan Brown
> Standards Manager
> Office: +1 (289) 261-4157
> Mobile: +1 (416) 276-1736
> danibrown@blackberry.com
>
>
> [image: BlackBerry] <http://www.blackberry.com/>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg
>

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

<div dir=3D"auto">Hello Dan,<div dir=3D"auto"><br></div><div dir=3D"auto">(=
I&#39;m not a member of the XMSS team, but felt qualified to answer.)</div>=
<div dir=3D"auto"><br></div><div dir=3D"auto">The answer to your question i=
s not at all. Our paper only discussed the security of WOTS-PRF and this ha=
s no bearing on the security of other Winternitz constructions. In particul=
ar I should say that the WOTS+ scheme remains secure.=C2=A0</div><div dir=
=3D"auto"><br></div><div dir=3D"auto">Good question though! And thanks for =
asking :)</div><div dir=3D"auto"><br></div><div dir=3D"auto">Warm regards,=
=C2=A0</div><div dir=3D"auto">Philip Lafrance=C2=A0</div></div><br><div cla=
ss=3D"gmail_quote"><div dir=3D"ltr">On Fri, Apr 27, 2018, 11:24 AM Dan Brow=
n, &lt;<a href=3D"mailto:danibrown@blackberry.com">danibrown@blackberry.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"><div lang=3D"EN-US"=
 link=3D"#0563C1" vlink=3D"#954F72"><div class=3D"m_5817830867024596640Word=
Section1"><p class=3D"MsoNormal">Hi XMSS team,<u></u><u></u></p><p class=3D=
"MsoNormal"><u></u>=C2=A0<u></u></p><p class=3D"MsoNormal">Lafrance and Men=
ezes <a href=3D"https://ia.cr/2017/938" target=3D"_blank" rel=3D"noreferrer=
">https://ia.cr/2017/938</a> describe a flaw in a security analysis and cor=
rection to the security estimates for WOTS-PRF and to XMSS.=C2=A0 I am rath=
er new to this area, so I naively ask:<u></u><u></u></p><p class=3D"MsoNorm=
al"><u></u>=C2=A0<u></u></p><p class=3D"MsoNormal">Are the Lafrance=E2=80=
=94Menezes results applicable to (and addressed by) the current draft of XM=
SS?<u></u><u></u></p><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><p clas=
s=3D"MsoNormal">Best regards,<u></u><u></u></p><p class=3D"MsoNormal">=E2=
=80=8B=E2=80=8B=E2=80=8B=E2=80=8B=E2=80=8B<u></u><u></u></p><p class=3D"Mso=
Normal"><span style=3D"font-size:9.0pt;font-family:&quot;Arial&quot;,sans-s=
erif;color:black">Dan Brown<br></span><span style=3D"font-size:9.0pt;font-f=
amily:&quot;Arial&quot;,sans-serif;color:#0073bc">Standards Manager</span><=
span style=3D"font-size:9.0pt;font-family:&quot;Arial&quot;,sans-serif;colo=
r:black"><br>Office: +1 (289) 261-4157<br>Mobile: +1 (416) 276-1736</span><=
span style=3D"font-size:9.0pt;font-family:&quot;Arial&quot;,sans-serif;colo=
r:#0073bc"><br><a href=3D"mailto:danibrown@blackberry.com" target=3D"_blank=
" rel=3D"noreferrer">danibrown@blackberry.com</a></span><span style=3D"font=
-size:9.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><u></u><u=
></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:9.0pt;font-=
family:&quot;Arial&quot;,sans-serif;color:black"><br></span><u></u><span><a=
 href=3D"http://www.blackberry.com/" target=3D"_blank" rel=3D"noreferrer"><=
img border=3D"0" width=3D"32" height=3D"32" style=3D"width:.3333in;height:.=
3333in" src=3D"cid:image002.png@01D3DE1A.2F759F70" alt=3D"BlackBerry" title=
=3D""></a></span><u></u><span style=3D"font-size:9.0pt;font-family:&quot;Ar=
ial&quot;,sans-serif;color:black"><u></u><u></u></span></p><p class=3D"MsoN=
ormal"><u></u>=C2=A0<u></u></p></div></div>________________________________=
_______________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank" rel=3D"noreferrer">Cfrg@=
irtf.org</a><br>
<a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferrer no=
referrer" target=3D"_blank">https://www.irtf.org/mailman/listinfo/cfrg</a><=
br>
</blockquote></div>

--000000000000d5e46b056ad62acd--

--000000000000d5e46e056ad62ace
Content-Type: image/png; name="image002.png"
Content-Disposition: inline; filename="image002.png"
Content-Transfer-Encoding: base64
Content-ID: <>
X-Attachment-Id: 

iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAAXNSR0ICQMB9xQAAAANQTFRFAAAA
p3o92gAAAAF0Uk5TAEDm2GYAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAZdEVYdFNvZnR3YXJlAE1p
Y3Jvc29mdCBPZmZpY2V/7TVxAAAAEklEQVQ4y2NgGAWjYBSMAuwAAAQgAAFWu83mAAAAAElFTkSu
QmCC
--000000000000d5e46e056ad62ace--


From nobody Fri Apr 27 08:43:41 2018
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 85239126C3D for <cfrg@ietfa.amsl.com>; Fri, 27 Apr 2018 08:43:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.59
X-Spam-Level: 
X-Spam-Status: No, score=-2.59 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_REMOTE_IMAGE=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 8_ZX5FCfCjZu for <cfrg@ietfa.amsl.com>; Fri, 27 Apr 2018 08:43:36 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) (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 7DD131252BA for <cfrg@irtf.org>; Fri, 27 Apr 2018 08:43:35 -0700 (PDT)
X-Spoof: 
Received: from xct103cnc.rim.net ([10.65.161.203]) by mhs211cnc.rim.net with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Apr 2018 11:43:35 -0400
Received: from XCT115CNC.rim.net (10.65.161.215) by XCT103CNC.rim.net (10.65.161.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 27 Apr 2018 11:43:34 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT115CNC.rim.net ([::1]) with mapi id 14.03.0319.002; Fri, 27 Apr 2018 11:43:34 -0400
From: Dan Brown <danibrown@blackberry.com>
To: Philip Lafrance <philip.lafrance92@gmail.com>
CC: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] XMSS and https://ia.cr/2017/938
Thread-Index: AdPeOm7Em2T/GsohTn6sfQYbuRQZhAAI5N+AAAggetA=
Date: Fri, 27 Apr 2018 15:43:33 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF501C5B3EB@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF501C5B39E@XMB116CNC.rim.net> <CALwqbuwaTxd9JQBMSOWNj0rK_CU3-=mYq+f1k0t1aNXQ8H7FrA@mail.gmail.com>
In-Reply-To: <CALwqbuwaTxd9JQBMSOWNj0rK_CU3-=mYq+f1k0t1aNXQ8H7FrA@mail.gmail.com>
Accept-Language: en-US, en-CA
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.252]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_004A_01D3DE1C.F7ED2200"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/Ukf8NUeQRkGjsH9po-AmADnPemc>
Subject: Re: [Cfrg] XMSS and https://ia.cr/2017/938
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 27 Apr 2018 15:43:40 -0000

------=_NextPart_000_004A_01D3DE1C.F7ED2200
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_004B_01D3DE1C.F7ED2200"


------=_NextPart_001_004B_01D3DE1C.F7ED2200
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Hi Philip,

Thanks =E2=80=A6

You=E2=80=99re too kind about my question being good: I see now that the =
concluding remarks of your paper already said that the XMSS Internet =
draft was not affected. Earlier parts of your talked about XMSS when =
instantiated with WOTS-PRF =E2=80=93 I had focused on these without =
catching the ID version of XMSS does not use WOTS-PRF =E2=80=A6 =20

It was my mistake to miss both details =E2=80=93 so the question was not =
so good after all.

Still, I wonder if a reference to your paper in the Internet Draft would =
be helpful, to at least that it repeat that it does not apply.

Dan

=20

From: Philip Lafrance [mailto:philip.lafrance92@gmail.com]=20
Sent: Friday, April 27, 2018 11:29 AM
To: Dan Brown <danibrown@blackberry.com>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] XMSS and https://ia.cr/2017/938

=20

Hello Dan,

=20

(I'm not a member of the XMSS team, but felt qualified to answer.)

=20

The answer to your question is not at all. Our paper only discussed the =
security of WOTS-PRF and this has no bearing on the security of other =
Winternitz constructions. In particular I should say that the WOTS+ =
scheme remains secure.=20

=20

Good question though! And thanks for asking :)

=20

Warm regards,=20

Philip Lafrance=20

=20

On Fri, Apr 27, 2018, 11:24 AM Dan Brown, <danibrown@blackberry.com =
<mailto:danibrown@blackberry.com> > wrote:

Hi XMSS team,

=20

Lafrance and Menezes https://ia.cr/2017/938 describe a flaw in a =
security analysis and correction to the security estimates for WOTS-PRF =
and to XMSS.  I am rather new to this area, so I naively ask:

=20

Are the Lafrance=E2=80=94Menezes results applicable to (and addressed =
by) the current draft of XMSS?

=20

Best regards,

=E2=80=8B=E2=80=8B=E2=80=8B=E2=80=8B=E2=80=8B

Dan Brown
Standards Manager
Office: +1 (289) 261-4157
Mobile: +1 (416) 276-1736
danibrown@blackberry.com <mailto:danibrown@blackberry.com>=20


 <http://www.blackberry.com/>=20

=20

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org <mailto:Cfrg@irtf.org>=20
https://www.irtf.org/mailman/listinfo/cfrg


------=_NextPart_001_004B_01D3DE1C.F7ED2200
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta =
name=3DGenerator content=3D"Microsoft Word 15 (filtered medium)"><!--[if =
!mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
	{mso-style-name:msonormal;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>Hi =
Philip,<o:p></o:p></p><p class=3DMsoNormal>Thanks =
=E2=80=A6<o:p></o:p></p><p class=3DMsoNormal>You=E2=80=99re too kind =
about my question being good: I see now that the concluding remarks of =
your paper already said that the XMSS Internet draft was not affected. =
Earlier parts of your talked about XMSS when instantiated with WOTS-PRF =
=E2=80=93 I had focused on these without catching the ID version of XMSS =
does not use WOTS-PRF =E2=80=A6=C2=A0 <o:p></o:p></p><p =
class=3DMsoNormal>It was my mistake to miss both details =E2=80=93 so =
the question was not so good after all.<o:p></o:p></p><p =
class=3DMsoNormal>Still, I wonder if a reference to your paper in the =
Internet Draft would be helpful, to at least that it repeat that it does =
not apply.<o:p></o:p></p><p class=3DMsoNormal>Dan<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><b>From:</b> =
Philip Lafrance [mailto:philip.lafrance92@gmail.com] <br><b>Sent:</b> =
Friday, April 27, 2018 11:29 AM<br><b>To:</b> Dan Brown =
&lt;danibrown@blackberry.com&gt;<br><b>Cc:</b> =
cfrg@irtf.org<br><b>Subject:</b> Re: [Cfrg] XMSS and =
https://ia.cr/2017/938<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p class=3DMsoNormal>Hello =
Dan,<o:p></o:p></p><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>(I'm not a member of the XMSS team, but felt qualified =
to answer.)<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>The answer to your question is not at all. Our paper =
only discussed the security of WOTS-PRF and this has no bearing on the =
security of other Winternitz constructions. In particular I should say =
that the WOTS+ scheme remains secure.&nbsp;<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>Good question though! And thanks for asking =
:)<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>Warm regards,&nbsp;<o:p></o:p></p></div><div><p =
class=3DMsoNormal>Philip Lafrance&nbsp;<o:p></o:p></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=3DMsoNormal>On =
Fri, Apr 27, 2018, 11:24 AM Dan Brown, &lt;<a =
href=3D"mailto:danibrown@blackberry.com">danibrown@blackberry.com</a>&gt;=
 wrote:<o:p></o:p></p></div><blockquote =
style=3D'border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in =
6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hi XMSS =
team,<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Lafrance =
and Menezes <a href=3D"https://ia.cr/2017/938" =
target=3D"_blank">https://ia.cr/2017/938</a> describe a flaw in a =
security analysis and correction to the security estimates for WOTS-PRF =
and to XMSS.&nbsp; I am rather new to this area, so I naively =
ask:<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Are the =
Lafrance=E2=80=94Menezes results applicable to (and addressed by) the =
current draft of XMSS?<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Best =
regards,<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>=E2=80=8B=E2=
=80=8B=E2=80=8B=E2=80=8B=E2=80=8B<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:9.0pt;font-family:"Arial",sans-serif;color:black'>Dan =
Brown<br></span><span =
style=3D'font-size:9.0pt;font-family:"Arial",sans-serif;color:#0073BC'>St=
andards Manager</span><span =
style=3D'font-size:9.0pt;font-family:"Arial",sans-serif;color:black'><br>=
Office: +1 (289) 261-4157<br>Mobile: +1 (416) 276-1736</span><span =
style=3D'font-size:9.0pt;font-family:"Arial",sans-serif;color:#0073BC'><b=
r><a href=3D"mailto:danibrown@blackberry.com" =
target=3D"_blank">danibrown@blackberry.com</a></span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:9.0pt;font-family:"Arial",sans-serif;color:black'><br>=
</span><a href=3D"http://www.blackberry.com/" target=3D"_blank"><span =
style=3D'text-decoration:none'><img border=3D0 width=3D32 height=3D32 =
style=3D'width:.3333in;height:.3333in' id=3D"_x0000_i1025" =
src=3D"cid:image002.png@01D3DE1A.2F759F70" =
alt=3DBlackBerry></span></a><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div></div><p =
class=3DMsoNormal>_______________________________________________<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" =
target=3D"_blank">https://www.irtf.org/mailman/listinfo/cfrg</a><o:p></o:=
p></p></blockquote></div></div></body></html>
------=_NextPart_001_004B_01D3DE1C.F7ED2200--

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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIh1TCCBckw
ggOxoAMCAQICBQD2V+DAMA0GCSqGSIb3DQEBDQUAMHwxCzAJBgNVBAYTAkNBMRswGQYDVQQKDBJC
bGFja0JlcnJ5IExpbWl0ZWQxIjAgBgNVBAsMGUJsYWNrQmVycnkgRW50ZXJwcmlzZSBQS0kxLDAq
BgNVBAMMI0JsYWNrQmVycnkgRW50ZXJwcmlzZSBSU0EgUm9vdCBDQSAxMB4XDTEzMTIxMzE3NDU0
N1oXDTM4MTIxMzE3NDU0N1owfDELMAkGA1UEBhMCQ0ExGzAZBgNVBAoMEkJsYWNrQmVycnkgTGlt
aXRlZDEiMCAGA1UECwwZ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jALBglghkgBZQMEAgMwCwYJYIZIAWUDBAICMAsGCWCGSAFlAwQCATANBgkqhkiG
9w0BAQEFAASCAQAdmnb2hPVoNw+rQTrTlIIiPx4tWcLHx/atW2ZzHZ0+3BeLfMviySECgNfNz4nj
TW5x2vdZwFjqV22pVFINb7zakmuu2opJX9TxGKy3expEoVz6KelMXKzDIMlKL3g4atQZ+Xopm+va
G4bLswrZTIPj3oS77X7LCdmm21P0mGeJVJsGBU4PlifAYDABe5kCI+DSN2srA9xOHVL3iCLQNC9t
6SP9nhMVC84jM7I+CJBaTAwP7rQvG1k/BENBDAemEtyRa4OUdLtHsi/Q+LCRNdsLavDpbHVAD96o
u7VrhDt35NG4Y/pAp4xJHFsppZOoEFfAEM7moL3W1EIpNGW9Am0WAAAAAAAA

------=_NextPart_000_004A_01D3DE1C.F7ED2200--


From nobody Fri Apr 27 13:06:45 2018
Return-Path: <ietf@huelsing.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 7A8AD127873 for <cfrg@ietfa.amsl.com>; Fri, 27 Apr 2018 13:06:44 -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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_REMOTE_IMAGE=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 MB0-Skd26zFG for <cfrg@ietfa.amsl.com>; Fri, 27 Apr 2018 13:06:41 -0700 (PDT)
Received: from www363.your-server.de (www363.your-server.de [78.46.179.9]) (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 367DD12785F for <cfrg@irtf.org>; Fri, 27 Apr 2018 13:06:40 -0700 (PDT)
Received: from [78.46.172.3] (helo=sslproxy06.your-server.de) by www363.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from <ietf@huelsing.net>) id 1fC9de-00081H-Jf for cfrg@irtf.org; Fri, 27 Apr 2018 22:06:38 +0200
Received: from [77.173.230.115] (helo=[192.168.2.7]) by sslproxy06.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from <ietf@huelsing.net>) id 1fC9db-000Ixf-En for cfrg@irtf.org; Fri, 27 Apr 2018 22:06:35 +0200
To: cfrg@irtf.org
References: <810C31990B57ED40B2062BA10D43FBF501C5B39E@XMB116CNC.rim.net> <CALwqbuwaTxd9JQBMSOWNj0rK_CU3-=mYq+f1k0t1aNXQ8H7FrA@mail.gmail.com> <810C31990B57ED40B2062BA10D43FBF501C5B3EB@XMB116CNC.rim.net>
From: "A. Huelsing" <ietf@huelsing.net>
Message-ID: <b53be467-e5ce-86bb-c22a-74ffdb0896d5@huelsing.net>
Date: Fri, 27 Apr 2018 22:06:31 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF501C5B3EB@XMB116CNC.rim.net>
Content-Type: multipart/alternative; boundary="------------8222A95F825D214204FAFD63"
Content-Language: en-GB
X-Authenticated-Sender: ietf@huelsing.net
X-Virus-Scanned: Clear (ClamAV 0.99.3/24518/Fri Apr 27 14:29:17 2018)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/NnjxWqGKQjLJ7NMRQUYWCdHMMrw>
Subject: Re: [Cfrg] XMSS and https://ia.cr/2017/938
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 27 Apr 2018 20:06:44 -0000

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

Dear Dan,

thanks that you found the time to eventually look at our draft that was
discussed on list several times. It is currently at the RFC editor and we are
sorry but we will not touch it anymore to add references, that time has past.

Thanks,

Andreas

Am 27-04-18 um 17:43 schrieb Dan Brown:
>
> Hi Philip,
>
> Thanks …
>
> You’re too kind about my question being good: I see now that the concluding
> remarks of your paper already said that the XMSS Internet draft was not
> affected. Earlier parts of your talked about XMSS when instantiated with
> WOTS-PRF – I had focused on these without catching the ID version of XMSS does
> not use WOTS-PRF … 
>
> It was my mistake to miss both details – so the question was not so good after
> all.
>
> Still, I wonder if a reference to your paper in the Internet Draft would be
> helpful, to at least that it repeat that it does not apply.
>
> Dan
>
>  
>
> *From:* Philip Lafrance [mailto:philip.lafrance92@gmail.com]
> *Sent:* Friday, April 27, 2018 11:29 AM
> *To:* Dan Brown <danibrown@blackberry.com>
> *Cc:* cfrg@irtf.org
> *Subject:* Re: [Cfrg] XMSS and https://ia.cr/2017/938
>
>  
>
> Hello Dan,
>
>  
>
> (I'm not a member of the XMSS team, but felt qualified to answer.)
>
>  
>
> The answer to your question is not at all. Our paper only discussed the
> security of WOTS-PRF and this has no bearing on the security of other
> Winternitz constructions. In particular I should say that the WOTS+ scheme
> remains secure. 
>
>  
>
> Good question though! And thanks for asking :)
>
>  
>
> Warm regards, 
>
> Philip Lafrance 
>
>  
>
> On Fri, Apr 27, 2018, 11:24 AM Dan Brown, <danibrown@blackberry.com
> <mailto:danibrown@blackberry.com>> wrote:
>
>     Hi XMSS team,
>
>      
>
>     Lafrance and Menezes https://ia.cr/2017/938 describe a flaw in a security
>     analysis and correction to the security estimates for WOTS-PRF and to
>     XMSS.  I am rather new to this area, so I naively ask:
>
>      
>
>     Are the Lafrance—Menezes results applicable to (and addressed by) the
>     current draft of XMSS?
>
>      
>
>     Best regards,
>
>     ​​​​​
>
>     Dan Brown
>     Standards Manager
>     Office: +1 (289) 261-4157
>     Mobile: +1 (416) 276-1736
>     danibrown@blackberry.com <mailto:danibrown@blackberry.com>
>
>
>     BlackBerry <http://www.blackberry.com/>
>
>      
>
>     _______________________________________________
>     Cfrg mailing list
>     Cfrg@irtf.org <mailto:Cfrg@irtf.org>
>     https://www.irtf.org/mailman/listinfo/cfrg
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


--------------8222A95F825D214204FAFD63
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Dear Dan,<br>
    <br>
    thanks that you found the time to eventually look at our draft that
    was discussed on list several times. It is currently at the RFC
    editor and we are sorry but we will not touch it anymore to add
    references, that time has past. <br>
    <br>
    Thanks,<br>
    <br>
    Andreas <br>
    <br>
    <div class="moz-cite-prefix">Am 27-04-18 um 17:43 schrieb Dan Brown:<br>
    </div>
    <blockquote type="cite"
      cite="mid:810C31990B57ED40B2062BA10D43FBF501C5B3EB@XMB116CNC.rim.net">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
..shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
	{mso-style-name:msonormal;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
..MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hi Philip,<o:p></o:p></p>
        <p class="MsoNormal">Thanks …<o:p></o:p></p>
        <p class="MsoNormal">You’re too kind about my question being
          good: I see now that the concluding remarks of your paper
          already said that the XMSS Internet draft was not affected.
          Earlier parts of your talked about XMSS when instantiated with
          WOTS-PRF – I had focused on these without catching the ID
          version of XMSS does not use WOTS-PRF …  <o:p></o:p></p>
        <p class="MsoNormal">It was my mistake to miss both details – so
          the question was not so good after all.<o:p></o:p></p>
        <p class="MsoNormal">Still, I wonder if a reference to your
          paper in the Internet Draft would be helpful, to at least that
          it repeat that it does not apply.<o:p></o:p></p>
        <p class="MsoNormal">Dan<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><b>From:</b> Philip Lafrance
          [<a class="moz-txt-link-freetext" href="mailto:philip.lafrance92@gmail.com">mailto:philip.lafrance92@gmail.com</a>] <br>
          <b>Sent:</b> Friday, April 27, 2018 11:29 AM<br>
          <b>To:</b> Dan Brown <a class="moz-txt-link-rfc2396E" href="mailto:danibrown@blackberry.com">&lt;danibrown@blackberry.com&gt;</a><br>
          <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:cfrg@irtf.org">cfrg@irtf.org</a><br>
          <b>Subject:</b> Re: [Cfrg] XMSS and <a class="moz-txt-link-freetext" href="https://ia.cr/2017/938">https://ia.cr/2017/938</a><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal">Hello Dan,<o:p></o:p></p>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal">(I'm not a member of the XMSS team, but
              felt qualified to answer.)<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal">The answer to your question is not at
              all. Our paper only discussed the security of WOTS-PRF and
              this has no bearing on the security of other Winternitz
              constructions. In particular I should say that the WOTS+
              scheme remains secure. <o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal">Good question though! And thanks for
              asking :)<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal">Warm regards, <o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal">Philip Lafrance <o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div>
            <p class="MsoNormal">On Fri, Apr 27, 2018, 11:24 AM Dan
              Brown, &lt;<a href="mailto:danibrown@blackberry.com"
                moz-do-not-send="true">danibrown@blackberry.com</a>&gt;
              wrote:<o:p></o:p></p>
          </div>
          <blockquote style="border:none;border-left:solid #CCCCCC
            1.0pt;padding:0in 0in 0in
            6.0pt;margin-left:4.8pt;margin-right:0in">
            <div>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi
                  XMSS team,<o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Lafrance
                  and Menezes <a href="https://ia.cr/2017/938"
                    target="_blank" moz-do-not-send="true">https://ia.cr/2017/938</a>
                  describe a flaw in a security analysis and correction
                  to the security estimates for WOTS-PRF and to XMSS.  I
                  am rather new to this area, so I naively ask:<o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Are
                  the Lafrance—Menezes results applicable to (and
                  addressed by) the current draft of XMSS?<o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Best
                  regards,<o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">​​​​​<o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:9.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">Dan
                    Brown<br>
                  </span><span
style="font-size:9.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#0073BC">Standards
                    Manager</span><span
style="font-size:9.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><br>
                    Office: +1 (289) 261-4157<br>
                    Mobile: +1 (416) 276-1736</span><span
style="font-size:9.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#0073BC"><br>
                    <a href="mailto:danibrown@blackberry.com"
                      target="_blank" moz-do-not-send="true">danibrown@blackberry.com</a></span><o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:9.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><br>
                  </span><a href="http://www.blackberry.com/"
                    target="_blank" moz-do-not-send="true"><span
                      style="text-decoration:none"><img
                        style="width:.3333in;height:.3333in"
                        id="_x0000_i1025"
                        src="cid:image002.png@01D3DE1A.2F759F70"
                        alt="BlackBerry" moz-do-not-send="true"
                        height="32" width="32" border="0"></span></a><o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
              </div>
            </div>
            <p class="MsoNormal">_______________________________________________<br>
              Cfrg mailing list<br>
              <a href="mailto:Cfrg@irtf.org" target="_blank"
                moz-do-not-send="true">Cfrg@irtf.org</a><br>
              <a href="https://www.irtf.org/mailman/listinfo/cfrg"
                target="_blank" moz-do-not-send="true">https://www.irtf.org/mailman/listinfo/cfrg</a><o:p></o:p></p>
          </blockquote>
        </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>
    <br>
  </body>
</html>

--------------8222A95F825D214204FAFD63--


From nobody Sat Apr 28 09:46:09 2018
Return-Path: <scott@paragonie.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 32B5F126D0C for <cfrg@ietfa.amsl.com>; Thu, 19 Apr 2018 19:33:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 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_DKIMWL_WL_MED=-0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=paragonie-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 UsjCFNdiIsOy for <cfrg@ietfa.amsl.com>; Thu, 19 Apr 2018 19:33:21 -0700 (PDT)
Received: from mail-ot0-x22f.google.com (mail-ot0-x22f.google.com [IPv6:2607:f8b0:4003:c0f::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 1000212711A for <cfrg@ietf.org>; Thu, 19 Apr 2018 19:33:21 -0700 (PDT)
Received: by mail-ot0-x22f.google.com with SMTP id 77-v6so1971871otd.4 for <cfrg@ietf.org>; Thu, 19 Apr 2018 19:33:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragonie-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bFV0B9Uq1VCWqAD2uyM2y8BCcdZe8tDznWOg3VeYEDM=; b=YGJiqg9U8KBNhW4UkWEuNH170x1CuxQM36segvpfLyhQkzUBkyN5AAHL0qnl36cc3O dY0ugjZLYGII2uk9cm0us+MPC8ObLsY8E4nOUkFFcAdOFY7qVQxlbcQDny0NqP2OGwSj sdt70Z4A8x4cKAtCd/yishae0fjr80FLRBuRTUVs/FYdGV5P/iPiEZpuGsHXtCXo88p2 3WOhfwF2wTgXsbYhSdPolkmnQZMZ+YaWJdsKsD/m1hjN8hfetY/IfBvYYNmjnFsc89lP Lp8/kOQXNCGb2GUJlJQLnDHPqptDqY1/LOL6Po1uQKWso49Taba2s8x07JB2Zj4TajnK I0tQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bFV0B9Uq1VCWqAD2uyM2y8BCcdZe8tDznWOg3VeYEDM=; b=gXMVRcReAS+VxL3FCnM8zOxEjz8FHPSDXy9ZDZ9km6W9iVhYO4tqbTlxDfDnIh4KkG CeLs0Y71FhdlQ1uzzgo6yAaqFc0n09cSRqRP4/zLmqFHVNw8aE9DGGiWvC3hi7/BEv4M RNlLJdKpHpzXlbA/A+X4QbU5now8A2kuxmMBt+DZOAz0VTARLerAQdd3ZSJDFEXoZPde zMCq3j3si4gHVYsgA6F21TBxSXe65SOZHsVO1UdK4auetj2hmniUmt3zJWB1HcfO9m7I WP/kFheIWD+U3Otb0CWeZhpB6la8bbgsvTNG9gs9EUCAFd4tMKvIdPUHx6B8dSPwrtFB uT3g==
X-Gm-Message-State: ALQs6tAVFUxSjgwxBdf7XK6VKO3MAZWQgABagXCF6ehdMdyNwDBXKywC CUdAy151eynLCdr+HzpPeCekvYBqUa6pIFCqjyNSeA==
X-Google-Smtp-Source: AIpwx4+1gNSK3y6Qw9tdXHjyzUP+IOUJmOXiKwTEukHtyp5M/LyJM6qsdBuxqb44PQivOPEvrQCbGPfXOOc0xAdps6w=
X-Received: by 2002:a9d:5e02:: with SMTP id d2-v6mr5888156oti.43.1524191600169;  Thu, 19 Apr 2018 19:33:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a9d:55e9:0:0:0:0:0 with HTTP; Thu, 19 Apr 2018 19:33:19 -0700 (PDT)
In-Reply-To: <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com>
References: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com> <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com>
From: Scott Arciszewski <scott@paragonie.com>
Date: Thu, 19 Apr 2018 22:33:19 -0400
Message-ID: <CAKws9z277JLfv7Pb9wSkJ7zYR8FzoAfiXuFS6Vq0x32-3bWx7Q@mail.gmail.com>
To: Neil Madden <neil.e.madden@gmail.com>
Cc: jose@ietf.org, cfrg@ietf.org
Content-Type: multipart/alternative; boundary="000000000000e5e78a056a3e8289"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/G0yVyfoyJoKsJ6mHwV_Beo6HtB8>
X-Mailman-Approved-At: Sat, 28 Apr 2018 09:46:07 -0700
Subject: Re: [Cfrg] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 20 Apr 2018 02:33:26 -0000

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

Hi Neil,

Firstly, your blog post states that ECDH in JOSE is only defined for NIST
> curves. Actually, RFC 8037 [1] defined X25519/X448 for ECDH in JWE and
> EdDSA for JWS.
>
>
That's great. This was not known to me when I wrote the blog post in March
2017.

I'm curious: Which libraries implement RFC 8037 and eschew the foot-gun
public key cryptography protocols?

If RFC 8037 adoption has reached 100% of libraries and protocols that
implement JOSE standards, and none of them speak RSA-PKCS1v1.5 or
non-deterministic ECDSA with a NIST curve anymore, I'll need to reevaluate
my position on JOSE at the ecosystem level. Otherwise, JOSE's legacy of
being an error-prone cryptographic standard is still rather damning at the
ecosystem level, and the only effective means of fixing that is to replace
the entire standard with something not-broken.

=E2=80=8B
> =E2=80=8B
> - The basic encryption construction [3] appears (to me at least) to be a
> novel design based on three passes over the message: once to generate a
> pseudorandom nonce in an SIV-like construction (but not actually
> authenticating the message), a second time to encrypt, and then a third
> time to authenticate the cipher text. Is this a well-studied design? What
> security goal is it designed to meet?
>
>
The v1 construction is literally CTR+HMAC. It uses HKDF for key splitting
(which is what HKDF was meant for). It uses SHA384 so only one hash
function needs to be implemented. (SHA384 was chosen due to it being the
best of the SHA2 variants available in e.g. PHP 7.0 that's immune to
length-extension attacks.) Furthermore, v1 uses PSS instead of PKCS1v1.5
because PKCS1v1.5 is a terrible idea.

What you're calling an SIV-like construction is just part of the
nonce/HKDF-salt generation scheme for v1. Its purpose is to add a safeguard
in case someone implements it against an insecure RNG such as OpenSSL's
RAND_bytes() (which is not fork-safe and might repeat outputs, which would
be catastrophic for CTR mode). If an implementation eschewed that and just
did /dev/urandom here, it wouldn't affect much since the nonce provided in
the actual token is what's used to decrypt. As long as HMAC-SHA384 is
collision-resistant, it will serve its purpose of avoiding nonce-reuse
conditions and otherwise isn't that important.

AES-CTR then HMAC-SHA2 is a pretty simple and well-studied construction,
although AES-CBC is more common than AES-CTR. We find it simpler to
implement CTR mode safely in real world systems that only give you ECB mode
out of the box, without introducing e.g. padding-related bugs.

=E2=80=8B Why not just use SIV mode?
>
>
Open up the crypto interfaces exposed in any three of the most used
programming languages on the Internet today. You can be biased and pick
your favorites, as long as they power >=3D 1% of the Internet and aren't
something totally obscure. Then tell me which among them offer SIV mode.

Protocol v1 literally only exists for systems that use e.g. OpenSSL and
cannot, for political or technical reasons, use something like NaCl,
libsodium, HaCl, etc.

- PASETO still relies on the message to tell it the type of crypto
> algorithms in use: =E2=80=9Cv1.local=E2=80=9D vs =E2=80=9Cv1.public=E2=80=
=9D vs =E2=80=9Cv2.local=E2=80=9D etc. Isn=E2=80=99t this
> =E2=80=9Calg=E2=80=9D again, but with a more restricted (and higher-level=
) set of
> algorithms? I don=E2=80=99t think this is necessary at all - see below fo=
r an
> alternative. =E2=80=8B
>
>
There is one advantage to what we're doing here (v1.local vs v2.local) over
what JOSE does: Instead of library designers or users being able to
mix-and-match cryptography protocols, they choose their version and purpose
and the rest of the details are decided for them.

No knobs, no levers, no corner cases where someone accidentally deploys
e=3Dd=3D1 RSA [1]. Instead, they get one simple, misuse-resistant standard =
that
solves their needs without any surprises.

=E2=80=8B
> =E2=80=8B
> - There are some odd combinations of security levels defined. For
> instance, v1.local uses untruncated HMAC-SHA384 for authentication (384-b=
it
> tag), while v2.local uses Poly1305 (128-bit tag) - so v2 is actually
> targeting a lower security level for authentication?
>

As said above, this design decision was motivated by having one single hash
function used for all operations. SHA384 was chosen because other
developers might try to badly mimic the design decisions made in PASETO and
I'd rather them choose a hash function that isn't susceptible to
length-extension attacks if they do that.

Truncating the v1 tag hadn't come up before, but it might be worth
considering. The goal is to provide a security level of at least 128 bits
where ever we can. Excess is acceptable as long as it's not killing
performance to do so.

=E2=80=8B
> =E2=80=8B
> - XChaCha20 has not been formally published before. While it seems an
> =E2=80=9Cobvious=E2=80=9D translation of XSalsa20 to ChaCha20, I=E2=80=99=
d prefer that to be
> independently specified (e.g. by CFRG) before being the recommended choic=
e.
> XSalsa20 is already published and well known. =E2=80=8B
>
>
Agreed. =E2=80=8BI=E2=80=8B would be much more comfortable culling XChaCha =
from our draft
and instead referencing an RFC the CFRG approved. Is there any interest in
doing so?

=E2=80=8B
> =E2=80=8B
> - The guidelines in section 3.1 are unclear. For instance, they state tha=
t
> long nonces (> 128 bits) satisfy =E2=80=9Csome degree of nonce-misuse res=
istance=E2=80=9D,
> but they do not - at least not in the sense of misuse-resistant
> authenticated encryption (MRAE). They just make randomly-generated nonces
> less likely to collide. The security goals should be clearly defined here=
.
> =E2=80=8B
>
>
This is an excellent point. I'll work on clarifying the security goals in
the next draft.

=E2=80=8B
> =E2=80=8B
> - The guidelines state that public key encryption should be IND-CCA2, but
> public key encryption is not defined in the spec. It=E2=80=99s not clear =
that
> IND-CCA2 is the right security goal here, vs e.g. public key authenticate=
d
> encryption as in NaCl. =E2=80=8B
>
>
We don't use public-key encryption at all, so you're right that IND-CCA2
isn't an obvious security goal. However, because PKCS1v1.5 padding is used
both for encryption and signatures, and several attacks [2] [3] that can be
combined [4], I felt it was important to outlaw this error-prone
cryptographic mode and anything similar. If that is erroneous, do have a
better definition to suggest in its stead?

---

Rich,

I disagree that AES-CTR + HMAC-SHA2 (encrypt then MAC) is reason enough to
throw anything away.

[1]: http://www.cryptofails.com/post/70059600123/saltstack-rsa-e-d-1
[2]: http://archiv.infsec.ethz.ch/education/fs08/secsem/bleichenbacher98.pd=
f
[3]: https://www.ietf.org/mail-archive/web/openpgp/current/msg00999.html
[4]: https://robotattack.org

Scott Arciszewski
Chief Development Officer
Paragon Initiative Enterprises <https://paragonie.com>

On Thu, Apr 19, 2018 at 6:03 PM, Neil Madden <neil.e.madden@gmail.com>
wrote:

> I agree with some of the criticisms of JOSE here, but I have some concern=
s
> about the proposed replacement.
> =E2=80=8B=E2=80=8B
>
> Firstly, your blog post states that ECDH in JOSE is only defined for NIST
> curves. Actually, RFC 8037 [1] defined X25519/X448 for ECDH in JWE and
> EdDSA for JWS.
>
> Thomas Ptacek also had some good observations about weaknesses of the JOS=
E
> standards [2].
> =E2=80=8B=E2=80=8B
>
> Two questions then occur to me:
> 1. Is JOSE fixable or does it need to be replaced entirely?
> 2. If it needs to be replaced, is PASETO a suitable replacement?
>
> I=E2=80=99ll tackle these in reverse order. I find PASETO interesting, bu=
t also
> find aspects of the design somewhat confusing:
> =E2=80=8B=E2=80=8B
>
> - The basic encryption construction [3] appears (to me at least) to be a
> novel design based on three passes over the message: once to generate a
> pseudorandom nonce in an SIV-like construction (but not actually
> authenticating the message), a second time to encrypt, and then a third
> time to authenticate the cipher text. Is this a well-studied design? What
> security goal is it designed to meet? Why not just use SIV mode?
> =E2=80=8B=E2=80=8B
>
> - PASETO still relies on the message to tell it the type of crypto
> algorithms in use: =E2=80=9Cv1.local=E2=80=9D vs =E2=80=9Cv1.public=E2=80=
=9D vs =E2=80=9Cv2.local=E2=80=9D etc. Isn=E2=80=99t this
> =E2=80=9Calg=E2=80=9D again, but with a more restricted (and higher-level=
) set of
> algorithms? I don=E2=80=99t think this is necessary at all - see below fo=
r an
> alternative.
> =E2=80=8B=E2=80=8B
>
> - There are some odd combinations of security levels defined. For
> instance, v1.local uses untruncated HMAC-SHA384 for authentication (384-b=
it
> tag), while v2.local uses Poly1305 (128-bit tag) - so v2 is actually
> targeting a lower security level for authentication?
> =E2=80=8B=E2=80=8B
>
> - XChaCha20 has not been formally published before. While it seems an
> =E2=80=9Cobvious=E2=80=9D translation of XSalsa20 to ChaCha20, I=E2=80=99=
d prefer that to be
> independently specified (e.g. by CFRG) before being the recommended choic=
e.
> XSalsa20 is already published and well known.
>
> =E2=80=8B=E2=80=8B
> - The guidelines in section 3.1 are unclear. For instance, they state tha=
t
> long nonces (> 128 bits) satisfy =E2=80=9Csome degree of nonce-misuse res=
istance=E2=80=9D,
> but they do not - at least not in the sense of misuse-resistant
> authenticated encryption (MRAE). They just make randomly-generated nonces
> less likely to collide. The security goals should be clearly defined here=
.
> =E2=80=8B=E2=80=8B
>
> - The guidelines state that public key encryption should be IND-CCA2, but
> public key encryption is not defined in the spec. It=E2=80=99s not clear =
that
> IND-CCA2 is the right security goal here, vs e.g. public key authenticate=
d
> encryption as in NaCl.
>
> So while I appreciate the streamlined design compared to JOSE, there are
> enough non-obvious design decisions here that I am reluctant to immediate=
ly
> recommend it as a replacement for JOSE.
>
> But is JOSE fixable instead? I think there is certainly a lot you could d=
o
> to improve it without completely throwing it away and starting again. The
> problem is that old standards never really get thrown away, so we end up
> supporting n+1 standards instead. I think a few basic changes could impro=
ve
> the standards considerably:
>
> 1. Deprecating broken/dubious algorithms (like RSA encryption with PKCS#1
> v1.5 padding) and proposing modern and robust replacements (like RFC 8037
> or my own draft for SIV modes [4]).
> 2. Moving the =E2=80=9Calg=E2=80=9D and =E2=80=9Cenc=E2=80=9D headers out=
 of JWE/JWS and instead into JWK
> so that is the key that determines the algorithm not the message.
> 3. Deprecating all the ways that you can specify a key in a message,
> leaving just =E2=80=9Ckid=E2=80=9D.
>
> I think these changes would go quite a long way to making JOSE more
> robust. It wouldn=E2=80=99t solve everything (and I have more suggestions=
 for
> another time), but it moves in the right direction. Ultimately I would li=
ke
> JWE to gravitate towards authenticated encryption in both symmetric and
> public-key settings, and JWS to concentrate on non-repudiation, but that =
is
> a larger change.
>
> [1] https://tools.ietf.org/html/rfc8037
> [2] https://lobste.rs/s/r4lv76/jwt_is_bad_standard_everyone_
> should_avoid#c_k91fsa
> [3] https://tools.ietf.org/html/draft-paragon-paseto-rfc-00#section-4.3.2
> [4] https://tools.ietf.org/html/draft-madden-jose-siv-mode-02
>
> Regards,
>
> Neil Madden
>
> > On 19 Apr 2018, at 15:13, Scott Arciszewski <scott@paragonie.com> wrote=
:
> >
> > Dear IETF mailing list members,
> >
> > There have been many real-world failures of the JOSE family of Internet
> Standards since they were published in RFCs 7515-7520.
> >
> > - Accepting {"alg":"none"} in many implementations allowed attackers to
> bypass the protections that JWS were supposed to provide.
> > - Substituting RS256 with HS256 and using the RSA public key as an HMAC
> secret key allowed trivial token forgery.
> > - JWE with ECIES fell to invalid curve attacks.
> >
> > I've outlined these criticisms and more in a post titled "No way JOSE!
> Javascript Object Signing and Encryption is a Bad Standard That Everyone
> Should Avoid" [1] last year.
> >
> > In addition to the critical vulnerabilities in the JOSE standards, ther=
e
> are a lot of cryptographic smells to be found, especially in related
> standards. Let me give you a brief, concrete example.
> >
> > Recently, the W3C specification for WebAuthn was circulated on social
> media. Upon closer review, it uses COSE (CBOR Object Signing and
> Encryption-- a JOSE derivative), which requests the registration of two
> classes of public-key signature algorithms [2]:
> >
> > 1. RSA with PCKS1v1.5
> > 2. ECDAA, whose formal definition eschews the use of deterministic
> nonces [3] and thereby fails to provide the protection of e.g. RFC 6979
> >
> > There are a few lessons that I believe we can take away from these fact=
s:
> >
> > 1. User-friendly standards like JOSE are incredibly influential in
> future protocol designs.
> > 2. If the decision to design cryptography protocols and/or decide the
> primitives used is left to library designers and/or users, rather than
> cryptography engineers, they will inevitably choose something dangerous o=
r
> terrifying.
> >
> > There is an elegant solution to this trap we've found ourselves in:
> Design an alternative token standard that avoids all of the design defici=
ts
> that plague the incumbent standard, but is still easy to use for at least
> 90% of the JOSE/COSE use-cases. With that in mind, I'd like to present
> PASETO.
> >
> > The first RFC draft is online [4]. As of this writing, we have 11
> implementations in 10 different programming languages. [5]
> >
> > The biggest change from JWT to PASETO is that, instead of an alg header
> that MUST be understood and processed by implementations in JWT (which
> allows different algorithms to be specified in the attacker-provided toke=
n)
> in PASETO we use versioned protocols.
> >
> > * If you're using v1, you're using AES-CTR+HMAC-SHA384 or RSASSA-PSS
> with MGF1+SHA384, SHA384, and e=3D65537.
> > * If you're using v2, you're using XChaCha20-Poly1305 or Ed25519.
> >
> > Future versions should be defined by cryptography experts.
> >
> > Thank you for your time and please let me know if you have any immediat=
e
> feedback. If you would like to contribute to the next iteration of the RF=
C
> draft, we're handling this on Github [6].
> >
> > Note: I'm sending this to the JOSE and CFRG mailing lists. We don't yet
> have a Working Group for this project. I'm unsure if a separate one shoul=
d
> be formed or if an existing one would like to contribute to the review an=
d
> refinement of this proposed Internet Standard.
> >
> > [1]: https://paragonie.com/blog/2017/03/jwt-json-web-tokens-
> is-bad-standard-that-everyone-should-avoid
> > [2]: https://www.w3.org/TR/2018/CR-webauthn-20180320/#sctn-cose-alg-reg
> > [3]: https://fidoalliance.org/specs/fido-uaf-v1.1-id-
> 20170202/fido-ecdaa-algorithm-v1.1-id-20170202.html#ecdaa-sign
> > [4]: https://datatracker..ietf.org/doc/draft-paragon-paseto-rfc
> > [5]: https://paseto.io
> > [6]: https://github.com/paragonie/paseto/blob/master/docs/RFC/paseto.md
> >
> > Scott Arciszewski
> > Chief Development Officer
> > Paragon Initiative Enterprises=E2=80=8B=E2=80=8B
> >
> > _______________________________________________
> > Cfrg mailing list
> > Cfrg@irtf.org
> > https://www.irtf.org/mailman/listinfo/cfrg
>
>

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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e,monospace">Hi Neil,</div><div class=3D"gmail_default" style=3D"font-famil=
y:monospace,monospace"><br></div><blockquote style=3D"margin:0px 0px 0px 0.=
8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class=3D"gmail=
_quote"><div class=3D"gmail_default" style=3D"font-family:monospace,monospa=
ce;display:inline"><span style=3D"color:rgb(34,34,34);font-family:arial,san=
s-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;fon=
t-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:star=
t;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;b=
ackground-color:rgb(255,255,255);text-decoration-style:initial;text-decorat=
ion-color:initial;float:none;display:inline">Firstly, your blog post states=
 that ECDH in JOSE is only defined for NIST curves. Actually, RFC 8037 [1] =
defined X25519/X448 for ECDH in JWE and EdDSA for JWS.</span></div><br></bl=
ockquote><div class=3D"gmail_default" style=3D"font-family:monospace,monosp=
ace"><br></div><div class=3D"gmail_default" style=3D"font-family:monospace,=
monospace">That&#39;s great. This was not known to me when I wrote the blog=
 post in March 2017.</div><div class=3D"gmail_default" style=3D"font-family=
:monospace,monospace"><br></div><div class=3D"gmail_default" style=3D"font-=
family:monospace,monospace">I&#39;m curious: Which libraries implement RFC =
8037 and eschew the foot-gun public key cryptography protocols?</div><div c=
lass=3D"gmail_default" style=3D"font-family:monospace,monospace"><br></div>=
<div class=3D"gmail_default" style=3D"font-family:monospace,monospace">If R=
FC 8037 adoption has reached 100% of libraries and protocols that implement=
 JOSE standards, and none of them speak RSA-PKCS1v1.5 or non-deterministic =
ECDSA with a NIST curve anymore, I&#39;ll need to reevaluate my position on=
 JOSE at the ecosystem level. Otherwise, JOSE&#39;s legacy of being an erro=
r-prone cryptographic standard is still rather damning at the ecosystem lev=
el, and the only effective means of fixing that is to replace the entire st=
andard with something not-broken.</div><div class=3D"gmail_default" style=
=3D"font-family:monospace,monospace"><br></div><blockquote style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" =
class=3D"gmail_quote"><div class=3D"gmail_default" style=3D"font-family:mon=
ospace,monospace;display:inline">=E2=80=8B

<div class=3D"gmail_default" style=3D"color:rgb(34,34,34);font-size:small;f=
ont-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;fon=
t-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-tr=
ansform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,2=
55,255);text-decoration-style:initial;text-decoration-color:initial;font-fa=
mily:monospace,monospace;display:inline">=E2=80=8B</div><span style=3D"colo=
r:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:nor=
mal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;=
letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;=
white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-=
decoration-style:initial;text-decoration-color:initial;float:none;display:i=
nline">- The basic encryption construction [3] appears (to me at least) to =
be a novel design based on three passes over the message: once to generate =
a pseudorandom nonce in an SIV-like construction (but not actually authenti=
cating the message), a second time to encrypt, and then a third time to aut=
henticate the cipher text. Is this a well-studied design? What security goa=
l is it designed to meet?</span></div><br></blockquote><div class=3D"gmail_=
default" style=3D"font-family:monospace,monospace"><br></div><div class=3D"=
gmail_default" style=3D"font-family:monospace,monospace">The v1 constructio=
n is literally CTR+HMAC. It uses HKDF for key splitting (which is what HKDF=
 was meant for). It uses SHA384 so only one hash function needs to be imple=
mented. (SHA384 was chosen due to it being the best of the SHA2 variants av=
ailable in e.g. PHP 7.0 that&#39;s immune to length-extension attacks.) Fur=
thermore, v1 uses PSS instead of PKCS1v1.5 because PKCS1v1.5 is a terrible =
idea.</div><div class=3D"gmail_default" style=3D"font-family:monospace,mono=
space"><br></div><div class=3D"gmail_default" style=3D"font-family:monospac=
e,monospace">What you&#39;re calling an SIV-like construction is just part =
of the nonce/HKDF-salt generation scheme for v1. Its purpose is to add a sa=
feguard in case someone implements it against an insecure RNG such as OpenS=
SL&#39;s RAND_bytes() (which is not fork-safe and might repeat outputs, whi=
ch would be catastrophic for CTR mode). If an implementation eschewed that =
and just did /dev/urandom here, it wouldn&#39;t affect much since the nonce=
 provided in the actual token is what&#39;s used to decrypt. As long as HMA=
C-SHA384 is collision-resistant, it will serve its purpose of avoiding nonc=
e-reuse conditions and otherwise isn&#39;t that important.</div><div class=
=3D"gmail_default" style=3D"font-family:monospace,monospace"><br></div><div=
 class=3D"gmail_default" style=3D"font-family:monospace,monospace">AES-CTR =
then HMAC-SHA2 is a pretty simple and well-studied construction, although A=
ES-CBC is more common than AES-CTR. We find it simpler to implement CTR mod=
e safely in real world systems that only give you ECB mode out of the box, =
without introducing e.g. padding-related bugs.</div><div class=3D"gmail_def=
ault" style=3D"font-family:monospace,monospace"><br></div><blockquote style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex" class=3D"gmail_quote"><div class=3D"gmail_default" style=3D"font=
-family:monospace,monospace;display:inline">=E2=80=8B

<span style=3D"color:rgb(34,34,34);font-size:small;font-style:normal;font-v=
ariant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spa=
cing:normal;text-align:start;text-indent:0px;text-transform:none;white-spac=
e:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-col=
or:initial;font-family:arial,sans-serif;background-color:rgb(255,255,255);f=
loat:none;display:inline">Why not just use SIV mode?</span></div><br></bloc=
kquote><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra"><div=
 class=3D"gmail_default" style=3D"font-family:monospace,monospace">Open up =
the crypto interfaces exposed in any three of the most used programming lan=
guages on the Internet today. You can be biased and pick your favorites, as=
 long as they power &gt;=3D 1% of the Internet and aren&#39;t something tot=
ally obscure. Then tell me which among them offer SIV mode.</div><div class=
=3D"gmail_default" style=3D"font-family:monospace,monospace"><br></div><div=
 class=3D"gmail_default" style=3D"font-family:monospace,monospace">Protocol=
 v1 literally only exists for systems that use e.g. OpenSSL and cannot, for=
 political or technical reasons, use something like NaCl, libsodium, HaCl, =
etc.</div><div class=3D"gmail_default" style=3D"font-family:monospace,monos=
pace"><br></div><blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex" class=3D"gmail_quote"><div clas=
s=3D"gmail_default" style=3D"font-family:monospace,monospace;display:inline=
"><span style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size=
:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:no=
rmal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px=
;text-transform:none;white-space:normal;word-spacing:0px;background-color:r=
gb(255,255,255);text-decoration-style:initial;text-decoration-color:initial=
;float:none;display:inline">- PASETO still relies on the message to tell it=
 the type of crypto algorithms in use: =E2=80=9Cv1.local=E2=80=9D vs =E2=80=
=9Cv1.public=E2=80=9D vs =E2=80=9Cv2.local=E2=80=9D etc. Isn=E2=80=99t this=
 =E2=80=9Calg=E2=80=9D again, but with a more restricted (and higher-level)=
 set of algorithms? I don=E2=80=99t think this is necessary at all - see be=
low for an alternative.</span>

=E2=80=8B</div><br></blockquote><div class=3D"gmail_default" style=3D"font-=
family:monospace,monospace"><br></div><div class=3D"gmail_default" style=3D=
"font-family:monospace,monospace">There is one advantage to what we&#39;re =
doing here (v1.local vs v2.local) over what JOSE does: Instead of library d=
esigners or users being able to mix-and-match cryptography protocols, they =
choose their version and purpose and the rest of the details are decided fo=
r them.</div><div class=3D"gmail_default" style=3D"font-family:monospace,mo=
nospace"><br></div><div class=3D"gmail_default" style=3D"font-family:monosp=
ace,monospace">No knobs, no levers, no corner cases where someone accidenta=
lly deploys e=3Dd=3D1 RSA [1]. Instead, they get one simple, misuse-resista=
nt standard that solves their needs without any surprises.</div><div class=
=3D"gmail_default" style=3D"font-family:monospace,monospace"><br></div><blo=
ckquote style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204=
,204);padding-left:1ex" class=3D"gmail_quote"><div class=3D"gmail_default" =
style=3D"font-family:monospace,monospace;display:inline">=E2=80=8B<div clas=
s=3D"gmail_default" style=3D"color:rgb(34,34,34);font-size:small;font-style=
:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:=
400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:n=
one;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);t=
ext-decoration-style:initial;text-decoration-color:initial;font-family:mono=
space,monospace;display:inline">=E2=80=8B</div><span style=3D"color:rgb(34,=
34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-=
variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-sp=
acing:normal;text-align:start;text-indent:0px;text-transform:none;white-spa=
ce:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoratio=
n-style:initial;text-decoration-color:initial;float:none;display:inline">- =
There are some odd combinations of security levels defined. For instance, v=
1.local uses untruncated HMAC-SHA384 for authentication (384-bit tag), whil=
e v2.local uses Poly1305 (128-bit tag) - so v2 is actually targeting a lowe=
r security level for authentication?<span>=C2=A0</span></span>

</div></blockquote><div><br></div><div><div class=3D"gmail_default" style=
=3D"font-family:monospace,monospace">As said above, this design decision wa=
s motivated by having one single hash function used for all operations. SHA=
384 was chosen because other developers might try to badly mimic the design=
 decisions made in PASETO and I&#39;d rather them choose a hash function th=
at isn&#39;t susceptible to length-extension attacks if they do that.</div>=
<div class=3D"gmail_default" style=3D"font-family:monospace,monospace"><br>=
</div><div class=3D"gmail_default" style=3D"font-family:monospace,monospace=
">Truncating the v1 tag hadn&#39;t come up before, but it might be worth co=
nsidering. The goal is to provide a security level of at least 128 bits whe=
re ever we can. Excess is acceptable as long as it&#39;s not killing perfor=
mance to do so.</div><div class=3D"gmail_default" style=3D"font-family:mono=
space,monospace"><br></div><blockquote style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left:1px solid rgb(204,204,204);padding-left:1ex" class=3D"gmail_quote=
"><div class=3D"gmail_default" style=3D"font-family:monospace,monospace;dis=
play:inline">=E2=80=8B

<div class=3D"gmail_default" style=3D"color:rgb(34,34,34);font-size:small;f=
ont-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;fon=
t-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-tr=
ansform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,2=
55,255);text-decoration-style:initial;text-decoration-color:initial;font-fa=
mily:monospace,monospace;display:inline">=E2=80=8B</div><span style=3D"colo=
r:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:nor=
mal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;=
letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;=
white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-=
decoration-style:initial;text-decoration-color:initial;float:none;display:i=
nline">- XChaCha20 has not been formally published before. While it seems a=
n =E2=80=9Cobvious=E2=80=9D translation of XSalsa20 to ChaCha20, I=E2=80=99=
d prefer that to be independently specified (e.g. by CFRG) before being the=
 recommended choice. XSalsa20 is already published and well known.</span>

=E2=80=8B</div><br></blockquote><div class=3D"gmail_default" style=3D"font-=
family:monospace,monospace"><br></div><div class=3D"gmail_default" style=3D=
"font-family:monospace,monospace">Agreed. =E2=80=8BI=E2=80=8B would be much=
 more comfortable culling XChaCha from our draft and instead referencing an=
 RFC the CFRG approved. Is there any interest in doing so?</div></div><div =
class=3D"gmail_default" style=3D"font-family:monospace,monospace"><br></div=
><blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex" class=3D"gmail_quote"><div class=3D"gmail_defa=
ult" style=3D"font-family:monospace,monospace;display:inline">=E2=80=8B

<div class=3D"gmail_default" style=3D"color:rgb(34,34,34);font-size:small;f=
ont-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;fon=
t-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-tr=
ansform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,2=
55,255);text-decoration-style:initial;text-decoration-color:initial;font-fa=
mily:monospace,monospace;display:inline">=E2=80=8B</div><span style=3D"colo=
r:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:nor=
mal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;=
letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;=
white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-=
decoration-style:initial;text-decoration-color:initial;float:none;display:i=
nline">- The guidelines in section 3.1 are unclear. For instance, they stat=
e that long nonces (&gt; 128 bits) satisfy =E2=80=9Csome degree of nonce-mi=
suse resistance=E2=80=9D, but they do not - at least not in the sense of mi=
suse-resistant authenticated encryption (MRAE). They just make randomly-gen=
erated nonces less likely to collide. The security goals should be clearly =
defined here.</span>

=E2=80=8B</div><br></blockquote><div class=3D"gmail_default" style=3D"font-=
family:monospace,monospace"><br></div><div class=3D"gmail_default" style=3D=
"font-family:monospace,monospace">This is an excellent point. I&#39;ll work=
 on clarifying the security goals in the next draft.</div><div class=3D"gma=
il_default" style=3D"font-family:monospace,monospace"><br></div><blockquote=
 style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);p=
adding-left:1ex" class=3D"gmail_quote"><div class=3D"gmail_default" style=
=3D"font-family:monospace,monospace;display:inline">=E2=80=8B

<div class=3D"gmail_default" style=3D"color:rgb(34,34,34);font-size:small;f=
ont-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;fon=
t-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-tr=
ansform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,2=
55,255);text-decoration-style:initial;text-decoration-color:initial;font-fa=
mily:monospace,monospace;display:inline">=E2=80=8B</div><span style=3D"colo=
r:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:nor=
mal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;=
letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;=
white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-=
decoration-style:initial;text-decoration-color:initial;float:none;display:i=
nline">- The guidelines state that public key encryption should be IND-CCA2=
, but public key encryption is not defined in the spec. It=E2=80=99s not cl=
ear that IND-CCA2 is the right security goal here, vs e.g. public key authe=
nticated encryption as in NaCl.</span>

=E2=80=8B</div><br></blockquote><div class=3D"gmail_default" style=3D"font-=
family:monospace,monospace"><br></div><div class=3D"gmail_default" style=3D=
"font-family:monospace,monospace">We don&#39;t use public-key encryption at=
 all, so you&#39;re right that IND-CCA2 isn&#39;t an obvious security goal.=
 However, because PKCS1v1.5 padding is used both for encryption and signatu=
res, and several attacks [2] [3] that can be combined [4], I felt it was im=
portant to outlaw this error-prone cryptographic mode and anything similar.=
 If that is erroneous, do have a better definition to suggest in its stead?=
</div><div class=3D"gmail_default" style=3D"font-family:monospace,monospace=
"><br></div><div class=3D"gmail_default" style=3D"font-family:monospace,mon=
ospace">---<br></div><div class=3D"gmail_default" style=3D"font-family:mono=
space,monospace"><br></div><div class=3D"gmail_default" style=3D"font-famil=
y:monospace,monospace">Rich,<br></div><div class=3D"gmail_default" style=3D=
"font-family:monospace,monospace"><br></div><div class=3D"gmail_default" st=
yle=3D"font-family:monospace,monospace">I disagree that AES-CTR + HMAC-SHA2=
 (encrypt then MAC) is reason enough to throw anything away.</div><div clas=
s=3D"gmail_default" style=3D"font-family:monospace,monospace"><br></div><di=
v class=3D"gmail_default" style=3D"font-family:monospace,monospace">[1]:=C2=
=A0<a href=3D"http://www.cryptofails.com/post/70059600123/saltstack-rsa-e-d=
-1">http://www.cryptofails.com/post/70059600123/saltstack-rsa-e-d-1</a></di=
v><div class=3D"gmail_default" style=3D"font-family:monospace,monospace">[2=
]:=C2=A0<a href=3D"http://archiv.infsec.ethz.ch/education/fs08/secsem/bleic=
henbacher98.pdf">http://archiv.infsec.ethz.ch/education/fs08/secsem/bleiche=
nbacher98.pdf</a></div><div class=3D"gmail_default" style=3D"font-family:mo=
nospace,monospace">[3]:=C2=A0<a href=3D"https://www.ietf.org/mail-archive/w=
eb/openpgp/current/msg00999.html">https://www.ietf.org/mail-archive/web/ope=
npgp/current/msg00999.html</a>

<br class=3D"gmail-Apple-interchange-newline"><span style=3D"color:rgb(34,3=
4,34);font-family:monospace,monospace;font-size:small;font-style:normal;fon=
t-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-=
spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-s=
pace:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decorat=
ion-style:initial;text-decoration-color:initial;float:none;display:inline">=
[4]:=C2=A0<a href=3D"https://robotattack.org">https://robotattack.org</a></=
span>

</div><div class=3D"gmail_default" style=3D"font-family:monospace,monospace=
"><br></div></div><div class=3D"gmail_extra"><div><div class=3D"gmail_signa=
ture"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><font fa=
ce=3D"monospace, monospace">Scott Arciszewski</font><div><font face=3D"mono=
space, monospace">Chief Development Officer</font></div><div><a href=3D"htt=
ps://paragonie.com" target=3D"_blank"><font face=3D"monospace, monospace">P=
aragon Initiative Enterprises</font></a></div></div></div></div></div></div=
></div></div>
<br><div class=3D"gmail_quote">On Thu, Apr 19, 2018 at 6:03 PM, Neil Madden=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:neil.e.madden@gmail.com" target=3D=
"_blank">neil.e.madden@gmail.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">I agree with some of the criticisms of JOS=
E here, but I have some concerns about the proposed replacement.<br>
<div class=3D"gmail_default" style=3D"font-family:monospace,monospace;displ=
ay:inline">=E2=80=8B=E2=80=8B</div><br>
Firstly, your blog post states that ECDH in JOSE is only defined for NIST c=
urves. Actually, RFC 8037 [1] defined X25519/X448 for ECDH in JWE and EdDSA=
 for JWS.<br>
<br>
Thomas Ptacek also had some good observations about weaknesses of the JOSE =
standards [2]. <br>
<div class=3D"gmail_default" style=3D"font-family:monospace,monospace;displ=
ay:inline">=E2=80=8B=E2=80=8B</div><br>
Two questions then occur to me:<br>
1. Is JOSE fixable or does it need to be replaced entirely?<br>
2. If it needs to be replaced, is PASETO a suitable replacement?<br>
<br>
I=E2=80=99ll tackle these in reverse order. I find PASETO interesting, but =
also find aspects of the design somewhat confusing:<br>
<div class=3D"gmail_default" style=3D"font-family:monospace,monospace;displ=
ay:inline">=E2=80=8B=E2=80=8B</div><br>
- The basic encryption construction [3] appears (to me at least) to be a no=
vel design based on three passes over the message: once to generate a pseud=
orandom nonce in an SIV-like construction (but not actually authenticating =
the message), a second time to encrypt, and then a third time to authentica=
te the cipher text. Is this a well-studied design? What security goal is it=
 designed to meet? Why not just use SIV mode?<br>
<div class=3D"gmail_default" style=3D"font-family:monospace,monospace;displ=
ay:inline">=E2=80=8B=E2=80=8B</div><br>
- PASETO still relies on the message to tell it the type of crypto algorith=
ms in use: =E2=80=9Cv1.local=E2=80=9D vs =E2=80=9Cv1.public=E2=80=9D vs =E2=
=80=9Cv2.local=E2=80=9D etc. Isn=E2=80=99t this =E2=80=9Calg=E2=80=9D again=
, but with a more restricted (and higher-level) set of algorithms? I don=E2=
=80=99t think this is necessary at all - see below for an alternative.<br>
<div class=3D"gmail_default" style=3D"font-family:monospace,monospace;displ=
ay:inline">=E2=80=8B=E2=80=8B</div><br>
- There are some odd combinations of security levels defined. For instance,=
 v1.local uses untruncated HMAC-SHA384 for authentication (384-bit tag), wh=
ile v2.local uses Poly1305 (128-bit tag) - so v2 is actually targeting a lo=
wer security level for authentication? <br>
<div class=3D"gmail_default" style=3D"font-family:monospace,monospace;displ=
ay:inline">=E2=80=8B=E2=80=8B</div><br>
- XChaCha20 has not been formally published before. While it seems an =E2=
=80=9Cobvious=E2=80=9D translation of XSalsa20 to ChaCha20, I=E2=80=99d pre=
fer that to be independently specified (e.g. by CFRG) before being the reco=
mmended choice. XSalsa20 is already published and well known.<br>
<br>
<div class=3D"gmail_default" style=3D"font-family:monospace,monospace;displ=
ay:inline">=E2=80=8B=E2=80=8B</div>- The guidelines in section 3.1 are uncl=
ear. For instance, they state that long nonces (&gt; 128 bits) satisfy =E2=
=80=9Csome degree of nonce-misuse resistance=E2=80=9D, but they do not - at=
 least not in the sense of misuse-resistant authenticated encryption (MRAE)=
. They just make randomly-generated nonces less likely to collide. The secu=
rity goals should be clearly defined here.<br>
<div class=3D"gmail_default" style=3D"font-family:monospace,monospace;displ=
ay:inline">=E2=80=8B=E2=80=8B</div><br>
- The guidelines state that public key encryption should be IND-CCA2, but p=
ublic key encryption is not defined in the spec. It=E2=80=99s not clear tha=
t IND-CCA2 is the right security goal here, vs e.g. public key authenticate=
d encryption as in NaCl.<br>
<br>
So while I appreciate the streamlined design compared to JOSE, there are en=
ough non-obvious design decisions here that I am reluctant to immediately r=
ecommend it as a replacement for JOSE.<br>
<br>
But is JOSE fixable instead? I think there is certainly a lot you could do =
to improve it without completely throwing it away and starting again. The p=
roblem is that old standards never really get thrown away, so we end up sup=
porting n+1 standards instead. I think a few basic changes could improve th=
e standards considerably:<br>
<br>
1. Deprecating broken/dubious algorithms (like RSA encryption with PKCS#1 v=
1.5 padding) and proposing modern and robust replacements (like RFC 8037 or=
 my own draft for SIV modes [4]).<br>
2. Moving the =E2=80=9Calg=E2=80=9D and =E2=80=9Cenc=E2=80=9D headers out o=
f JWE/JWS and instead into JWK so that is the key that determines the algor=
ithm not the message.<br>
3. Deprecating all the ways that you can specify a key in a message, leavin=
g just =E2=80=9Ckid=E2=80=9D.<br>
<br>
I think these changes would go quite a long way to making JOSE more robust.=
 It wouldn=E2=80=99t solve everything (and I have more suggestions for anot=
her time), but it moves in the right direction. Ultimately I would like JWE=
 to gravitate towards authenticated encryption in both symmetric and public=
-key settings, and JWS to concentrate on non-repudiation, but that is a lar=
ger change.<br>
<br>
[1] <a href=3D"https://tools.ietf.org/html/rfc8037" rel=3D"noreferrer" targ=
et=3D"_blank">https://tools.ietf.org/html/<wbr>rfc8037</a><br>
[2] <a href=3D"https://lobste.rs/s/r4lv76/jwt_is_bad_standard_everyone_shou=
ld_avoid#c_k91fsa" rel=3D"noreferrer" target=3D"_blank">https://lobste.rs/s=
/r4lv76/<wbr>jwt_is_bad_standard_everyone_<wbr>should_avoid#c_k91fsa</a><br=
>
[3] <a href=3D"https://tools.ietf.org/html/draft-paragon-paseto-rfc-00#sect=
ion-4.3.2" rel=3D"noreferrer" target=3D"_blank">https://tools.ietf.org/html=
/<wbr>draft-paragon-paseto-rfc-00#<wbr>section-4.3.2</a><br>
[4] <a href=3D"https://tools.ietf.org/html/draft-madden-jose-siv-mode-02" r=
el=3D"noreferrer" target=3D"_blank">https://tools.ietf.org/html/<wbr>draft-=
madden-jose-siv-mode-02</a><br>
<br>
Regards,<br>
<br>
Neil Madden<br>
<div><div class=3D"gmail-h5"><br>
&gt; On 19 Apr 2018, at 15:13, Scott Arciszewski &lt;<a href=3D"mailto:scot=
t@paragonie.com">scott@paragonie.com</a>&gt; wrote:<br>
&gt; <br>
&gt; Dear IETF mailing list members,<br>
&gt; <br>
&gt; There have been many real-world failures of the JOSE family of Interne=
t Standards since they were published in RFCs 7515-7520.<br>
&gt; <br>
&gt; - Accepting {&quot;alg&quot;:&quot;none&quot;} in many implementations=
 allowed attackers to bypass the protections that JWS were supposed to prov=
ide.<br>
&gt; - Substituting RS256 with HS256 and using the RSA public key as an HMA=
C secret key allowed trivial token forgery.<br>
&gt; - JWE with ECIES fell to invalid curve attacks. <br>
&gt; <br>
&gt; I&#39;ve outlined these criticisms and more in a post titled &quot;No =
way JOSE! Javascript Object Signing and Encryption is a Bad Standard That E=
veryone Should Avoid&quot; [1] last year. <br>
&gt; <br>
&gt; In addition to the critical vulnerabilities in the JOSE standards, the=
re are a lot of cryptographic smells to be found, especially in related sta=
ndards. Let me give you a brief, concrete example.<br>
&gt; <br>
&gt; Recently, the W3C specification for WebAuthn was circulated on social =
media. Upon closer review, it uses COSE (CBOR Object Signing and Encryption=
-- a JOSE derivative), which requests the registration of two classes of pu=
blic-key signature algorithms [2]:<br>
&gt; <br>
&gt; 1. RSA with PCKS1v1.5<br>
&gt; 2. ECDAA, whose formal definition eschews the use of deterministic non=
ces [3] and thereby fails to provide the protection of e.g. RFC 6979<br>
&gt; <br>
&gt; There are a few lessons that I believe we can take away from these fac=
ts:<br>
&gt; <br>
&gt; 1. User-friendly standards like JOSE are incredibly influential in fut=
ure protocol designs.<br>
&gt; 2. If the decision to design cryptography protocols and/or decide the =
primitives used is left to library designers and/or users, rather than cryp=
tography engineers, they will inevitably choose something dangerous or terr=
ifying.<br>
&gt; <br>
&gt; There is an elegant solution to this trap we&#39;ve found ourselves in=
: Design an alternative token standard that avoids all of the design defici=
ts that plague the incumbent standard, but is still easy to use for at leas=
t 90% of the JOSE/COSE use-cases. With that in mind, I&#39;d like to presen=
t PASETO.<br>
&gt; <br>
&gt; The first RFC draft is online [4]. As of this writing, we have 11 impl=
ementations in 10 different programming languages. [5]<br>
&gt; <br>
&gt; The biggest change from JWT to PASETO is that, instead of an alg heade=
r that MUST be understood and processed by implementations in JWT (which al=
lows different algorithms to be specified in the attacker-provided token) i=
n PASETO we use versioned protocols.<br>
&gt; <br>
&gt; * If you&#39;re using v1, you&#39;re using AES-CTR+HMAC-SHA384 or RSAS=
SA-PSS with MGF1+SHA384, SHA384, and e=3D65537.<br>
&gt; * If you&#39;re using v2, you&#39;re using XChaCha20-Poly1305 or Ed255=
19.<br>
&gt; <br>
&gt; Future versions should be defined by cryptography experts.<br>
&gt; <br>
&gt; Thank you for your time and please let me know if you have any immedia=
te feedback. If you would like to contribute to the next iteration of the R=
FC draft, we&#39;re handling this on Github [6].<br>
&gt; <br>
&gt; Note: I&#39;m sending this to the JOSE and CFRG mailing lists. We don&=
#39;t yet have a Working Group for this project. I&#39;m unsure if a separa=
te one should be formed or if an existing one would like to contribute to t=
he review and refinement of this proposed Internet Standard.<br>
&gt; <br>
&gt; [1]: <a href=3D"https://paragonie.com/blog/2017/03/jwt-json-web-tokens=
-is-bad-standard-that-everyone-should-avoid" rel=3D"noreferrer" target=3D"_=
blank">https://paragonie.com/blog/<wbr>2017/03/jwt-json-web-tokens-<wbr>is-=
bad-standard-that-everyone-<wbr>should-avoid</a><br>
&gt; [2]: <a href=3D"https://www.w3.org/TR/2018/CR-webauthn-20180320/#sctn-=
cose-alg-reg" rel=3D"noreferrer" target=3D"_blank">https://www.w3.org/TR/20=
18/CR-<wbr>webauthn-20180320/#sctn-cose-<wbr>alg-reg</a><br>
&gt; [3]: <a href=3D"https://fidoalliance.org/specs/fido-uaf-v1.1-id-201702=
02/fido-ecdaa-algorithm-v1.1-id-20170202.html#ecdaa-sign" rel=3D"noreferrer=
" target=3D"_blank">https://fidoalliance.org/<wbr>specs/fido-uaf-v1.1-id-<w=
br>20170202/fido-ecdaa-algorithm-<wbr>v1.1-id-20170202.html#ecdaa-<wbr>sign=
</a><br>
</div></div>&gt; [4]: <a href=3D"https://datatracker." rel=3D"noreferrer" t=
arget=3D"_blank">https://datatracker.</a>.<a href=3D"http://ietf.org/doc/dr=
aft-paragon-paseto-rfc" rel=3D"noreferrer" target=3D"_blank">ietf.org/<wbr>=
doc/draft-paragon-paseto-rfc</a><br>
<span class=3D"gmail-">&gt; [5]: <a href=3D"https://paseto.io" rel=3D"noref=
errer" target=3D"_blank">https://paseto.io</a><br>
&gt; [6]: <a href=3D"https://github.com/paragonie/paseto/blob/master/docs/R=
FC/paseto.md" rel=3D"noreferrer" target=3D"_blank">https://github.com/parag=
onie/<wbr>paseto/blob/master/docs/RFC/<wbr>paseto.md</a><br>
&gt; <br>
&gt; Scott Arciszewski<br>
&gt; Chief Development Officer<br>
&gt; Paragon Initiative Enterprises=E2=80=8B=E2=80=8B<br>
&gt; <br>
</span>&gt; ______________________________<wbr>_________________<br>
&gt; Cfrg mailing list<br>
&gt; <a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
&gt; <a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferr=
er" target=3D"_blank">https://www.irtf.org/mailman/<wbr>listinfo/cfrg</a><b=
r>
<br>
</blockquote></div><br></div></div>

--000000000000e5e78a056a3e8289--


From nobody Sat Apr 28 09:49:21 2018
Return-Path: <rsalz@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 2567E126D0C; Sat, 28 Apr 2018 09:49:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level: 
X-Spam-Status: No, score=-2.71 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, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-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 W6eHfyG4NCWe; Sat, 28 Apr 2018 09:49:18 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (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 3D487126B7E; Sat, 28 Apr 2018 09:49:18 -0700 (PDT)
Received: from pps.filterd (m0050102.ppops.net [127.0.0.1]) by m0050102.ppops.net-00190b01. (8.16.0.22/8.16.0.22) with SMTP id w3SGlXmu003301; Sat, 28 Apr 2018 17:49:15 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=jan2016.eng; bh=ALugj1kYFE4ynvMJu4zNcVlG+Tzx88kpOcDrQ40TY2Y=; b=hjqnBzF9pDUa3ABdtaDJnBYE3/2lOggzhp/rCqym8PnakiiKqvb5Ipomep+hsRiZ/7r5 X65UN+V6Y3u9+iy1tMOVDo7Izw0/soXaXUShkTxTu370nBRK3x3ER7dj8wX1KA6Lc8yf Z/wWGzuWE0eGcNrEFA028RLRNing3nGpAiF5D4lsEotj3YyEajU4TxoAP6HeTWc9CHeS dR5nxIh7i+79lY3YA+zgnP2nrnnT+ULODehKNblK9LodOKxNQhNNmjXiXOc2FGe2RlQq 5NahqWJaM0D4p+Dzd56UNscFd/ZKbT7bF1Nz9ZfnooF3o9wrVP5xd72tz9X4EN/u5FDr Zw== 
Received: from prod-mail-ppoint2 (prod-mail-ppoint2.akamai.com [184.51.33.19]) by m0050102.ppops.net-00190b01. with ESMTP id 2hmr65rdry-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 28 Apr 2018 17:49:15 +0100
Received: from pps.filterd (prod-mail-ppoint2.akamai.com [127.0.0.1]) by prod-mail-ppoint2.akamai.com (8.16.0.21/8.16.0.21) with SMTP id w3SGkIEd016143; Sat, 28 Apr 2018 12:49:14 -0400
Received: from email.msg.corp.akamai.com ([172.27.123.33]) by prod-mail-ppoint2.akamai.com with ESMTP id 2hmm9uhcxk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sat, 28 Apr 2018 12:49:14 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb4.msg.corp.akamai.com (172.27.123.104) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Sat, 28 Apr 2018 12:49:13 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1365.000; Sat, 28 Apr 2018 12:49:13 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: Scott Arciszewski <scott@paragonie.com>, Neil Madden <neil.e.madden@gmail.com>
CC: "cfrg@ietf.org" <cfrg@ietf.org>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [Cfrg] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
Thread-Index: AQHT1+ikF93gujSL2kug06GbhFcwgKQI576AgABLYYCADT66AA==
Date: Sat, 28 Apr 2018 16:49:12 +0000
Message-ID: <2838C1FA-F11E-4E8E-ABB4-65C5485A03BC@akamai.com>
References: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com> <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com> <CAKws9z277JLfv7Pb9wSkJ7zYR8FzoAfiXuFS6Vq0x32-3bWx7Q@mail.gmail.com>
In-Reply-To: <CAKws9z277JLfv7Pb9wSkJ7zYR8FzoAfiXuFS6Vq0x32-3bWx7Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/10.c.0.180410
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.45.73]
Content-Type: multipart/alternative; boundary="_000_2838C1FAF11E4E8EABB465C5485A03BCakamaicom_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-04-28_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=981 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804280166
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-04-28_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=919 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804280166
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/aUUQt-hUPvF1fyFodGRL8u8Ad4g>
Subject: Re: [Cfrg] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 28 Apr 2018 16:49:20 -0000

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

U2NvdHQsDQoNCklmIOKAnGdvb2QgYW5kIHNhZmXigJ0gY3J5cHRvIGlzIG5vdCAxMDAlIGluIHRo
ZSBKT1NFIGVjb3N5c3RlbSwgeW91IHRoaW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-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 21F2312E056 for <cfrg@ietfa.amsl.com>; Sat, 28 Apr 2018 09:55:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level: 
X-Spam-Status: No, score=-1.909 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_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=paragonie-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 7kPa3CX2Rr3E for <cfrg@ietfa.amsl.com>; Sat, 28 Apr 2018 09:55:47 -0700 (PDT)
Received: from mail-ot0-x22d.google.com (mail-ot0-x22d.google.com [IPv6:2607:f8b0:4003:c0f::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 3C9B8126C3D for <cfrg@ietf.org>; Sat, 28 Apr 2018 09:55:47 -0700 (PDT)
Received: by mail-ot0-x22d.google.com with SMTP id n1-v6so5398026otf.7 for <cfrg@ietf.org>; Sat, 28 Apr 2018 09:55:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragonie-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4biAjrMI+o6kjvoOrDmCizicTqEjFK6fqHqohZ9NJEE=; b=qiQKjiJsd2EQP7RlunwmO4yapyzGnwT4GDMqgqkOYjPL62IxPxvNjUVEVVwYE6GV/h XOPnXWbZRY3LtXDVYYmqlw1zYmIGS1zgenHF9saVLAUWsrIWrgHnj2Yp112VtoNx30Mi CB+TxN6vEj/P4wim2tVza0Y4vKAhPgTCV+i8l0aU5J7pTsiMRvbnaF1k6jnX6vKmUZFA gA3L4z7RQr9P/XqjvgQ29YqkTjzPQlP2YdiyMrwVf5W/jc/BS9YO668iOqHYJ2oJ3p/H cD350jWtlCK8DUv8Mn8NcwkgYD8BLyYc2Tj6enfL4x2/ZDymL5TvPKDLqDj7JD12bU2I 8+Vw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4biAjrMI+o6kjvoOrDmCizicTqEjFK6fqHqohZ9NJEE=; b=bRBtro7TO2kNuUk2hKOSig9GuxiuE2/vN3EOCnQ2D+UH29SLwdHRH2jtatLasNvPXJ MZOVTeAyFT/gPmup5LTju9DVQxZMWQQfoQY0xHu+10uo3nGusFgqEakvt5siL06kU0rp 7W5K3gjJ4mr1yi535Xdhiv+LOJRmouQ9KTkrB9zMJi4QAPZFlpTKSVz35QfR5cBu6v81 K6YEc6mqPSne12I3VOngrW9X5mMSvEisNidAa8soO+z+gnkMp2izR59n8E9IklJd6xHA nK1gO8fhWgrYuH0n6QiIri/ay2lTRiPMp69TUgD0YWyYjQbik5z0cZGT/0ItKXfCnlKW OmdA==
X-Gm-Message-State: ALQs6tA8rwzhe3Alo3iE7F43uHi8ouavaJOu03bmpotbUaAynbliYx5f fsCuV/vFI/zmq0VD6PVxyiA//ckFq6aSQfnQY0o7hpYcClk=
X-Google-Smtp-Source: AB8JxZp08kVFsQwIUL8PUFRPwBZe2Nn9heJXT5rRT0F67CODC/umgCCe2FgHhuE6cL19OZFRy292NuUJWZGAT4Eg0+0=
X-Received: by 2002:a9d:2fd3:: with SMTP id b19-v6mr4093615otd.184.1524934545655;  Sat, 28 Apr 2018 09:55:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a9d:55e9:0:0:0:0:0 with HTTP; Sat, 28 Apr 2018 09:55:45 -0700 (PDT)
In-Reply-To: <2838C1FA-F11E-4E8E-ABB4-65C5485A03BC@akamai.com>
References: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com> <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com> <CAKws9z277JLfv7Pb9wSkJ7zYR8FzoAfiXuFS6Vq0x32-3bWx7Q@mail.gmail.com> <2838C1FA-F11E-4E8E-ABB4-65C5485A03BC@akamai.com>
From: Scott Arciszewski <scott@paragonie.com>
Date: Sat, 28 Apr 2018 12:55:45 -0400
Message-ID: <CAKws9z027n4Kbg2SgoXyM_z04VdAfE7BFfYTehkucOWsm6tizg@mail.gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Cc: Neil Madden <neil.e.madden@gmail.com>, "cfrg@ietf.org" <cfrg@ietf.org>,  "jose@ietf.org" <jose@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e65d9e056aeb7d3f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/uPomeHHTQmgpd8VDuvYi8HNa_CY>
Subject: Re: [Cfrg] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 28 Apr 2018 16:55:50 -0000

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

Yes, seriously. Allow me to explain:

Secure cryptography is not backwards compatible with insecure cryptography.
You can't decrypt an RC4-encrypted message by using AES-GCM.

When engineers develop systems that allow for backwards compatibility on
top of incompatible primitives, they're creating room for downgrade attacks
[1] [2].

Making a replacement rather than another iteration doesn't carry that risk.

And keep in mind, my target audience is the sort that has absolutely no
idea how to tell "trivially broken" cryptography from "has a
certificational weakness but is otherwise fine".

[1] https://www.openssl.org/~bodo/ssl-poodle.pdf
[2] https://robotattack.org

Whether or not you agree with my decision (your appetite for risk,
envisioned use case, and target audience might all be totally different
than my own), I don't think it deserves incredulity. (Seriously?)

Scott Arciszewski
Chief Development Officer
Paragon Initiative Enterprises <https://paragonie.com>

On Sat, Apr 28, 2018 at 12:49 PM, Salz, Rich <rsalz@akamai.com> wrote:

> Scott,
>
>
>
> If =E2=80=9Cgood and safe=E2=80=9D crypto is not 100% in the JOSE ecosyst=
em, you think the
> solution is a new standard which uses some novel techniques?  Seriously?
> To me, a draft which started the process to deprecate the old/bad things
> seems more effectsive.
>

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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e,monospace">Yes, seriously. Allow me to explain:<br></div><div class=3D"gm=
ail_default" style=3D"font-family:monospace,monospace"><br></div><div class=
=3D"gmail_default" style=3D"font-family:monospace,monospace">Secure cryptog=
raphy is not backwards compatible with insecure cryptography. You can&#39;t=
 decrypt an RC4-encrypted message by using AES-GCM.</div><div class=3D"gmai=
l_default" style=3D"font-family:monospace,monospace"><br></div><div class=
=3D"gmail_default" style=3D"font-family:monospace,monospace">When engineers=
 develop systems that allow for backwards compatibility on top of incompati=
ble primitives, they&#39;re creating room for downgrade attacks [1] [2].</d=
iv><div class=3D"gmail_default" style=3D"font-family:monospace,monospace"><=
br></div><div class=3D"gmail_default" style=3D"font-family:monospace,monosp=
ace">Making a replacement rather than another iteration doesn&#39;t carry t=
hat risk.</div><div class=3D"gmail_default" style=3D"font-family:monospace,=
monospace"><br></div><div class=3D"gmail_default" style=3D"font-family:mono=
space,monospace">And keep in mind, my target audience is the sort that has =
absolutely no idea how to tell &quot;trivially broken&quot; cryptography fr=
om &quot;has a certificational weakness but is otherwise fine&quot;.</div><=
div class=3D"gmail_default" style=3D"font-family:monospace,monospace">

<div class=3D"gmail_default" style=3D"color:rgb(34,34,34);font-size:small;f=
ont-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;fon=
t-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-tr=
ansform:none;white-space:normal;word-spacing:0px;text-decoration-style:init=
ial;text-decoration-color:initial;font-family:monospace,monospace"><br>[1] =
<a href=3D"https://www.openssl.org/~bodo/ssl-poodle.pdf">https://www.openss=
l.org/~bodo/ssl-poodle.pdf</a><br></div><div class=3D"gmail_default" style=
=3D"color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-liga=
tures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal=
;text-align:start;text-indent:0px;text-transform:none;white-space:normal;wo=
rd-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;=
font-family:monospace,monospace">[2] <a href=3D"https://robotattack.org">ht=
tps://robotattack.org</a></div><div class=3D"gmail_default" style=3D"color:=
rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:norm=
al;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-alig=
n:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing=
:0px;text-decoration-style:initial;text-decoration-color:initial;font-famil=
y:monospace,monospace"><br></div><div class=3D"gmail_default" style=3D"colo=
r:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:no=
rmal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-al=
ign:start;text-indent:0px;text-transform:none;white-space:normal;word-spaci=
ng:0px;text-decoration-style:initial;text-decoration-color:initial;font-fam=
ily:monospace,monospace">Whether or not you agree with my decision (your ap=
petite for risk, envisioned use case, and target audience might all be tota=
lly different than my own), I don&#39;t think it deserves incredulity. (Ser=
iously?)</div></div></div><div class=3D"gmail_extra"><br clear=3D"all"><div=
><div class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=
=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><font face=3D"monospac=
e, monospace">Scott Arciszewski</font><div><font face=3D"monospace, monospa=
ce">Chief Development Officer</font></div><div><a href=3D"https://paragonie=
.com" target=3D"_blank"><font face=3D"monospace, monospace">Paragon Initiat=
ive Enterprises</font></a></div></div></div></div></div></div></div></div>
<br><div class=3D"gmail_quote">On Sat, Apr 28, 2018 at 12:49 PM, Salz, Rich=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:rsalz@akamai.com" target=3D"_blank=
">rsalz@akamai.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"m_-8226885994125896878WordSection1">
<p class=3D"MsoNormal">Scott,<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">If =E2=80=9Cgood and safe=E2=80=9D crypto is not 100=
% in the JOSE ecosystem, you think the solution is a new standard which use=
s some novel techniques?=C2=A0 Seriously?<a name=3D"m_-8226885994125896878_=
_MailOriginalBody">=C2=A0 To me, a draft which started the process to depre=
cate the old/bad
 things seems more effectsive.<u></u><u></u></a></p>
</div>
</div>

</blockquote></div><br></div>

--000000000000e65d9e056aeb7d3f--


From nobody Sat Apr 28 10:41:11 2018
Return-Path: <rsalz@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 C8E371270FC; Sat, 28 Apr 2018 10:41:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level: 
X-Spam-Status: No, score=-2.71 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, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-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 1Udl0UXn6_9J; Sat, 28 Apr 2018 10:41:07 -0700 (PDT)
Received: from mx0a-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (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 F0BA01200B9; Sat, 28 Apr 2018 10:40:59 -0700 (PDT)
Received: from pps.filterd (m0122332.ppops.net [127.0.0.1]) by mx0a-00190b01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3SHaphX014000; Sat, 28 Apr 2018 18:40:58 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=jan2016.eng; bh=CaWsoHjPXLEVVRGtACP0QfaNQVARySJUO3aHw1llfWE=; b=FSxEV/2WziIHtLmARNS0kaUhzHb/1lzdWfVsebBhTZo0mK9spatitJn6chNRORD6kMmN QxBvK9yTBd+lsVblMhFSBARkBkh+DKbqNh1L4FyMRvyT35YVlVw/f2Ym/bjRB73SbnsI UP2SfSg2psKSQdd0k6c81F8afkjxsQTtE6NeIiYaplnpuX+3DeyU0n+5UN3/tJRjBYO+ SBn2z9tnkyFM4Y0M3PWvtR187sVa40q2QS91SkyQtFtJU4FYg+YRkXGKlKthm42/mTul E8j9HOaDGLw4IKa6zmRzY6rI1ohlIBfk6uGoR3O2l4NFrMbsHsk2HTAa2aWMchnR4ZkR yg== 
Received: from prod-mail-ppoint4 ([96.6.114.87]) by mx0a-00190b01.pphosted.com with ESMTP id 2hmq3pgj1r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 28 Apr 2018 18:40:58 +0100
Received: from pps.filterd (prod-mail-ppoint4.akamai.com [127.0.0.1]) by prod-mail-ppoint4.akamai.com (8.16.0.21/8.16.0.21) with SMTP id w3SHevdP009467; Sat, 28 Apr 2018 13:40:57 -0400
Received: from email.msg.corp.akamai.com ([172.27.123.53]) by prod-mail-ppoint4.akamai.com with ESMTP id 2hmm9w1754-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sat, 28 Apr 2018 13:40:57 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb1.msg.corp.akamai.com (172.27.123.101) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Sat, 28 Apr 2018 13:40:55 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1365.000; Sat, 28 Apr 2018 13:40:55 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: Scott Arciszewski <scott@paragonie.com>
CC: Neil Madden <neil.e.madden@gmail.com>, "cfrg@ietf.org" <cfrg@ietf.org>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [Cfrg] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
Thread-Index: AQHT1+ikF93gujSL2kug06GbhFcwgKQI576AgABLYYCADT66AIAAROOA///JkIA=
Date: Sat, 28 Apr 2018 17:40:55 +0000
Message-ID: <8820EE1A-ADAA-4442-B539-771806AE9949@akamai.com>
References: <CAKws9z15m6WY+-mz5D01vxB4s-TE7nQN56=ssYt=vz3z4gAj6A@mail.gmail.com> <DBC2F048-C949-4362-8FD0-A43A54767B03@gmail.com> <CAKws9z277JLfv7Pb9wSkJ7zYR8FzoAfiXuFS6Vq0x32-3bWx7Q@mail.gmail.com> <2838C1FA-F11E-4E8E-ABB4-65C5485A03BC@akamai.com> <CAKws9z027n4Kbg2SgoXyM_z04VdAfE7BFfYTehkucOWsm6tizg@mail.gmail.com>
In-Reply-To: <CAKws9z027n4Kbg2SgoXyM_z04VdAfE7BFfYTehkucOWsm6tizg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/10.c.0.180410
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.45.73]
Content-Type: multipart/alternative; boundary="_000_8820EE1AADAA4442B539771806AE9949akamaicom_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-04-28_08:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=476 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804280176
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-04-28_08:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=411 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804280175
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/GlRXf_tIjodmbI_65FUi3EImHSc>
Subject: Re: [Cfrg] RFC Draft: PASETO - Platform-Agnotic SEcurity TOkens
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 28 Apr 2018 17:41:09 -0000

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

SSBtZWFuIG5vIG9mZmVuc2UsIGJ1dCB5ZXMsIGl0IGRlc2VydmVzIGluY3JlZHVsaXR5LiAgVGhl
IHdheSB0byBldm9sdmUgY3J5cHRvIGlzIHRvIGFsbG93IGZvciBhZ2lsaXR5ICh3aGljaCBKU09O
IGRvZXMpLCBhbmQgdGhlbiBtaWdyYXRlIG9mZiB0aGUgb2xkIG9udG8gdGhlIG5ldy4gIEV2ZW50
dWFsbHkgdG9vbGtpdHMgc3RvcCBzdXBwb3J0aW5nIHRoZSBvbGQuICBZb3UgY2Fu4oCZdCBkZWNy
eXB0IFJDNCB3aXRoIEFFUywgYnV0IHlvdSBjYW4gdXNlIFRMUyAxLjIgYmV0d2VlbiBib3RoIGhv
c3RzLg0KDQpJIGhhdmVu4oCZdCBmb2xsb3dlZCBhbGwgb2YgdGhpcyB0aHJlYWQgdmVyeSBjbG9z
ZWx5OyBkaWQgeW91IGV2ZXIgZXhwbGFpbiB0aGUg4oCcbm92ZWwgY29uc3RydWN04oCdPyAgSGFz
IHRoZXJlIGJlZW4gYW55IGNyeXB0byBhbmFseXNpcz8NCg0K

--_000_8820EE1AADAA4442B539771806AE9949akamaicom_
Content-Type: text/html; charset="utf-8"
Content-ID: <691F526805FC0A40A4F40399F9ACF77A@akamai.com>
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6bz0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6b2ZmaWNlIiB4
bWxuczp3PSJ1cm46c2NoZW1hcy1taWNyb3NvZnQtY29tOm9mZmljZTp3b3JkIiB4bWxuczptPSJo
dHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL29mZmljZS8yMDA0LzEyL29tbWwiIHhtbG5zPSJo
dHRwOi8vd3d3LnczLm9yZy9UUi9SRUMtaHRtbDQwIj4NCjxoZWFkPg0KPG1ldGEgaHR0cC1lcXVp
dj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiPg0KPG1l
dGEgbmFtZT0iR2VuZXJhdG9yIiBjb250ZW50PSJNaWNyb3NvZnQgV29yZCAxNSAoZmlsdGVyZWQg
bWVkaXVtKSI+DQo8c3R5bGU+PCEtLQ0KLyogRm9udCBEZWZpbml0aW9ucyAqLw0KQGZvbnQtZmFj
ZQ0KCXtmb250LWZhbWlseToiQ2FtYnJpYSBNYXRoIjsNCglwYW5vc2UtMToyIDQgNSAzIDUgNCA2
IDMgMiA0O30NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6Q2FsaWJyaTsNCglwYW5vc2UtMToy
IDE1IDUgMiAyIDIgNCAzIDIgNDt9DQovKiBTdHlsZSBEZWZpbml0aW9ucyAqLw0KcC5Nc29Ob3Jt
YWwsIGxpLk1zb05vcm1hbCwgZGl2Lk1zb05vcm1hbA0KCXttYXJnaW46MGluOw0KCW1hcmdpbi1i
b3R0b206LjAwMDFwdDsNCglmb250LXNpemU6MTEuMHB0Ow0KCWZvbnQtZmFtaWx5OiJDYWxpYnJp
IixzYW5zLXNlcmlmO30NCmE6bGluaywgc3Bhbi5Nc29IeXBlcm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amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C5C2C126DFB; Sun, 29 Apr 2018 13:17:02 -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, RCVD_IN_DNSWL_NONE=-0.0001, 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 8HDEu0JJFEi5; Sun, 29 Apr 2018 13:17: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 5A31A126BF6; Sun, 29 Apr 2018 13:16:58 -0700 (PDT)
Received: from Jude (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Sun, 29 Apr 2018 13:14:24 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: <draft-mcgrew-hash-sigs@ietf.org>
CC: <cfrg@ietf.org>
Date: Sun, 29 Apr 2018 13:16:51 -0700
Message-ID: <03b701d3dff7$03f9b910$0bed2b30$@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: AdPf9oq2d9UbSZxURF+KYGP08GlNEg==
Content-Language: en-us
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/x8A0FsadPMOIOwnhKtj567feiTs>
Subject: [Cfrg] draft-mcgrew-hash-sigs question on the definition of one time
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 29 Apr 2018 20:17:03 -0000

I am doing a quick review of a draft dealing with LM-OTS One-Time signatures
and I have run into a problem.  Either my definition of one time is wrong or
there appears to be an error in the draft.  Before trying to do a deep read
of this document I would like to get a clarification.

The last sentence of paragraph 1 of section 4 says

These are one-time signatures; each private key MUST be used at most one
time to sign any given message.

Is this "at most one time to sign" or "at most one time to sign a given
message".  That is don't re-sign the same message but a new message (for
some definition of new) is ok.

Jim



From nobody Sun Apr 29 13:26:39 2018
Return-Path: <housley@vigilsec.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 DAC7B12711A for <cfrg@ietfa.amsl.com>; Sun, 29 Apr 2018 13:26:38 -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=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 8Yon6fjI9k3y for <cfrg@ietfa.amsl.com>; Sun, 29 Apr 2018 13:26:36 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 61B401270FC for <cfrg@ietf.org>; Sun, 29 Apr 2018 13:26:36 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 4F2D730063A for <cfrg@ietf.org>; Sun, 29 Apr 2018 16:26:34 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id oEIhXoa2o277 for <cfrg@ietf.org>; Sun, 29 Apr 2018 16:26:33 -0400 (EDT)
Received: from a860b60074bd.home (pool-108-45-101-150.washdc.fios.verizon.net [108.45.101.150]) by mail.smeinc.net (Postfix) with ESMTPSA id E8345300435; Sun, 29 Apr 2018 16:26:32 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <03b701d3dff7$03f9b910$0bed2b30$@augustcellars.com>
Date: Sun, 29 Apr 2018 16:26:33 -0400
Cc: draft-mcgrew-hash-sigs@ietf.org, cfrg@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <0A2BC88E-24FD-49DD-880C-8B0D6DD85B26@vigilsec.com>
References: <03b701d3dff7$03f9b910$0bed2b30$@augustcellars.com>
To: Jim Schaad <ietf@augustcellars.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/ZQCPJs5G5VHktDwRpHJYTIiqtQE>
Subject: Re: [Cfrg] draft-mcgrew-hash-sigs question on the definition of one time
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 29 Apr 2018 20:26:39 -0000

Jim:

It can be use zero or one time.

Russ


> On Apr 29, 2018, at 4:16 PM, Jim Schaad <ietf@augustcellars.com> =
wrote:
>=20
> I am doing a quick review of a draft dealing with LM-OTS One-Time =
signatures
> and I have run into a problem.  Either my definition of one time is =
wrong or
> there appears to be an error in the draft.  Before trying to do a deep =
read
> of this document I would like to get a clarification.
>=20
> The last sentence of paragraph 1 of section 4 says
>=20
> These are one-time signatures; each private key MUST be used at most =
one
> time to sign any given message.
>=20
> Is this "at most one time to sign" or "at most one time to sign a =
given
> message".  That is don't re-sign the same message but a new message =
(for
> some definition of new) is ok.
>=20
> Jim
>=20
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Sun Apr 29 14:52:19 2018
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 76E1E1275AB; Sun, 29 Apr 2018 14:52:18 -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 vY6wvDPWYeoI; Sun, 29 Apr 2018 14:52:15 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) (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 7A63D127522; Sun, 29 Apr 2018 14:52:14 -0700 (PDT)
X-Spoof: 
Received: from smtp-pop.rim.net (HELO XCT104CNC.rim.net) ([10.65.161.204]) by mhs213cnc.rim.net with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Apr 2018 17:52:13 -0400
Received: from XCT116CNC.rim.net (10.65.161.216) by XCT104CNC.rim.net (10.65.161.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 29 Apr 2018 17:52:13 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT116CNC.rim.net ([::1]) with mapi id 14.03.0319.002; Sun, 29 Apr 2018 17:52:12 -0400
From: Dan Brown <danibrown@blackberry.com>
To: Jim Schaad <ietf@augustcellars.com>, "draft-mcgrew-hash-sigs@ietf.org" <draft-mcgrew-hash-sigs@ietf.org>
CC: "cfrg@ietf.org" <cfrg@ietf.org>
Thread-Topic: [Cfrg] draft-mcgrew-hash-sigs question on the definition of one time
Thread-Index: AdPf9oq2d9UbSZxURF+KYGP08GlNEgADcliZ
Date: Sun, 29 Apr 2018 21:52:11 +0000
Message-ID: <20180429215209.36057178.40976.24735@blackberry.com>
References: <03b701d3dff7$03f9b910$0bed2b30$@augustcellars.com>
In-Reply-To: <03b701d3dff7$03f9b910$0bed2b30$@augustcellars.com>
Accept-Language: en-US, en-CA
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
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/mHY4eifuHoY_5lYQcm8uSpdHtsQ>
Subject: Re: [Cfrg] draft-mcgrew-hash-sigs question on the definition of one time
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
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, 29 Apr 2018 21:52:18 -0000

Two different signatures (of same or different message) with one public key=
 make forgery feasible against that public key.

Sent from my BlackBerry 10 smartphone on the Rogers network.
  Original Message
From: Jim Schaad
Sent: Sunday, April 29, 2018 4:17 PM
To: draft-mcgrew-hash-sigs@ietf.org
Cc: cfrg@ietf.org
Subject: [Cfrg] draft-mcgrew-hash-sigs question on the definition of one ti=
me


I am doing a quick review of a draft dealing with LM-OTS One-Time signature=
s
and I have run into a problem.  Either my definition of one time is wrong o=
r
there appears to be an error in the draft.  Before trying to do a deep read
of this document I would like to get a clarification.

The last sentence of paragraph 1 of section 4 says

These are one-time signatures; each private key MUST be used at most one
time to sign any given message.

Is this "at most one time to sign" or "at most one time to sign a given
message".  That is don't re-sign the same message but a new message (for
some definition of new) is ok.

Jim


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

