You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A-networkE-more-complexVariable effort required; may require a mentor. Recommended solution is clearly described in the issI-safetySome piece of code violates memory safety guarantees.
For now we may not want Servo to persist any state to disk. In that case we can support just HSTS preloads and not the Strict-Transport-Security header.
I linked to the MDN document that explains the whole feature. If we're only doing preloads then we just need to get that file from Google and bake it into Servo.
This will require adding additional Servo initialization code (like the hostfile processing) and checks in the HTTP loader. I think we should support an in-memory list of any domains for which we have seen a Strict-Transport-Security header, too.
Code: components/net/resource_task.rs, components/net/http_loader.rs
I'm keen to give this a go as a first task. It seems like doing only preloads first should be fairly straightforward. Finding a suitable preload list doesn't not appear to be as straightforward.
I don't see why servo couldn't do the same, but I'm not familiar with the servo build. A point in the right direction for where that might make sense would be helpful.
A-networkE-more-complexVariable effort required; may require a mentor. Recommended solution is clearly described in the issI-safetySome piece of code violates memory safety guarantees.
Activity
jdm commentedon May 18, 2015
@kmcallister This is going to need further elaboration if the easy tag is going to be reinstated.
kmcallister commentedon May 18, 2015
I linked to the MDN document that explains the whole feature. If we're only doing preloads then we just need to get that file from Google and bake it into Servo.
jdm commentedon May 18, 2015
This will require adding additional Servo initialization code (like the hostfile processing) and checks in the HTTP loader. I think we should support an in-memory list of any domains for which we have seen a Strict-Transport-Security header, too.
Code:
components/net/resource_task.rs,components/net/http_loader.rssamfoo commentedon Jun 3, 2015
I'm keen to give this a go as a first task. It seems like doing only preloads first should be fairly straightforward. Finding a suitable preload list doesn't not appear to be as straightforward.
Chromium packages theirs with the build, as does gecko.
EDIT:
Ahh, it appears that the gecko build actually downloads and parses the Chromium file rather than duplicate effort.
I don't see why servo couldn't do the same, but I'm not familiar with the servo build. A point in the right direction for where that might make sense would be helpful.
jdm commentedon Jun 3, 2015
We could add a mach command to fetch the latest version. That would live somewhere in http://mxr.mozilla.org/servo/source/python/servo/; it's not clear to me which of those files makes the most sense, but the bootstrap_commands.py has a bunch of "download this file" logic.
Preload an HSTS domain list from chromium
Implement mutable HSTS list
Do not allow IP address in HSTS list
38 remaining items
Shift checking for IP address host for HSTS entry to constructor
Expire HSTS entries that have exceeded their max-age
Auto merge of #6490 - samfoo:hsts-preload, r=jdm
Preload an HSTS domain list from chromium
Implement mutable HSTS list
Do not allow IP address in HSTS list
Do not change the port when loading HSTS domain
Add max-age to HSTS entries
Shift checking for IP address host for HSTS entry to constructor
Expire HSTS entries that have exceeded their max-age
servo: Merge #6490 - Implement HSTS (preload-only) (from samfoo:hsts-…
servo: Merge #6490 - Implement HSTS (preload-only) (from samfoo:hsts-…
servo: Merge #6490 - Implement HSTS (preload-only) (from samfoo:hsts-…
servo: Merge #6490 - Implement HSTS (preload-only) (from samfoo:hsts-…