davidben / merkle-tree-certs

Other
9 stars 4 forks source link

Rebase negotiation scheme on top of trust anchor IDs #80

Closed davidben closed 3 months ago

davidben commented 1 year ago

We can probably also trim the now redundant text around multi-certificate deployment models.

davidben commented 4 months ago

Based on TLSWG feedback, we're going to proceed with draft-beck-tls-trust-anchor-ids over draft-davidben-tls-trust-expr, so now this tracks rebasing over the other one. I believe the things to do are:

  1. Replace issuer_id with the same OID-based construction used by trust anchor IDs. However, that does not name an individual trust anchor but takes the entire OID arc
  2. A trust anchor is just an individual batch, which is constructed by appending the batch number to the OID
  3. Replace the TrustAnchor structure in BikeshedCertificate with a TrustAnchorIdentifier from draft-beck. Unlike X.509, there is need to communicate the trust anchor ID in CertificatePropertyList. The subscriber is assumed to understand the BikeshedCertificate structure and can parse it out. (X.509 only needs it because its native issuer field is horrible.)
  4. Delete the trust_anchors extension in this document and just reference draft-beck. Much of the supporting musing on deployment can also probably go.
davidben commented 4 months ago

The ACME bits may also need thought, but I think we leave that for later and just drop in a TODO. draft-beck has an ACME extension, but MTC's long issuance times complicate matters.

bwesterb commented 4 months ago

I presume we'd only want the client to send the trust anchor of the latest batch it has — and not all batches it trusts?

davidben commented 4 months ago

Hmm. I think we'd effectively have to depend on the DNS advertisement because otherwise it's too large. I guess, yeah, we will lose the goofy thing we did here where one trust anchor ID secretly aliases a bunch of others concurrently. I'm thinking we tentatively just lose it and take a DNS dependency, and then we can always add it back later.

I'll leave a little TODO for it.

davidben commented 4 months ago

I'll leave a little TODO for it.

Also will file a bug in the other repo to track this.