CRLite:Firefox 中的快速、私密且全面的证书吊销检查
Mozilla 自 Firefox 137 起已为所有桌面端用户启用 CRLite,这是一种完全本地的证书吊销检查机制,使 Firefox 成为首个能够在不向任何人(包括 Mozilla 自身)泄露浏览行为的情况下检查所有吊销证书的浏览器。
Firefox 会定期下载 Certificate Transparency 日志中所有被吊销证书的紧凑编码,存储在本地,每 12 小时更新一次,并在每次建立新的 TLS 连接时进行本地查询。它取代了 OCSP:后者会把用户打算访问的域名泄露给证书颁发机构和链路上的观察者,且在 TLS 握手中位耗时上造成约 100 毫秒的阻塞;Firefox 142 将对域名验证(DV)证书禁用 OCSP。
CRLite 每天仅需约 300 kB 的吊销数据,即每 45 天一次 4 MB 的快照加上增量更新,带宽效率比下载全部 CRL 高约一千倍,且仅为 Chrome CRLSets 的一半,而 CRLSets 只覆盖约 1% 的吊销记录且更新频率减半。早期基于布隆过滤器的设计因带宽过高而不可行,Mozilla 通过名为 Clubcard 的新数据结构(分区两级级联 Ribbon 过滤器)解决了这一问题。
Mozilla 正在通过新的 Clubcard 分区策略和 HTTP 压缩字典传输进一步降低带宽需求,并已将 Clubcard 库和 CRLite 后端开源供任何人使用,希望其他软件厂商尤其是在资源受限环境中的厂商采用该技术。
CRLite: Fast, private, and comprehensive certificate revocation checking in Firefox
Mozilla has enabled CRLite, a fully local certificate revocation checking mechanism, for all Firefox desktop users since Firefox 137, making Firefox the first browser to check every revocation without revealing browsing activity to anyone, including Mozilla itself.
Firefox periodically downloads a compact encoding of all revoked certificates found in Certificate Transparency logs, stores it locally, refreshes it every 12 hours, and queries it on every new TLS connection. This replaces OCSP, which leaked the domains users intended to visit to certificate authorities and on-path observers and blocked TLS handshakes for about 100 ms at the median; OCSP will be disabled for domain validated certificates in Firefox 142.
CRLite requires roughly 300 kB of revocation data per day, a 4 MB snapshot every 45 days plus delta updates, about one thousand times more bandwidth-efficient than downloading all CRLs and half the bandwidth of Chrome's CRLSets, which cover only about 1% of revocations and update half as often. The bandwidth problem that made the original Bloom-filter design impractical was solved with a new data structure called Clubcard, a partitioned two-level cascade of Ribbon filters.
Mozilla is working on further bandwidth reductions through new Clubcard partitioning strategies and HTTP compression dictionary transport, and the Clubcard library and CRLite backend are freely available; the company hopes other software vendors, especially in more constrained environments, will adopt the technology.
猎鹰不保存原文正文。标题与摘要用于快速发现信息,事实细节请以来源原文为准。