Closed Bug 969931 Opened 7 years ago Closed 5 years ago
PSM test certificate generation does not work on Windows using Mozilla
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?
OS: All → Windows 8.1
> $ cd security/manager/ssl/test/unit/test_ev_certs/ > $ ./generate.py > [snip] > ImportError: no module names pexpect Also not installed by default on Linux.
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.
(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
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.
Status: NEW → RESOLVED
Closed: 5 years ago
Depends on: 1174288
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.