Closed Bug 1806393 Opened 3 years ago Closed 3 years ago

Use non-empty password for p12 test files used by Thunderbird

Categories

(NSS :: Test, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: KaiE, Assigned: KaiE)

References

Details

Attachments

(5 files)

The script that generates test p12 files for Thunderbird uses an empty password.

When I attempted to refresh Thunderbird's test S/MIME certificates (bug 1805848), I ran into a new test failure.

The reason is that the PSM code apparently fails to import the new p12 file with error code -8113 - SEC_ERROR_PKCS12_INVALID_MAC. But only certain combinations fail. It's surprising. Here are test results:

Thunderbird 102.x (NSS 3.79) importing old p12 file: works
Thunderbird 102.x (NSS 3.79) importing new p12 file: fails !

Thunderbird 109 Beta (NSS 3.86) importing old p12 file: works
Thunderbird 109 Beta (NSS 3.86) importing new p12 file: fails !

certutil (NSS 3.85 Fedora) importing old p12 file: works
certutil (NSS 3.85 Fedora) importing new p12 file: works !

Because I cannot immediately find the cause, I've tested with a non-empty password.
That works fine in the above failure scenario.

Attached file old-good.p12
Attached file new-bad.p12
Attached file old-ca.pem
Attached file new-ca.pem

To be able to move on, I'll change the test scripts to use a non-empty password.

Blocks: 1805848
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.88
Duplicate of this bug: 1809664
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: