Return-Path: <housley@vigilsec.com>
X-Original-To: suit@ietfa.amsl.com
Delivered-To: suit@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
 by ietfa.amsl.com (Postfix) with ESMTP id C672D130DC1
 for <suit@ietfa.amsl.com>; Fri, 22 Jun 2018 02:41:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001]
 autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44])
 by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id kHi1igeDNj3q for <suit@ietfa.amsl.com>;
 Fri, 22 Jun 2018 02:41:12 -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 2B9DC1274D0
 for <suit@ietf.org>; Fri, 22 Jun 2018 02:41:12 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
 by mail.smeinc.net (Postfix) with ESMTP id E3C49300A08
 for <suit@ietf.org>; Fri, 22 Jun 2018 05:41:09 -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 ddrLsCyLS_B4 for <suit@ietf.org>;
 Fri, 22 Jun 2018 05:41:07 -0400 (EDT)
Received: from [5.5.33.206] (vpn.snozzages.com [204.42.252.17])
 by mail.smeinc.net (Postfix) with ESMTPSA id 73E173004B7;
 Fri, 22 Jun 2018 05:41:06 -0400 (EDT)
From: Russ Housley <housley@vigilsec.com>
Message-Id: <B5A03C05-5058-4BFB-90F0-752DFD78661A@vigilsec.com>
Content-Type: multipart/alternative;
 boundary="Apple-Mail=_029582B2-A66D-4545-8200-91C1645FBC49"
Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\))
Date: Fri, 22 Jun 2018 05:41:06 -0400
In-Reply-To: <18F16995-D6BF-4C68-9E93-B1CF93D4369D@vigilsec.com>
Cc: suit <suit@ietf.org>
To: Tony Putman <Tony.Putman@dyson.com>
References: <31676.1528913351@localhost>
 <04f401d40349$33a58b10$9af0a130$@augustcellars.com>
 <0CDB8D05-0214-4749-9907-5A1B0B4A2191@arm.com>
 <697B1DC9-B1DE-48BA-ADC6-EF936208AFCE@vigilsec.com>
 <9906B2BC-BFC2-4F83-A0F6-FFCC81912237@arm.com>
 <DM5PR2101MB0805F9D2D2372C4AEE2C7E5BA3760@DM5PR2101MB0805.namprd21.prod.outlook.com>
 <AD7239DB-B6C4-4D3A-8DDE-ACA9CB430263@vigilsec.com>
 <140080C241BAA1419B58F093108F9EDC1E0D1690@UK-MAL-MBOX-01.dyson.global.corp>
 <18F16995-D6BF-4C68-9E93-B1CF93D4369D@vigilsec.com>
