From nobody Thu Mar  2 23:22:38 2023
Return-Path: <stavros.kousidis@bsi.bund.de>
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 635D8C14F731;
 Thu,  2 Mar 2023 23:22:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.995
X-Spam-Level: 
X-Spam-Status: No, score=-6.995 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5,
 RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001,
 UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001,
 URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001]
 autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral
 reason="invalid (unsupported algorithm ed25519-sha256)"
 header.d=bsi.bund.de header.b="TTiXeQV4"; dkim=pass (2048-bit key)
 header.d=bsi.bund.de header.b="FgEc9KsO"
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 T9O8e1VXxtw8; Thu,  2 Mar 2023 23:22:31 -0800 (PST)
Received: from m3-bn.bund.de (m3-bn.bund.de [77.87.228.75])
 (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 B8613C14CEE3;
 Thu,  2 Mar 2023 23:22:29 -0800 (PST)
Received: from m3-bn.bund.de (localhost [127.0.0.1])
 by m3-bn.bund.de (Postfix) with ESMTP id EEC756716E2;
 Fri,  3 Mar 2023 08:22:26 +0100 (CET)
Received: (from localhost) by m3-bn.bund.de (MSCAN) id
 4/m3-bn.bund.de/smtp-gw/mscan; Fri Mar 3 08:22:26 2023
X-NdB-Source: NdB
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=bsi.bund.de;
 s=211014-e768-ed25519; t=1677828133;
 bh=HzA70km57cZ/9xEibPCNo4Z47FHyfDiI+QhcnOFUy0Q=;
 h=From:To:CC:Subject:Date:References:In-Reply-To:Content-Type:
 MIME-Version:Autocrypt:Cc:Content-Transfer-Encoding:Content-Type:
 Date:From:In-Reply-To:Mime-Version:Openpgp:References:Reply-To:
 Resent-To:Sender:Subject:To;
 b=TTiXeQV4iwsr5loxpmsA8YfauuYW2tAi1tbKjDu2HjC3fJyunCRcKsdpyOJ4J+X/+
 yJWwjK6HMbjt9lwr7LkAg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bsi.bund.de;
 s=211014-e768-rsa; t=1677828133;
 bh=HzA70km57cZ/9xEibPCNo4Z47FHyfDiI+QhcnOFUy0Q=;
 h=From:To:CC:Subject:Date:References:In-Reply-To:Content-Type:
 MIME-Version:Autocrypt:Cc:Content-Transfer-Encoding:Content-Type:
 Date:From:In-Reply-To:Mime-Version:Openpgp:References:Reply-To:
 Resent-To:Sender:Subject:To;
 b=FgEc9KsORyThtJ8FDMhBF8k/ZwxFwY8IZ+x6gfDAUfBsWCQcJd8EXQBdFVhaq2h1h
 ENzcKGsVhKBjsEGjvJHmHX0/3qD3iK/9gzEk4CP00NAdgVNZ1JVqELYSay5EitHyGh
 f1s+TPaJiDHFpMdggaUO2jhz4PA+eTkjJrcuuUGz6gchq4wCwhGqzipmbl11nMJeHk
 xDd7tuKALzgjtuglys/1XkqKwTzfUaJEIFrOthGsrdmijEcMAFXTtKHFym+w3iZ0vY
 QNqGebuoALzKoJ7v74MEZiJxXhqBL0U75S+r7x906uLyHem4OEU24vmk1WswIqLrZZ
 0WpjPhI8H1DAA==
X-P350-Id: 200d012a58b9f8ca
X-Virus-Scanned: amavisd-new at bsi.bund.de
From: "Kousidis, Stavros" <stavros.kousidis@bsi.bund.de>
To: "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>, "pqc@ietf.org"
 <pqc@ietf.org>, "Kampanakis, Panos" <kpanos@amazon.com>
Thread-Topic: [lamps] draft-gazdag-x509-hash-sigs-00
Thread-Index: AQHZF1Y2AY86abJjRk2uTqea+ZJ11q58fj4AgAioM4CAJrZlAIAMzD3ggABMBqCAAT2RgIAu3LhA
Date: Fri, 3 Mar 2023 07:21:56 +0000
Message-ID: <402e8a7be79549cc9e1965a7a0dd6316@bsi.bund.de>
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>
 <eca0e0bf0e0b416e894da9b6a10ca0e8@bsi.bund.de>
 <DU0PR10MB52448D302AE6793801DE8122E0D19@DU0PR10MB5244.EURPRD10.PROD.OUTLOOK.COM>
In-Reply-To: <DU0PR10MB52448D302AE6793801DE8122E0D19@DU0PR10MB5244.EURPRD10.PROD.OUTLOOK.COM>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Old-x-esetresult: clean, is OK
Old-x-esetid: 37303A29F7A5EA54627564
Content-Type: multipart/alternative;
 boundary="_000_402e8a7be79549cc9e1965a7a0dd6316bsibundde_"
MIME-Version: 1.0
X-EsetResult: clean, is OK
X-EsetId: 37303A29537AD454627564
X-Rusd: domwl, Pass through domain bsi.bund.de
X-Rurd: query_ok, Pass through domain siemens.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/4QGw8gjtK8ji_DsvyACGd74Kmk8>
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: Fri, 03 Mar 2023 07:22:36 -0000

--_000_402e8a7be79549cc9e1965a7a0dd6316bsibundde_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Antonio,

it has been a while but let me add my thoughts to your proposal.

The problems are:


1)      You don't solve the distribution/backup problem while you are signi=
ng with a specific tree during your first X years.

2)      Your signature sizes grow over time with every subtree you add beca=
use of the additional OTS in the newly established multi-tree.

