Bug 1047560: Enable pinning on dropbox (r=keeler)

This commit is contained in:
Monica Chew 2014-08-01 13:12:38 -07:00
Родитель 141996a3e9
Коммит 6eea93a408
2 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -767,9 +767,10 @@ static const TransportSecurityPreload kPublicKeyPinningPreloadList[] = {
{ "dist.torproject.org", true, false, false, -1, &kPinset_tor },
{ "dl.google.com", true, false, false, -1, &kPinset_google_root_pems },
{ "docs.google.com", true, false, false, -1, &kPinset_google_root_pems },
{ "domains.google.com", true, false, false, -1, &kPinset_google_root_pems },
{ "doubleclick.net", true, false, false, -1, &kPinset_google_root_pems },
{ "drive.google.com", true, false, false, -1, &kPinset_google_root_pems },
{ "dropbox.com", false, true, false, -1, &kPinset_dropbox },
{ "dropbox.com", false, false, false, -1, &kPinset_dropbox },
{ "encrypted.google.com", true, false, false, -1, &kPinset_google_root_pems },
{ "exclude-subdomains.pinning.example.com", false, false, false, 0, &kPinset_mozilla_test },
{ "g.co", true, false, false, -1, &kPinset_google_root_pems },
@ -1052,7 +1053,7 @@ static const TransportSecurityPreload kPublicKeyPinningPreloadList[] = {
{ "wf-training-hrd.appspot.com", true, false, false, -1, &kPinset_google_root_pems },
{ "wf-training-master.appspot.com", true, false, false, -1, &kPinset_google_root_pems },
{ "wf-trial-hrd.appspot.com", true, false, false, -1, &kPinset_google_root_pems },
{ "www.dropbox.com", true, true, false, -1, &kPinset_dropbox },
{ "www.dropbox.com", true, false, false, -1, &kPinset_dropbox },
{ "www.gmail.com", false, false, false, -1, &kPinset_google_root_pems },
{ "www.googlemail.com", false, false, false, -1, &kPinset_google_root_pems },
{ "www.torproject.org", true, false, false, -1, &kPinset_tor },
@ -1063,8 +1064,8 @@ static const TransportSecurityPreload kPublicKeyPinningPreloadList[] = {
{ "ytimg.com", true, false, false, -1, &kPinset_google_root_pems },
};
// Pinning Preload List Length = 325;
// Pinning Preload List Length = 326;
static const int32_t kUnknownId = -1;
static const PRTime kPreloadPKPinsExpirationTime = INT64_C(1414836387591000);
static const PRTime kPreloadPKPinsExpirationTime = INT64_C(1415385176259000);

Просмотреть файл

@ -37,6 +37,9 @@
"production_domains": [
// Chrome's test domain.
"pinningtest.appspot.com",
// Dropbox
"dropbox.com",
"www.dropbox.com",
// Twitter
"api.twitter.com",
"business.twitter.com",