X-Mailer: Apple Mail (2.3445.8.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/suit/8bD-EJqtchLnnw-dREKuk2EsxMI>
Subject: Re: [Suit] draft-housley-suit-cose-hash-sig
X-BeenThere: suit@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: Software Updates for Internet of Things <suit.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/suit>,
 <mailto:suit-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/suit/>
List-Post: <mailto:suit@ietf.org>
List-Help: <mailto:suit-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/suit>,
 <mailto:suit-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jun 2018 09:41:15 -0000


--Apple-Mail=_029582B2-A66D-4545-8200-91C1645FBC49
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

I uses 'HSS-LMS' for the algorithm identifier.  The the updates in =
Sections 4 and 7...

Name:		draft-housley-suit-cose-hash-sig
Revision:	02
Title:		Use of the Hash-based Signature Algorithm with CBOR =
Object Signing and Encryption (COSE)
Document date:	2018-06-22
Group:		Individual Submission
Pages:		10
URL:            =
https://www.ietf.org/internet-drafts/draft-housley-suit-cose-hash-sig-02.t=
xt =
<https://www.ietf.org/internet-drafts/draft-housley-suit-cose-hash-sig-02.=
txt>
Status:         =
https://datatracker.ietf.org/doc/draft-housley-suit-cose-hash-sig/ =
<https://datatracker.ietf.org/doc/draft-housley-suit-cose-hash-sig/>
Htmlized:       =
https://tools.ietf.org/html/draft-housley-suit-cose-hash-sig-02 =
<https://tools.ietf.org/html/draft-housley-suit-cose-hash-sig-02>
Htmlized:       =
https://datatracker.ietf.org/doc/html/draft-housley-suit-cose-hash-sig =
<https://datatracker.ietf.org/doc/html/draft-housley-suit-cose-hash-sig>
Diff:           =
https://www.ietf.org/rfcdiff?url2=3Ddraft-housley-suit-cose-hash-sig-02 =
<https://www.ietf.org/rfcdiff?url2=3Ddraft-housley-suit-cose-hash-sig-02>

Abstract:
  This document specifies the conventions for using the Leighton-Micali
  Signature (LMS) algorithm for digital signatures with the CBOR Object
  Signing and Encryption (COSE) syntax.

> On Jun 22, 2018, at 5:17 AM, Russ Housley <housley@vigilsec.com> =
wrote:
>=20
> I was assuming that LMS would use "HASHSIG", and XMSS would use =
"XMSS".  These labels align with the Internet-Draft file names.  In the =
long run, your suggestion is probably better.
>=20
> Russ
>=20
>=20
>> On Jun 22, 2018, at 4:13 AM, Tony Putman <Tony.Putman@dyson.com =
<mailto:Tony.Putman@dyson.com>> wrote:
>>=20
>> As far as I can tell, it is not possible to tell from the signature =
whether it is LMS or XMSS (or indeed any other hash-based signature =
scheme). If this is the case, then I suggest that the algorithm =
identifiers in section 4 should be more specific (e.g. 'HSIG-LMS'), as =
should the COSE registry entries in section 7 (e.g. Name: HASHSIG-LMS, =
with corresponding expanded description).
>> -- Tony
>> =20
>> From: Suit [mailto:suit-bounces@ietf.org =
<mailto:suit-bounces@ietf.org>] On Behalf Of Russ Housley
>> Sent: 21 June 2018 20:44
>> To: Dave Thaler; Brendan Moran
>> Cc: suit
>> Subject: Re: [Suit] draft-housley-suit-cose-hash-sig
>> =20
>> I am advocating LMS. I think it would be appropriate for an advocate =
for XMSS to write a similar draft for that algorithm.
>> =20
>> Russ
>> =20
>>=20
>>=20
>> On Jun 21, 2018, at 12:08 PM, Dave Thaler <dthaler@microsoft.com =
<mailto:dthaler@microsoft.com>> wrote:
>> =20
>> This is similar to a question I asked as well, whether the IETF only =
needs LMS or whether LMS is just an instance in a larger class that =
might be needed, and what the scope of the draft should be.
>> =20
>> If the draft is not SUIT-only (e.g., allowing use in OSCORE, etc.) =
then it sounds like we might need the ability to support more than LMS =
for some use cases.
>> =20
>> Dave
>> =20
>> From: Suit <suit-bounces@ietf.org <mailto:suit-bounces@ietf.org>> On =
Behalf Of Brendan Moran
>> Sent: Thursday, June 21, 2018 9:03 AM
>> To: Russ Housley <housley@vigilsec.com <mailto:housley@vigilsec.com>>
>> Cc: suit <suit@ietf.org <mailto:suit@ietf.org>>
>> Subject: Re: [Suit] draft-housley-suit-cose-hash-sig
>> =20
>> Hi Russ,=20
>> Thanks for the clarification. I agree that a larger signature is not =
what we need in SUIT. However, for the COSE draft, would it not make =
sense to provide for both LMS and XMSS? I don=E2=80=99t pretend to =
understand all COSE use cases.
>> =20
>> Thanks,
>> Brendan
>>=20
>>=20
>>=20
>> On 21 Jun 2018, at 16:43, Russ Housley <housley@vigilsec.com =
<mailto:housley@vigilsec.com>> wrote:
>> =20
>> Brendan:=20
>> =20
>> Yes, there are two CFRG algorithms for hash-based signatures.  I =
prefer the one McGrew's document, mostly because it is more =
straightforward.  There is some speed improvement for the additional =
complexity in XMSS at the cost of a larger signature value.  To me, the =
speed improvement is not big enough to justify the larger signature =
size.  Your mileage may vary.
>> =20
>> This paper describes the difference between the two:
>> =20
>> https://eprint.iacr.org/2017/349.pdf =
<https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Feprint=
.iacr.org%2F2017%2F349.pdf&data=3D02%7C01%7Cdthaler%40microsoft...com%7C30=
2d0f10626b454a732308d5d7907359%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%=
7C636651937771383092&sdata=3DzDGqR2NskjJzyVVcCEg8suPo3Lt9b6xLI1lxaYlWrbQ%3=
D&reserved=3D0>
>> =20
>> Russ
>> =20
>>=20
>>=20
>>=20
>> On Jun 21, 2018, at 11:11 AM, Brendan Moran <Brendan.Moran@arm.com =
<mailto:Brendan.Moran@arm.com>> wrote:
>> =20
>> I see that there are two current drafts for hash-based signatures:
>> https://tools.ietf.org/html/draft-mcgrew-hash-sigs-11 =
<https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Ftools.=
ietf.org%2Fhtml%2Fdraft-mcgrew-hash-sigs-11&data=3D02%7C01%7Cdthaler%40mic=
rosoft.com%7C302d0f10626b454a732308d5d7907359%7C72f988bf86f141af91ab2d7cd0=
11db47%7C1%7C0%7C636651937771393097&sdata=3DCTRx3BW3duXIREYxP4CyR%2BQY63qY=
gi2vqjnUM9uKqQM%3D&reserved=3D0>
>> =
https://tools.ietf.org/html/draft-irtf-cfrg-xmss-hash-based-signatures-12 =
<https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Ftools.=
ietf.org%2Fhtml%2Fdraft-irtf-cfrg-xmss-hash-based-signatures-12&data=3D02%=
7C01%7Cdthaler%40microsoft.com%7C302d0f10626b454a732308d5d7907359%7C72f988=
bf86f141af91ab2d7cd011db47%7C1%7C0%7C636651937771393097&sdata=3Dpii%2Boa8S=
kTt7PLarq0P%2FKXL4WBVpNwLzGSIxEgZG5YU%3D&reserved=3D0>
>> =20
>> I see that you have referenced the mcgrew draft rather than the =
IRTF/CFRG draft. Could you please explain what the difference is between =
these two drafts and why the mcgrew draft was a better choice than XMSS?
>> =20
>> Thanks,
>> Brendan
>> =20
>>=20
>>=20
>>=20
>> On 13 Jun 2018, at 20:03, Jim Schaad <ietf@augustcellars.com =
<mailto:ietf@augustcellars.com>> wrote:
>> =20
>>=20
>>=20
>>=20
>>=20
>> -----Original Message-----
>> From: Suit <suit-bounces@ietf.org <mailto:suit-bounces@ietf.org>> On =
Behalf Of Michael Richardson
>> Sent: Wednesday, June 13, 2018 11:09 AM
>> To: suit <suit@ietf.org <mailto:suit@ietf.org>>
>> Subject: [Suit] draft-housley-suit-cose-hash-sig
>>=20
>>=20
>> I have read the -01 draft today.
>> I have not read [HASHSIG] yet.
>> I thought I'd try reading this first, to see what questions I had.
>>=20
>> I have implemented COSE Sign1 with ECDSA in Ruby, so I have a grasp =
of
>> what we are trying to plug hash-sig *into*.
>>=20
>>=20
>> Suggestions:
>> 1) would the structure show in section 3 be easier if it was =
described by
>>   CDDL?  I'm rather unclear about this.
>>=20
>> No - this are not CBOR structures they are pure binary strings
>>=20
>>=20
>>=20
>>=20
>> 2) I din't understand section 4, where it says:
>>      o  If the 'key_ops' field is present, it MUST include 'sign' =
when
>>                 creating a hash-based signature.
>>=20
>>      o  If the 'key_ops' field is present, it MUST include 'verify'
>>                 when verifying a hash-based signature.
>>=20
>> Clearly this is not something that travels over the network.  Is this
>> somehow
>>=20
>>=20
>> indicating how to understand if one is dealing a public (verify) key =
or a
>> private
>>=20
>>=20
>> (sign) key?
>>=20
>> The key_ops field can be considered to potentially be transported =
over a
>> network.  It is part of the COSE_Key object rather than part of the
>> COSE_Sign1 object.
>>=20
>>=20
>>=20
>>=20
>> 3) the variations: LMS_SHA256_M32_H20, and LMOTS_SHA256_N32_W2,
>> etc. are
>>   listed, but I don't know if they need to be carried in the =
signature
>>   structure somehow.
>>=20
>> See the [HASHSIG] draft.  It is encoded into the signature structure =
and the
>> key type is in the public key structure.
>>=20
>>=20
>>=20
>>=20
>> 4) I thought that perhaps we'd need CBOR or COSE specific way to =
transport
>>   the signatures.  I guess I shall read HASHSIG to find out what the
>>   signatures look like.
>>=20
>> We have that.  This is looking at a signature just like ECDSA would =
produce.
>> This is a different "ECDSA" replacement.
>>=20
>>=20
>>=20
>>=20
>> I understand draft-mcgrew-hash-sigs-11 is being advanced by CFRG.
>> I believe that SUIT should adopt this document, and should do so in =
the
>> current state.
>>=20
>> I would like to have some examples in CBOR/COSE worked out with =
private
>> keys available in the appendices.
>>=20
>> Always a good thing to have.
>>=20
>> Jim
>>=20
>>=20
>>=20
>>=20
>> --
>> ]               Never tell me the odds!                 | ipv6 mesh
>> networks [
>>=20
>>=20
>> ]   Michael Richardson, Sandelman Software Works        | network
>> architect  [
>>=20
>>=20
>> ]     mcr@sandelman.ca <mailto:mcr@sandelman.ca>  =
http://www.sandelman.ca/ =
<https://na01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fwww.san=
delman.ca%2F&data=3D02%7C01%7Cdthaler%40microsoft.com%7C302d0f10626b454a73=
2308d5d7907359%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C63665193777140=
3102&sdata=3DM7Tnkm9SzFy0ImJTiHRTBVDGfi3pR1vFixMCWskWmOo%3D&reserved=3D0> =
       |   ruby on rails