3)      You change the public key once you add a subtree.

Let me elaborate on point 3) as this is something you certainly don't want:

HSS encodes the number of levels in the public key (see =A76.1 in RFC8554) =
so that you know how to verify a signature when you receive it (see =A76.3 =
in RFC8554). Likewise XMSS/XMSS^MT encodes an identifier specifying the (mu=
lti-)tree (see =A74.1.7 and =A74.2.2 in RFC8391). This means that your trus=
t anchor changes (e.g. X.509 certificate) and you have to distribute it aga=
in.

Best
Stavros

Von: Vaira, Antonio <antonio.vaira@siemens.com>
Gesendet: Mittwoch, 1. Februar 2023 13:31
An: Kousidis, Stavros <stavros.kousidis@bsi.bund.de>
Cc: LAMPS <spasm@ietf.org>; draft-gazdag-x509-hash-sigs.authors@ietf.org; p=
qc@ietf.org; Kampanakis, Panos <kpanos@amazon.com>
Betreff: RE: [lamps] draft-gazdag-x509-hash-sigs-00

Hi Stavros,

My interpretation is that the SEED should be indeed considered as "private =
keying material" therefore I am also concerned with the point b) you raised=
.

I would also add, even if we theoretically do not concern ourselves with th=
e operational/cost overheads of having a lot of HSMs initialized and put in=
 storage, can we realistically be sure that by the time we will need these =
HSMs they will all boot? The timeline I have in mind is 20+ years (realisti=
c RootCA lifetime) and I am not sure if an HSM, even if stored in "perfect =
conditions", will still boot after 20 years.

For the reason above, I was thinking about an alternative approach that can=
 be summarized with the following steps:
1. the tree #1 is generated, with a height that is proportional to the requ=
ired number of signatures and its leaves can be used to perform digital sig=
natures,
2. after X years, for example 5 years, the last leaf of tree #1 is used to =
sign a new subtree, tree #2, that corresponds to OTS private keys that are =
initialized in a new HSM,
3. repeat step 2 after every X years, initializing each time new OTS privat=
e keys in a new HSM.

After 3 iterations the HBS state would look like the following:

           root
          -
         / \
        /   \
       /     \
      /       \
     /         \
    /           \
   /             \
  -----------------
  |    |          |
  |    |          |
sig1 sig2  ...   -
                 / \
                /   \
               /     \
              /       \
             /         \
            /           \
           /             \
          -----------------
          |    |          |
          |    |          |
         sig1 sig2  ...   -
                         / \
                        /   \
                       /     \
                      /       \
                     /         \
                    /           \
                   /             \
                  -----------------
                  |    |    |    |
                  |    |   |    |
                 sig1 sig2  ...  ...

The first 2 trees can be considered as no longer usable, even if there are =
still unused leaves, because their corresponding OTS private keys are in HS=
Ms which may no longer be available. The OTS keys associated to the tree co=
rresponds are generated and stored on a "fresh" HSM.

Without considering redundancy requirements (also not considered in the ste=
ps above for sake of simplicity), with this approach it would be possible t=
o use one HSM at the time and replace it after X years with a new one (avoi=
ding to initialize HSMs and securely store them) and it would not be needed=
 to redistribute the root to all the relying parties. But the signature wou=
ld increase of a fixed number of bytes (i.e., the signature performed over =
the root of the new subtree using the last OTS private key of the parent tr=
ee) every X years.

What do you think?

Thanks
Antonio

-----Original Message-----
From: Kousidis, Stavros <stavros.kousidis@bsi.bund.de<mailto:stavros.kousid=
is@bsi.bund.de>>
Sent: Wednesday, 1 February 2023 08:54
To: Vaira, Antonio (T CST SEA-DE) <antonio.vaira@siemens.com<mailto:antonio=
.vaira@siemens.com>>
Cc: LAMPS <spasm@ietf.org<mailto:spasm@ietf.org>>; draft-gazdag-x509-hash-s=
igs.authors@ietf.org<mailto:draft-gazdag-x509-hash-sigs.authors@ietf.org>; =
pqc@ietf.org<mailto:pqc@ietf.org>; Kampanakis, Panos <kpanos@amazon.com<mai=
lto:kpanos@amazon.com>>
Subject: AW: [lamps] draft-gazdag-x509-hash-sigs-00

Dear Antonio,

I feel that we will have to take up a discussion on practical issues that C=
As face when using stateful HBS in our draft. This already came up in comme=
nts that Panos sent, see here: https://eur01.safelinks.protection.outlook.c=
om/?url=3Dhttps%3A%2F%2Fmailarchive.ietf.org%2Farch%2Fmsg%2Fspasm%2FhUe6bBq=
GoJhyu5vObbYJMbtCEDw%2F&data=3D05%7C01%7Cantonio.vaira%40siemens.com%7Cd988=
d9a6eb5d4ac79f4808db042989a7%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C6=
38108348674728031%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luM=
zIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3D%2BjO3%2Bi0NfdqHm=
SaEJ9BCbpE3Hv8xwsaoVfnkuWfwfVg%3D&reserved=3D0

The =A77 of NIST SP 800-208 elaborates on distributed multi-trees instantia=
ted via cryptographic modules. It is stated there that

"due to the risks associated with copying OTS keys, this recommendation pro=
hibits exporting private keying material (Section 8)."

I do ask myself if the "private keying material" described here includes th=
e secret value "SEED" that can be used to pseudorandomly generate an LMS or=
 XMSS private key (see Appendix A in RFC8554 or analoguously =A73.1.7 in RF=
C8391).

On the one hand I would say yes, but:

