Opened 8 years ago

Closed 8 years ago

#2777 closed task (fixed)

Clear OCSP cache during toggle

Reported by: mikeperry Owned by: mikeperry
Priority: High Milestone:
Component: Applications/Torbutton Version:
Severity: Keywords: MikePerryIteration20110403
Cc: Actual Points: 2
Parent ID: #2482 Points: 2
Reviewer: Sponsor:

Description

Do we need to clear the OCSP cache during tor toggle, or does it listen to the cookies-cleared event like it should?

Child Tickets

Change History (3)

comment:1 Changed 8 years ago by mikeperry

Points: 2
Summary: Does OCSP checking have its own cache?Clear OCSP cache during toggle

comment:2 Changed 8 years ago by mikeperry

Keywords: MikePerryIteration20110403 added

We got lucky with this one. nsNSSComponent::Observe() watches security.OCSP.enabled, which calls setOCSPOptions(), which if set to 0, calls CERT_DisableOCSPChecking(), which calls CERT_ClearOCSPCache().

So it appears all we have to do is toggle the pref.

comment:3 Changed 8 years ago by mikeperry

Actual Points: 2
Resolution: fixed
Status: newclosed

Fixed in origin/master. Should appear in the next release.

Note: See TracTickets for help on using tickets.