Commit Graph

68 Commits

Author SHA1 Message Date
J.C. Jones
3a0a8e2762 Bug 1613275 - Regenerate expired certs not handled by Bug 1607845 a=RyanVM CLOSED TREE
commands:

openssl x509 -in security/manager/ssl/tests/unit/test_missing_intermediate/missing-intermediate.pem -outform der -out security/manager/ssl/tests/unit/test_missing_intermediate/missing-intermediate.der

mach python ./build/pgo/genpgocert.py

./mach python ./security/manager/ssl/tests/unit/pycert.py <security/manager/ssl/tests/unit/test_certDB_import/emailEE.pem.certspec >security/manager/ssl/tests/unit/test_certDB_import/emailEE.pem
./mach python ./security/manager/ssl/tests/unit/pycert.py <security/manager/ssl/tests/unit/test_certDB_import/importedCA.pem.certspec >security/manager/ssl/tests/unit/test_certDB_import/importedCA.pem
./mach python ./security/manager/ssl/tests/unit/pycert.py <security/manager/ssl/tests/unit/test_intermediate_preloads/ee.pem.certspec >security/manager/ssl/tests/unit/test_intermediate_preloads/ee.pem
./mach python ./security/manager/ssl/tests/unit/pycert.py <security/manager/ssl/tests/unit/test_intermediate_preloads/ee2.pem.certspec >security/manager/ssl/tests/unit/test_intermediate_preloads/ee2.pem
./mach python ./security/manager/ssl/tests/unit/pycert.py <security/manager/ssl/tests/unit/test_intermediate_preloads/int.pem.certspec >security/manager/ssl/tests/unit/test_intermediate_preloads/int.pem
./mach python ./security/manager/ssl/tests/unit/pycert.py <security/manager/ssl/tests/unit/test_intermediate_preloads/int2.pem.certspec >security/manager/ssl/tests/unit/test_intermediate_preloads/int2.pem


Differential Revision: https://phabricator.services.mozilla.com/D61653

--HG--
extra : amend_source : ba63f416c91785a479695f342cf8db70ccd49cba
2020-02-04 20:17:49 -07:00
Nihanth Subramanya
7f0b6eecd8 Bug 1584479 - Part 2: Update socialtracking test. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D51444

--HG--
extra : moz-landing-system : lando
2019-11-02 09:53:51 +00:00
Dorel Luca
b9074d53a1 Backed out 4 changesets (bug 1584479) for Browser-chrome failures in toolkit/components/antitracking/test/browser/browser_socialtracking.js
Backed out changeset b0d9877bd8b0 (bug 1584479)
Backed out changeset d2c56bd61b08 (bug 1584479)
Backed out changeset 0edb22786545 (bug 1584479)
Backed out changeset 7e03b392edb3 (bug 1584479)
2019-11-02 01:18:42 +02:00
Nihanth Subramanya
1429cf6a65 Bug 1584479 - Part 2: Update socialtracking test. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D51444

--HG--
extra : moz-landing-system : lando
2019-11-01 22:02:12 +00:00
Kevin Jacobs
b93f23a66b Bug 1535210 - Set SSL STATE_IS_BROKEN flag for TLS1.0 and TLS 1.1 connections. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D29576

--HG--
extra : moz-landing-system : lando
2019-05-15 23:34:52 +00:00
Ehsan Akhgari
ccfae51c32 Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
Differential Revision: https://phabricator.services.mozilla.com/D26996

--HG--
extra : moz-landing-system : lando
2019-04-18 01:00:22 +00:00
Oana Pop Rus
76651301a1 Backed out changeset acb04833e713 (bug 1500533) for assertion failure in nsHttpChannel.cpp on a CLOSED TREE 2019-04-11 23:15:08 +03:00
Ehsan Akhgari
bf2a5e6e54 Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
Differential Revision: https://phabricator.services.mozilla.com/D26996

--HG--
extra : moz-landing-system : lando
2019-04-11 18:36:16 +00:00
Carolina Jimenez Gomez
0f33068ca0 Bug 1483626 - Checks if subjectAltNames has elements that are not empty string, and if it has them, they will be remove, preventing incomplete r=johannh
messages to show to the user. r=johannh

