mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
4bc9fe0d27
This patch does a few things: 1) It removes the symantecRoot and symantec_affected certs from build/pgo/certs' DB. 2) It upgrades that DB from the old format to SQLite (and this 8/3 to 9/4). 3) It adds a new cert "imminently_distrusted" to that DB for the bc test. 4) It changes the Subject of the immient distrust test to only have the CN field: this is because certutil reorders C to come after CN, and just like with the real Symantec certs, I had put C first. So rather than deal with importing the end entity for the pgo tests, I decided to just make things simple and change the tested subject. 5) Finally, it re-enables the test that was disabled in Bug 1434300. MozReview-Commit-ID: Bt2RKyInJje --HG-- rename : build/pgo/certs/cert8.db => build/pgo/certs/cert9.db rename : build/pgo/certs/key3.db => build/pgo/certs/key4.db extra : rebase_source : efceb67ae16f0af617bbd8bec201d52eee0f467d
22 lines
1.1 KiB
PHP
22 lines
1.1 KiB
PHP
// Script from security/manager/tools/crtshToIdentifyingStruct/crtshToIdentifyingStruct.py
|
|
// Invocation: crtshToIdentifyingStruct.py -dn -listname TestImminentDistrustEndEntityDNs ../../ssl/tests/unit/bad_certs/ee-imminently-distrusted.pem
|
|
|
|
// This file is used by test_imminent_distrust.js and by
|
|
// browser_console_certificate_imminent_distrust.js to ensure that the UI for
|
|
// alerting users to an upcoming CA distrust action continues to function.
|
|
|
|
// /CN=Imminently Distrusted End Entity
|
|
// SHA256 Fingerprint: DB:4E:B0:BA:38:93:02:E8:32:87:03:FA:C3:C8:F7:6A
|
|
// 88:77:03:B2:9E:CE:C0:C8:27:26:CC:8F:F5:64:E6:B5
|
|
static const uint8_t CAImminentlyDistrustedEndEntityDN[45] = {
|
|
0x30, 0x2B, 0x31, 0x29, 0x30, 0x27, 0x06, 0x03, 0x55, 0x04, 0x03, 0x13, 0x20,
|
|
0x49, 0x6D, 0x6D, 0x69, 0x6E, 0x65, 0x6E, 0x74, 0x6C, 0x79, 0x20, 0x44, 0x69,
|
|
0x73, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x20, 0x45, 0x6E, 0x64, 0x20,
|
|
0x45, 0x6E, 0x74, 0x69, 0x74, 0x79,
|
|
};
|
|
|
|
static const DataAndLength TestImminentDistrustEndEntityDNs[]= {
|
|
{ CAImminentlyDistrustedEndEntityDN,
|
|
sizeof(CAImminentlyDistrustedEndEntityDN) },
|
|
};
|