Bug 1005364: Disable pinning for all mozilla properties (r=keeler)

This commit is contained in:
Monica Chew 2014-05-04 17:05:58 -07:00
parent 28ed4f661d
commit 1295971f2d
2 changed files with 8 additions and 12 deletions

View File

@ -191,15 +191,10 @@ typedef struct {
} TransportSecurityPreload;
static const TransportSecurityPreload kPublicKeyPinningPreloadList[] = {
{ "addons.mozilla.net", true, &kPinSet_mozilla },
{ "addons.mozilla.org", true, &kPinSet_mozilla },
{ "cdn.mozilla.net", true, &kPinSet_mozilla_cdn },
{ "cdn.mozilla.org", true, &kPinSet_mozilla_cdn },
{ "exclude-subdomains.pinning.example.com", false, &kPinSet_mozilla_test },
{ "include-subdomains.pinning.example.com", true, &kPinSet_mozilla_test },
{ "media.mozilla.com", true, &kPinSet_mozilla_cdn },
};
static const int kPublicKeyPinningPreloadListLength = 7;
static const int kPublicKeyPinningPreloadListLength = 2;
const PRTime kPreloadPKPinsExpirationTime = INT64_C(1409867186821000);
const PRTime kPreloadPKPinsExpirationTime = INT64_C(1410109244157000);

View File

@ -93,11 +93,12 @@
],
"entries": [
{ "name": "addons.mozilla.org", "include_subdomains": true, "pins": "mozilla" },
{ "name": "addons.mozilla.net", "include_subdomains": true, "pins": "mozilla" },
{ "name": "cdn.mozilla.net", "include_subdomains": true, "pins": "mozilla_cdn" },
{ "name": "cdn.mozilla.org", "include_subdomains": true, "pins": "mozilla_cdn" },
{ "name": "media.mozilla.com", "include_subdomains": true, "pins": "mozilla_cdn" },
// Disable until bug 1005653 is fixed.
// { "name": "addons.mozilla.org", "include_subdomains": true, "pins": "mozilla" },
// { "name": "addons.mozilla.net", "include_subdomains": true, "pins": "mozilla" },
// { "name": "cdn.mozilla.net", "include_subdomains": true, "pins": "mozilla_cdn" },
// { "name": "cdn.mozilla.org", "include_subdomains": true, "pins": "mozilla_cdn" },
// { "name": "media.mozilla.com", "include_subdomains": true, "pins": "mozilla_cdn" },
{ "name": "include-subdomains.pinning.example.com", "include_subdomains": true, "pins": "mozilla_test" },
{ "name": "exclude-subdomains.pinning.example.com", "include_subdomains": false, "pins": "mozilla_test" }
]