On 9/10/26 20:15, Michael Richardson wrote:
> If the concern is that the actual public key shouldn't be exposed, while the > hash can be exposed, then no new fields are needed: just use the hash > fields. It's up to the specific protocol to define a "MUST use SHA256 hash" > then.I think that Deb's concern is that the key that is pinned might need to change. Either because of crypto-hygiene, or because of a CRQC event.
That's indeed another thing. Our base model for a Voucher is that if the pinned-domain-cert, or pinned-domain-pubk, or pinned-domain-pubk-sha256 needs to change, then a new Voucher needs to be issued. If the pinned identity needs to be short-lived/volatile due to crypto-hygiene or CRQC events then Vouchers become volatile too. This seems ok and complies with our short-lived single-use Voucher recommendations. I don't see a concern there other than below for the "manufacturer death" use case.
(Yes, in the case of a nonceless voucher the voucher could be used multiple times, but a new voucher would be needed if the Registrar had a new identity.
Just wanted to clarify: a CA of the Domain could be pinned also, which is not equal to the Registrar identity. So even if the Registrar changes its identity daily, the Domain CA could presumably remain stable and a Voucher that pins the Domain CA remains valid. If the Domain CA needs to change for crypto reasons, the the Voucher naturally becomes invalid.
Nonce-less vouchers would be used either to guard against manufacturer death, or for completely air-gapped installations)
The "guard against manufacturer death" could be a more difficult to realize use case at some point. Such type of Vouchers would have to be valid for many years I assume - e.g. if a product is integrated into a building and expected to last 20 years then a Voucher of 20 years is needed. Because the manufacturer could go out of business tomorrow. That means a Domain CA that lasts 20 years, which may not be possible when say 5 years down the road a CRQC event occurs and all vulnerable Domain CAs need to be updated.
Maybe the nonce is better described as a cookie, as it is never used as input to a PRF/etc. Like a SYN cookie, rather than like an IKE Ni/Nr-nonce.
DTLS also has "cookies" like this. We kept the term "nonce" (as was used by RFC 8366) and I checked it's compliant to the RFC 4949 terminology.
A nonce must be random, must be only used once (which rules out some non-secure pseudo-random approaches), and is used for freshness. A cookie can also be computed non-randomly (based on state) and has the main goal to validate that a sender is also able to receive your packets.
Esko _______________________________________________ Anima mailing list -- [email protected] To unsubscribe send an email to [email protected]
