Battery properties such as exact capacity, charge rate, and drain rate can provide fingerprinting information.
It looks like the current API does not provide exact capacity, but charge rate and drain rates can be calculated. Probably not a big deal, but it should be trivial to obfuscate/discretize with Object.defineProperty if we need to.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
Wow that was fast. On by default in Firefox 11 already.
Looks like they gave us a good option for concealing charging time: "Returns positive infinity, if the battery is discharging or if the implementation is unable report the remaining charging time."
So we should probably just always return that for chargingTime and -infinity for dischargingTime.
What the hell represents "positive infinity" in a loosely-typed language though, I wonder...
Trac: Milestone: TorBrowserBundle 2.3.x-stable to TorBrowserBundle 2.2.x-stable Priority: normal to major Summary: Keep an eye on Battery API to Hook charging+discharching rates in Battery API
This is not even close to a blocker. It's a fingerprinting issue with very likely low amounts of entropy and the actual source of that entropy isn't even available if the battery is fully charged.
I admit it is a larger concern that there is non-uniform OS support for the feature, but that was not documented when I reviewed that API url 5 weeks ago.
Feel free to set the pref in TBB builds until someone writes the hooks (and the OS support normalizes). Don't close this ticket if you do.. Make a different one if you want to use trac to track the change.
Good idea. Removed with commit 885479878d591ce61fa573912eae4ea062dc54c6 and 886808dc4e21eef3595fa1042f792927bb898193 on tor-browser-52.1.0esr-7.0-2 and tor-browser-52.1.1esr-7.0-1.
Trac: Resolution: N/Ato fixed Status: new to closed
Good idea. Removed with commit 885479878d591ce61fa573912eae4ea062dc54c6 and 886808dc4e21eef3595fa1042f792927bb898193 on tor-browser-52.1.0esr-7.0-2 and tor-browser-52.1.1esr-7.0-1.
Not removed in a clean new 7.0 stable.
Good idea. Removed with commit 885479878d591ce61fa573912eae4ea062dc54c6 and 886808dc4e21eef3595fa1042f792927bb898193 on tor-browser-52.1.0esr-7.0-2 and tor-browser-52.1.1esr-7.0-1.
Not removed in a clean new 7.0 stable.
Actually, that bit got removed. What is happening is that we still have code in Torbutton that is messing with the preference. I have opened #22554 (moved) to address this.