Commit Graph
9 Commits
Author SHA1 Message Date
NotAlexNoyleandClaude Fable 5.1 861ef0dfe7 security: a certificate error is not TLS intolerance — no version fallback on it
cavekit-certificate-trust.md R4 / T-534. retryDueToTLSIntolerance remembered ANY handshake error not on its
short exclusion list as intolerance at the connection's maximum version and retried one version lower. With
TLS 1.3 on (security.tls.version.max 4) that turns every certificate-verification failure against a TLS 1.3
server into a second attempt at TLS 1.2, which trips the server's downgrade sentinel (RFC 8446 §4.1.3), so
NSS reports SSL_ERROR_RX_MALFORMED_SERVER_HELLO — and the user reads "malformed Server Hello" for a revoked
certificate (ssl.com's and DigiCert's revoked demo hosts, measured 2026-10-25; the same hosts at a TLS 1.2
cap say SEC_ERROR_REVOKED_CERTIFICATE; badssl.com, a TLS 1.2 server, never showed it). The retried socket
also carries no certificate verdict (nsITransportSecurityInfo.errorCode 0), so an embedder cannot recover
the real error either. Now a SEC_ERROR_* / mozilla::pkix / SSL_ERROR_BAD_CERT_DOMAIN failure is never a
reason to retry lower.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-03 08:53:33 -05:00
Moonchild a02860fe46 Issue #2723 - Remove obsolete NPN prefs and callbacks.
NPN was removed from NSS a long time ago, this effectively does nothing.
ALPN also should be default-enabled (we do this by pref but the component
itself should have a sane default) so this was flipped as a drive-by fix.

Resolves #2723
2025-06-16 20:33:16 +02:00
Moonchild d8e44207ed Issue #2366 - Part 1: Switch PKIX handling over to NSS mozpkix 2023-11-14 17:28:39 +01:00
adeshkp acf1406e0e Remove a pointless switch after telemetry cleanup 2019-01-14 09:32:12 -05:00
adeshkp 5335681cd2 Telemetry: Remove stubs and related code 2019-01-12 06:20:31 -05:00
wolfbeast f42d6c39fe Remove ancient workaround in client certificate code
Apparently a prehistoric server implementation would send a certificate_authorities field
that didn't include the outer DER SEQUENCE tag, so PSM attempted to detect this and
work around it.
This prehistoric server implementation isn't in use anywhere anymore, so this 18-yo
server bug workaround can be removed.
2018-11-02 11:39:21 +01:00
wolfbeast ab961aeb54 Remove all C++ Telemetry Accumulation calls.
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
2018-09-03 10:11:38 +02:00
janekptacijarabaci 228d252ab1 DevTools - network - security (improvements)
https://github.com/MoonchildProductions/moebius/pull/113
https://github.com/MoonchildProductions/moebius/pull/118
https://github.com/MoonchildProductions/moebius/pull/127
2018-03-01 09:02:37 +01:00
Matt A. Tobin 5f8de423f1 Add m-esr52 at 52.6.0 2018-02-02 04:16:08 -05:00