a) As I read NIST SP 800-208 the requirements described in =A77 and =A78 ar=
e primarily concerned with the OTS private keys (that is when the counter c=
omes into play along with the SEED).
b) I cannot imagine how one can practically address the "do not export priv=
ate keying material" requirement if the SEED is included here. This would i=
mply your interpretation that at key generation time one would have to put =
a lot of sleeping HSMs on the shelf. As a concrete example, imagine aiming =
for 2^20 signatures and instantiating HSS with two levels, height 10 on the=
 top level and height 20 on the bottom level. The top level covering the di=
stribution/redundancy aspect. That would mean that your shelf is packed wit=
h 2^10 HSMs holding the bottom level LMS instances. You could aim for heigh=
t 5 on the top level tree, but still 2^5 HSMs are not practical in my perso=
nal opinion.

@All: May I ask, how the above mentioned requirement about exporting privat=
e keying material has to be interpreted?

However, I (personally) still think that stateful HBS should be available a=
s an option in our ecosystems.

Best
Stavros

-----Urspr=FCngliche Nachricht-----
Von: Vaira, Antonio <antonio.vaira@siemens.com<mailto:antonio.vaira@siemens=
.com>>
Gesendet: Dienstag, 31. Januar 2023 13:33
An: Kousidis, Stavros <stavros.kousidis@bsi.bund.de<mailto:stavros.kousidis=
@bsi.bund.de>>; Kampanakis, Panos <kpanos@amazon.com<mailto:kpanos@amazon.c=
om>>
Cc: LAMPS <spasm@ietf.org<mailto:spasm@ietf.org>>; draft-gazdag-x509-hash-s=
igs.authors@ietf.org<mailto:draft-gazdag-x509-hash-sigs.authors@ietf.org>
Betreff: RE: [lamps] draft-gazdag-x509-hash-sigs-00

Dear Stavros, Dear Panos,

I hope I am not intruding this conversation, I would like to add a couple o=
f 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 certifi=
cate 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 R=
ootCA, 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 authent=
ication path and embed it into a certificate field? Maybe such certificate =
can be further published, for example on CT, to allow public scrutiny of th=
e CA operations?
- on a more generic note, the recent publication of CNSA 2.0, despite apply=
ing only to NSS, may trigger other regulatory bodies, which may be transver=
sal 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 =A77 of NIST SP 800-208.
    > in my understanding, to fulfil the requirements set forth in this sec=
tion one would that initializing several hypertrees on different HSMs. One =
or more HSMs may be used immediately and the remaining should be securely s=
tored for later use (as disaster recovery mechanism for example). I think t=
his approach might prove to be quite cumbersome, at least over a long perio=
d of time (which is intended use of stateful HBS).
    > do you see additional approaches that would allow to comply with the =
requirements from =A77 of NIST SP 800-208?


Many thanks
Antonio Vaira

-----Original Message-----
From: Spasm <spasm-bounces@ietf.org<mailto:spasm-bounces@ietf.org>> On Beha=
lf Of Kousidis, Stavros
Sent: Monday, 23 January 2023 09:33
To: Kampanakis, Panos <kpanos=3D40amazon.com@dmarc.ietf.org<mailto:kpanos=
=3D40amazon.com@dmarc.ietf.org>>
Cc: LAMPS <spasm@ietf.org<mailto:spasm@ietf.org>>; draft-gazdag-x509-hash-s=
igs.authors@ietf.org<mailto: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 subordi=
nate) CAs which are using an HSM for cert signing that ensures the secure h=
andling of the state. When discussing this in the security considerations w=
e would also stress on NISTs proposal to use "Distributed Multi-Tree Hash-B=
ased Signatures" (see NIST SP 800-208 =A77) as a design to further ensure t=
hat states are handled appropriately.

We have tracked the other use cases you mentioned as an issue in in our rep=
ository. I think Stefan Gazdag has some experience here and we will discuss=
 how to incorporate your suggestions in the security considerations.

Best
Stavros

-----Urspr=FCngliche Nachricht-----
Von: Kampanakis, Panos <kpanos=3D40amazon.com@dmarc.ietf.org<mailto:kpanos=
=3D40amazon.com@dmarc.ietf.org>>
Gesendet: Donnerstag, 29. Dezember 2022 18:23
An: Kousidis, Stavros <stavros.kousidis@bsi.bund.de<mailto:stavros.kousidis=
@bsi.bund.de>>
Cc: LAMPS <spasm@ietf.org<mailto:spasm@ietf.org>>; draft-gazdag-x509-hash-s=
igs.authors@ietf.org<mailto: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=3Dhttp=
s%3A%2F%2Fmailarchive.ietf.org%2Farch%2Fmsg%2Fspasm%2FDKPDfaQZxF5_De9BYuoWs=
RKp4gM%2F&data=3D05%7C01%7Cantonio.vaira%40siemens.com%7Cd988d9a6eb5d4ac79f=
4808db042989a7%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C638108348674728=
031%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1=
haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3DWedj6fJ8p564lYwaDHXQAjbEYjT8oX5=
jl1A8eNop9So%3D&reserved=3D0 A summary of the counter-arguments could be th=
at CAs have messed up before, how can we rest assured they will not reuse s=
tate.

I think your argument for Stateful HBS in this draft is only for root CAs w=
hich 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 pr=
ocess and the verifiers trust it.  The draft also mentions subordinate CA c=
ertificates. I don't think these are good use-cases for stateful HBS. I wou=
ld suggest for the draft to clearly stress the potentially use-cases for St=
ateful HBS. Also I suggest for the security considerations section to stres=
s the importance and how you envision these use-cases will be able to addre=
ss 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 tra=
ck of all its signatures and can go back and attest the state was not reuse=
d periodically and its verifiers usually trust the signer. Another one coul=
d be the state look ahead where you retrieve x states and change your point=
er before you even start signing anything.



