Closed
Bug 969931
Opened 10 years ago
Closed 8 years ago
PSM test certificate generation does not work on Windows using MozillaBuild
Categories
(Core :: Security: PSM, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: briansmith, Unassigned)
References
Details
Attachments
(1 file)
10.76 KB,
patch
|
Details | Diff | Splinter Review |
> import pexpect
pexpect isn't available on Windows.
Is there a way to modify these scripts to avoid pexpect?
Reporter | ||
Updated•10 years ago
|
OS: All → Windows 8.1
Reporter | ||
Comment 1•10 years ago
|
||
> $ cd security/manager/ssl/test/unit/test_ev_certs/
> $ ./generate.py
> [snip]
> ImportError: no module names pexpect
Also not installed by default on Linux.
Updated•10 years ago
|
Assignee: cviecco → nobody
Comment 2•10 years ago
|
||
This patch removes all uses of pexpect from the PSM cert generation scripts. The scripts and resultant certs worked on my Linux install, but I don't have the NSS tools set up in MozillaBuild, so I don't know if the scripts now work properly on Windows. => I'm just going to leave this here for now. If someone wants to test or finish the patch, please feel free.
Comment 3•10 years ago
|
||
(In reply to Cykesiopka from comment #2) > Created attachment 8530802 [details] [diff] [review] FWIW, the strategy for the certutil cases is equivalent to what is currently done in test_certificate_usages/generate.pl.
Status: ASSIGNED → NEW
Comment 4•8 years ago
|
||
Now that PSM cert generation is done via pycert.py and friends (see Bug 1174288 and dependencies), this is no longer an issue. I confirmed using stock MozillaBuild 2.2 that: - The only generate.py file works. - The mechanism to generate certs at build time (although disabled at the moment) works.
You need to log in
before you can comment on or make changes to this bug.
Description
•