[tor-bugs] #25391 [Applications/Tor Browser]: [Feature Request] Environment Variable to set security slider level

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Sep 19 10:49:59 UTC 2019


#25391: [Feature Request] Environment Variable to set security slider level
--------------------------------------+--------------------------
 Reporter:  cypherpunks               |          Owner:  tbb-team
     Type:  enhancement               |         Status:  closed
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:  wontfix
 Keywords:                            |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------

Comment (by adrelanos):

 Replying to [comment:7 gk]:
 > I think using the prefs approach is the one you should pursue right now.



 This is the {{{user.js}}}

 https://github.com/Whonix/tb-starter/blob/master/usr/share/torbrowser
 /security-slider-highest.js

 which we ended up using.

 Relevant settings:

 {{{
 user_pref("extensions.torbutton.inserted_security_level", true);
 user_pref("extensions.torbutton.security_slider", 1);
 }}}

 It will be copied to
 {{{$tb_browser_folder/Browser/TorBrowser/Data/Browser/profile.default/user.js}}}
 for users who [https://forums.whonix.org/t/add-tor-browser-first-startup-
 popup-to-ask-whether-security-slider-should-be-set-to-
 safest/7591/9?u=patrick elect to enable this]. Functional.

 Does look alright?

 Might be a trigger for #31798?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25391#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list