Re: [lamps] draft-gazdag-x509-hash-sigs-00

Tim Hollebeek <tim.hollebeek@digicert.com> Tue, 31 January 2023 16:04 UTC

Return-Path: <tim.hollebeek@digicert.com>
X-Original-To: spasm@ietfa.amsl.com
Delivered-To: spasm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ADE6DC14E511; Tue, 31 Jan 2023 08:04:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=digicert.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nlt6rnDmsjAv; Tue, 31 Jan 2023 08:04:17 -0800 (PST)
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2070a.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5a::70a]) (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 C2C66C151525; Tue, 31 Jan 2023 08:04:17 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k2wv5uRMqXCAspMDtXaEWSwPtRkZVDKeKwV/rNISJr84QopNSqtP16AwOKTbsEsAPD+n9vyU6RG9F1td2B7jRGD+WO49qpHHbrkvvjBgIiyZwRghi3wEx403vbC2yLqWgscvaX8tcQd0LQ3NXLizqx4KH5xUKzgT2i5HCPLItSETKEoHOVSCcP3PgA+YFqbcKBQxjTAhVleCvMrJQ97dhdQw0PNnyXXeUZzR7nI2+IWjfnoGwWC3jFIOSWuRljAPNErapftWv05H3ZAuWrplQljKA2bupzip85+iJKlkRU6h3yfWyijhkWN+rVEhcahXZskLD1MkJwKV/ksR65PWow==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VYk1sbD49xCIAfWf8wIDPjf2fLcIBlr51oiNPJUrXPs=; b=eShRYJP66t2SygximWk5n8n3B2YB+4OyH5m+xPnjOGHtprXQVj7Ltv5RQSyZyo9WoTMdkWBI9K2n9LTI0cL2Mjo6+QeegpAIaWV0tqdIBUY6qa2SVmGREQ5QXFmHkYkxdeswYqB9iDJnsIY8QLdXB2hvzjvitqn6XJHv3SVOX4zpVgZxG6L0Y5ZWJVB2NYWI5rDDtpctADJNeC2SgvcxDA2JPxnGJ1eo6BeZI910WwZt5pW4x2oIp9+DvUBRMDfh0ilPN5DZs7zzOEp1yh05HFURcEERAYYCsANN3ajTsvTq34RQFyK51yJQoq4Kzm6gKQA2ASh0NyjkTIlq81dSTQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=digicert.com; dmarc=pass action=none header.from=digicert.com; dkim=pass header.d=digicert.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digicert.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VYk1sbD49xCIAfWf8wIDPjf2fLcIBlr51oiNPJUrXPs=; b=cInoVuWqhyDJwwkl8yA+EAGUesBGRxc6cGm5rUoSdznqa2YjWJKlQcyEWmfG5P0XhSAq6SLXhCkAemw1KYA/3MeUtqHkbIe7W9trs1q5zoUGaiR2izANU2qoEh+1H8aq5gMhmtxztZdwAf9o68umJLv5fPFGDy51m2xYTaTWW8aOzrTv4rScRx1UjeozdY2rnTG5cRJlPuFSSEAddTtFCKMnGnRbgJBD95E/12m1+7tHOGDt1LpNlgsKiPyOsMp16M0IrrpQPI88DLStbN3Mtyf+X+g1r3i64R4VyxKyjUcGmJB/S2jdr6LLi24De6EoX0N/XA5LO7bw43ReNr1YJQ==
Received: from SJ0PR14MB5489.namprd14.prod.outlook.com (2603:10b6:a03:423::22) by IA0PR14MB6816.namprd14.prod.outlook.com (2603:10b6:208:408::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.36; Tue, 31 Jan 2023 16:04:13 +0000
Received: from SJ0PR14MB5489.namprd14.prod.outlook.com ([fe80::8b0b:76db:50a8:c41a]) by SJ0PR14MB5489.namprd14.prod.outlook.com ([fe80::8b0b:76db:50a8:c41a%8]) with mapi id 15.20.6043.033; Tue, 31 Jan 2023 16:04:13 +0000
From: Tim Hollebeek <tim.hollebeek@digicert.com>
To: "Kampanakis, Panos" <kpanos=40amazon.com@dmarc.ietf.org>, "Vaira, Antonio" <antonio.vaira@siemens.com>
CC: LAMPS <spasm@ietf.org>, "draft-gazdag-x509-hash-sigs.authors@ietf.org" <draft-gazdag-x509-hash-sigs.authors@ietf.org>
Thread-Topic: [lamps] draft-gazdag-x509-hash-sigs-00
Thread-Index: AQHZFvGqyjVG/7uVZ0iCJYsTpShgbK58fj4AgAioM4CAJrZkAIAM1ZkAgAAw/ACAAAgJwA==
Date: Tue, 31 Jan 2023 16:04:12 +0000
Message-ID: <SJ0PR14MB54892C270C6CB25C18667F9A83D09@SJ0PR14MB5489.namprd14.prod.outlook.com>
References: <08C331ED-453C-4812-955A-F2161B960329@vigilsec.com> <3439f87bb3bb4a199f706b791cba6b6a@bsi.bund.de> <6828097d5b5b4beabb0c4243b150077f@amazon.com> <99a43b5f4620438a9cb7ca539f70dbcb@bsi.bund.de> <DU0PR10MB5244B1BC5E40204EDBD0AFD1E0D09@DU0PR10MB5244.EURPRD10.PROD.OUTLOOK.COM> <d86eb6d6b0be4f58a51377bde590c521@amazon.com>
In-Reply-To: <d86eb6d6b0be4f58a51377bde590c521@amazon.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=digicert.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: SJ0PR14MB5489:EE_|IA0PR14MB6816:EE_
x-ms-office365-filtering-correlation-id: a0e49f2b-4e93-466d-5503-08db03a4cbba
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: YsLKCbvOgn2DC6BO5g51OAzSOztrtmdbL4dSBd6kHChdWXHg2+KeiElDrEZQGtQAnJjmOsIqNSW0BkS7je61l78PSMinnEfGK1Ih4i3+80g937X4tON2xmj8rpvVUR7r13WpXLQv17kIVn5uRLbmcohwbYx7oXoPP3cc2QfiShCb6TnFyaF/2fyxRRBPdY+JWafOHPnpo+caM3FcQzNg67tdIn5Aq7SPFwFnsbqG5Sl64Dq4xPwvJrfpHFnxDazPXOe2j+HxaTQPNtHeuFf6gqjgvvtRZkfN/Vd6egkK/YyfiWy9vaMBcxGPDccXWtzRLsn9OkESAPL7VUPidP3DVR9QoA1teQcYIXjHzqQfFdwavNq6HnJ+aXsjUQ3J3D9dpCd/dmiKXVM2ERvtFJrW/vtJgpQ8eQodtHvCDdyfOFwXTLlsWRdfn+TVECumFOlATiZRPew3rAn9U1Yrr87ZqyDcvs/3Vp/gO9Hmz6TH1ugoO092H3H6c1+hfCpfuo0XZSH3I2/uliwJBB71LrAllLUp1Ba/lw1cHsJyE+9HcRdi8+Pl2EzWpnzpl/+gW2y59hWTdkm9olFmifLe8cOswSaKLzqaKBxSjmQami/j95sHMRAyGMGjbtHSAQQWal8YXwIqjefGq9/QTOFtS5Wk1DsH1AmWncMqw9DW1K3U8BfzqDTlwstWLu1tlvnUkZ4MZIFqtLRGInTNZCWb0r6FlPow18GxOu5Sl9qPDqcPAdk=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR14MB5489.namprd14.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(136003)(396003)(346002)(366004)(376002)(39860400002)(451199018)(52536014)(5660300002)(38100700002)(8936002)(30864003)(41300700001)(44832011)(122000001)(38070700005)(55016003)(33656002)(86362001)(2906002)(45080400002)(110136005)(66574015)(66899018)(54906003)(7696005)(186003)(478600001)(966005)(26005)(9686003)(71200400001)(6506007)(316002)(66446008)(8676002)(64756008)(4326008)(66556008)(66946007)(66476007)(76116006)(53546011)(83380400001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: PbLM3NO5bTJyfycxcbAZfW26lWXvCESCKwa9AVtvRE8a8EzaVdermoRMubcgA/cLy0ch07PxIPGxSDWou0781pn9PiYaiNYX7CJKuTmEXw38L7mUaxfDQZ+1O78n3gYSwkSXjPEVB3qDDPH2h8QcXN68HKcMlnEpMrs7qHUWCKSDnYGgJhLPqXAb8VHSBwpNfOAYGnKQWMGQHLz9w496IIo4Kd+p6TNP4RpNpn6UH2CbO6DAfie7meFZ4BFkbAPGLq0MtPt0twJzxR3UVCxcgoDy/1DVTCk02teDF8nx7rH0J6kGqU4yzD0ujD7GnAzxFWX4CNUdxKMUSUyzKE8N83ESiDEVqRgLUz4m9jmwrAUzF+Z80EpKq5YH+gK6/+LV+c45ixSe7m8NIbnLiCQ1e1QEytG83vLBICqwSw41NJrMi+xzoIoVKSg59ad6HtSWj9qCMYVJxHonOyK7Te5aAUgLFb0kXLgS93ndeouvurQrvFKEJWN+wvW27tjNk/aXhWeb9Db89j+uV+AWo6URKhetbyxBSm0VeiI7obEN5QseOCl6MXc9jMw4PpX7ba7zLjS03mQnqco41+hxLS0vNW8z23r4GnrvuF0TskcBCDupdNeValU/wtSbQAZFGLjy/U75Th2IN/IGp3U3Qt6ntSFm6Xhv5tg/g7JAO9HBUF82GOSLWFaN6Z4icGkEJKdd/BifOHXRXCJHDalV6xsqE6GDkzYox2mxWFU1Vge6LmFN845ZHneKnA2OHWnP8FOJrmTDe/3l7chDg3F+cN1mJ/Wcmr3uYOhQEO9oR1oasouaJUyINH8PCPOkYjOTiVUaev6oF2PDXifEoTPmVJK7FWv9NGwO/s8bOc0Vnu4+ql1AtWCy8ZdCPHYbZcDgHmSReaBchJSRV2nnKZl3IAuHvrLMt4vQCGqCIIaKpdd1r8ljtYRN5vZk3lqG1RzmYbO240eAOeQdWhfJfCZpqWHXFHEvN+5+TVUooLqGHCwFiVZrVwgs7bvTWc/ie7PrkqxQKTRiZGR38/+lXQeun+/mb/bszZEZ4RvR1KAkesnVn2dmsYwrG7KzaPXwljFRTuRfwcHeQLButjuUYTf8M+2dOeVUhO1229B2AR3WDlxmqz1TMSYfZ4HlnHksI3+dOm4x5VKJ083qBiKkBhA/DMXTkm2eUK+CxWGcDx6zphog5kIvH09tfbQhyKEI5Mf2Agr8z45QW0zyK2SIvWk5eTzW6hS6g88r5VDR2XN7ZaMYn7sVQSuVGhFNk1N4fTk0R0KjmorSqLL+gPA3gzUHqPVV4tztRz/YLbAi9ogfbBSf2EJwR1l6pbeNLaPf3obmfUKX3ZA7YK9J2ruIvqUfn514aZTplknLZ7Zfd53Hjb7fBaembpdzEQrVGSVgtr+UBJqFyG/8P3jK/wPh8Gs70QhZewguIrtgWmgHK0bV/H2M4ikypjAbG1GiJUqlfW2E0Dpb79yNiaNHXrbwAQs5Ep3Cq0QNfAS8q2R/lPC98R3i/6LtYTgCjJ29xz3xEMrStSLyBiel94nDv0StePUkg36gnY51qp7U4ztF6QlkwgwKfALh0qP1v/heoYaq6s+rM7QRdMepK04DXkmfsATmRNn/Ow==
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: digicert.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR14MB5489.namprd14.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a0e49f2b-4e93-466d-5503-08db03a4cbba
X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jan 2023 16:04:13.0250 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf813fa1-bde5-4e75-9479-f6aaa8b1f284
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: oBkykuSiWa3cFzekDJWQ2xz2ygsSFCBsZ7s7LLFNVDzgeK+MndR20+xoBdjsEzfAExZSPB2JTNBQFv/RMAv+y5H4guN3tF/a8MpR9jMfm24=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR14MB6816
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/tO5i-_LIEGzwpuiQKS8HBvmHEL8>
Subject: Re: [lamps] draft-gazdag-x509-hash-sigs-00
X-BeenThere: spasm@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "This is a venue for discussion of doing Some Pkix And SMime \(spasm\) work." <spasm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spasm>, <mailto:spasm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spasm/>
List-Post: <mailto:spasm@ietf.org>
List-Help: <mailto:spasm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spasm>, <mailto:spasm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2023 16:04:21 -0000

This won't work because the auditors or verifiers can only use CT to verify the 
state has not been reused for public issuance, but the required security property 
is that the state was never reused, ever.  If someone signs a test certificate and
something goes wrong and the system is rolled back or restored from backup,
and that test certificate gets out, you lose everything.  Secure state-based
hash implementations take some care ... but CT itself has similar problems,
so the problems are solvable.  But you need more invasive audit and validation
of implementations than just CT monitoring.

There was a lot of private discussion of all of this about five years ago when
hash-based public roots were last seriously considered, but those discussions
never went anywhere, in part because it was too early, and in part because it
became obvious that state management for hash-based certificates is tricky.

Revocation is another really fun problem, because it can really start eating up
your signature budget in some architectures and deployment models.

-Tim

> -----Original Message-----
> From: Spasm <spasm-bounces@ietf.org> On Behalf Of Kampanakis, Panos
> Sent: Tuesday, January 31, 2023 10:28 AM
> To: Vaira, Antonio <antonio.vaira@siemens.com>
> Cc: LAMPS <spasm@ietf.org>; draft-gazdag-x509-hash-sigs.authors@ietf.org
> Subject: Re: [lamps] draft-gazdag-x509-hash-sigs-00
> 
> Hi Antonio,
> 
> > - my understanding of stateful HBS schemes is that the state of the private
> key can be uniquely identified by the authentication path that is part of the
> signature. Could we think to derive a unique value, out of this authentication
> path and embed it into a certificate field? Maybe such certificate can be
> further published, for example on CT, to allow public scrutiny of the CA
> operations?
> 
> Interesting. Indeed, Stateful leaf HBS certs (which will include the tree
> verification path) could be published so auditors or verifiers could attest that
> state was not reused. For the Web there is CT so that would be relatively
> straightforward. But given these certs will not be used for the Web, it
> probably does not help much. In a code signing case, a signer vendor that
> signs its software would need to publish all HBS signatures basically for them
> to be auditable to confirm state/OTS public key was not reused. It would be
> operational overhead for vendors though to make all their signatures
> available.
> 
> There is the threat model that is important here as well. If I am the verifier of
> company X created by company X to verify company X's software signatures,
> do I need to audit company X's signing did not reuse SHBS state? Probably
> not because I trust the signer who is probably auditing internally. But still, a
> published code signing repo of all (Root signatures and ICA issued signatures
> and software signatures) could provide assurance to 3rd parties that want to
> be sure. It still is not perfect because someone could argue that some failure
> scenario while signing may have reused state but the signature did not show
> up in the published signatures, but it certainly raises trust.
> 
> 
> 
> -----Original Message-----
> From: Spasm <spasm-bounces@ietf.org> On Behalf Of Vaira, Antonio
> Sent: Tuesday, January 31, 2023 7:33 AM
> To: Kousidis, Stavros <stavros.kousidis=40bsi.bund.de@dmarc.ietf.org>;
> Kampanakis, Panos <kpanos=40amazon.com@dmarc.ietf.org>
> Cc: LAMPS <spasm@ietf.org>; draft-gazdag-x509-hash-sigs.authors@ietf.org
> Subject: RE: [EXTERNAL][lamps] draft-gazdag-x509-hash-sigs-00
> 
> CAUTION: This email originated from outside of the organization. Do not click
> links or open attachments unless you can confirm the sender and know the
> content is safe.
> 
> 
> 
> Dear Stavros, Dear Panos,
> 
> I hope I am not intruding this conversation, I would like to add a couple of
> personal considerations:
> 
> - I believe that we will also need to have "stateful HBS ICAs", to at least sign
> "stateful HBS code-signing certificates". This would allow a relying party to
> validate the code-signing certificates, and its associated certificate chain, by
> verifying only one type of digital signatures, which in this case would be a
> stateful HBS scheme. This type of ICAs may be handled as RootCA, so
> probably there is not much to add to the security considerations.
> - my understanding of stateful HBS schemes is that the state of the private
> key can be uniquely identified by the authentication path that is part of the
> signature. Could we think to derive a unique value, out of this authentication
> path and embed it into a certificate field? Maybe such certificate can be
> further published, for example on CT, to allow public scrutiny of the CA
> operations?
> - on a more generic note, the recent publication of CNSA 2.0, despite
> applying only to NSS, may trigger other regulatory bodies, which may be
> transversal to the scope of NSS, to adopt similar guidelines. Therefore I think
> we might have to deal with stateful HBS sooner than later.
> 
> - @Stavros: it would be very interesting to know more about how you plan to
> handle the requirements from §7 of NIST SP 800-208.
>     > in my understanding, to fulfil the requirements set forth in this section
> one would that initializing several hypertrees on different HSMs. One or
> more HSMs may be used immediately and the remaining should be securely
> stored for later use (as disaster recovery mechanism for example). I think
> this approach might prove to be quite cumbersome, at least over a long
> period of time (which is intended use of stateful HBS).
>     > do you see additional approaches that would allow to comply with the
> requirements from §7 of NIST SP 800-208?
> 
> 
> Many thanks
> Antonio Vaira
> 
> -----Original Message-----
> From: Spasm <spasm-bounces@ietf.org> On Behalf Of Kousidis, Stavros
> Sent: Monday, 23 January 2023 09:33
> To: Kampanakis, Panos <kpanos=40amazon.com@dmarc.ietf.org>
> Cc: LAMPS <spasm@ietf.org>; draft-gazdag-x509-hash-sigs.authors@ietf.org
> Subject: Re: [lamps] draft-gazdag-x509-hash-sigs-00
> 
> Dear Pano,
> 
> thank you for your comments and suggestions, and sorry for the late reply.
> 
> The typical use case we have in mind are root and (potentially also
> subordinate) CAs which are using an HSM for cert signing that ensures the
> secure handling of the state. When discussing this in the security
> considerations we would also stress on NISTs proposal to use "Distributed
> Multi-Tree Hash-Based Signatures" (see NIST SP 800-208 §7) as a design to
> further ensure that states are handled appropriately.
> 
> We have tracked the other use cases you mentioned as an issue in in our
> repository. I think Stefan Gazdag has some experience here and we will
> discuss how to incorporate your suggestions in the security considerations.
> 
> Best
> Stavros
> 
> -----Ursprüngliche Nachricht-----
> Von: Kampanakis, Panos <kpanos=40amazon.com@dmarc.ietf.org>
> Gesendet: Donnerstag, 29. Dezember 2022 18:23
> An: Kousidis, Stavros <stavros.kousidis@bsi.bund.de>
> Cc: LAMPS <spasm@ietf.org>; draft-gazdag-x509-hash-sigs.authors@ietf.org
> Betreff: RE: [lamps] draft-gazdag-x509-hash-sigs-00
> 
> One more comment regarding draft-gazdag-x509-hash-sigs.
> 
> Stateful HBS had come up previously for X.509 and some participants voiced
> serious concerns
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmaila
> rchive.ietf.org%2Farch%2Fmsg%2Fspasm%2FDKPDfaQZxF5_De9BYuoWsRKp
> 4gM%2F&data=05%7C01%7Cantonio.vaira%40siemens.com%7C42f367be82d
> d413a64ae08dafd1c9a04%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0
> %7C638100596561496300%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjA
> wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C
> %7C&sdata=h25km8rodm9XTku1Chgjffe%2BEm9dORsXhMwrrDhcVzQ%3D&
> reserved=0 A summary of the counter-arguments could be that CAs have
> messed up before, how can we rest assured they will not reuse state.
> 
> I think your argument for Stateful HBS in this draft is only for root CAs which
> sign a few ICAs and then go to sleep and rarely wake up. Maybe another use
> is for code-signing EKU certs where the signer controls its signing process and
> the verifiers trust it.  The draft also mentions subordinate CA certificates. I
> don't think these are good use-cases for stateful HBS. I would suggest for the
> draft to clearly stress the potentially use-cases for Stateful HBS. Also I
> suggest for the security considerations section to stress the importance and
> how you envision these use-cases will be able to address the state concern.
> For example a Root CA uses an HSM and signs very few ICA certs and then
> goes offline. Another example is a code-signer keeps track of all its
> signatures and can go back and attest the state was not reused periodically
> and its verifiers usually trust the signer. Another one could be the state look
> ahead where you retrieve x states and change your pointer before you even
> start signing anything.
> 
> 
> 
> -----Original Message-----
> From: Spasm <spasm-bounces@ietf.org> On Behalf Of Kousidis, Stavros
> Sent: Saturday, December 24, 2022 12:11 AM
> To: Russ Housley <housley@vigilsec.com>
> Cc: LAMPS <spasm@ietf.org>; draft-gazdag-x509-hash-sigs.authors@ietf.org
> Subject: RE: [EXTERNAL][lamps] draft-gazdag-x509-hash-sigs-00
> 
> CAUTION: This email originated from outside of the organization. Do not click
> links or open attachments unless you can confirm the sender and know the
> content is safe.
> 
> 
> 
> Dear Russ,
> 
> thank you for the information.
> 
> In the next version we will adopt the "OCTET STRING" definition of RFC 8708
> for HSS and apply this also to XMSS/XMSS^MT. The same applies to
> SPHINCS+ where we will adopt the definition of "draft-ietf-lamps-cms-
> sphincs-plus-01".
> 
> Best
> Stavros
> 
> -----Ursprüngliche Nachricht-----
> Von: Russ Housley <housley@vigilsec.com>
> Gesendet: Freitag, 23. Dezember 2022 18:12
> An: draft-gazdag-x509-hash-sigs.authors@ietf.org
> Cc: LAMPS <spasm@ietf.org>
> Betreff: [lamps] draft-gazdag-x509-hash-sigs-00
> 
> Dear I-D Authors:
> 
> RFC 8708 has this definition:
> 
>      HSS-LMS-HashSig-PublicKey ::= OCTET STRING
> 
> This will carry the bytes as defined in RFC 8554.
> 
> draft-gazdag-x509-hash-sigs-00 says:
> 
>     HSS-HashSig-PublicKey ::= SEQUENCE {
>        levels     OCTET STRING, -- number of levels L
>        tree       OCTET STRING, -- typecode of top-level LMS tree
>        ots        OCTET STRING, -- typecode of top-level LM-OTS
>        identifier OCTET STRING, -- identifier I of top-level LMS key pair
>        root       OCTET STRING  -- root T[1] of top-level tree
>     }
> 
> This will produce a different byte string than RFC 8554.  I think this is a
> problem.  There should only be one way to encode the HSS/LMS public key.
> 
> Russ
> 
> _______________________________________________
> Spasm mailing list
> Spasm@ietf.org
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
> .ietf.org%2Fmailman%2Flistinfo%2Fspasm&data=05%7C01%7Cantonio.vaira
> %40siemens.com%7C42f367be82dd413a64ae08dafd1c9a04%7C38ae3bcd9579
> 4fd4addab42e1495d55a%7C1%7C0%7C638100596561496300%7CUnknown%7
> CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi
> LCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=BzfXk7IkssXiXjWumPeivk5qX
> UsPP2tXjqRJZXx3QB8%3D&reserved=0
> 
> _______________________________________________
> Spasm mailing list
> Spasm@ietf.org
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
> .ietf.org%2Fmailman%2Flistinfo%2Fspasm&data=05%7C01%7Cantonio.vaira
> %40siemens.com%7C42f367be82dd413a64ae08dafd1c9a04%7C38ae3bcd9579
> 4fd4addab42e1495d55a%7C1%7C0%7C638100596561496300%7CUnknown%7
> CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi
> LCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=BzfXk7IkssXiXjWumPeivk5qX
> UsPP2tXjqRJZXx3QB8%3D&reserved=0
> 
> _______________________________________________
> Spasm mailing list
> Spasm@ietf.org
> https://www.ietf.org/mailman/listinfo/spasm
> 
> _______________________________________________
> Spasm mailing list
> Spasm@ietf.org
> https://www.ietf.org/mailman/listinfo/spasm