-----Original Message-----
From: Spasm <spasm-bounces@ietf.org<mailto:spasm-bounces@ietf.org>> On Beha=
lf Of Kousidis, Stavros
Sent: Saturday, December 24, 2022 12:11 AM
To: Russ Housley <housley@vigilsec.com<mailto:housley@vigilsec.com>>
Cc: LAMPS <spasm@ietf.org<mailto:spasm@ietf.org>>; draft-gazdag-x509-hash-s=
igs.authors@ietf.org<mailto: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 cli=
ck 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=FCngliche Nachricht-----
Von: Russ Housley <housley@vigilsec.com<mailto:housley@vigilsec.com>>
Gesendet: Freitag, 23. Dezember 2022 18:12
An: draft-gazdag-x509-hash-sigs.authors@ietf.org<mailto:draft-gazdag-x509-h=
ash-sigs.authors@ietf.org>
Cc: LAMPS <spasm@ietf.org<mailto:spasm@ietf.org>>
Betreff: [lamps] draft-gazdag-x509-hash-sigs-00

Dear I-D Authors:

RFC 8708 has this definition:

     HSS-LMS-HashSig-PublicKey ::=3D OCTET STRING

This will carry the bytes as defined in RFC 8554.

draft-gazdag-x509-hash-sigs-00 says:

    HSS-HashSig-PublicKey ::=3D 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<mailto:Spasm@ietf.org>
https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.iet=
f.org%2Fmailman%2Flistinfo%2Fspasm&data=3D05%7C01%7Cantonio.vaira%40siemens=
.com%7Cd988d9a6eb5d4ac79f4808db042989a7%7C38ae3bcd95794fd4addab42e1495d55a%=
7C1%7C0%7C638108348674728031%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC=
JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3DwFkKzz=
wn5JFkvymGcyOrOix99O8otkKQ5pdOmuGwh5M%3D&reserved=3D0

_______________________________________________
Spasm mailing list
Spasm@ietf.org<mailto:Spasm@ietf.org>
https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.iet=
f.org%2Fmailman%2Flistinfo%2Fspasm&data=3D05%7C01%7Cantonio.vaira%40siemens=
.com%7Cd988d9a6eb5d4ac79f4808db042989a7%7C38ae3bcd95794fd4addab42e1495d55a%=
7C1%7C0%7C638108348674728031%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC=
JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3DwFkKzz=
wn5JFkvymGcyOrOix99O8otkKQ5pdOmuGwh5M%3D&reserved=3D0


--_000_402e8a7be79549cc9e1965a7a0dd6316bsibundde_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-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=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",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.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:36.0pt;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
	{mso-style-name:msonormal;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
p.emailquote, li.emailquote, div.emailquote
	{mso-style-name:emailquote;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:1.0pt;
	border:none;
	padding:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
span.E-MailFormatvorlage19
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:58793056;
	mso-list-type:hybrid;
	mso-list-template-ids:-1094844088 67567633 67567641 67567643 67567631 6756=
7641 67567643 67567631 67567641 67567643;}
@list l0:level1
	{mso-level-text:"%1\)";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1
	{mso-list-id:179900846;
	mso-list-type:hybrid;
	mso-list-template-ids:1056355886 67567639 67567641 67567643 67567631 67567=
641 67567643 67567631 67567641 67567643;}
@list l1:level1
	{mso-level-number-format:alpha-lower;
	mso-level-text:"%1\)";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l1:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l1:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l1:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l1:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l1:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l1:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l2
	{mso-list-id:1240561110;
	mso-list-type:hybrid;
	mso-list-template-ids:534404504 67567633 67567641 67567643 67567631 675676=
41 67567643 67567631 67567641 67567643;}
@list l2:level1
	{mso-level-text:"%1\)";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:18.0pt;
	text-indent:-18.0pt;}
@list l2:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:54.0pt;
	text-indent:-18.0pt;}
@list l2:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	margin-left:90.0pt;
	text-indent:-9.0pt;}
@list l2:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:126.0pt;
	text-indent:-18.0pt;}
@list l2:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:162.0pt;
	text-indent:-18.0pt;}
@list l2:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	margin-left:198.0pt;
	text-indent:-9.0pt;}
@list l2:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:234.0pt;
	text-indent:-18.0pt;}
@list l2:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:270.0pt;
	text-indent:-18.0pt;}
@list l2:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	margin-left:306.0pt;
	text-indent:-9.0pt;}
@list l3
	{mso-list-id:2067485390;
	mso-list-type:hybrid;
	mso-list-template-ids:1495553786 476581422 67567619 67567621 67567617 6756=
7619 67567621 67567617 67567619 67567621;}
@list l3:level1
	{mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:18.0pt;
	text-indent:-18.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-font-family:Calibri;}
@list l3:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:54.0pt;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l3:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:90.0pt;
	text-indent:-18.0pt;
	font-family:Wingdings;}
@list l3:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:126.0pt;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l3:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:162.0pt;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l3:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:198.0pt;
	text-indent:-18.0pt;
	font-family:Wingdings;}
@list l3:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:234.0pt;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l3:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:270.0pt;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l3:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:306.0pt;
	text-indent:-18.0pt;
	font-family:Wingdings;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></style>
