Commit Graph
43 Commits
Author SHA1 Message Date
David Keeler f531570885 bug 1349762 - handle two GlobalSign EV root transfers r=Cykesiopka,jcj
(adapted from bug 1349762 comment 0)
Google Trust Services (GTS) recently purchased two roots from GlobalSign that
are both enabled for EV treatment: "GlobalSign Root CA - R2" and "GlobalSign ECC
Root CA - R4".

However, GTS does not have an EV audit, so we are going to turn off EV treatment
for both of those root certificates.

But "GlobalSign Root CA - R2" has intermediate cert "GlobalSign Extended
Validation CA - SHA256 - G2" that continues to be controlled by GlobalSign, to
be used to migrate their customers off dependence on that root.

This patch removes EV treatment for "GlobalSign ECC Root CA - R4". It also
removes EV treatment for all chains rooted in "GlobalSign Root CA - R2" unless
the "GlobalSign Extended Validation CA - SHA256 - G2" intermediate is in the
chain.

MozReview-Commit-ID: Ej9L9zTwoPN
2017-04-03 17:17:38 -07:00
Cykesiopka 30dd61405c Bug 1332636 - Remove PSM support for Firefox Marketplace apps and Trusted Hosted Apps. r=keeler
THA was removed in Bug 1196988.

After Bug 1235869 and Bug 1238079, Firefox Marketplace apps are at most
supported by B2G, and B2G only code doesn't need to be in m-c anymore.

MozReview-Commit-ID: DAx5lRdYQo0
2017-02-06 23:43:38 +08:00
Cykesiopka a9353c2c61 Bug 1313715 - Avoid unnecessary uses of PR_SetError() under security/apps/ and security/certverifier/. r=keeler
The PR_SetError() + PR_GetError() pattern is error prone and unnecessary.

Also fixes Bug 1254403.

MozReview-Commit-ID: DRI69xY4vxC
2016-12-14 20:10:25 +08:00
Sergei Chernov 28c3fcf920 Bug 1275238 - Certificate Transparency support in mozilla::pkix; r=keeler
MozReview-Commit-ID: HZwzSgxarTw
2016-06-15 11:11:00 +03:00
David Keeler 4dbfff8d3f bug 982932 - only allow Netscape-stepUp to be used for serverAuth for old CA certificates r=Cykesiopka,jcj
MozReview-Commit-ID: 88JhIU1pUji
2016-05-05 16:11:11 -07:00
Cykesiopka c481191bd2 Bug 1267905 - Replace uses of ScopedCERTCertList with UniqueCERTCertList. r=keeler
ScopedCERTCertList is based on Scoped.h, which is deprecated in favour of the
standardised UniquePtr.

Also changes CERTCertList parameters of various functions to make ownership more
explicit.

