Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mobile
Path: blob/master/test/jdk/sun/security/pkcs11/nss/p11-nss-sensitive.txt
41153 views
1
2
# Configuration to run unit tests with NSS
3
# Marks private and secret keys as sensitive
4
5
name = NSS
6
7
slot = 1
8
9
#showInfo = true
10
11
library = ${pkcs11test.nss.lib}
12
13
nssArgs = "configdir='${pkcs11test.nss.db}' certPrefix='' keyPrefix='' secmod='secmod.db' flags=readOnly"
14
15
disabledMechanisms = {
16
CKM_DSA_SHA224
17
CKM_DSA_SHA256
18
CKM_DSA_SHA384
19
CKM_DSA_SHA512
20
CKM_DSA_SHA3_224
21
CKM_DSA_SHA3_256
22
CKM_DSA_SHA3_384
23
CKM_DSA_SHA3_512
24
CKM_ECDSA_SHA224
25
CKM_ECDSA_SHA256
26
CKM_ECDSA_SHA384
27
CKM_ECDSA_SHA512
28
CKM_ECDSA_SHA3_224
29
CKM_ECDSA_SHA3_256
30
CKM_ECDSA_SHA3_384
31
CKM_ECDSA_SHA3_512
32
}
33
34
attributes = compatibility
35
36
# NSS needs CKA_NETSCAPE_DB for DSA and DH private keys
37
# just put an arbitrary value in there to make it happy
38
39
attributes(*,CKO_PRIVATE_KEY,CKK_DSA) = {
40
CKA_NETSCAPE_DB = 0h00
41
}
42
43
attributes(*,CKO_PRIVATE_KEY,CKK_DH) = {
44
CKA_NETSCAPE_DB = 0h00
45
}
46
47
# Everything above this line (with the exception of the comment at the top) is copy/pasted from p11-nss.txt
48
49
# Make all private keys sensitive
50
attributes(*,CKO_PRIVATE_KEY,*) = {
51
CKA_SENSITIVE = true
52
}
53
54
55
# Make all secret keys sensitive
56
attributes(*,CKO_SECRET_KEY,*) = {
57
CKA_SENSITIVE = true
58
}
59
60