Use non-empty password for p12 test files used by Thunderbird
Categories
(NSS :: Test, enhancement)
Tracking
(Not tracked)
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.
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
| Assignee | ||
Comment 3•3 years ago
|
||
| Assignee | ||
Comment 4•3 years ago
|
||
| Assignee | ||
Comment 5•3 years ago
|
||
To be able to move on, I'll change the test scripts to use a non-empty password.
| Assignee | ||
Comment 6•3 years ago
|
||
| Assignee | ||
Comment 7•3 years ago
|
||
Description
•