Differential Revision: https://phabricator.services.mozilla.com/D21796

--HG--
extra : moz-landing-system : lando
2019-03-14 15:45:55 +00:00
Johann Hofmann
cd3d3a8ab7 Bug 1456089 - Make a tutorial out of the genpgocerts.py README. r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D20178

--HG--
extra : moz-landing-system : lando
2019-02-25 21:06:41 +00:00
Johann Hofmann
731692a30b Bug 1522565 - Tests for cryptominers and fingerprinters sub-panels. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D18827

--HG--
extra : rebase_source : f1e874a43c204f807259cc5249d4e872e25fba26
2019-02-06 14:12:20 +01:00
Wes Kocher
c03a82f8b5 Bug 1525191 - Regenerate certs CLOSED TREE a=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D18632

--HG--
extra : amend_source : 028e3e34ede69bc05f9f8ea147bee02a4e9e2de5
2019-02-04 17:09:59 -08:00
Johann Hofmann
dda53de0ba Bug 1501991 - Add a sub-panel for Trackers in the control center. r=Ehsan,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D11611

--HG--
extra : rebase_source : eebb084d0fed7a66b0dc5bbe7bc5e06b040a0275
extra : amend_source : f8070e363841ad3d9b2418920e0f695c906de105
2018-11-06 20:29:10 +01:00
Cosmin Sabou
d1b2c17c02 Backed out changeset eb21007e7da0 (bug 1501991) for geckoview failures on several tests. 2018-11-17 02:18:03 +02:00
Johann Hofmann
624a3d5172 Bug 1501991 - Add a sub-panel for Trackers in the control center. r=Jamie,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D11611

--HG--
extra : moz-landing-system : lando
2018-11-16 22:34:07 +00:00
Gurzau Raul
2ef5ceafdd Backed out changeset f73e25fa0d8c (bug 1501991) for multiple failures e.g browser_storage_dynamic_windows.js on a CLOSED TREE 2018-11-16 14:14:01 +02:00
Johann Hofmann
1b22275384 Bug 1501991 - Add a sub-panel for Trackers in the control center. r=Jamie,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D11611

--HG--
extra : moz-landing-system : lando
2018-11-16 10:50:31 +00:00
Ehsan Akhgari
2cde9dfed2 Bug 1504194 - Part 3: Add tests for granting access to trackers across the same eTLD+1 r=baku
Depends on D10789

Differential Revision: https://phabricator.services.mozilla.com/D10790

--HG--
extra : moz-landing-system : lando
2018-11-05 17:10:49 +00:00
Chris Peterson
908795a253 Bug 583181 - Part 1: Add test for current navigator.buildID behavior. r=hsivonen
The incorrect LEGACY_BUILD_ID will be fixed in a subsequent changeset.

We must add https://www.mozilla.org/ to server-locations.txt and regenerate the mochitest certificates [1] because the new navigator.buildID test pretends to load content from https://www.mozilla.org/.

[1] https://searchfox.org/mozilla-central/source/build/pgo/certs/README

Differential Revision: https://phabricator.services.mozilla.com/D7982

--HG--
rename : dom/tests/mochitest/bugs/test_bug351601.html => dom/tests/mochitest/bugs/test_navigator_buildID.html
extra : rebase_source : 1deb142930f1a7a570cf719c4cb2bed8adfeabe2
extra : source : 408bff32f9623513a271cdf043d11ba6d1318e03
2018-10-07 01:17:54 -07:00
J.C. Jones
6fad8e3ff1 Bug 1441338 - Change pgo certificates to use certspec/keyspec files r=keeler r=franziskus
(This also fixes Bug 879740 and Bug 1204543.)

build/pgo/certs contains an NSS database set that has a bunch of hand-generated
certificates, and many of these hand-generated certificates are specifically
depended upon for a variety of unit tests. This patch changes all of these to
use the "pycert.py" and "pykey.py" utilities that produce deterministic keys
and certificates.

The naming convention here is new, and defined in the README. It is based on
the mochitest runtest.py naming convention that imports .ca and .client
PEM-encoded certificates.

