Conor fitzgerald wrote:

> I hope this is the correct mailing list for PKCS #11 Test Suites problems

Hi Conor,

Yes, this is the place.

The PKCS#11 test suite of which you write was part of the original
Netscape source code, predating the time when NSS was open sourced in Y2K.
The complete source to that test suite has never been published.
The code that you found is part of a test "harness" that runs the real
PKCS#11 tests, whose sources are not published.

Even if we could obtain and publish that old test source code, it was
written to use NSS 2.x, not NSS 3.x, and would take a bunch of work to
make it build and run with the current NSS 3.x.  (Any volunteers?)

Today, NSS has two other programs that are used for PKCS#11 testing.
They are pk11mode and pk11util.  The sources to both are in nss/cmd.

pk11util is a command line interpreter.  There are sample test scripts
for pk11util.

pk11mode runs through a set of tests.  It is coded to test NSS's own
PKCS#11 module.  The name of NSS's module file is hard coded in it.
To test another module, you'll have to tweak it with your module's file name.

Hope this helps.

-- 
Nelson B
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to