[tor-bugs] #13047 [Tor Browser]: Updater should not send Kernel and GTK version

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 16 08:02:38 UTC 2014


#13047: Updater should not send Kernel and GTK version
-------------------------+-------------------------------------------------
     Reporter:  gk       |      Owner:  mcs
         Type:  defect   |     Status:  needs_review
     Priority:  normal   |  Milestone:
    Component:  Tor      |    Version:
  Browser                |   Keywords:  tbb-firefox-patch
   Resolution:           |  ,TorBrowserTeam201409,MikePerry201409R
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-------------------------------------------------

Comment (by gk):

 Replying to [comment:7 mcs]:
 > The browser changes are here (bug13047 branch in brade remote):
 >   https://gitweb.torproject.org/user/brade/tor-
 browser.git/commit/1aa441fe6408ea1b0e94431f284f0d583a877a2e

 What about writing
 {{{
       let sysInfo = Cc["@mozilla.org/system-info;1"]
                       .getService(Ci.nsIPropertyBag2);
       let osVersion = sysInfo.getProperty("version");
 }}}
 just as
 {{{
       let osVersion = Services.sysinfo.getProperty("version");
 }}}
 ? If that is not an option then using `nsIPropertyBag` should be enough as
 we only need `getProperty()`.

 And, yes, detecting 64/32 bit via `BUILD_TARGET` should do the trick, nice
 catch.

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


More information about the tor-bugs mailing list