</head>
<body lang=3D"DE" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi Antonio=
,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">it has bee=
n a while but let me add my thoughts to your proposal.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">The proble=
ms are:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:18.0pt;text-indent:-18.0=
pt;mso-list:l2 level1 lfo4">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;=
color:#1F497D;mso-fareast-language:EN-US"><span style=3D"mso-list:Ignore">1=
)<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;
</span></span></span><span style=3D"font-size:11.0pt;font-family:&quot;Cali=
bri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">You don&#821=
7;t solve the distribution/backup problem while you are signing with a spec=
ific tree during your first X years.<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:18.0pt;text-indent:-18.0=
pt;mso-list:l2 level1 lfo4">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;=
color:#1F497D;mso-fareast-language:EN-US"><span style=3D"mso-list:Ignore">2=
)<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;
</span></span></span><span style=3D"font-size:11.0pt;font-family:&quot;Cali=
bri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Your signatu=
re sizes grow over time with every subtree you add because of the additiona=
l OTS in the newly established multi-tree.<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:18.0pt;text-indent:-18.0=
pt;mso-list:l2 level1 lfo4">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;=
color:#1F497D;mso-fareast-language:EN-US"><span style=3D"mso-list:Ignore">3=
)<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;
</span></span></span><span style=3D"font-size:11.0pt;font-family:&quot;Cali=
bri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">You change t=
he public key once you add a subtree.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Let me ela=
borate on point 3) as this is something you certainly don&#8217;t want:<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">HSS encode=
s the number of levels in the public key (see =A76.1 in RFC8554) so that yo=
u know how to verify a signature when you receive
 it (see =A76.3 in RFC8554). Likewise XMSS/XMSS^MT encodes an identifier sp=
ecifying the (multi-)tree (see =A74.1.7 and =A74.2.2 in RFC8391). This mean=
s that your trust anchor changes (e.g. X.509 certificate) and you have to d=
istribute it again.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Best<o:p><=
/o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Stavros<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<div>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt;font-family:&quot=
;Calibri&quot;,sans-serif">Von:</span></b><span style=3D"font-size:11.0pt;f=
ont-family:&quot;Calibri&quot;,sans-serif"> Vaira, Antonio &lt;antonio.vair=
a@siemens.com&gt;
<br>
<b>Gesendet:</b> Mittwoch, 1. Februar 2023 13:31<br>
<b>An:</b> Kousidis, Stavros &lt;stavros.kousidis@bsi.bund.de&gt;<br>
<b>Cc:</b> LAMPS &lt;spasm@ietf.org&gt;; draft-gazdag-x509-hash-sigs.author=
s@ietf.org; pqc@ietf.org; Kampanakis, Panos &lt;kpanos@amazon.com&gt;<br>
<b>Betreff:</b> RE: [lamps] draft-gazdag-x509-hash-sigs-00<o:p></o:p></span=
></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Hi Stavros,</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">My interpretation is that the SEED should be indeed=
 considered as &quot;private keying material&quot; therefore I am also conc=
erned with the point b) you raised.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">I would also add, even if we theoretically do not c=
oncern ourselves with the operational/cost overheads of having a lot of HSM=
s initialized and put in storage, can we realistically
 be sure that by the time we will need these HSMs they will all boot? The t=
imeline I have in mind is 20&#43; years (realistic RootCA lifetime) and I a=
m not sure if an HSM, even if stored in &#8220;perfect conditions&#8221;, w=
ill still boot after 20 years.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">For the reason above, I was thinking about an alter=
native approach that can be summarized with the following steps:</span><o:p=
></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">1. the tree #1 is generated, with a height that is =
proportional to the required number of signatures and its leaves can be use=
d to perform digital signatures,</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">2. after X years, for example 5 years, the last lea=
f of tree #1 is used to sign a new subtree, tree #2, that corresponds to OT=
S private keys that are initialized in a new HSM,
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">3. repeat step 2 after every X years, initializing =
each time new OTS private keys in a new HSM.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">&nbsp;</span><o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">After 3 iterations the HBS state would look like th=
e following:</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; </span><span style=3D"font-size:11.0pt;font-family:=
&quot;Courier New&quot;">&nbsp;&nbsp; root</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; / \&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp; \=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&n=
bsp; \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp; -----------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp; |&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp; |&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">sig1 sig2&nbsp; ...&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; / \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp; \&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp; \&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
; \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---=
--------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&n=
bsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&n=
bsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sig1 sig2=
&nbsp; ...&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; / \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; /&nbsp;&nbsp; \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
/&nbsp;&nbsp;&nbsp;&nbsp; \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&nbsp;&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -----------------&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp; |&nbsp; &n=
bsp; |&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp; |&nbsp;&nb=
sp; |&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sig1 sig2&nbsp; ...&nbsp; ...</span>=
<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">&nbsp;</span><o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">The first 2 trees can be considered as no longer us=
able, even if there are still unused leaves, because their corresponding OT=
S private keys are in HSMs which may no longer
 be available. The OTS keys associated to the tree corresponds are generate=
d and stored on a &#8220;fresh&#8221; HSM.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">&nbsp;</span><o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Without considering redundancy requirements (also n=
ot considered in the steps above for sake of simplicity), with this approac=
h it would be possible to use one HSM at the time
 and replace it after X years with a new one (avoiding to initialize HSMs a=
nd securely store them) and it would not be needed to redistribute the root=
 to all the relying parties. But the signature would increase of a fixed nu=