Unfortunately, the updates to build/pgo/genpgocert.py to generate these files
depends on OpenSSL in order to produce PKCS12 archives for pk11tool to import
into NSS. This could be done with pure-NSS tooling, but it'd require some new
command line functionality, which is out-of-scope for this change.

Note that build/pgo/genpgocert.py no longer takes arguments when run. It's not
run automatically anywhere that I can see, but could (reasonably) be, now.

Differential Revision: https://phabricator.services.mozilla.com/D971

--HG--
extra : amend_source : bc389b9b0a807a4889feb14db439daa28635dfe9
2018-04-23 11:14:17 +02:00
J.C. Jones
4bc9fe0d27 Bug 1439378 - Re-enable the imminent distrust browser-console test r=fkiefer,keeler
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
2018-02-26 15:55:35 -07:00
Tim Taubert
91a23b2116 Bug 1421723 - Allow localhost as appId for U2F r=jcj
Reviewers: jcj

Reviewed By: jcj

Bug #: 1421723

Differential Revision: https://phabricator.services.mozilla.com/D321
2017-12-06 16:28:20 +01:00
J.C. Jones
52564edf40 Bug 1409259 - Add browser console test for the distrust console message r=keeler,ttaubert
There are xpcshell tests to verify that the appropriate distrust flag is set
upon reaching an affected end entity certificate; this test checks that the
distrust flag prints a warning to console.

MozReview-Commit-ID: OMG246WOOT

--HG--
rename : devtools/client/webconsole/test/browser_webconsole_certificate_messages.js => devtools/client/webconsole/test/browser_console_certificate_imminent_distrust.js
extra : rebase_source : a5fed5457e7789e742ee461b988463b81cd2c214
2017-11-01 20:59:33 -07:00
Kirk Steuber
459dc06e8a Bug 1346405 - Update build/pgo/certs/README so instructions are current and applicable cross-platform r=ted
MozReview-Commit-ID: LfhNX9WH0zZ

--HG--
extra : rebase_source : cf04c0d266fc378b0ae2278426a0a2c908c9930b
2017-03-10 14:06:49 -08:00
Kirk Steuber
bae89898aa Bug 1345611 - Change behavior of subdocument Flash blocking to be Third-Party Flash blocking r=bsmedberg,qdot
The previous implementation regarding to the Flash Blocking Subdocument list blocked all subdocuments that matched the list. This patch changes that so that subdocuments are only blocked if they are on the Subdocument Block List and also are loaded in a Third-Party context.

The changes to cert8.db and key3.db add the https certificate for subdocument.example.com so that testing can verify that a scheme mismatch between the document and its parent results in a third-party classification.

MozReview-Commit-ID: IXnA4iPzB4y

--HG--
extra : rebase_source : 103c1e184d4219e6db9d00da1ea54674a0e216dd
2017-03-10 10:50:21 -08:00
Jonathan Kingston
11a106fd9b Bug 1252068 - Adding in reset prefs button on SSLNetError page. r=gijs
MozReview-Commit-ID: BJQ0cYlrS6O

