Certificate Transparency Log Certificate Acceptance Proposal
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- security
Research direction
Start by reviewing the proposed Certificate Transparency log acceptance rules, especially the optional Start and End range and the operational examples. Determine whether the project has a specification or implementation entry point for log acceptance; done would require an agreed design for certificate filtering, log rollover, archival behavior, and CA compatibility.
Written by the indexing model from the issue text.
Description
Problems:
- Log Size: Currently, bringing up new logs does not help with size issues, as if the new logs have the same root set at the old logs, they could be filled with all of the same certificates, resulting in a duplicate logs, and not solving the problem of log size in any way.
- Log lifetime management: Logs are getting filled with short lived certs (ahem, Let’s Encrypt :P) but then having to be kept alive for years after most of the certificates they contain expire due to the small number of long lived certs in them.
Idea:
When a log operator brings up a new Log, they specify:
- A list of accepted roots (as usual)
- (optionally) A time range: Start, End
For a certificate to be accepted by the Log:
- The certificate must be ‘valid’ X509 (as usual)
- The certificate must chain to an accepted roots (as usual)
- If a time range was specified:
- The certificate’s ‘Not After’ validity field value must:
- Be at or after ‘Start’
- Be before ‘End’
How could Log Operators use this:
Suppose the longest lived cert that a CA can/will ever issue is 3 years (I'm not sure what it actually is, so this example would need to be adjusted to accommodate whatever it really is).
Using this new idea, a log operator could then create 4 logs (to cover a rolling 3 year period), each with the same set of accepted roots, but with (Start, End) values of:
(initial, initial+1yr)
(initial+1yr, initial+2yrs)
(initial+2yrs, initial+3yrs)
(initial+3yrs, initial+4yrs)
where initial = ~when the logs are created
New certificates issued with short lifetimes (for example Let’s Encrypt certs) would initially end up in the (initial, initial+1yr) log, whereas new certificates with longer lifetimes would end up in the logs with later acceptance ranges. Existing certificates that have not yet expired would fit into whichever log accepts their ‘Not After’ value, and expired certificates would be submitted to already existing archival logs (e.g. Google Daedalus).
As now progressed, and neared initial+1yr, another log would be spun up with (Start, End) = (initial+4yrs, initial+5yrs), to continue to cover any new certificates created with a 3 year lifetime. New short lived certificates would start being logged in the (initial+1yr, initial+2yrs) Log.
Once now passed initial+1yr, the log with (Start, End) = (initial, initial+1yr) would become archival, and not require the same level of maintenance, as all of the certificates within it would be expired.
Pros:
- Hard date at which the log is no longer active - very clear log lifetime.
- Logs sizes are limited to however many certs expire during the specified range.
- Adds an element of predictability to when certain new Logs will be introduced. Can plan spinning up Logs in advance.
Cons:
- Adds complexity to the ecosystem:
- CAs either have to know which Log to submit to/which log will accept the expiry dates of its certs, or submit to all Logs with the understanding that only some will return an SCT.
- CAs have to change which Logs they submit to as time rolls on.
- Shipping with a ‘baked in’ list of Logs that all specify the optional Start, End values means that, after the latest End value, and without any update mechanism. CT will no longer work for that product.
- Dominant language
- HTML
- Stars
- 214
- Forks
- 114
- Avg merge
- 14h 58m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GoogleChrome/CertificateTransparency
-
[email protected]Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
-
Specify a minimum submission size that logs are required to supportMay be free again @devonobrien claimed this 2064 days ago, and no pull request is open. Open
GoogleChrome/CertificateTransparency#31 · 1 comment · 1 assignee ·
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
GoogleChrome/CertificateTransparency#28 · 1 reaction ·
-
Define accepted log public keysMay be free again @devonobrien claimed this 2473 days ago, and no pull request is open. Open
GoogleChrome/CertificateTransparency#25 · 2 comments · 1 assignee ·
-
List mirrorsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
GoogleChrome/CertificateTransparency#22 · 2 reactions ·
All issues in GoogleChrome/CertificateTransparency
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
OHDSI/Data2Evidence#3747 ·
Maintainers usually reply within 4 days
-
SRP callback argument points to an expired stack slot in s_server/s_client (remote DoS of the CLI)Openissue: bug report
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 2 days
-
vulncheck or vulndb
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug L3 level 1 needs-review wocs
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
SatyamPandey-07/WorkSphere#10737 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day