mber of bytes (i.e., the signature
 performed over the root of the new subtree using the last OTS private key =
of the parent tree) every X years.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">&nbsp;</span><o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">What do you think?</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Thanks</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Antonio</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">&nbsp;</span><o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">-----Original Message-----<br>
From: Kousidis, Stavros &lt;<a href=3D"mailto:stavros.kousidis@bsi.bund.de"=
>stavros.kousidis@bsi.bund.de</a>&gt;
<br>
Sent: Wednesday, 1 February 2023 08:54<br>
To: Vaira, Antonio (T CST SEA-DE) &lt;<a href=3D"mailto:antonio.vaira@sieme=
ns.com">antonio.vaira@siemens.com</a>&gt;<br>
Cc: LAMPS &lt;<a href=3D"mailto:spasm@ietf.org">spasm@ietf.org</a>&gt;; <a =
href=3D"mailto:draft-gazdag-x509-hash-sigs.authors@ietf.org">
draft-gazdag-x509-hash-sigs.authors@ietf.org</a>; <a href=3D"mailto:pqc@iet=
f.org">pqc@ietf.org</a>; Kampanakis, Panos &lt;<a href=3D"mailto:kpanos@ama=
zon.com">kpanos@amazon.com</a>&gt;<br>
Subject: AW: [lamps] draft-gazdag-x509-hash-sigs-00</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">&nbsp;</span><o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Dear Antonio,</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">I feel that we will have to take up a discussion on=
 practical issues that CAs face when using stateful HBS in our draft. This =
already came up in comments that Panos sent, see
 here: <a href=3D"https://eur01.safelinks.protection.outlook.com/?url=3Dhtt=
ps%3A%2F%2Fmailarchive.ietf.org%2Farch%2Fmsg%2Fspasm%2FhUe6bBqGoJhyu5vObbYJ=
MbtCEDw%2F&amp;data=3D05%7C01%7Cantonio.vaira%40siemens.com%7Cd988d9a6eb5d4=
ac79f4808db042989a7%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C6381083486=
74728031%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTi=
I6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=3D%2BjO3%2Bi0NfdqHmSaEJ9=
BCbpE3Hv8xwsaoVfnkuWfwfVg%3D&amp;reserved=3D0">
https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fmailarc=
hive.ietf.org%2Farch%2Fmsg%2Fspasm%2FhUe6bBqGoJhyu5vObbYJMbtCEDw%2F&amp;dat=
a=3D05%7C01%7Cantonio.vaira%40siemens.com%7Cd988d9a6eb5d4ac79f4808db042989a=
7%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C638108348674728031%7CUnknown=
%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6=
Mn0%3D%7C3000%7C%7C%7C&amp;sdata=3D%2BjO3%2Bi0NfdqHmSaEJ9BCbpE3Hv8xwsaoVfnk=
uWfwfVg%3D&amp;reserved=3D0</a></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">&nbsp;</span><o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">The =A77 of NIST SP 800-208 elaborates on distribut=
ed multi-trees instantiated via cryptographic modules. It is stated there t=
hat</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&quot;due to the risks associated with copying OTS =
keys, this recommendation prohibits exporting private keying material (Sect=
ion 8).&quot;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">I do ask myself if the &quot;private keying materia=
l&quot; described here includes the secret value &quot;SEED&quot; that can =
be used to pseudorandomly generate an LMS or XMSS private key (see
 Appendix A in RFC8554 or analoguously =A73.1.7 in RFC8391).</span><o:p></o=
:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">On the one hand I would say yes, but:</span><o:p></=
o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">a) As I read NIST SP 800-208 the requirements descr=
ibed in =A77 and =A78 are primarily concerned with the OTS private keys (th=
at is when the counter comes into play along with
 the SEED).</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">b) I cannot imagine how one can practically address=
 the &quot;do not export private keying material&quot; requirement if the S=
EED is included here. This would imply your interpretation
 that at key generation time one would have to put a lot of sleeping HSMs o=
n the shelf. As a concrete example, imagine aiming for 2^20 signatures and =
instantiating HSS with two levels, height 10 on the top level and height 20=
 on the bottom level. The top level
 covering the distribution/redundancy aspect. That would mean that your she=
lf is packed with 2^10 HSMs holding the bottom level LMS instances. You cou=
ld aim for height 5 on the top level tree, but still 2^5 HSMs are not pract=
ical in my personal opinion.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">@All: May I ask, how the above mentioned requiremen=
t about exporting private keying material has to be interpreted?</span><o:p=
></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">However, I (personally) still think that stateful H=
BS should be available as an option in our ecosystems.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Best</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Stavros</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">-----Urspr=FCngliche Nachricht-----</span><o:p></o:=
p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Von: Vaira, Antonio &lt;<a href=3D"mailto:antonio.v=
aira@siemens.com">antonio.vaira@siemens.com</a>&gt;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Gesendet: Dienstag, 31. Januar 2023 13:33</span><o:=
p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">An: Kousidis, Stavros &lt;<a href=3D"mailto:stavros=
.kousidis@bsi.bund.de">stavros.kousidis@bsi.bund.de</a>&gt;; Kampanakis, Pa=
nos &lt;<a href=3D"mailto:kpanos@amazon.com">kpanos@amazon.com</a>&gt;</spa=
n><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Cc: LAMPS &lt;<a href=3D"mailto:spasm@ietf.org">spa=
sm@ietf.org</a>&gt;;
<a href=3D"mailto:draft-gazdag-x509-hash-sigs.authors@ietf.org">draft-gazda=
g-x509-hash-sigs.authors@ietf.org</a></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Betreff: RE: [lamps] draft-gazdag-x509-hash-sigs-00=
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Dear Stavros, Dear Panos,</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">I hope I am not intruding this conversation, I woul=
d like to add a couple of personal considerations:</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">- I believe that we will also need to have &quot;st=
ateful HBS ICAs&quot;, to at least sign &quot;stateful HBS code-signing cer=
tificates&quot;. This would allow a relying party to validate the
 code-signing certificates, and its associated certificate chain, by verify=
