jdk-24/test/jdk/sun/security/pkcs11
Goetz Lindenmaier 9dcc8b4a96 8207766: [testbug] Adapt tests for Aix
Reviewed-by: clanger, mbaesken
2018-07-20 09:33:49 +02:00
..
Cipher 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
Config 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
ec 7007966: Add Brainpool ECC support (RFC 5639) 2018-06-22 23:10:36 +00:00
fips 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
KeyAgreement 8185292: Stricter key generation 2017-10-24 09:58:27 -04:00
KeyGenerator 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
KeyPairGenerator 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
KeyStore 8196584: TLS 1.3 Implementation 2018-06-25 13:41:39 -07:00
Mac 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
MessageDigest 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
nss 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
Provider 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
rsa 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
Secmod 8207766: [testbug] Adapt tests for Aix 2018-07-20 09:33:49 +02:00
SecureRandom 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
Serialize 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
Signature 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
sslecc 8196584: TLS 1.3 Implementation 2018-06-25 13:41:39 -07:00
tls 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
PKCS11Test.java 8207766: [testbug] Adapt tests for Aix 2018-07-20 09:33:49 +02:00
policy 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
README 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
SampleTest.java 8187443: Forest Consolidation: Move files to unified layout 2017-09-12 19:03:39 +02:00
SecmodTest.java 8195607: sun/security/pkcs11/Secmod/TestNssDbSqlite.java failed with "NSS initialization failed" on NSS 3.34.1 2018-06-26 08:10:45 +08:00

This README is to keep a list facts and known workaround for the pkcs11 java tests
perform as a result of bugs or features in NSS or other pkcs11 libraries.

- NSS ECC None/Basic/Extended
The tests detect the NSS library support for Elliptic Curves as to not
report incorrect failures.  PKCS11 reports back CKR_DOMAIN_PARAMS_INVALID
when the curve is not supported.

- Default libsoftokn3.so
By default PKCS11Test.java will look for libsoftokn3.so.  There are a number of
tests, particularly in Secmod, that need libnss3.so.  The method useNSS() in
PKCS11test.java is to change the search and version checking to libnss3.

ECC Basic supports is secp256r1, secp384r1, and secp521r1.

- A bug in NSS 3.12 (Mozilla bug 471665) causes AES key lengths to be
read incorrectly. KeyStore/SecretKeysBasic.java tiggers this bug and
knows to avoid it.

- A number of EC tests fail because of a DER bug in NSS 3.11.  The best guess
is Mozilla bug 480280.  Those tests that abort execution with a PASS result
are:  TestECDH2, TestECDSA, TestECDSA2 and TestECGenSpec.