Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Tor Browser
Commits
611b5828
Commit
611b5828
authored
Apr 30, 2024
by
henry
Committed by
Pier Angelo Vendrame
Aug 20, 2024
Browse files
Options
Downloads
Patches
Plain Diff
fixup! Bug 23247: Communicating security expectations for .onion
Bug 42212: Migrate onion service strings to Fluent.
parent
ace2c34b
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1112
Migrate onion site strings to Fluent
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
browser/base/content/pageinfo/pageInfo.xhtml
+1
-0
1 addition, 0 deletions
browser/base/content/pageinfo/pageInfo.xhtml
browser/base/content/pageinfo/security.js
+10
-13
10 additions, 13 deletions
browser/base/content/pageinfo/security.js
with
11 additions
and
13 deletions
browser/base/content/pageinfo/pageInfo.xhtml
+
1
−
0
View file @
611b5828
...
...
@@ -27,6 +27,7 @@
<html:link
rel=
"stylesheet"
href=
"chrome://browser/skin/pageInfo.css"
/>
<html:link
rel=
"localization"
href=
"browser/pageInfo.ftl"
/>
<html:link
rel=
"localization"
href=
"toolkit/global/tor-browser.ftl"
/>
</linkset>
#ifdef XP_MACOSX
#include ../macWindow.inc.xhtml
...
...
This diff is collapsed.
Click to expand it.
browser/base/content/pageinfo/security.js
+
10
−
13
View file @
611b5828
...
...
@@ -15,11 +15,6 @@ const { DownloadUtils } = ChromeUtils.importESModule(
ChromeUtils
.
defineESModuleGetters
(
this
,
{
LoginHelper
:
"
resource://gre/modules/LoginHelper.sys.mjs
"
,
});
ChromeUtils
.
defineLazyGetter
(
this
,
"
gTorButtonBundle
"
,
function
()
{
return
Services
.
strings
.
createBundle
(
"
chrome://torbutton/locale/torbutton.properties
"
);
});
var
security
=
{
async
init
(
uri
,
windowInfo
)
{
...
...
@@ -364,9 +359,13 @@ async function securityOnLoad(uri, windowInfo) {
);
}
else
{
try
{
hdr
=
gTorButtonBundle
.
formatStringFromName
(
"
pageInfo_OnionEncryptionWithBitsAndProtocol
"
,
[
info
.
encryptionAlgorithm
,
info
.
encryptionStrength
+
""
,
info
.
version
]
hdr
=
await
document
.
l10n
.
formatValue
(
"
page-info-onion-site-encryption-with-bits
"
,
{
"
encryption-type
"
:
info
.
encryptionAlgorithm
,
"
encryption-strength
"
:
info
.
encryptionStrength
,
"
encryption-version
"
:
info
.
version
,
}
);
}
catch
(
err
)
{
hdr
=
...
...
@@ -392,11 +391,9 @@ async function securityOnLoad(uri, windowInfo) {
}
msg2
=
pkiBundle
.
getString
(
"
pageInfo_Privacy_None2
"
);
}
else
{
try
{
hdr
=
gTorButtonBundle
.
GetStringFromName
(
"
pageInfo_OnionEncryption
"
);
}
catch
(
err
)
{
hdr
=
"
Connection Encrypted (Onion Service)
"
;
}
hdr
=
await
document
.
l10n
.
formatValue
(
"
page-info-onion-site-encryption-plain
"
);
msg1
=
pkiBundle
.
getString
(
"
pageInfo_Privacy_Encrypted1
"
);
msg2
=
pkiBundle
.
getString
(
"
pageInfo_Privacy_Encrypted2
"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment