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
Tim Taubert
74fe2ecda5
Bug 1351779 - Removed unused variable 'loopDetected' from PathBuildingStep::Check() r=keeler
2017-03-29 20:17:06 +02:00
Sylvestre Ledru
48cae389e4
Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in security/ r=keeler
...
MozReview-Commit-ID: yfkQVEp2do
2017-02-07 13:22:44 +01:00
David Cook
37e207d138
Bug 1115718 - Check for empty issuer name in mozilla::pkix; r=keeler
...
MozReview-Commit-ID: 6Ymgo7dQE7b
2016-07-28 20:36:18 -05:00
Sergei Chernov
24341fd5f4
Bug 1284256 - Certificate Transparency - verification of Signed Certificate Timestamps (RFC 6962); r=keeler, r=Cykesiopka
...
MozReview-Commit-ID: IgcnyBH4Up
2016-07-05 08:35:06 +03: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
Julian Seward
eb2bb4fd76
Bug 1275582 - TSan: data race security/nss/lib/freebl/sha_fast.c:176 SHA1_End. r=dkeeler.
2016-05-30 15:25:52 +02: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
5aed0d711f
Bug 1257031 - Return more informative error code when encountering invalid integers rather than SEC_ERROR_BAD_DER. r=keeler
...
Also adds some missing l10n entries to nsserrors.properties (but not for errors
that are specific to TLS 1.3, since TLS 1.3 is not yet finalised).
MozReview-Commit-ID: A42fmTDTe8W
2016-04-21 16:41:22 -07:00
David Keeler
e0c028b484
bug 1245280 - add policy mechanism to optionally enforce BRs for falling back to subject CN r=Cykesiopka,mgoodwin
...
MozReview-Commit-ID: 7xT6JGpOH1g
2016-02-09 10:14:27 -08:00
Brian Smith
376262a938
Bug 1189020 - Replace |// unnamed namespace| with |// namespace| in mozilla::pkix. r=Cykesiopka
...
This is what Google suggests in its style guide, and somebody
already changed one of these comments to the new style.
2016-03-16 07:10:00 +01:00
Mark Goodwin
6c3d16c9be
Bug 901698 - Implement OCSP-must-staple; r=keeler
2015-11-13 16:49:08 +00: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
Jacek Caban
e54ee323f0
Bug 1199624 - Don't use memset and memcmp in files that don't include cstring explicitly. r=briansmith
2015-09-09 14:16:59 +02:00
Ryan VanderMeulen
1e43485e4b
Backed out changeset 982be1bbebdf (bug 1199624) for Windows bustage.
2015-08-30 17:09:09 -04:00
Jacek Caban
5f0a1ef391
Bug 1199624 - Don't use memset and memcmp in files that don't include cstring explicitly. r=briansmith
2015-08-29 07:59:00 -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
Tim Taubert
bfdf2cf21c
Bug 1060112 - Don't treat OCSP responses omitting the requested certificate status as "unknown certificate" responses blocking the connection r=keeler
2015-05-21 13:39:34 -04: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
David Keeler
b005f5b348
bug 1150114 - allow PrintableString to match UTF8String in name constraints checking r=briansmith
2015-04-08 16:17:39 -07:00
Brian Smith
3c0a01ae13
Bug 1154399 - Part 4: Simplify certificate parsing in OCSP responses. r=keeler
2015-04-14 05:33:03 -10:00
Brian Smith
6a36ae78a2
Bug 1154399 - Part 3: Simplify OptionalExtensions. r=keeler
...
We used to avoid using Nested and NestedOf because they were based on
bind and it was difficult to maintain our std::bind polyfill. Now that
we use lambdas, it is easy to use Nested and NestedOf, so we should do
so wherever it makes the code clearer.
2015-04-14 05:32:46 -10:00
Brian Smith
e8d381694d
Bug 1154399 - Part 2: Simplify and un-inline OptionalVersion. r=keeler
...
Also fixes the wrong comment. The syntax for version in OCSP and X.509
certs is identical.
2015-04-14 05:32:29 -10:00
Brian Smith
8d3a1b06b5
Bug 1154399 - Part 1: De-templatize and un-inline IntegralValue. r=keeler
2015-04-14 05:06:41 -10:00
Brian Smith
0fe42e0acd
Bug 1153738: Make ScopedPtr a minimal proper subset of std::unique_ptr, r=keeler
...
Remove all features of ScopedPtr that aren't in std::unique_ptr, and
remove all currently-unused features of ScopedPtr. In particular,
replace |operator=(T*)| with |reset(T* p = nullptr)| and make
|operator bool| explicit.
2015-04-13 00:28:11 -10:00
David Keeler
ccbf3cca8e
bug 1143085 - allow subject alternative name extensions to be empty for compatibility r=briansmith a=kwierso
2015-03-16 14:00:33 -07:00
David Keeler
19ff945c9e
Bug 1136616 - Allow underscores in reference DNS-IDs in mozilla::pkix name matching. r=briansmith
2015-03-03 13:34:45 -08: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
76b6401757
Bug 1077864, Part 2: Override the trust level for OCSP response signer certs so that they are never considered trust anchors, r=keeler
2015-02-14 15:59:38 -08:00
Brian Smith
4a72f7bc08
Bug 1077864, Part 1: Check consistency of certificates' signature and signatureAlgorithm fields, r=keeler
2015-02-22 16:59:03 -08:00
Brian Smith
e96793515b
Bug 1130754 - Make PublicKeyAlgorithm an enum class. r=keeler
2015-02-14 13:25:09 -08:00
Cykesiopka
a459de71e5
Bug 1097622 - Return ERROR_INVALID_TIME when decoding invalid time values. r=dkeeler
2015-02-18 15:56:00 -05: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
Brian Smith
ca9ae46641
Bug 1122841, Part 1: Add PositiveInteger parser, r=keeler
2015-02-06 18:21:20 -08:00
Brian Smith
f97688a63e
Bug 1128413, Part 3: Enable more compiler warnings, r=mmc
2015-02-07 14:38:40 -08:00
Brian Smith
e4a4d3facb
Bug 1128413, Part 2: Don't use double underscores any more
2015-01-31 19:51:46 -08:00
Brian Smith
07465fb214
Bug 1128413, Part 1: Fix switch-related warnings, r=mmc
2015-02-02 14:21:27 -08:00
Cykesiopka
4f6e20b447
Bug 968560 - Return distinct error codes for certificates that are not valid yet, in mozilla::pkix. r=keeler
2015-02-06 11:18:20 -08:00
David Keeler
03c72f20e6
bug 1125261 - mozilla::pkix: handle comparing single, relative labels with wildcards r=briansmith
...
e.g. handle comparing "localhost" with "*.example.com"
2015-01-23 15:56:53 -08:00
Cykesiopka
81013052af
Bug 1077790 - Make mozilla::pkix::CheckPublicKeySize() accept specific elliptic curves only. r=briansmith
2015-01-21 17:20:16 -08:00
Brian Smith
4c23f5bbe8
Bug 1114703: Remove mozilla::pkix's polyfill for std::bind, r=mmc
2015-01-21 04:00:40 -08:00
Brian Smith
2a274fb712
Bug 1122835, Part 2: Simplify BitStringWithNoUnusedBits, r=keeler
2014-12-27 22:39:47 -08:00
Brian Smith
9b7a26906a
Bug 1122835: Add missing return value checks for Input::SkipToEnd, r=keeler
2014-12-27 23:12:46 -08:00
Brian Smith
20d309d8f9
Bug 1115906, Part 3: Make formatting of struct/class/enum class more consistent, r=keeler
2015-01-13 16:53:34 -08:00
Brian Smith
78a0eba8ca
Bug 1115906, Part 2: Annotate classes and member functions with override and final, r=keeler
2015-01-13 16:54:10 -08:00
Brian Smith
787b84c9b2
Bug 1115906, Part 1: Add workarounds for missing final/override support in GCC before version 4.7, r=keeler
2015-01-07 14:53:11 -08:00
Masatoshi Kimura
cea1987bcf
Bug 1120664 - Rename mozilla::pkix::Result::ERROR_INVALID_TIME to avoid collision with a macro defined in windows.h. r=bsmith
2015-01-15 07:24:18 +09:00
Brian Smith
45ffa45142
Bug 1118122: Reland Bug 1115903, Part 2: Delete most defaulted assignment operators and some defaulted copy constructors, r=jcj
2015-01-12 23:12:01 -08:00