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

Re: [SRI] format of the integrity attribute

From: Anne van Kesteren <annevk@annevk.nl>
Date: Fri, 30 Jan 2015 14:57:35 +0100
Message-ID: <CADnb78jt4kQetGbZ=cCc0eHFooXVBvYCL5cG2Vz5q-=d9Mnj9Q@mail.gmail.com>
To: Joel Weinberger <jww@chromium.org>
Cc: Martin Thomson <martin.thomson@gmail.com>, Francois Marier <francois@mozilla.com>, WebAppSec WG <public-webappsec@w3.org>
On Fri, Jan 30, 2015 at 2:49 PM, Joel Weinberger <jww@chromium.org> wrote:
> Given that CSP already uses and deploys the use of '-' as a separator, I
> suggest we go with that; unless there are content types with hyphens?

They exist: https://www.iana.org/assignments/media-types/media-types.xhtml

You want to pick one of the code points from the tspecials production
here: https://tools.ietf.org/html/rfc2045#section-5.1 Both earlier
suggestions of {type}:{alg}-{hash} and type:{type} {alg}:{hash} seem
fine.


-- 
https://annevankesteren.nl/
Received on Friday, 30 January 2015 13:57:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:54:09 UTC