ing only one type of digital signatures, which in this case would be a stat=
eful HBS scheme. This type of ICAs may be handled as RootCA, so probably th=
ere is not much to add to the security
 considerations.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">- my understanding of stateful HBS schemes is that =
the state of the private key can be uniquely identified by the authenticati=
on 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 publishe=
d, for example on CT, to allow public scrutiny of the CA operations?</span>=
<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">- on a more generic note, the recent publication of=
 CNSA 2.0, despite applying only to NSS, may trigger other regulatory bodie=
s, 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.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">- @Stavros: it would be very interesting to know mo=
re about how you plan to handle the requirements from =A77 of NIST SP 800-2=
08.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; &gt; in my understanding, to ful=
fil 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 inte=
nded use of stateful HBS).</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; &gt; do you see additional appro=
aches that would allow to comply with the requirements from =A77 of NIST SP=
 800-208?</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Many thanks</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Antonio Vaira</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">-----Original Message-----</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">From: Spasm &lt;<a href=3D"mailto:spasm-bounces@iet=
f.org">spasm-bounces@ietf.org</a>&gt; On Behalf Of Kousidis, Stavros</span>=
<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Sent: Monday, 23 January 2023 09:33</span><o:p></o:=
p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">To: Kampanakis, Panos &lt;<a href=3D"mailto:kpanos=
=3D40amazon.com@dmarc.ietf.org">kpanos=3D40amazon.com@dmarc.ietf.org</a>&gt=
;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Cc: LAMPS &lt;<a href=3D"mailto:spasm@ietf.org">spa=
sm@ietf.org</a>&gt;;
<a href=3D"mailto:draft-gazdag-x509-hash-sigs.authors@ietf.org">draft-gazda=
g-x509-hash-sigs.authors@ietf.org</a></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Subject: Re: [lamps] draft-gazdag-x509-hash-sigs-00=
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Dear Pano,</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">thank you for your comments and suggestions, and so=
rry for the late reply.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">The typical use case we have in mind are root and (=
potentially also subordinate) CAs which are using an HSM for cert signing t=
hat ensures the secure handling of the state.
 When discussing this in the security considerations we would also stress o=
n NISTs proposal to use &quot;Distributed Multi-Tree Hash-Based Signatures&=
quot; (see NIST SP 800-208 =A77) as a design to further ensure that states =
are handled appropriately.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">We have tracked the other use cases you mentioned a=
s 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.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Best</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Stavros</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">-----Urspr=FCngliche Nachricht-----</span><o:p></o:=
p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Von: Kampanakis, Panos &lt;<a href=3D"mailto:kpanos=
=3D40amazon.com@dmarc.ietf.org">kpanos=3D40amazon.com@dmarc.ietf.org</a>&gt;
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Gesendet: Donnerstag, 29. Dezember 2022 18:23</span=
><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">An: Kousidis, Stavros &lt;<a href=3D"mailto:stavros=
.kousidis@bsi.bund.de">stavros.kousidis@bsi.bund.de</a>&gt;</span><o:p></o:=
p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Cc: LAMPS &lt;<a href=3D"mailto:spasm@ietf.org">spa=
sm@ietf.org</a>&gt;;
<a href=3D"mailto:draft-gazdag-x509-hash-sigs.authors@ietf.org">draft-gazda=
g-x509-hash-sigs.authors@ietf.org</a></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Betreff: RE: [lamps] draft-gazdag-x509-hash-sigs-00=
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">One more comment regarding draft-gazdag-x509-hash-s=
igs.
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Stateful HBS had come up previously for X.509 and s=
ome participants voiced serious concerns
<a href=3D"https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2=
F%2Fmailarchive.ietf.org%2Farch%2Fmsg%2Fspasm%2FDKPDfaQZxF5_De9BYuoWsRKp4gM=
%2F&amp;data=3D05%7C01%7Cantonio.vaira%40siemens.com%7Cd988d9a6eb5d4ac79f48=
08db042989a7%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C63810834867472803=
1%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha=
WwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=3DWedj6fJ8p564lYwaDHXQAjbEYjT8o=
X5jl1A8eNop9So%3D&amp;reserved=3D0">
https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fmailarc=
hive.ietf.org%2Farch%2Fmsg%2Fspasm%2FDKPDfaQZxF5_De9BYuoWsRKp4gM%2F&amp;dat=
a=3D05%7C01%7Cantonio.vaira%40siemens.com%7Cd988d9a6eb5d4ac79f4808db042989a=
7%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C638108348674728031%7CUnknown=
%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6=
Mn0%3D%7C3000%7C%7C%7C&amp;sdata=3DWedj6fJ8p564lYwaDHXQAjbEYjT8oX5jl1A8eNop=
9So%3D&amp;reserved=3D0</a>
 A summary of the counter-arguments could be that CAs have messed up before=
, how can we rest assured they will not reuse state.
</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">I think your argument for Stateful HBS in this draf=
t is only for root CAs which sign a few ICAs and then go to sleep and rarel=
y wake up. Maybe another use is for code-signing
 EKU certs where the signer controls its signing process and the verifiers =
trust it.&nbsp; 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 an=
d signs very few ICA certs and then
 goes offline. Another example is a code-signer keeps track of all its sign=
atures 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 loo=
k ahead where you retrieve x states
 and change your pointer before you even start signing anything.</span><o:p=