MozReview-Commit-ID: EXqxTK6inqy
2016-05-05 14:56:36 -07:00
Cykesiopka 0bfd71da46 Bug 1260643 - Convert most uses of ScopedCERTCertificate in PSM to UniqueCERTCertificate. r=keeler
MozReview-Commit-ID: JnjoUd7d2M0
2016-04-20 01:14:22 -07:00
Nathan Froyd e4e8dc4191 Bug 1232454 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in security/apps/; r=keeler
As a nice side effect, we also fix a (rare) memory leak in
AppTrustDomain::SetTrustedRoot.
2015-12-06 08:06:03 -05:00
Jonathan Hao 6f50d86daf Bug 1178448 - Use imported CA in developer mode. r=keeler,valentin 2015-10-08 17:08:45 +08:00
Richard Barnes 99305fb96e Bug 942515 - Show Untrusted Connection Error for SHA-1-based SSL certificates with notBefore >= 2016-01-01 r=keeler 2015-09-11 14:52:30 -04:00
Mark Goodwin 0916022419 Bug 1159155 - Add telemetry probe for SHA-1 usage (r=keeler) 2015-07-09 07:22:29 +01:00
Cykesiopka ae250dd9f3 Bug 1145679 - Reject EV status for end-entity EV certs with overly long validity periods. r=keeler 2015-06-29 22:19:00 +02:00
David Keeler 895763cb88 bug 1141189 - implement skipping expensive revocation checks (OCSP fetching) for short-lived certificates r=rbarnes 2015-04-06 16:10:28 -07:00
Ehsan Akhgari ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Cykesiopka 5b002dd43d Bug 1139177 - RSA public key size checking cleanups. r=keeler 2015-03-05 16:41:00 +01:00
Brian Smith 8ac276bfcd Bug 1131767: Prune away paths using unacceptable algorithms earlier, r=keeler 2015-02-14 16:59:02 -08:00
Brian Smith ee60091c46 Bug 1130754: Avoid recalculating tbsCertificate digest, r=keeler 2015-02-07 12:14:31 -08:00
Brian Smith bbcd304dc2 Bug 1122841, Part 2: Centralize checking of public key, r=keeler 2015-02-02 16:17:08 -08:00
Ehsan Akhgari 0e3b8aa1db Bug 1117043 - Mark virtual overridden functions as MOZ_OVERRIDE in security; r=bsmith 2015-01-02 09:02:04 -05:00
Cykesiopka a65bf2df82 Bug 622859 - Reject EV certificates with key sizes below RSA 2048. r=briansmith 2014-10-18 15:18:00 +02:00
David Keeler f12d58c439 bug 1071308 - (2/2) remove libpkix-style chain validation callback from CertVerifier r=cviecco 2014-09-25 11:18:56 -07:00
Brian Smith 5cedb06253 Bug 1043041: Use mozilla::pkix::Time instead of PRTime, r=keeler 2014-08-02 08:49:12 -07:00
Brian Smith 283b50862e Bug 1041186, Part 2: Rename Input to Reader and InputBuffer to Input, r=keeler 2014-07-31 12:17:31 -07:00
Brian Smith e855325092 Bug 1041186, Part 1: Improve buffer overflow protection in mozilla::pkix, r=keeler 2014-07-18 22:30:51 -07:00
Brian Smith c9a7fa4527 Bug 1041343: Use references instead of pointers for TrustLevel output parameters, r=cviecco 2014-07-20 11:06:26 -07:00
Brian Smith fabde1b905 Bug 1039064: Use strongly-typed enum instead of NSPR-style error handling, r=keeler 2014-07-18 11:48:49 -07:00
Cykesiopka 23b5a8a77a Bug 360126 - Stop accepting certs that use RSA1023 or weaker; Original patch by Richard van den Berg. r=briansmith 2014-07-15 19:49:00 -04:00
Brian Smith 6b0adea589 Bug 1036105: Delegate digest operations to the TrustDomain in mozilla::pkix, r=keeler 2014-07-06 19:36:05 -07:00
Brian Smith 9886756d36 Bug 1036107, Part 1: Stop using CERTSignedData in mozilla::pkix, r=keeler 2014-07-10 19:00:32 -07:00
Brian Smith e80432e258 Bug 1035009: Stop using CERTCertList in mozilla::pkix, r=keeler 2014-07-06 15:55:38 -07:00
Brian Smith 4ab53fdc67 Bug 1034636: Remove mozilla::pkix::ScopedCERTCertifciate and mozilla::pkix::ScopedPLArenaPool, r=mmc 2014-07-03 21:49:56 -07:00
Brian Smith 02f579e86a Bug 1033563, Part 3: Change mozilla::pkix::TrustDomain::FindPotentialIssuers API to be iterator-like, r=keeler 2014-07-02 16:15:16 -07:00
Brian Smith 86058b599a Bug 1029247, Part 2: Parse certificates using mozilla::pkix::der, r=keeler 2014-07-03 16:59:42 -07:00
Brian Smith b3b69397a7 Bug 1026261: Remove CERTCertificate from mozilla::pkix revocation checking API, r=keeler 2014-06-20 10:10:51 -07:00
Brian Smith 375a1a3175 Bug 1020683, Part 1: Remove internal uses of CERTCertificate from mozilla::pkix::VerifyEncodedOCSPResponse, r=keeler 2014-06-05 15:18:32 -07:00
Brian Smith 52a2c79373 Bug 1019814: Remove CERTCertificate dependency from TrustDomain::GetCertTrust, r=keeler 2014-06-03 10:47:25 -07:00
Brian Smith e769426152 Bug 1006958: Use mozilla::pkix::der to parse certificate policies instead of NSS, r=keeler 2014-05-15 18:59:52 -07:00
Brian Smith b772ba71de Bug 1002933: Use Strongly-typed enums more often in mozilla::pkix, r=mmc 2014-04-25 16:29:26 -07:00
Camilo Viecco 3d627f916d Bug 744204 - Allow Certificate key pinning Part 2 - Certverifier Interface. r=keeler 2014-02-05 14:49:10 -08:00
David Keeler d9c59033ea bug 985201 - rename insanity::pkix to mozilla::pkix r=cviecco r=briansmith 2014-03-20 14:29:21 -07:00
Brian Smith 7554f65745 Bug 921886: Add certificate policiy support to insanity::pkix, r=keeler, r=cviecco 2014-02-24 12:37:45 -08:00
Brian Smith 66cad29c18 Bug 915931, Part 3: Integrate insanity::pkix OCSP support, r=keeler, r=cviecco 2014-02-16 17:35:40 -08:00
Brian Smith aaa0bd630e Bug 896620: Make marketplace certs work on in all products, r=keeler 2014-02-14 14:37:07 -08:00