--HG--
extra : transplant_source : %C7%FA%195%1C%87%1BDp%04%1CZI%A3N%94%F5%1Ch%3B
2016-05-04 17:10:45 +01:00
Paolo Amadini
a4410be9c0 Bug 1177175 - Add a UITour target inside the TP panel. r=MattN
--HG--
extra : commitid : C5lscBkw8gZ
extra : rebase_source : c529420c92e06e9c71c7d7e9a0d4b4ff4f78bb46
2015-07-20 13:44:32 +01:00
Cykesiopka
cfd306a839 Bug 1171820 - Convert test_bug483440.html mochitest to an xpcshell test. r=keeler
--HG--
rename : security/manager/ssl/tests/mochitest/bugs/test_bug483440.html => security/manager/ssl/tests/unit/test_certviewer_invalid_oids.js
rename : build/pgo/certs/bug483440-attack2b.ca => security/manager/ssl/tests/unit/test_certviewer_invalid_oids/bug483440-attack2b.pem
rename : build/pgo/certs/bug483440-attack7.ca => security/manager/ssl/tests/unit/test_certviewer_invalid_oids/bug483440-attack7.pem
rename : build/pgo/certs/bug483440-pk10oflo.ca => security/manager/ssl/tests/unit/test_certviewer_invalid_oids/bug483440-pk10oflo.pem
2015-06-13 00:51:00 +02:00
Ehsan Akhgari
94b37a9fb9 Bug 1164397 - Part 9: Add a test case for the service worker for an app:// URI responding with a redirected HTTPS response; r=jdm 2015-06-05 15:57:53 -04:00
Masatoshi Kimura
b1f989d9f1 Bug 1092835 - Tests for SSL3/RC4 only servers. r=keeler,past 2014-12-13 20:09:02 +09:00
Ryan VanderMeulen
1bdab6fe7b Backed out changesets fb903f13f215, 9c5c712698e4, and 36d257ead3da (bug 1092835) for causing test_csp_allow_https_schemes.html permafail on Android 2.3.
CLOSED TREE
2014-12-09 14:00:47 -05:00
Masatoshi Kimura
9871309b39 Bug 1092835 - Tests for SSL3/RC4 only servers. r=keeler,past 2014-12-10 00:54:07 +09:00
Mark Goodwin
67e2ac2b80 Bug 1068949 - Some tests to ensure warnings are displayed appropriately. r=past 2014-11-07 00:12:00 -05:00
Mark Goodwin
6395b8c327 Bug 846489 - Part 3 - Tests. r=felipc@gmail.com 2014-10-30 12:52:00 +01:00
Carsten "Tomcat" Book
337fe2fbad Backed out changeset 3ea8068731c9 (bug 846498) 2014-10-31 10:03:10 +01:00
Mark Goodwin
ea8d32760e Bug 846498 - Part 3 Testsfor Bug 846498. r=felipc@gmail.com 2014-10-30 12:52:00 +01:00
Camilo Viecco
886005b84a Bug 787133 - (hpkp) Part 2/2. Tests r=keeler 2014-09-29 20:31:08 -07:00
Marco Castelluccio
3236b9594b Bug 1021345 - Allow apps to be installed from the Marketplace staging server. r=fabrice 2014-07-23 13:20:25 +02:00
Marco Castelluccio
dbbaa5a183 Bug 1040179 - Test marketplace-dev certificates. r=fabrice 2014-07-19 13:51:24 +02:00
Marco Castelluccio
7e259c5533 Bug 989806 - Use reviewer certs for reviewer pages. r=fabrice 2014-04-28 10:50:00 +02:00
Ryan VanderMeulen
de552d3ac3 Backed out changeset 9d04bde9fcd1 (bug 989806) for Android mochitest failures. 2014-04-27 21:25:28 -04:00
Marco Castelluccio
efa95d24df Bug 989806 - Use reviewer certs for reviewer pages. r=fabrice 2014-04-27 13:38:00 -04:00
Ed Morley
d986e0aa3e Backed out changeset b589de6c1084 (bug 889744) for failures in test_marketplace_pkg_install.html 2014-04-24 15:29:20 +01:00
Marco Castelluccio
04272068a9 Bug 889744 - Use reviewer certs for reviewer pages. r=fabrice 2014-04-24 04:27:00 +02:00
Camilo Viecco
2897aff2ae Bug 942918 - remove ev tests that use crl for revocation check. r=dkeeler 2013-12-02 15:20:24 -08:00
Ted Mielczarek
20c856ae55 bug 746244 - Port profileserver.py to Mozbase. r=jhammel
--HG--
rename : build/pgo/genpgocert.py.in => build/pgo/genpgocert.py
2013-05-28 15:33:57 -04:00
Camilo Viecco
fe68a570a8 Bug 864633 - broken site identity info bar part2 (tests from 813418). r=bsmith
--HG--
extra : rebase_source : b9acce3f6db1b1560b5e9928e8b3794ead151bc1
2013-04-25 13:40:26 -07:00
Camilo Viecco
15554db005 Bug 785259 - tests, r=honzab 2012-10-31 22:17:28 +01:00
Ms2ger
db78740e07 Bug 756641 - Set up redirects for W3C servers; r=ted 2012-06-23 09:10:16 +02:00
Ehsan Akhgari
033bc59a4b Bug 531590 - Increase the default validity of the self-signed certificate that we use for our tests to 10 years by default; r=mayhemer
This is a dump of the new certificate information obtained by running
`certutil -L -d . -n 'pgo server certificate'`:

Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number: 2 (0x2)
        Signature Algorithm: PKCS #1 SHA-1 With RSA Encryption
        Issuer: "CN=Temporary Certificate Authority,O=Mozilla Testing,OU=Prof
            ile Guided Optimization"
        Validity:
            Not Before: Mon Nov 07 20:38:29 2011
            Not After : Sun Nov 07 20:38:29 2021
        Subject: "CN=example.com"
        Subject Public Key Info:
            Public Key Algorithm: PKCS #1 RSA Encryption
            RSA Public Key:
                Modulus:
                    d8:43:79:cf:52:ce:49:08:47:9c:57:9b:f8:0b:de:7a:
                    ca:ba:1c:88:9f:fd:d8:0b:df:a8:98:92:22:46:08:3e:
                    d2:25:4c:09:c2:32:3f:51:f9:79:60:b6:ac:94:0e:7a:
                    33:13:e7:0b:f7:97:72:3b:37:8f:d4:e5:ea:0c:e2:9e:
                    4a:5b:28:1d:8c:eb:a1:b4:96:47:37:bf:fc:f0:87:d3:
                    ca:13:7e:38:45:f5:3f:75:1d:45:0d:72:36:b3:cf:57:
                    13:99:cd:6d:3c:b8:e9:9c:ec:af:2e:2c:25:3a:d5:13:
                    7e:6f:51:63:2a:eb:e1:4f:ee:68:42:63:c2:f4:e1:a3
                Exponent: 65537 (0x10001)
        Signed Extensions:
            Name: Certificate Subject Alt Name
            DNS name: "example.com"
            DNS name: "test1.example.com"
            DNS name: "test2.example.com"
            DNS name: "sub1.test1.example.com"
            DNS name: "sub1.test2.example.com"
            DNS name: "sub2.test1.example.com"
            DNS name: "sub2.test2.example.com"
            DNS name: "requestclientcert.example.com"
            DNS name: "requireclientcert.example.com"
            DNS name: "xn--hxajbheg2az3al.xn--jxalpdlp"
            DNS name: "sub1.xn--hxajbheg2az3al.xn--jxalpdlp"
            DNS name: "sectest1.example.org"
            DNS name: "sub.sectest2.example.org"
            DNS name: "sectest2.example.org"
            DNS name: "sub.sectest1.example.org"
            DNS name: "redirproxy.example.com"

    Signature Algorithm: PKCS #1 SHA-1 With RSA Encryption
    Signature:
        a2:f1:08:1c:de:74:27:95:34:a0:1a:6c:9c:fe:8f:7f:
        45:38:af:1f:bb:04:b6:e5:f8:e4:35:bf:ce:23:53:74:
        ca:89:26:6b:22:d7:f3:f7:66:d4:f1:8b:95:7d:c4:27:
        44:57:10:f3:3d:ea:bb:0c:88:d2:09:67:e3:d1:47:6c:
        2c:2b:6d:78:41🆎7e:64:59:e3:df:05:fa:65:72:c9:
        fd:5b:f6:0e:39:7d:02:31:99:5b:fb:29:17:9a:c9:0e:
        64:4d:8c💿bf:6e:d0:9e:b0:68:a6:d9:ee:a0:16:ec:
        50:dc:58:7e:7b:82:3e:ce:98:a6:20:4d:a6:bd:ad:05
    Fingerprint (MD5):
        CC:F2:AD:07:F9:B8:A5:3B:A6:BB:75:80:4E:E6:BB:08
    Fingerprint (SHA1):
        2D:E7:9A:AE:80:CB:FD:51:B1:23:E0:CF:6F:6B:51:19:E5:28:BB:95

    Certificate Trust Flags:
        SSL Flags:
            Terminal Record
            Trusted
            User
        Email Flags:
            User
        Object Signing Flags:
            User
2011-11-07 18:48:49 -05:00