Re: [Secdispatch] [EXTERNAL]Re: Can Composite sigs move back to LAMPS?

Mike Ounsworth <Mike.Ounsworth@entrustdatacard.com> Fri, 17 January 2020 22:17 UTC

Return-Path: <prvs=27897f1b8=Mike.Ounsworth@entrustdatacard.com>
X-Original-To: secdispatch@ietfa.amsl.com
Delivered-To: secdispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1380D120836 for <secdispatch@ietfa.amsl.com>; Fri, 17 Jan 2020 14:17:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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=entrustdatacardcorp.onmicrosoft.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 7_rw9DQZiNbv for <secdispatch@ietfa.amsl.com>; Fri, 17 Jan 2020 14:17:24 -0800 (PST)
Received: from mx2.entrustdatacard.com (mx2.entrustdatacard.com [204.124.80.222]) (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 B7DD1120026 for <secdispatch@ietf.org>; Fri, 17 Jan 2020 14:17:24 -0800 (PST)
IronPort-SDR: CPlWrUkOHkZYGw1w/RgDGufWxH0ap1k2rMB+67JX+BQoxvbBydrFCXqnMmmYKyVvwaYK2X6XZ7 d0gJOJYLNFXg==
X-IronPort-AV: E=Sophos;i="5.70,331,1574143200"; d="scan'208";a="7765323"
Received: from pmspex02.corporate.datacard.com (HELO owa.entrustdatacard.com) ([192.168.211.30]) by pmspesa04inside.corporate.datacard.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA384; 17 Jan 2020 16:17:24 -0600
Received: from PMSPEX03.corporate.datacard.com (192.168.211.50) by pmspex02.corporate.datacard.com (192.168.211.30) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 17 Jan 2020 16:17:23 -0600
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (172.28.1.8) by PMSPEX03.corporate.datacard.com (192.168.211.50) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Fri, 17 Jan 2020 16:17:23 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I3ax3zTD5KV2d16weQ2AHfxuPbsZajRV6Hj6o1+dT/oXI++gIocJcaXh/sI9qNMiaDewR5I7FDanJTtL2t8nS8YulqnnOZJawBBpuOTKOEMMqd+n3gVxRbapvrNNLSsw818q5oVKoWmsynQb1nOoS7oSs9oBEYE4mFQz5qwo4TVfoXnHTyLjKFDg+rBoYRb29RKslLLftcfLElBLlvV7c2P1YzdcPgrTvwJGNyh/LVh0qFVL0cIxAHFcJCNqeaCecpwO9yHBJ/0gsqvlTL97S8PTTovsjPiuXACFCRKZpCdqt8mL9+9mJEMfAGfEJbgSqzr4I0GwI+vGE5FeYHTDdQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=99eMq+2A8NURoKpsUzQh8HxyEiM9Lh6D5ZQNcEQLIEk=; b=MR/c9oLwvli7zXdYJHqCXBSeRCgrHN5mq4XBZp2u70CgptoTB8o5fgIvMYdBRyabmO8NxFavJJA1/8SgZrFYwWALvW+Ye19WKFPTFgYDfyF5LRXO7GhuENBsVQaJp8QLfOZe8DI2qNfXHPxzNYyOm+zCLJFvx4YTNQLHMFCgym6B6KLQjSHs53M0T0KxF+tq/IOzjjjajE6c8DiVBkWv9hvgV2Mm7OOlugdAHEHUTsmSVCt6YMUGw28vo9Tfo7CAlrYIAMOSzbIqkcirA7eNKU63/ynozkKGFUqtx/ORyGOpcI3tX2sQMF01dyZ0uRgAtDOgzTOQhOjS0210qIf+Wg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=entrustdatacard.com; dmarc=pass action=none header.from=entrustdatacard.com; dkim=pass header.d=entrustdatacard.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=entrustdatacardcorp.onmicrosoft.com; s=selector1-entrustdatacardcorp-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=99eMq+2A8NURoKpsUzQh8HxyEiM9Lh6D5ZQNcEQLIEk=; b=wNXLJs8thU4EXiyfBPccH6AWBWtwXUxSiUF+6U+ZWgpJWYCd3tnHvA6ISmd/qR02f7v50RaPTKXwbOZs3nqv4On3jMVgGYXh16jycRpkflhVPGTv6Jpto0zMPDRW7q+IUrTaUaCzFCt0D+tetLUAPtzWNaqAxLo0DaU5mmttm7A=
Received: from DM6PR11MB3883.namprd11.prod.outlook.com (10.255.61.32) by DM6PR11MB4281.namprd11.prod.outlook.com (52.132.251.221) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.18; Fri, 17 Jan 2020 22:17:22 +0000
Received: from DM6PR11MB3883.namprd11.prod.outlook.com ([fe80::34ac:ed41:2759:3392]) by DM6PR11MB3883.namprd11.prod.outlook.com ([fe80::34ac:ed41:2759:3392%6]) with mapi id 15.20.2644.023; Fri, 17 Jan 2020 22:17:22 +0000
From: Mike Ounsworth <Mike.Ounsworth@entrustdatacard.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, John Gray <John.Gray@entrustdatacard.com>, "Markku-Juhani O. Saarinen" <mjos@pqshield.com>, IETF SecDispatch <secdispatch@ietf.org>
CC: Daniel Van Geest <Daniel.VanGeest@isara.com>
Thread-Topic: [EXTERNAL]Re: [Secdispatch] Can Composite sigs move back to LAMPS?
Thread-Index: AQHVzS8z4XsT5+vb5UScUzn4/98hV6fuxzqAgAACNYCAAGCBgIAAHtSAgAAdMFA=
Date: Fri, 17 Jan 2020 22:17:21 +0000
Message-ID: <DM6PR11MB3883DB8289E4EE1CDEFE7BA89B310@DM6PR11MB3883.namprd11.prod.outlook.com>
References: <DM6PR11MB388377406A1AAEDCA397749C9B360@DM6PR11MB3883.namprd11.prod.outlook.com> <70b221bb-bc39-52cc-f9e0-a84261afe473@cs.tcd.ie> <09B0CA53-BAAF-4139-8179-2A70ADE58632@isara.com> <c0f620d7-4e22-18a5-c168-f66b737cae86@cs.tcd.ie> <CAPwdP4PG3i5-_BuVMdH0iMcJCT40xejoM=J3dH=pPO61T-F4Aw@mail.gmail.com> <3f9de00e-85ad-48ed-ba97-e1b5418e3867@cs.tcd.ie> <BYAPR11MB3478E8F964A34EDD232CFB03EE310@BYAPR11MB3478.namprd11.prod.outlook.com> <052d3ee0-41ae-c4f4-7013-6286942c468a@cs.tcd.ie>
In-Reply-To: <052d3ee0-41ae-c4f4-7013-6286942c468a@cs.tcd.ie>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Mike.Ounsworth@entrustdatacard.com;
x-originating-ip: [70.76.144.81]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 584aa25a-d4c2-456f-14d2-08d79b9b0610
x-ms-traffictypediagnostic: DM6PR11MB4281:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <DM6PR11MB42818789A3483B8A987FF4959B310@DM6PR11MB4281.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0285201563
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(366004)(396003)(136003)(39860400002)(346002)(199004)(189003)(71200400001)(55016002)(26005)(186003)(8936002)(8676002)(110136005)(4326008)(45080400002)(7696005)(33656002)(66446008)(9686003)(296002)(81156014)(66476007)(66556008)(64756008)(81166006)(5660300002)(478600001)(2906002)(86362001)(76116006)(53546011)(6506007)(52536014)(66946007)(316002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR11MB4281; H:DM6PR11MB3883.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: PyvpWR7+UlTOkyrxUHHfY1HQUF5vdnorWwGoij8NFzgGrdGJc1PuD9vXuqwvD0kcmerdJ1Uasg3oCRg505IUG59mC7VP6NdaanYMuvdGfOtdIIiJOKenYAeZ+FhVOux8qaakwml0zqap1v3OPnOwc0Ecuwm+bxcSjMSO+E/OyHjyQn8GNSXwcCkUmOGo+2kA8wFDHZHa1GVcrfabS9qqax2CeFdwdaTO5oo8eqGcMQ+aRbvIzNHThVntEftAuMWsRoTni7oOI7q+DemV3Pi9fOpdFHJO3GVcYskOh6zv0pMZAIA4QEQPMSsF5RYXfNMKf4ICJsKW0eNDTkfKEYeE4T9qRZwZE/ZvJDl4YmzWZinOk7IFdlc7zZQJECvkLKTwjgANZ19I2KayNutmefvtO0X19zqk8vVhT2u+ygJVjKUbl1EA++mrR2G5WQQ1XmcV
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 584aa25a-d4c2-456f-14d2-08d79b9b0610
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jan 2020 22:17:21.8348 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: f46cf439-27ef-4acf-a800-15072bb7ddc1
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: lwL5IAHZFVrCAJ9cx5YgE6ZehwFYRYOFhEVUyHc55wFp02V/IcKeY0UVVBAeaIpdboZdcMlgV0Lb1N3x3oJIedsZohQWobMUHlZTZ8Sm1rjOLGz3qaRLOfhLU6Wy2DY7
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4281
X-OriginatorOrg: entrustdatacard.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdispatch/5Wa47aQ9N-k-LO_Xtf49_3kDvaY>
Subject: Re: [Secdispatch] [EXTERNAL]Re: Can Composite sigs move back to LAMPS?
X-BeenThere: secdispatch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Dispatch <secdispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdispatch>, <mailto:secdispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdispatch/>
List-Post: <mailto:secdispatch@ietf.org>
List-Help: <mailto:secdispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdispatch>, <mailto:secdispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Jan 2020 22:17:30 -0000

Hi Stephen,

We may have a misunderstanding about what draft-ounsworth-pq-composite-sigs is trying to accomplish. 

Draft-ounsworth-pq-composite-sigs defines ASN.1 structures for carrying multiple SubjectPublicKeyInfo, AlgorithmIdentifier, and BIT STRING (signature values), in a way that will be drop-in for PKIX-like protocols.

You keep mentioning parameter sets and "what if they change?". I really don't see why that's relevant. Draft-ounsworth-pq-composite-sigs is algorithm-agnostic; orthogonal to the choice of algorithms by NIST or their encodings. 

If anything, I see your argument being in support of composite because a composite solution can help bridge across a param change, for example maybe by including one signature on each param set until all clients are upgraded. I wish such a mechanism had existed since the beginning of PKI; it would have helped for example with the SHA1 -> SHA2 migration as there are *still* PKI deployments with a handful of critical legacy clients that keep the entire ecosystem on SHA1. In fact, AFAIK Microsoft code-signing did exactly that by including both SHA1 and SHA2 signatures on binaries and letting the verifier pick their favourite during the transition period. Let's standardize this before we end up with a dozen proprietary ways of jamming 2+ signatures on things!

---
Mike Ounsworth | Office: +1 (613) 270-2873

-----Original Message-----
From: Stephen Farrell <stephen.farrell@cs.tcd.ie> 
Sent: January 17, 2020 2:06 PM
To: John Gray <John.Gray@entrustdatacard.com>; Markku-Juhani O. Saarinen <mjos@pqshield.com>; IETF SecDispatch <secdispatch@ietf.org>
Cc: Daniel Van Geest <Daniel.VanGeest@isara.com>; Mike Ounsworth <Mike.Ounsworth@entrustdatacard.com>
Subject: Re: [EXTERNAL]Re: [Secdispatch] Can Composite sigs move back to LAMPS?


Replying to a few mails at once, but ISTM this is starting to get repetitive.

On 17/01/2020 18:15, John Gray wrote:
> Hi Stephen,
> 
> The reason why we are putting together this composite standard is 
> because we believe we are in this position today.   If NIST  decides 
> no Round 3 is needed, then we will know the PQ winners by June of 
> this year.   Even if there is a Round 3, and no final set of PQ 
> algorithms is declared until 2021 or 2022, we want to have a hybrid 
> standard ready for us use.  We will need to implement, test, and 
> interop and all these things take time and have to be done after there 
> is a standard.  If we wait too long, it will be a free for all.

Right now there are too many algorithms to believe that we'd have other than a free-for-all as those pushing one or another try get their thing adopted. I'd also note that NIST has a history or defining new parameterisations after algorithm selection, so wouldn't be surprised if that happened here too. I'd prefer we wait and see what results from the NIST thing rather adopt work now in the IETF. If people want to do work ahead of NIST then that's of course fine, but adopting such work in the IETF is asking us all to do work on this now, and I think that's both risky and wasteful.

> 
> There are already a small handful of stable PQ algorithms available 
> to use today.   See RFC 8391 (XMSS) and RFC 8554 (LMS), so using a 
> hybrid RSA or EC with XMSS or LMS in a composite form is already 
> viable.  The choices are definitely few at this moment, but there are 
> viable use-cases.

Stateful signature schemes such as those are not suited for use in X.509 IMO, as was already raised on the list.
(And someone earlier claimed they wouldn't work for their use-cases, so I'm confused as to whether the proponents here do or don't want to include stateful signature
schemes.)

On 17/01/2020 17:54, Mike Ounsworth wrote:
> Cool. In the meantime, we plan to keep working on the outstanding TODO 
> decision points in the draft as more vendors approach us for interop 
> testing. :-)

I've no objection to people working on stuff. I am opposed to the IETF prematurely adopting work in this space though.

On 17/01/2020 18:08, Carrick Bartle wrote:
> From what I've gathered from the mailing list discussion on this topic 
> (in particular, the lead time necessary for hardware), it strikes me 
> that there is sufficient reason for this work to advance.

My experience in the IETF is that ill-defined and less well understood work takes longest. I think this matches that at the moment. I'd suggest the proponents might be better spending time on developing their work by implementing it in open-source generic PKI libraries and applications so that they can produce some non arm-waving evidence as to what this does or doesn't break. (IMO, it'll turn out to break a lot and change many lines of code, but who knows, I may be wrong.)

On 17/01/2020 18:32, Valery Smyslov wrote:
> Given the usual IETF performance, a year is a term just to launch a 
> real work and realize where to go. So, I think we should start doing 
> it now to have plenty of time and not to be in a hurry later.

See above as to how to speed things up more effectively.
Additionally, the idea that waiting a year or so means someone would have to "be in a hurry" seems questionable to me.

Cheers,
S.