tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit c1908042576709900a40049826cc223cbc14b887
parent c7ef36c36ab706855b9e3ecb606e7595120c86ef
Author: Maile Lucks <maile.lucks@gmail.com>
Date:   Thu, 23 Oct 2025 21:21:39 +0000

Bug 1991881 - Add SSL_ERROR_NO_CYPHER_OVERLAP to net-error-card component - r=jaws,fluent-reviewers,bolsson

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

Diffstat:
Mtoolkit/content/net-error-card.mjs | 19+++++++++++++++++++
Mtoolkit/locales/en-US/toolkit/neterror/netError.ftl | 11+++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/toolkit/content/net-error-card.mjs b/toolkit/content/net-error-card.mjs @@ -44,6 +44,7 @@ export class NetErrorCard extends MozLitElement { "MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT", "SEC_ERROR_EXPIRED_CERTIFICATE", "SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE", + "SSL_ERROR_NO_CYPHER_OVERLAP", ]); constructor() { @@ -140,6 +141,11 @@ export class NetErrorCard extends MozLitElement { data-l10n-id="fp-certerror-expired-intro" data-l10n-args='{"hostname": "${this.hostname}"}' ></p>`; + case "SSL_ERROR_NO_CYPHER_OVERLAP": + return html`<p + data-l10n-id="fp-neterror-connection-intro" + data-l10n-args='{"hostname": "${this.hostname}"}' + ></p>`; } return null; @@ -255,6 +261,19 @@ export class NetErrorCard extends MozLitElement { }); break; } + case "SSL_ERROR_NO_CYPHER_OVERLAP": { + content = this.advancedSectionTemplate({ + whyDangerousL10nId: "fp-neterror-cypher-overlap-why-dangerous-body", + whatCanYouDoL10nId: "fp-neterror-cypher-overlap-what-can-you-do-body", + learnMoreL10nId: "fp-cert-error-code", + learnMoreL10nArgs: { + error: this.errorInfo.errorCodeString, + }, + learnMoreSupportPage: "connection-not-secure", + proceedButton: false, + }); + break; + } } return html`<div class="advanced-container"> diff --git a/toolkit/locales/en-US/toolkit/neterror/netError.ftl b/toolkit/locales/en-US/toolkit/neterror/netError.ftl @@ -187,3 +187,14 @@ certerror-coep-learn-more = Learn more about Cross Origin Embedder Policies (COE # $responsestatus (string) - HTTP response status code (e.g., 500). # $responsestatustext (string) - HTTP response status text (e.g., "Internal Server Error"). neterror-response-status-code = Error code: { $responsestatus } { $responsestatustext } + +## Felt Privacy V1 Strings +## Variables: +## $hostname (String) - Hostname of the website to which the user was trying to connect. + +fp-neterror-connection-intro = { -brand-short-name } can’t create a secure connection to the server at { $hostname }. + +# This string appears after the following string: "What makes the site look dangerous?" (fp-neterror-why-site-dangerous) +fp-neterror-cypher-overlap-why-dangerous-body = It looks like this site is using old software with known security issues. +# This string appears after the following string: "What can you do about it?" (fp-neterror-what-can-you-do) +fp-neterror-cypher-overlap-what-can-you-do-body = Make sure you’re using the latest version of { -brand-short-name }. Go to Help > About { -brand-short-name } in the menu. If you’re using the latest { -brand-short-name }, the problem is most likely with the site itself.