Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Enabled CRLite in Nightly

649 views
Skip to first unread message

J.C. Jones

unread,
Nov 11, 2020, 4:08:38 PM11/11/20
to dev-platform
CRLite ships compressed revocation information for the public Web to
Firefox users, four times a day. We have a blogpost series on CRLite at the
Security Blog <https://blog.mozilla.org/security/tag/crlite/> (with another
post coming later this month), there’s additional information at Github
<https://github.com/mozilla/crlite>, and for the Gecko-side, a meta-bug
<https://bugzilla.mozilla.org/show_bug.cgi?id=crlite>.

We’ve been collecting telemetry on how much CRLite can speed up first TLS
connections
<https://blog.mozilla.org/security/2020/01/21/crlite-part-3-speeding-up-secure-browsing/>
all year. Since August, we’ve been publishing the datasets consistently
four times per day, with “stashes” (delta updates) averaging about 66 kB. (
https://github.com/mozilla/crlite/wiki#how-can-i-access-statistics-about-the-available-filters
)

If you’d like to poke around inside the filter data, see
https://github.com/mozilla/crlite/wiki#how-can-i-query-my-crlite-filter

Nightly is now preferring CRLite <https://github.com/mozilla/crlite> for
revocation information, meaning fresh TLS connections will skip OCSP when
CRLite can substitute. (e.g., we set security.pki.crlite_mode to 2,
“Enforce”). We expect to see improvement in the SSL_TIME_UNTIL_READY
telemetry: it’s mostly expected to speed up the outliers in the graph,
since revocation checks get cached, and it is likely to have the largest
effects for Firefox users with slower network connections.

We don’t expect breakage from this change, as we’ve grown fairly confident
in the dataset, but this is going to remain in Nightly for now.

After this speed-up testing, our likely next step is to add telemetry to
compare live OCSP results against CRLite’s results for outlier-accuracy
(encountering revocations is rare, so care is needed). We’ll ultimately run
both the accuracy and the speedup tests in early Beta as well.

We’ll develop Release-path plans based on early Beta testing and telemetry.

For more information, come see us in #crlite in Slack or #crlite:mozilla.org
on Matrix
<https://matrix.to/#/!zSwoVqWeXUHRiaIFvk:mozilla.org?via=mozilla.org&via=matrix.org>
.

- J.C. on behalf of Mozilla Crypto Engineering

Martin Thomson

unread,
Nov 11, 2020, 7:15:17 PM11/11/20
to J.C. Jones, dev-platform
Great news JC.

I've been watching this with interest. It's one of those rare cases
where we get a win-win-win. Faster page loads, better security
through more reliable revocation information, and better privacy.

It's taken a lot of effort, but it's definitely worth it.
> _______________________________________________
> dev-platform mailing list
> dev-pl...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform

asf...@mozilla.com

unread,
Nov 12, 2020, 6:28:52 PM11/12/20
to
That's great to hear!

Does that include Firefox Nightly for Android too?

J.C. Jones

unread,
Nov 12, 2020, 11:19:37 PM11/12/20
to asf...@mozilla.com, dev-platform
Aha, I knew I left something out.

Not yet, no. Neither this nor Intermediate Preloading (which CRLite depends
on) are enabled in Fenix yet, as we have outstanding bugs about "only
download this stuff when on WiFi + Power" and "that, but configurable."

But yes, both CRLite and Intermediate Preloading will be, one day, a boon
to the Fenix architecture, too.

J.C.

On Thu, Nov 12, 2020 at 4:30 PM asf...@mozilla.com <asf...@mozilla.com>
wrote:

Henri Sivonen

unread,
Nov 17, 2020, 2:19:11 AM11/17/20
to J.C. Jones, asf...@mozilla.com, dev-platform
On Fri, Nov 13, 2020 at 6:19 AM J.C. Jones <j...@mozilla.com> wrote:
> Not yet, no. Neither this nor Intermediate Preloading (which CRLite depends
> on) are enabled in Fenix yet, as we have outstanding bugs about "only
> download this stuff when on WiFi + Power" and "that, but configurable."

If the delta updates are averaging 66 KB, do we really need to avoid
the updates over cellular data even when that's assumed to be metered?

--
Henri Sivonen
hsiv...@mozilla.com

J.C. Jones

unread,
Nov 18, 2020, 11:21:40 PM11/18/20
to Henri Sivonen, asf...@mozilla.com, dev-platform
About 10 times a year, the update will be a new filter, which is going to
be about 5-6 MB, which might be more an issue.

Also, CRLite depends on the metadata for Intermediate Preloading, which is
several megabytes of certificates -- but those change very, very rarely, so
once populated they won't be downloaded again.

Perhaps we should go ahead and experiment with these two features in Fenix
Nightly.

J.C.

Laurence Parry

unread,
Aug 10, 2021, 8:21:49 PM8/10/21
to
> > Henri Sivonen
> > If the delta updates are averaging 66 KB, do we really need to avoid
> > the updates over cellular data even when that's assumed to be metered?
> On Thursday, November 19, 2020 at 4:21:40 AM UTC, J.C. Jones wrote:
> About 10 times a year, the update will be a new filter, which is going to
> be about 5-6 MB, which might be more an issue.
>
> Also, CRLite depends on the metadata for Intermediate Preloading, which is
> several megabytes of certificates -- but those change very, very rarely, so
> once populated they won't be downloaded again.

As a Wiindows Nightly user, I now have 490 MB of filters (83 files, 403MB) and stash (903 files, 86MB) in [profile]\settings\security-state. These date from 2019-07-02 (named "filter") through 2020, but began accruing at four stashes a day from October/November 2020. 192MB dates from June, where many separate full filters appear to have been downloaded.

While these may only be downloaded once, disk space is not free. Is it safe to remove them manually? Should there not be a way of removing them automatically? Might they be persisting for some particular reason? (I do have a lot of old tabs.)

Best regards,
--
Laurence "GreenReaper" Parry
https://greenreaper.co.uk

Diego Casorran

unread,
Nov 7, 2021, 9:10:31 AM11/7/21
to
Hello, Googling around i reached this post from Laurence looking for the exact same answer(s), so... could someone be so kind to please advice whether it's safe and/or how to cleanup that folder? Thanks!
0 new messages