Closed Bug 1183181 Opened 10 years ago Closed 10 years ago

CertBlocklist should remove leading zeros before making comparisons on serial numbers

Categories

(Core :: Security: PSM, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox42 --- affected

People

(Reporter: mgoodwin, Assigned: mgoodwin)

Details

We retain leading zeros when reading integer data from asn.1 structures. Other people's libraries do not (e.g. openssl, Go's x509 library). This means when we perform comparisons on, e.g, serial numbers on data prepared elsewhere, we can have problems. The right thing to do seems to be to strip the leading zeros in the CertBlocklist revocation check.
From talking to Keeler, the least bad thing to do here is to fix this in tooling.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.