Skip to content
Snippets Groups Projects
  1. Feb 08, 2023
  2. Feb 02, 2023
  3. Jan 30, 2023
  4. Jan 26, 2023
  5. Jan 25, 2023
  6. Jan 24, 2023
  7. Jan 23, 2023
  8. Jan 20, 2023
    • Pier Angelo Vendrame's avatar
      fixup! Bug 13379: Sign our MAR files. · 03866122
      Pier Angelo Vendrame authored
      Part of 41584.
      
      This reverts commit 541d508c
      Verified
      03866122
    • Mike Perry's avatar
      TB3: Tor Browser's official .mozconfigs. · ec2caef7
      Mike Perry authored and Pier Angelo Vendrame's avatar Pier Angelo Vendrame committed
      Also:
      Add an --enable-tor-browser-data-outside-app-dir configure option
      
      Add --with-tor-browser-version configure option
      
      Bug 31457: disable per-installation profiles
      
      The dedicated profiles (per-installation) feature does not interact
      well with our bundled profiles on Linux and Windows, and it also causes
      multiple profiles to be created on macOS under TorBrowser-Data.
      
      Bug 31935: Disable profile downgrade protection.
      
      Since Tor Browser does not support more than one profile, disable
      the prompt and associated code that offers to create one when a
      version downgrade situation is detected.
      
      Add --enable-tor-browser-update build option
      
      Bug 40793: moved Tor configuration options from old-configure.in to moz.configure
      
      Bug 41584: Move some configuration options to base-browser level
      Verified
      ec2caef7
    • Pier Angelo Vendrame's avatar
      squash! Base Browser's .mozconfigs. · d967a1fd
      Pier Angelo Vendrame authored
      Bug 17858: Cannot create incremental MARs for hardened builds.
      Define HOST_CFLAGS, etc. to avoid compiling programs such as mbsdiff
      (which is part of mar-tools and is not distributed to end-users) with
      ASan.
      
      Bug 21849: Don't allow SSL key logging.
      
      Bug 25741 - TBA: Disable features at compile-time
      
      Define MOZ_ANDROID_NETWORK_STATE and MOZ_ANDROID_LOCATION
      
      Bug 27623 - Export MOZILLA_OFFICIAL during desktop builds
      
      This fixes a problem where some preferences had the wrong default value.
      Also see bug 27472 where we made a similar fix for Android.
      
      Bug 29859: Disable HLS support for now
      
      Bug 30463: Explicitly disable MOZ_TELEMETRY_REPORTING
      
      Bug 32493: Disable MOZ_SERVICES_HEALTHREPORT
      
      Bug 33734: Set MOZ_NORMANDY to False
      
      Bug 33851: Omit Parental Controls.
      
      Bug 40252: Add --enable-rust-simd to our tor-browser mozconfig files
      
      Bug 41584: Move some configuration options to base-browser level
      Verified
      d967a1fd
    • Pier Angelo Vendrame's avatar
      Revert "TB3: Tor Browser's official .mozconfigs." · 541d508c
      Pier Angelo Vendrame authored
      Part of 41584.
      
      This reverts commit b721a1e2.
      Verified
      541d508c
    • Pier Angelo Vendrame's avatar
      dropme! Bug 13379: Sign our MAR files. · a85b5b96
      Pier Angelo Vendrame authored
      Part of 41584.
      
      This commit makes sure we're not messing stuff when rebasing.
      Verified
      a85b5b96
  9. Jan 19, 2023
  10. Jan 18, 2023
  11. Jan 16, 2023
  12. Jan 13, 2023
    • Pier Angelo Vendrame's avatar
      Bug 41435: Add a Tor Browser migration function · 003fb2fe
      Pier Angelo Vendrame authored
      For now this function only deletes old language packs for which we are
      already packaging the strings with the application.
    • Pier Angelo Vendrame's avatar
      Bug 11698: Incorporate Tor Browser Manual pages into Tor Browser · 2a8f1ff9
      Pier Angelo Vendrame authored
      This patch associates the about:manual page to a translated page that
      must be injected to browser/omni.ja after the build.
      The content must be placed in chrome/browser/content/browser/manual/, so
      that is then available at chrome://browser/content/manual/.
      We preferred giving absolute freedom to the web team, rather than having
      to change the patch in case of changes on the documentation.
      2a8f1ff9
    • Pier Angelo Vendrame's avatar
      Bug 40458: Implement .tor.onion aliases · f375f98e
      Pier Angelo Vendrame authored
      We have enabled HTTPS-Only mode, therefore we do not need
      HTTPS-Everywhere anymore.
      However, we want to keep supporting .tor.onion aliases (especially for
      securedrop).
      Therefore, in this patch we implemented the parsing of HTTPS-Everywhere
      rulesets, and the redirect of .tor.onion domains.
      Actually, Tor Browser believes they are actual domains. We change them
      on the fly on the SOCKS proxy requests to resolve the domain, and on
      the code that verifies HTTPS certificates.
      f375f98e
    • Alex Catarineu's avatar
      Bug 21952: Implement Onion-Location · 27303456
      Alex Catarineu authored
      Whenever a valid Onion-Location HTTP header (or corresponding HTML
      <meta> http-equiv attribute) is found in a document load, we either
      redirect to it (if the user opted-in via preference) or notify the
      presence of an onionsite alternative with a badge in the urlbar.
      27303456
    • Kathleen Brade's avatar
      Bug 30237: Add v3 onion services client authentication prompt · 28638d4a
      Kathleen Brade authored
      When Tor informs the browser that client authentication is needed,
      temporarily load about:blank instead of about:neterror and prompt
      for the user's key.
      
      If a correctly formatted key is entered, use Tor's ONION_CLIENT_AUTH_ADD
      control port command to add the key (via Torbutton's control port
      module) and reload the page.
      
      If the user cancels the prompt, display the standard about:neterror
      "Unable to connect" page. This requires a small change to
      browser/actors/NetErrorChild.jsm to account for the fact that the
      docShell no longer has the failedChannel information. The failedChannel
      is used to extract TLS-related error info, which is not applicable
      in the case of a canceled .onion authentication prompt.
      
      Add a leaveOpen option to PopupNotifications.show so we can display
      error messages within the popup notification doorhanger without
      closing the prompt.
      
      Add support for onion services strings to the TorStrings module.
      
      Add support for Tor extended SOCKS errors (Tor proposal 304) to the
      socket transport and SOCKS layers. Improved display of all of these
      errors will be implemented as part of bug 30025.
      
      Also fixes bug 19757:
       Add a "Remember this key" checkbox to the client auth prompt.
      
       Add an "Onion Services Authentication" section within the
       about:preferences "Privacy & Security section" to allow
       viewing and removal of v3 onion client auth keys that have
       been stored on disk.
      
      Also fixes bug 19251: use enhanced error pages for onion service errors.
      28638d4a
    • Richard Pospesel's avatar
      Bug 23247: Communicating security expectations for .onion · 549ad882
      Richard Pospesel authored
      Encrypting pages hosted on Onion Services with SSL/TLS is redundant
      (in terms of hiding content) as all traffic within the Tor network is
      already fully encrypted.  Therefore, serving HTTP pages from an Onion
      Service is more or less fine.
      
      Prior to this patch, Tor Browser would mostly treat pages delivered
      via Onion Services as well as pages delivered in the ordinary fashion
      over the internet in the same way.  This created some inconsistencies
      in behaviour and misinformation presented to the user relating to the
      security of pages delivered via Onion Services:
      
       - HTTP Onion Service pages did not have any 'lock' icon indicating
         the site was secure
       - HTTP Onion Service pages would be marked as unencrypted in the Page
         Info screen
       - Mixed-mode content restrictions did not apply to HTTP Onion Service
         pages embedding Non-Onion HTTP content
      
      This patch fixes the above issues, and also adds several new 'Onion'
      icons to the mix to indicate all of the various permutations of Onion
      Services hosted HTTP or HTTPS pages with HTTP or HTTPS content.
      
      Strings for Onion Service Page Info page are pulled from Torbutton's
      localization strings.
      549ad882
    • Alex Catarineu's avatar
      Bug 40073: Disable remote Public Suffix List fetching · 95d8ee41
      Alex Catarineu authored
      In https://bugzilla.mozilla.org/show_bug.cgi?id=1563246 Firefox implemented
      fetching the Public Suffix List via RemoteSettings and replacing the default
      one at runtime, which we do not want.
      95d8ee41
    • Mike Perry's avatar
      Omnibox: Add DDG, Startpage, Disconnect, Youtube, Twitter; remove Amazon, eBay, bing · 6cd22d0b
      Mike Perry authored
      eBay and Amazon don't treat Tor users very well. Accounts often get locked and
      payments reversed.
      
      Also:
      Bug 16322: Update DuckDuckGo search engine
      
      We are replacing the clearnet URL with an onion service one (thanks to a
      patch by a cypherpunk) and are removing the duplicated DDG search
      engine. Duplicating DDG happend due to bug 1061736 where Mozilla
      included DDG itself into Firefox. Interestingly, this caused breaking
      the DDG search if JavaScript is disabled as the Mozilla engine, which
      gets loaded earlier, does not use the html version of the search page.
      Moreover, the Mozilla engine tracked where the users were searching from
      by adding a respective parameter to the search query. We got rid of that
      feature as well.
      
      Also:
      This fixes bug 20809: the DuckDuckGo team has changed its server-side
      code in a way that lets users with JavaScript enabled use the default
      landing page while those without JavaScript available get redirected
      directly to the non-JS page. We adapt the search engine URLs
      accordingly.
      
      Also fixes bug 29798 by making sure we only specify the Google search
      engine we actually ship an .xml file for.
      
      Also regression tests.
      
      squash! Omnibox: Add DDG, Startpage, Disconnect, Youtube, Twitter; remove Amazon, eBay, bing
      
      Bug 40494: Update Startpage search provider
      
      squash! Omnibox: Add DDG, Startpage, Disconnect, Youtube, Twitter; remove Amazon, eBay, bing
      
      Bug 40438: Add Blockchair as a search engine
      
      Bug 33342: Avoid disconnect search addon error after removal.
      
      We removed the addon in #32767, but it was still being loaded
      from addonStartup.json.lz4 and throwing an error on startup
      because its resource: location is not available anymore.
      6cd22d0b
    • Kathleen Brade's avatar
      Bug 16940: After update, load local change notes. · 9cc1acae
      Kathleen Brade authored
      Add an about:tbupdate page that displays the first section from
      TorBrowser/Docs/ChangeLog.txt and includes a link to the remote
      post-update page (typically our blog entry for the release).
      
      Always load about:tbupdate in a content process, but implement the
      code that reads the file system (changelog) in the chrome process
      for compatibility with future sandboxing efforts.
      
      Also fix bug 29440. Now about:tbupdate is styled as a fairly simple
      changelog page that is designed to be displayed via a link that is on
      about:tor.
      9cc1acae
Loading