>> [
>>=20
>>=20
>>=20
>> --
>> Michael Richardson <mcr+IETF@sandelman.ca =
<mailto:mcr+IETF@sandelman.ca>>, Sandelman Software Works
>> -=3D IPv6 IoT consulting =3D-
>>=20
>>=20
>>=20
>>=20
>>=20
>> _______________________________________________
>> Suit mailing list
>> Suit@ietf.org <mailto:Suit@ietf.org>
>> https://www.ietf.org/mailman/listinfo/suit =
<https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ie=
tf.org%2Fmailman%2Flistinfo%2Fsuit&data=3D02%7C01%7Cdthaler%40microsoft.co=
m%7C302d0f10626b454a732308d5d7907359%7C72f988bf86f141af91ab2d7cd011db47%7C=
1%7C0%7C636651937771403102&sdata=3DAKEzjOXtE%2FPSc%2FbwKUP0ctCmYNL4CLWNuF9=
hh7IzOxE%3D&reserved=3D0>
>> =20
>> IMPORTANT NOTICE: The contents of this email and any attachments are =
confidential and may also be privileged. If you are not the intended =
recipient, please notify the sender immediately and do not disclose the =
contents to any other person, use it for any purpose, or store or copy =
the information in any medium. Thank you.
>> =20
>> =20
>> IMPORTANT NOTICE: The contents of this email and any attachments are =
confidential and may also be privileged. If you are not the intended =
recipient, please notify the sender immediately and do not disclose the =
contents to any other person, use it for any purpose, or store or copy =
the information in any medium. Thank you.
>> =20
>>=20
>> Dyson Technology Limited, company number 01959090, Tetbury Hill, =
Malmesbury, SN16 0RP, UK.=20
>> This message is intended solely for the addressee and may contain =
confidential information. If you have received this message in error, =
please immediately and permanently delete it, and do not use, copy or =
disclose the information contained in this message or in any attachment.=20=

>> Dyson may monitor email traffic data and content for security & =
training.
>=20
> _______________________________________________
> Suit mailing list
> Suit@ietf.org
> https://www.ietf.org/mailman/listinfo/suit


--Apple-Mail=_029582B2-A66D-4545-8200-91C1645FBC49
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 =
class=3D"">I uses 'HSS-LMS' for the algorithm identifier. &nbsp;The the =
updates in Sections 4 and 7...</div><div class=3D""><br =
class=3D""></div>Name:<span class=3D"Apple-tab-span" style=3D"white-space:=
 pre;">	</span><span class=3D"Apple-tab-span" style=3D"white-space: =
pre;">	</span>draft-housley-suit-cose-hash-sig<br =
class=3D"">Revision:<span class=3D"Apple-tab-span" style=3D"white-space: =
pre;">	</span>02<br class=3D"">Title:<span class=3D"Apple-tab-span" =
style=3D"white-space: pre;">	</span><span class=3D"Apple-tab-span" =
style=3D"white-space: pre;">	</span>Use of the Hash-based Signature =
Algorithm with CBOR Object Signing and Encryption (COSE)<br =
class=3D"">Document date:<span class=3D"Apple-tab-span" =
style=3D"white-space: pre;">	</span>2018-06-22<br =
class=3D"">Group:<span class=3D"Apple-tab-span" style=3D"white-space: =
pre;">	</span><span class=3D"Apple-tab-span" style=3D"white-space: =
pre;">	</span>Individual Submission<br class=3D"">Pages:<span =
class=3D"Apple-tab-span" style=3D"white-space: pre;">	</span><span =
class=3D"Apple-tab-span" style=3D"white-space: pre;">	</span>10<br =
class=3D"">URL: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://www.ietf.org/internet-drafts/draft-housley-suit-cose-hash-=
sig-02.txt" =
class=3D"">https://www.ietf.org/internet-drafts/draft-housley-suit-cose-ha=
sh-sig-02.txt</a><br class=3D"">Status: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://datatracker.ietf.org/doc/draft-housley-suit-cose-hash-sig/=
" =
class=3D"">https://datatracker.ietf.org/doc/draft-housley-suit-cose-hash-s=
ig/</a><br class=3D"">Htmlized: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://tools.ietf.org/html/draft-housley-suit-cose-hash-sig-02" =
class=3D"">https://tools.ietf.org/html/draft-housley-suit-cose-hash-sig-02=
</a><br class=3D"">Htmlized: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://datatracker.ietf.org/doc/html/draft-housley-suit-cose-hash=
-sig" =
class=3D"">https://datatracker.ietf.org/doc/html/draft-housley-suit-cose-h=
ash-sig</a><br class=3D"">Diff: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://www.ietf.org/rfcdiff?url2=3Ddraft-housley-suit-cose-hash-s=
ig-02" =
class=3D"">https://www.ietf.org/rfcdiff?url2=3Ddraft-housley-suit-cose-has=
h-sig-02</a><br class=3D""><br class=3D"">Abstract:<br =
class=3D"">&nbsp;&nbsp;This document specifies the conventions for using =
the Leighton-Micali<br class=3D"">&nbsp;&nbsp;Signature (LMS) algorithm =
for digital signatures with the CBOR Object<br =
class=3D"">&nbsp;&nbsp;Signing and Encryption (COSE) syntax.<br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Jun 22, 2018, at 5:17 AM, Russ Housley &lt;<a =
href=3D"mailto:housley@vigilsec.com" =
class=3D"">housley@vigilsec.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><meta =
http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8" =
class=3D""><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; line-break: after-white-space;" class=3D"">I was assuming that =
LMS would use "HASHSIG", and XMSS would use "XMSS". &nbsp;These labels =
align with the Internet-Draft file names. &nbsp;In the long run, your =
suggestion is probably better.<div class=3D""><br class=3D""></div><div =
class=3D"">Russ</div><div class=3D""><br class=3D""><div class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">On Jun =
22, 2018, at 4:13 AM, Tony Putman &lt;<a =
href=3D"mailto:Tony.Putman@dyson.com" =
class=3D"">Tony.Putman@dyson.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D"WordSection1" style=3D"page: WordSection1; 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;"><div style=3D"margin: 0cm 0cm 0.0001pt; =
font-size: 12pt; font-family: &quot;Times New Roman&quot;, serif;" =
class=3D""><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D"">As far as I can tell, it is not possible to tell =
from the signature whether it is LMS or XMSS (or indeed any other =
hash-based signature scheme). If this is the case, then I suggest that =
the algorithm identifiers in section 4 should be more specific (e.g. =
'HSIG-LMS'), as should the COSE registry entries in section 7 (e.g. =
Name: HASHSIG-LMS, with corresponding expanded description).<o:p =
class=3D""></o:p></span></div><div style=3D"margin: 0cm 0cm 0.0001pt; =
font-size: 12pt; font-family: &quot;Times New Roman&quot;, serif;" =
class=3D""><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D"">-- Tony<o:p class=3D""></o:p></span></div><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D""><span style=3D"font-size: =
11pt; font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></span></div><div class=3D""><div =
style=3D"border-style: solid none none; border-top-width: 1pt; =
border-top-color: rgb(181, 196, 223); padding: 3pt 0cm 0cm;" =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; =
font-family: &quot;Times New Roman&quot;, serif;" class=3D""><b =
class=3D""><span lang=3D"EN-US" style=3D"font-size: 10pt; font-family: =
Tahoma, sans-serif;" class=3D"">From:</span></b><span lang=3D"EN-US" =
style=3D"font-size: 10pt; font-family: Tahoma, sans-serif;" =
class=3D""><span class=3D"Apple-converted-space">&nbsp;</span>Suit [<a =
href=3D"mailto:suit-bounces@ietf.org" style=3D"color: purple; =
text-decoration: underline;" =
class=3D"">mailto:suit-bounces@ietf.org</a>]<span =
class=3D"Apple-converted-space">&nbsp;</span><b class=3D"">On Behalf =
Of<span class=3D"Apple-converted-space">&nbsp;</span></b>Russ Housley<br =
class=3D""><b class=3D"">Sent:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>21 June 2018 20:44<br =
class=3D""><b class=3D"">To:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Dave Thaler; Brendan =
Moran<br class=3D""><b class=3D"">Cc:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>suit<br class=3D""><b =
class=3D"">Subject:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Re: [Suit] =
draft-housley-suit-cose-hash-sig<o:p =
class=3D""></o:p></span></div></div></div><div style=3D"margin: 0cm 0cm =
0.0001pt; font-size: 12pt; font-family: &quot;Times New Roman&quot;, =
serif;" class=3D""><o:p class=3D"">&nbsp;</o:p></div><div style=3D"margin:=
 0cm 0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New =
Roman&quot;, serif;" class=3D"">I am advocating LMS. I think it would be =
appropriate for an advocate for XMSS to write a similar draft for that =
algorithm.<o:p class=3D""></o:p></div><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div></div><div class=3D""><div style=3D"margin: =
0cm 0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New =
Roman&quot;, serif;" class=3D"">Russ<o:p class=3D""></o:p></div></div><div=
 class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; =
font-family: &quot;Times New Roman&quot;, serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div class=3D""><div style=3D"margin: 0cm =
0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New Roman&quot;, =
serif;" class=3D""><br class=3D""><br class=3D""><o:p =
class=3D""></o:p></div><div class=3D""><div style=3D"margin: 0cm 0cm =
0.0001pt; font-size: 12pt; font-family: &quot;Times New Roman&quot;, =
serif;" class=3D"">On Jun 21, 2018, at 12:08 PM, Dave Thaler &lt;<a =
href=3D"mailto:dthaler@microsoft.com" style=3D"color: purple; =
text-decoration: underline;" class=3D"">dthaler@microsoft.com</a>&gt; =
wrote:<o:p class=3D""></o:p></div></div><div style=3D"margin: 0cm 0cm =
0.0001pt; font-size: 12pt; font-family: &quot;Times New Roman&quot;, =
serif;" class=3D""><o:p class=3D"">&nbsp;</o:p></div><div class=3D""><div =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; =
font-family: &quot;Times New Roman&quot;, serif;" class=3D""><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);" class=3D"">This is similar to a question I asked as =
well, whether the IETF only needs LMS or whether LMS is just an instance =
in a larger class that might be needed, and what the scope of the draft =
should be.</span><o:p class=3D""></o:p></div></div><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D""><span style=3D"font-size: =
11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" =
class=3D"">&nbsp;</span><o:p class=3D""></o:p></div></div><div =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; =
font-family: &quot;Times New Roman&quot;, serif;" class=3D""><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);" class=3D"">If the draft is not SUIT-only (e.g., =
allowing use in OSCORE, etc.) then it sounds like we might need the =
ability to support more than LMS for some use cases.</span><o:p =
class=3D""></o:p></div></div><div class=3D""><div style=3D"margin: 0cm =
0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New Roman&quot;, =
serif;" class=3D""><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125);" class=3D"">&nbsp;</span><o:p =
class=3D""></o:p></div></div><div class=3D""><div style=3D"margin: 0cm =
0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New Roman&quot;, =
serif;" class=3D""><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125);" class=3D"">Dave</span><o:p =
class=3D""></o:p></div></div><div class=3D""><div style=3D"margin: 0cm =
0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New Roman&quot;, =
serif;" class=3D""><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125);" class=3D"">&nbsp;</span><o:p =
class=3D""></o:p></div></div><div class=3D""><div style=3D"border-style: =
solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, =
225); padding: 3pt 0cm 0cm;" class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D""><b class=3D""><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif;" =
class=3D"">From:</span></b><span class=3D"apple-converted-space"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif;" =
class=3D"">&nbsp;</span></span><span style=3D"font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">Suit &lt;<a =
href=3D"mailto:suit-bounces@ietf.org" style=3D"color: purple; =
text-decoration: underline;" class=3D""><span style=3D"color: purple;" =
class=3D"">suit-bounces@ietf.org</span></a>&gt;<span =
class=3D"apple-converted-space">&nbsp;</span><b class=3D"">On Behalf =
Of<span class=3D"apple-converted-space">&nbsp;</span></b>Brendan =
Moran<br class=3D""><b class=3D"">Sent:</b><span =
class=3D"apple-converted-space">&nbsp;</span>Thursday, June 21, 2018 =
9:03 AM<br class=3D""><b class=3D"">To:</b><span =
class=3D"apple-converted-space">&nbsp;</span>Russ Housley &lt;<a =
href=3D"mailto:housley@vigilsec.com" style=3D"color: purple; =
text-decoration: underline;" class=3D""><span style=3D"color: purple;" =
class=3D"">housley@vigilsec.com</span></a>&gt;<br class=3D""><b =
class=3D"">Cc:</b><span class=3D"apple-converted-space">&nbsp;</span>suit =
&lt;<a href=3D"mailto:suit@ietf.org" style=3D"color: purple; =
text-decoration: underline;" class=3D""><span style=3D"color: purple;" =
class=3D"">suit@ietf.org</span></a>&gt;<br class=3D""><b =
class=3D"">Subject:</b><span =
class=3D"apple-converted-space">&nbsp;</span>Re: [Suit] =
draft-housley-suit-cose-hash-sig</span><o:p =
class=3D""></o:p></div></div></div></div><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div><div class=3D""><div style=3D"margin: 0cm =
0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New Roman&quot;, =
serif;" class=3D"">Hi Russ,<span =
class=3D"apple-converted-space">&nbsp;</span><o:p =
class=3D""></o:p></div></div><div class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D"">Thanks for the =
clarification. I agree that a larger signature is not what we need in =
SUIT. However, for the COSE draft, would it not make sense to provide =
for both LMS and XMSS? I don=E2=80=99t pretend to understand all COSE =
use cases.<o:p class=3D""></o:p></div></div></div><div class=3D""><div =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; =
font-family: &quot;Times New Roman&quot;, serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div></div><div class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D"">Thanks,<o:p =
class=3D""></o:p></div></div></div><div class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D"">Brendan<o:p =
class=3D""></o:p></div></div><div class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D""><br class=3D""><br =
class=3D""><br class=3D""><o:p class=3D""></o:p></div></div><blockquote =
style=3D"margin-top: 5pt; margin-bottom: 5pt;" class=3D""><div =
class=3D""><div class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; =
font-size: 12pt; font-family: &quot;Times New Roman&quot;, serif;" =
class=3D"">On 21 Jun 2018, at 16:43, Russ Housley &lt;<a =
href=3D"mailto:housley@vigilsec.com" style=3D"color: purple; =
text-decoration: underline;" class=3D""><span style=3D"color: purple;" =
class=3D"">housley@vigilsec.com</span></a>&gt; wrote:<o:p =
class=3D""></o:p></div></div></div><div class=3D""><div style=3D"margin: =
0cm 0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New =
Roman&quot;, serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div><div class=3D""><div class=3D""><div =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; =
font-family: &quot;Times New Roman&quot;, serif;" class=3D"">Brendan:<span=
 class=3D"apple-converted-space">&nbsp;</span><o:p =
class=3D""></o:p></div></div><div class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div></div><div class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D"">Yes, there are two CFRG =
algorithms for hash-based signatures. &nbsp;I prefer the one McGrew's =
document, mostly because it is more straightforward. &nbsp;There is some =
speed improvement for the additional complexity in XMSS at the cost of a =
larger signature value. &nbsp;To me, the speed improvement is not big =
enough to justify the larger signature size. &nbsp;Your mileage may =
vary.<o:p class=3D""></o:p></div></div></div><div class=3D""><div =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; =
font-family: &quot;Times New Roman&quot;, serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div></div><div class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D"">This paper describes the =
difference between the two:<o:p class=3D""></o:p></div></div></div><div =
class=3D""><div class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; =
font-size: 12pt; font-family: &quot;Times New Roman&quot;, serif;" =
class=3D"">&nbsp;<o:p class=3D""></o:p></div></div></div><div =
class=3D""><div class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; =
font-size: 12pt; font-family: &quot;Times New Roman&quot;, serif;" =
class=3D""><a =
href=3D"https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2=
Feprint.iacr.org%2F2017%2F349.pdf&amp;data=3D02%7C01%7Cdthaler%40microsoft=
...com%7C302d0f10626b454a732308d5d7907359%7C72f988bf86f141af91ab2d7cd011db=
47%7C1%7C0%7C636651937771383092&amp;sdata=3DzDGqR2NskjJzyVVcCEg8suPo3Lt9b6=
xLI1lxaYlWrbQ%3D&amp;reserved=3D0" style=3D"color: purple; =
text-decoration: underline;" class=3D""><span style=3D"color: purple;" =
class=3D"">https://eprint.iacr.org/2017/349.pdf</span></a><o:p =
class=3D""></o:p></div></div></div><div class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div></div><div class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D"">Russ<o:p =
class=3D""></o:p></div></div></div><div class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div><div class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D""><br class=3D""><br =
class=3D""><br class=3D""><o:p class=3D""></o:p></div></div><blockquote =
style=3D"margin-top: 5pt; margin-bottom: 5pt;" class=3D""><div =
class=3D""><div class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; =
font-size: 12pt; font-family: &quot;Times New Roman&quot;, serif;" =
class=3D"">On Jun 21, 2018, at 11:11 AM, Brendan Moran &lt;<a =
href=3D"mailto:Brendan.Moran@arm.com" style=3D"color: purple; =
text-decoration: underline;" class=3D""><span style=3D"color: purple;" =
class=3D"">Brendan.Moran@arm.com</span></a>&gt; wrote:<o:p =
class=3D""></o:p></div></div></div><div class=3D""><div style=3D"margin: =
0cm 0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New =
Roman&quot;, serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div><div class=3D""><div class=3D""><div =
class=3D""><div class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; =
font-size: 12pt; font-family: &quot;Times New Roman&quot;, serif;" =
class=3D"">I see that there are two current drafts for hash-based =
signatures:<o:p class=3D""></o:p></div></div></div><div class=3D""><div =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; =
font-family: &quot;Times New Roman&quot;, serif;" class=3D""><a =
href=3D"https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2=
Ftools.ietf.org%2Fhtml%2Fdraft-mcgrew-hash-sigs-11&amp;data=3D02%7C01%7Cdt=
haler%40microsoft.com%7C302d0f10626b454a732308d5d7907359%7C72f988bf86f141a=
f91ab2d7cd011db47%7C1%7C0%7C636651937771393097&amp;sdata=3DCTRx3BW3duXIREY=
xP4CyR%2BQY63qYgi2vqjnUM9uKqQM%3D&amp;reserved=3D0" style=3D"color: =
purple; text-decoration: underline;" class=3D""><span style=3D"color: =
purple;" =
class=3D"">https://tools.ietf.org/html/draft-mcgrew-hash-sigs-11</span></a=
><o:p class=3D""></o:p></div></div></div><div class=3D""><div =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; =
font-family: &quot;Times New Roman&quot;, serif;" class=3D""><a =
href=3D"https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2=
Ftools.ietf.org%2Fhtml%2Fdraft-irtf-cfrg-xmss-hash-based-signatures-12&amp=
;data=3D02%7C01%7Cdthaler%40microsoft.com%7C302d0f10626b454a732308d5d79073=
59%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636651937771393097&amp;sda=
ta=3Dpii%2Boa8SkTt7PLarq0P%2FKXL4WBVpNwLzGSIxEgZG5YU%3D&amp;reserved=3D0" =
style=3D"color: purple; text-decoration: underline;" class=3D""><span =
style=3D"color: purple;" =
class=3D"">https://tools.ietf.org/html/draft-irtf-cfrg-xmss-hash-based-sig=
natures-12</span></a><o:p class=3D""></o:p></div></div></div><div =
class=3D""><div class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; =
font-size: 12pt; font-family: &quot;Times New Roman&quot;, serif;" =
class=3D"">&nbsp;<o:p class=3D""></o:p></div></div></div><div =
class=3D""><div class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; =
font-size: 12pt; font-family: &quot;Times New Roman&quot;, serif;" =
class=3D"">I see that you have referenced the mcgrew draft rather than =
the IRTF/CFRG draft. Could you please explain what the difference is =
between these two drafts and why the mcgrew draft was a better choice =
than XMSS?<o:p class=3D""></o:p></div></div></div><div class=3D""><div =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; =
font-family: &quot;Times New Roman&quot;, serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div></div><div class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D"">Thanks,<o:p =
class=3D""></o:p></div></div></div><div class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D"">Brendan<o:p =
class=3D""></o:p></div></div><div class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div></div><div class=3D""><div class=3D""><div =
class=3D""><div class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; =
font-size: 12pt; font-family: &quot;Times New Roman&quot;, serif;" =
class=3D""><br class=3D""><br class=3D""><br class=3D""><o:p =
class=3D""></o:p></div></div><blockquote style=3D"margin-top: 5pt; =
margin-bottom: 5pt;" class=3D""><div class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D"">On 13 Jun 2018, at =
20:03, Jim Schaad &lt;<a href=3D"mailto:ietf@augustcellars.com" =
style=3D"color: purple; text-decoration: underline;" class=3D""><span =
style=3D"color: purple;" class=3D"">ietf@augustcellars.com</span></a>&gt; =
wrote:<o:p class=3D""></o:p></div></div></div><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div><div class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D""><span style=3D"font-size: =
9pt; font-family: Helvetica, sans-serif;" class=3D""><br class=3D""><br =
class=3D""><br class=3D""><br class=3D""></span><o:p =
class=3D""></o:p></div></div><blockquote style=3D"margin-top: 5pt; =
margin-bottom: 5pt;" class=3D""><div class=3D""><div style=3D"margin: =
0cm 0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New =
Roman&quot;, serif;" class=3D""><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D"">-----Original =
Message-----<br class=3D"">From: Suit &lt;<a =
href=3D"mailto:suit-bounces@ietf.org" style=3D"color: purple; =
text-decoration: underline;" class=3D""><span style=3D"color: purple;" =
class=3D"">suit-bounces@ietf.org</span></a>&gt; On Behalf Of Michael =
Richardson<br class=3D"">Sent: Wednesday, June 13, 2018 11:09 AM<br =
class=3D"">To: suit &lt;<a href=3D"mailto:suit@ietf.org" style=3D"color: =
purple; text-decoration: underline;" class=3D""><span style=3D"color: =
purple;" class=3D"">suit@ietf.org</span></a>&gt;<br class=3D"">Subject: =
[Suit] draft-housley-suit-cose-hash-sig<br class=3D""><br class=3D""><br =
class=3D"">I have read the -01 draft today.<br class=3D"">I have not =
read [HASHSIG] yet.<br class=3D"">I thought I'd try reading this first, =
to see what questions I had.<br class=3D""><br class=3D"">I have =
implemented COSE Sign1 with ECDSA in Ruby, so I have a grasp of<br =
class=3D"">what we are trying to plug hash-sig *into*.<br class=3D""><br =
class=3D""><br class=3D"">Suggestions:<br class=3D"">1) would the =
structure show in section 3 be easier if it was described by<br =
class=3D"">&nbsp;&nbsp;CDDL? &nbsp;I'm rather unclear about =
this.</span><o:p class=3D""></o:p></div></div></blockquote><div =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; =
font-family: &quot;Times New Roman&quot;, serif;" class=3D""><span =
style=3D"font-size: 9pt; font-family: Helvetica, sans-serif;" =
class=3D""><br class=3D"">No - this are not CBOR structures they are =
pure binary strings<br class=3D""><br class=3D""><br class=3D""><br =
class=3D""></span><o:p class=3D""></o:p></div></div><blockquote =
style=3D"margin-top: 5pt; margin-bottom: 5pt;" class=3D""><div =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; =
font-family: &quot;Times New Roman&quot;, serif;" class=3D""><span =
style=3D"font-size: 9pt; font-family: Helvetica, sans-serif;" =
class=3D""><br class=3D"">2) I din't understand section 4, where it =
says:<br class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;o &nbsp;If the =
'key_ops' field is present, it MUST include 'sign' when<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;creating a hash-based signature.<br =
class=3D""><br class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;o &nbsp;If the =
'key_ops' field is present, it MUST include 'verify'<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;when verifying a hash-based =
signature.<br class=3D""><br class=3D"">Clearly this is not something =
that travels over the network. &nbsp;Is this</span><o:p =
class=3D""></o:p></div></div></blockquote><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D""><span style=3D"font-size: =
9pt; font-family: Helvetica, sans-serif;" class=3D"">somehow<br =
class=3D""><br class=3D""><br class=3D""></span><o:p =
class=3D""></o:p></div></div><blockquote style=3D"margin-top: 5pt; =
margin-bottom: 5pt;" class=3D""><div class=3D""><div style=3D"margin: =
0cm 0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New =
Roman&quot;, serif;" class=3D""><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D"">indicating how to =
understand if one is dealing a public (verify) key or a</span><o:p =
class=3D""></o:p></div></div></blockquote><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D""><span style=3D"font-size: =
9pt; font-family: Helvetica, sans-serif;" class=3D"">private<br =
class=3D""><br class=3D""><br class=3D""></span><o:p =
class=3D""></o:p></div></div><blockquote style=3D"margin-top: 5pt; =
margin-bottom: 5pt;" class=3D""><div class=3D""><div style=3D"margin: =
0cm 0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New =
Roman&quot;, serif;" class=3D""><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D"">(sign) key?</span><o:p =
class=3D""></o:p></div></div></blockquote><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D""><span style=3D"font-size: =
9pt; font-family: Helvetica, sans-serif;" class=3D""><br class=3D"">The =
key_ops field can be considered to potentially be transported over a<br =
class=3D"">network. &nbsp;It is part of the COSE_Key object rather than =
part of the<br class=3D"">COSE_Sign1 object.<br class=3D""><br =
class=3D""><br class=3D""><br class=3D""></span><o:p =
class=3D""></o:p></div></div><blockquote style=3D"margin-top: 5pt; =
margin-bottom: 5pt;" class=3D""><div class=3D""><div style=3D"margin: =
0cm 0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New =
Roman&quot;, serif;" class=3D""><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D""><br class=3D"">3) the =
variations: LMS_SHA256_M32_H20, and LMOTS_SHA256_N32_W2,<br =
class=3D"">etc. are<br class=3D"">&nbsp;&nbsp;listed, but I don't know =
if they need to be carried in the signature<br =
class=3D"">&nbsp;&nbsp;structure somehow.</span><o:p =
class=3D""></o:p></div></div></blockquote><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D""><span style=3D"font-size: =
9pt; font-family: Helvetica, sans-serif;" class=3D""><br class=3D"">See =
the [HASHSIG] draft. &nbsp;It is encoded into the signature structure =
and the<br class=3D"">key type is in the public key structure.<br =
class=3D""><br class=3D""><br class=3D""><br class=3D""></span><o:p =
class=3D""></o:p></div></div><blockquote style=3D"margin-top: 5pt; =
margin-bottom: 5pt;" class=3D""><div class=3D""><div style=3D"margin: =
0cm 0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New =
Roman&quot;, serif;" class=3D""><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D""><br class=3D"">4) I =
thought that perhaps we'd need CBOR or COSE specific way to transport<br =
class=3D"">&nbsp;&nbsp;the signatures. &nbsp;I guess I shall read =
HASHSIG to find out what the<br class=3D"">&nbsp;&nbsp;signatures look =
like.</span><o:p class=3D""></o:p></div></div></blockquote><div =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; =
font-family: &quot;Times New Roman&quot;, serif;" class=3D""><span =
style=3D"font-size: 9pt; font-family: Helvetica, sans-serif;" =
class=3D""><br class=3D"">We have that. &nbsp;This is looking at a =
signature just like ECDSA would produce.<br class=3D"">This is a =
different "ECDSA" replacement.<br class=3D""><br class=3D""><br =
class=3D""><br class=3D""></span><o:p =
class=3D""></o:p></div></div><blockquote style=3D"margin-top: 5pt; =
margin-bottom: 5pt;" class=3D""><div class=3D""><div style=3D"margin: =
0cm 0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New =
Roman&quot;, serif;" class=3D""><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D""><br class=3D"">I =
understand draft-mcgrew-hash-sigs-11 is being advanced by CFRG.<br =
class=3D"">I believe that SUIT should adopt this document, and should do =
so in the<br class=3D"">current state.<br class=3D""><br class=3D"">I =
would like to have some examples in CBOR/COSE worked out with private<br =
class=3D"">keys available in the appendices.</span><o:p =
class=3D""></o:p></div></div></blockquote><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D""><span style=3D"font-size: =
9pt; font-family: Helvetica, sans-serif;" class=3D""><br class=3D"">Always=
 a good thing to have.<br class=3D""><br class=3D"">Jim<br class=3D""><br =
