internetstandards / Internet.nl

Internet standards compliance test suite
https://internet.nl
171 stars 36 forks source link

HSTS preload list #347

Open baknu opened 5 years ago

baknu commented 5 years ago

Mail discussion between RD and BK on 2018-09-06:

This is about the Chrome preload list (https://hstspreload.org/) that is also used by other major browsers but probably not by all browsers.

In the HSTS RFC there is also a paragraph on "HSTS Pre-Loaded List" (https://tools.ietf.org/html/rfc6797#section-12.3).

Question is whether Internet.nl should check this list when performing the HSTS subtest?

WKobes commented 1 year ago

Useful API: https://hstspreload.org/api/v2/preloadable?domain=example.nl https://hstspreload.org/api/v2/status?domain=example.nl

bwbroersma commented 1 year ago

Mozilla :fox_face: Firefox uses it's on HSTS preload list, seeded on the Chrome HSTS preload list. See Mozilla Wiki: SecurityEngineering/HTTP Strict Transport Security (HSTS) Preload List:

The xpcshell script is here. Output from the automated job as run on each branch is available here: mozilla-central esr60 (scroll down until there's a line containing "pfu", click on that, then click on "live.log" in the pane that pops up).

Current list:

Both Firefox and Chrome have, next to the tld preloads, also quite some nic.tld preloads (e.g. both esq and nic.esq).

I don't know if the lists are only baked in, or also requested by clients out of band with updates. In any case it should be useful to determine the start/end of a HSTS preload, and the specific versions it's in.

BTW it's interesting to see for these files the Chrome changelog looks way more manual (see also their manual options) than the :fox_face: Mozilla Firefox changelog.