blob: 49778ea954c81ee36d714dd4fb014079f0d6b74a [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001
2# Configuration to run unit tests with NSS
3
4name = NSS
5
6slot = 1
7
8#showInfo = true
9
10library = ${pkcs11test.nss.lib}
11
12nssArgs = "configdir='${pkcs11test.nss.db}' certPrefix='' keyPrefix='' secmod='secmod.db' flags=readOnly"
13
14# HMAC_SHA256/384/512 broken until NSS 3.10.2
15# see https://bugzilla.mozilla.org/show_bug.cgi?id=291858
16disabledMechanisms = {
17 CKM_SHA256_HMAC
18 CKM_SHA384_HMAC
19 CKM_SHA512_HMAC
20}
21
22attributes = compatibility
23
24# NSS needs CKA_NETSCAPE_DB for DSA and DH private keys
25# just put an arbitrary value in there to make it happy
26
27attributes(*,CKO_PRIVATE_KEY,CKK_DSA) = {
28 CKA_NETSCAPE_DB = 0h00
29}
30
31attributes(*,CKO_PRIVATE_KEY,CKK_DH) = {
32 CKA_NETSCAPE_DB = 0h00
33}