></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">-----Original Message-----</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">From: Spasm &lt;<a href=3D"mailto:spasm-bounces@iet=
f.org">spasm-bounces@ietf.org</a>&gt; On Behalf Of Kousidis, Stavros</span>=
<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Sent: Saturday, December 24, 2022 12:11 AM</span><o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">To: Russ Housley &lt;<a href=3D"mailto:housley@vigi=
lsec.com">housley@vigilsec.com</a>&gt;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Cc: LAMPS &lt;<a href=3D"mailto:spasm@ietf.org">spa=
sm@ietf.org</a>&gt;;
<a href=3D"mailto:draft-gazdag-x509-hash-sigs.authors@ietf.org">draft-gazda=
g-x509-hash-sigs.authors@ietf.org</a></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Subject: RE: [EXTERNAL][lamps] draft-gazdag-x509-ha=
sh-sigs-00</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">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.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Dear Russ,</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">thank you for the information.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">In the next version we will adopt the &quot;OCTET S=
TRING&quot; definition of RFC 8708 for HSS and apply this also to XMSS/XMSS=
^MT. The same applies to SPHINCS&#43; where we will adopt the
 definition of &quot;draft-ietf-lamps-cms-sphincs-plus-01&quot;.</span><o:p=
></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Best</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Stavros</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">-----Urspr=FCngliche Nachricht-----</span><o:p></o:=
p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Von: Russ Housley &lt;<a href=3D"mailto:housley@vig=
ilsec.com">housley@vigilsec.com</a>&gt;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Gesendet: Freitag, 23. Dezember 2022 18:12</span><o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">An:
<a href=3D"mailto:draft-gazdag-x509-hash-sigs.authors@ietf.org">draft-gazda=
g-x509-hash-sigs.authors@ietf.org</a></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Cc: LAMPS &lt;<a href=3D"mailto:spasm@ietf.org">spa=
sm@ietf.org</a>&gt;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Betreff: [lamps] draft-gazdag-x509-hash-sigs-00</sp=
an><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Dear I-D Authors:</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">RFC 8708 has this definition:</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp; HSS-LMS-HashSig-PublicKey =
::=3D OCTET STRING</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">This will carry the bytes as defined in RFC 8554.</=
span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">draft-gazdag-x509-hash-sigs-00 says:</span><o:p></o=
:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; HSS-HashSig-PublicKey ::=3D SEQU=
ENCE {</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; levels&nbsp;&n=
bsp;&nbsp;&nbsp; OCTET STRING, -- number of levels L</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tree&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; OCTET STRING, -- typecode of top-level LMS tree<=
/span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ots&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OCTET STRING, -- typecode of top-level LM-O=
TS</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; identifier OCT=
ET STRING, -- identifier I of top-level LMS key pair</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; OCTET STRING&nbsp; -- root T[1] of top-level tre=
e</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;&nbsp;&nbsp; }</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">This will produce a different byte string than RFC =
8554.&nbsp; I think this is a problem.&nbsp; There should only be one way t=
o encode the HSS/LMS public key.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Russ</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">_______________________________________________</sp=
an><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Spasm mailing list</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt"><a href=3D"mailto:S=
pasm@ietf.org"><span style=3D"font-family:&quot;Calibri&quot;,sans-serif">S=
pasm@ietf.org</span></a></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt"><a href=3D"https://=
eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2F=
mailman%2Flistinfo%2Fspasm&amp;data=3D05%7C01%7Cantonio.vaira%40siemens.com=
%7Cd988d9a6eb5d4ac79f4808db042989a7%7C38ae3bcd95794fd4addab42e1495d55a%7C1%=
7C0%7C638108348674728031%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIj=
oiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=3DwFkKzz=
wn5JFkvymGcyOrOix99O8otkKQ5pdOmuGwh5M%3D&amp;reserved=3D0"><span style=3D"f=
ont-family:&quot;Calibri&quot;,sans-serif">https://eur01.safelinks.protecti=
on.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fspa=
sm&amp;data=3D05%7C01%7Cantonio.vaira%40siemens.com%7Cd988d9a6eb5d4ac79f480=
8db042989a7%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C638108348674728031=
%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haW=
wiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=3DwFkKzzwn5JFkvymGcyOrOix99O8otk=
KQ5pdOmuGwh5M%3D&amp;reserved=3D0</span></a></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">&nbsp;</span><o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">_______________________________________________</sp=
an><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif">Spasm mailing list</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt"><a href=3D"mailto:S=
pasm@ietf.org"><span style=3D"font-family:&quot;Calibri&quot;,sans-serif">S=
pasm@ietf.org</span></a></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt"><a href=3D"https://=
eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2F=
mailman%2Flistinfo%2Fspasm&amp;data=3D05%7C01%7Cantonio.vaira%40siemens.com=
%7Cd988d9a6eb5d4ac79f4808db042989a7%7C38ae3bcd95794fd4addab42e1495d55a%7C1%=
7C0%7C638108348674728031%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIj=
oiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=3DwFkKzz=
wn5JFkvymGcyOrOix99O8otkKQ5pdOmuGwh5M%3D&amp;reserved=3D0"><span style=3D"f=
ont-family:&quot;Calibri&quot;,sans-serif">https://eur01.safelinks.protecti=
on.outlook.com/?url=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fspa=
sm&amp;data=3D05%7C01%7Cantonio.vaira%40siemens.com%7Cd988d9a6eb5d4ac79f480=
8db042989a7%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C638108348674728031=
%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haW=
wiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=3DwFkKzzwn5JFkvymGcyOrOix99O8otk=
KQ5pdOmuGwh5M%3D&amp;reserved=3D0</span></a></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">&nbsp;</span><o:p><=
/o:p></p>
</div>
</div>
</body>
</html>

=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
<!--
INVALID HTML
-->
Java, JavaScript sowie aktive Inhalte wurden aus dieser E-Mail herausgefilt=
ert.

--_000_402e8a7be79549cc9e1965a7a0dd6316bsibundde_--

