For a project i was developing on I needed to implement the Expect-CT headers.
Unfortunately this was not implemented to SecKit yet so I've made a patch for this.
Hope it's good enough.
Based on: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect-CT
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 2962380-6-seckit-expect-ct.patch | 4.21 KB | nironan |
| #3 | 2962380-3.patch | 6.24 KB | mcdruid |
| seckit-expect-ct.patch | 5.99 KB | jochemh |
Comments
Comment #2
aspilicious commentedLooking good, and has a test
Comment #3
mcdruid commentedThanks!
I've re-rolled this so that it applies to 8.x-1.x again, and tidied a couple of things up.
I wonder whether we should also add a route/controller for the report-uri, in the same way we record CSP violations.
Details of what should be sent: https://tools.ietf.org/html/draft-ietf-httpbis-expect-ct-02#section-3
I don't think we need to block this going on on that todo though; in some cases the reports may go to a totally different site/domain.
Comment #5
mcdruid commentedThanks! Ready for backport to D7.
Comment #6
nironan commentedFirst backport attemp, hope it's ok!
Comment #8
mcdruid commentedThanks!
I made a couple of small tweaks to the backport; one to fix a typo in a comment, and the other to change to the older array syntax (which is still the standard in D7 code):
Other than that, this was great - committed to 7.x-1.x ... thank you to all contributors!