Open Bug 923268 Opened 11 years ago Updated 1 year ago

Active distrust entries in built-in database are not tested as part of the test suite

Categories

(NSS :: Test, defect, P5)

Tracking

(Not tracked)

People

(Reporter: briansmith, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

I recommend reading tests/chains/scenarios/distrusted.cfg first. This patch does not include the TrustWave or TURKTrust certs. I will do that in another patch.
Attachment #813273 - Flags: review?(rrelyea)
Removed some of my TODO comments.
Attachment #813273 - Attachment is obsolete: true
Attachment #813273 - Flags: review?(rrelyea)
Attachment #813275 - Flags: review?(rrelyea)
Comment on attachment 813275 [details] [diff] [review] Part 1: Add tests for distrust records where the cert is currently included in the built-in database Clearing review request as more work is needed. Some of these certificates are modified versions of the originals, used to create "knockout" entries before the implementation of active distrust in NSS was complete. Consequently, these test cases are not testing the real-world behavior. In particular, some of these certificates have had their issuer and/or serial number modified as part of the process of creating the knockout cert. When I use the actual certificates from Microsoft's "Untrusted Publishers" list, the tests fail because NSS returns error codes different than SEC_ERROR_UNTRUSTED_CERT.
Attachment #813275 - Flags: review?(rrelyea)
Target Milestone: 3.15.3 → ---
Camilo, let's talk about this when we have some time. We need to find a way to test this for insanity::pkix and for NSS.
Assignee: brian → cviecco
Target Milestone: --- → 3.16
Target Milestone: 3.16 → ---

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: cviecco → nobody
Severity: normal → S3
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: