[HTTPS-Everywhere] Replacing the rulesets database file

Yan Zhu yan at eff.org
Mon Aug 11 12:18:57 PDT 2014


On 08/11/2014 12:17 PM, Jacob S Hoffman-Andrews wrote:
> 
> On 08/11/2014 03:10 PM, Lunar wrote:
>> Jacob S Hoffman-Andrews:
>>> I think we should not try to ship a different format for updates than we
>>> ship with releases. I think we're likely to wind up with people whose
>>> DBs
>>> are in strange intermediate states that are broken and hard to debug.
>>> The
>>> rulesets.sqlite file is small enough that it's reasonable to always
>>> ship the
>>> whole thing.
>> Would it be crazy to not ship rulesets.sqlite with the extension and
>> have the code bootstrap it by the same process as an update (from the
>> empty set)?
> I was thinking of the same thing. Two problems:
>  - The Tor Browser Bundle ships with HTTPS Everywhere preloaded, and
> probably wants the rules preloaded too, since they could take some time
> to download over Tor. We don't want to diverge too far from the version
> shipped with TBB.
> 
>  - It creates a possibility that the user could make a request after
> HTTPS Everywhere is installed, but before the rules are loaded. We could
> prevent all such requests, but it would be awkward.

Why not include the default.rulesets XML file in the extension, then
send an XHR to that local file if the XHR to the remote file fails?

> 
> I think the only gain from this approach would be that the time from
> starting the download to installing the extension would be less. But
> after installing the extension, the user has to restart the browser and
> wait while the extension downloads the rulesets. We'd rather let them do
> that waiting before restarting their browser, when they can still be
> browsing to other web sites if they want.
> _______________________________________________
> HTTPS-Everywhere mailing list
> HTTPS-Everywhere at lists.eff.org
> https://lists.eff.org/mailman/listinfo/https-everywhere
> 


-- 
Yan Zhu  <yan at eff.org>, <yan at torproject.org>
Staff Technologist
Electronic Frontier Foundation                  https://www.eff.org
815 Eddy Street, San Francisco, CA  94109       +1 415 436 9333 x134

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <https://lists.eff.org/pipermail/https-everywhere/attachments/20140811/643aa153/attachment.sig>


More information about the HTTPS-Everywhere mailing list