[tor-bugs] #29454 [HTTPS Everywhere/EFF-HTTPS Everywhere]: Updates of HTTPS-Everywhere we ship do not seem to update the rulesets
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Feb 11 21:53:12 UTC 2019
#29454: Updates of HTTPS-Everywhere we ship do not seem to update the rulesets
-------------------------------------------------+-------------------------
Reporter: gk | Owner: legind
Type: defect | Status:
| needs_information
Priority: Medium | Milestone:
Component: HTTPS Everywhere/EFF-HTTPS | Version:
Everywhere |
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by legind):
gk: The extension checks for new rulesets when the browser starts, and
subsequently at 24 hour intervals. My guess is that the tor daemon has
not finished bootstrapping when the initial check takes place, and thus it
fails for the first try.
Changing the periodicity to 30 seconds instead of every day, after a
minute or so the rulesets do update to the latest version:
{{{
cd tor-browser_en-
US/Browser/TorBrowser/Data/Browser/profile.default/extensions
mkdir https-everywhere
unzip -qd https-everywhere https-everywhere-eff at eff.org.xpi
sed -i 's/periodicity = 86400;/periodicity = 30;/g' https-everywhere
/background-scripts/update.js
rm https-everywhere-eff at eff.org.xpi
cd https-everywhere/
zip -qr ../https-everywhere-eff at eff.org.xpi ./*
cd .. && rm -rf https-everywhere
}}}
Keep in mind that rulesets are still bundled with the extension itself, so
Tor Browser is still protected with whatever rulesets were present at the
time of the last full extension release.
Is there any way that you can notify HTTPS Everywhere when the tor
bootstrapping process has completed? I could create a hook for this
event.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29454#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list