W3C home > Mailing lists > Public > public-webappsec@w3.org > January 2015

Re: Proposal: A pinning mechanism for CSP?

From: Mike West <mkwst@google.com>
Date: Fri, 23 Jan 2015 18:43:41 +0100
Message-ID: <CAKXHy=corgXSfoY99tFYiVE3uz_1MWHkTSCuRqUp5wNOibiVZg@mail.gmail.com>
To: Jim Manico <jim.manico@owasp.org>
Cc: Frederik Braun <fbraun@mozilla.com>, "public-webappsec@w3.org" <public-webappsec@w3.org>, yan zhu <yan@mit.edu>, Chris Palmer <palmer@google.com>, Ryan Sleevi <sleevi@google.com>, Brad Hill <hillbrad@gmail.com>, Dan Veditz <dveditz@mozilla.com>
On Fri, Jan 23, 2015 at 6:38 PM, Jim Manico <jim.manico@owasp.org> wrote:

> All I'm saying is that if pinning config can be set via a manifest like
> structure vs headers, I'd suggest that headers take precedence.

The csp-pinning proposal (and PKP (and HSTS)) ignores any pin for a host
that already has a pin. First one in wins, which is good for security, as
it can't be maliciously overridden. Of course, it's bad for flexibility for
the same reasons. *shrug* That's a trade off I think we should allow
developers to make.

Actually, there might be some subtlety here (can't HSTS/PKP turn itself off
with a 0 max-age? Chris? Ryan? I didn't see that logic in a quick skim of
the RFCs)

> If I'm way off base or being disruptive, let me know off-list and I'll go
> back to lurking and popcorn.

Not at all! Feedback/questions are totally welcome!

Received on Friday, 23 January 2015 17:44:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:44 UTC