class=3D""><br class=3D""><br class=3D""></span><o:p =
class=3D""></o:p></div></div><blockquote style=3D"margin-top: 5pt; =
margin-bottom: 5pt;" class=3D""><div class=3D""><div style=3D"margin: =
0cm 0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New =
Roman&quot;, serif;" class=3D""><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D""><br class=3D"">--<br =
class=3D"">] =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;Never tell me the odds! =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;| ipv6 mesh</span><o:p =
class=3D""></o:p></div></div></blockquote><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D""><span style=3D"font-size: =
9pt; font-family: Helvetica, sans-serif;" class=3D"">networks [<br =
class=3D""><br class=3D""><br class=3D""></span><o:p =
class=3D""></o:p></div></div><blockquote style=3D"margin-top: 5pt; =
margin-bottom: 5pt;" class=3D""><div class=3D""><div style=3D"margin: =
0cm 0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New =
Roman&quot;, serif;" class=3D""><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D"">] &nbsp;&nbsp;Michael =
Richardson, Sandelman Software Works =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| network</span><o:p =
class=3D""></o:p></div></div></blockquote><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D""><span style=3D"font-size: =
9pt; font-family: Helvetica, sans-serif;" class=3D"">architect =
&nbsp;[<br class=3D""><br class=3D""><br class=3D""></span><o:p =
class=3D""></o:p></div></div><blockquote style=3D"margin-top: 5pt; =
margin-bottom: 5pt;" class=3D""><div class=3D""><div style=3D"margin: =
0cm 0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New =
Roman&quot;, serif;" class=3D""><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D"">] =
&nbsp;&nbsp;&nbsp;&nbsp;<a href=3D"mailto:mcr@sandelman.ca" =
style=3D"color: purple; text-decoration: underline;" class=3D""><span =
style=3D"color: purple;" class=3D"">mcr@sandelman.ca</span></a><span =
class=3D"apple-converted-space">&nbsp;</span>&nbsp;<a =
href=3D"https://na01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2F=
www.sandelman.ca%2F&amp;data=3D02%7C01%7Cdthaler%40microsoft.com%7C302d0f1=
0626b454a732308d5d7907359%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636=
651937771403102&amp;sdata=3DM7Tnkm9SzFy0ImJTiHRTBVDGfi3pR1vFixMCWskWmOo%3D=
&amp;reserved=3D0" style=3D"color: purple; text-decoration: underline;" =
class=3D""><span style=3D"color: purple;" =
class=3D"">http://www.sandelman.ca/</span></a><span =
class=3D"apple-converted-space">&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;| &nbsp;&nbsp;ruby on rails</span><o:p =
class=3D""></o:p></div></div></blockquote><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D""><span style=3D"font-size: =
9pt; font-family: Helvetica, sans-serif;" class=3D"">[<br class=3D""><br =
class=3D""><br class=3D""></span><o:p =
class=3D""></o:p></div></div><blockquote style=3D"margin-top: 5pt; =
margin-bottom: 5pt;" class=3D""><p class=3D"MsoNormal" style=3D"margin: =
0cm 0cm 12pt; font-size: 12pt; font-family: &quot;Times New Roman&quot;, =
serif;"><span style=3D"font-size: 9pt; font-family: Helvetica, =
sans-serif;" class=3D""><br class=3D"">--<br class=3D"">Michael =
Richardson &lt;<a href=3D"mailto:mcr+IETF@sandelman.ca" style=3D"color: =
purple; text-decoration: underline;" class=3D""><span style=3D"color: =
purple;" class=3D"">mcr+IETF@sandelman.ca</span></a>&gt;, Sandelman =
Software Works<br class=3D"">-=3D IPv6 IoT consulting =3D-<br =
class=3D""><br class=3D""><br class=3D""></span><o:p =
class=3D""></o:p></p></blockquote><div class=3D""><div style=3D"margin: =
0cm 0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New =
Roman&quot;, serif;" class=3D""><span style=3D"font-size: 9pt; =
font-family: Helvetica, sans-serif;" class=3D""><br class=3D""><br =
class=3D"">_______________________________________________<br =
class=3D"">Suit mailing list<br class=3D""><a =
href=3D"mailto:Suit@ietf.org" style=3D"color: purple; text-decoration: =
underline;" class=3D""><span style=3D"color: purple;" =
class=3D"">Suit@ietf.org</span></a><br class=3D""><a =
href=3D"https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2=
Fwww.ietf.org%2Fmailman%2Flistinfo%2Fsuit&amp;data=3D02%7C01%7Cdthaler%40m=
icrosoft.com%7C302d0f10626b454a732308d5d7907359%7C72f988bf86f141af91ab2d7c=
d011db47%7C1%7C0%7C636651937771403102&amp;sdata=3DAKEzjOXtE%2FPSc%2FbwKUP0=
ctCmYNL4CLWNuF9hh7IzOxE%3D&amp;reserved=3D0" style=3D"color: purple; =
text-decoration: underline;" class=3D""><span style=3D"color: purple;" =
class=3D"">https://www.ietf.org/mailman/listinfo/suit</span></a></span><o:=
p class=3D""></o:p></div></div></div></blockquote></div><div =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; =
font-family: &quot;Times New Roman&quot;, serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div></div></div></div><div class=3D""><div =
style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: =
&quot;Times New Roman&quot;, serif;" class=3D"">IMPORTANT NOTICE: The =
contents of this email and any attachments are confidential and may also =
be privileged. If you are not the intended recipient, please notify the =
sender immediately and do not disclose the contents to any other person, =
use it for any purpose, or store or copy the information in any medium. =
Thank you.<o:p =
class=3D""></o:p></div></div></div></div></blockquote></div><div =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; =
font-family: &quot;Times New Roman&quot;, serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div></div></div></div></blockquote></div><div =
class=3D""><div style=3D"margin: 0cm 0cm 0.0001pt; font-size: 12pt; =
font-family: &quot;Times New Roman&quot;, serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div></div></div><div class=3D""><div style=3D"margin: =
0cm 0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New =
Roman&quot;, serif;" class=3D"">IMPORTANT NOTICE: The contents of this =
email and any attachments are confidential and may also be privileged. =
If you are not the intended recipient, please notify the sender =
immediately and do not disclose the contents to any other person, use it =
for any purpose, or store or copy the information in any medium. Thank =
you.<o:p class=3D""></o:p></div></div></div></div><div style=3D"margin: =
0cm 0cm 0.0001pt; font-size: 12pt; font-family: &quot;Times New =
Roman&quot;, serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div></div></div><br 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""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; 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; font-size: 13px;" class=3D"">Dyson Technology Limited, company =
number 01959090, Tetbury Hill, Malmesbury, SN16 0RP, UK.<span =
class=3D"Apple-converted-space">&nbsp;</span><br class=3D"">This message =
is intended solely for the addressee and may contain confidential =
information. If you have received this message in error, please =
immediately and permanently delete it, and do not use, copy or disclose =
the information contained in this message or in any attachment.<span =
class=3D"Apple-converted-space">&nbsp;</span><br class=3D"">Dyson may =
monitor email traffic data and content for security &amp; =
training.</span></div></blockquote></div><br =
class=3D""></div></div>_______________________________________________<br =
class=3D"">Suit mailing list<br class=3D""><a =
href=3D"mailto:Suit@ietf.org" class=3D"">Suit@ietf.org</a><br =
class=3D"">https://www.ietf.org/mailman/listinfo/suit<br =
class=3D""></div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_029582B2-A66D-4545-8200-91C1645FBC49--

