jdk-24/jdk/test/sun/security/pkcs11
2016-05-10 00:44:28 +00:00
..
Cipher 8144539: Update PKCS11 tests to run with security manager 2016-01-26 13:32:07 -08:00
ec 8144539: Update PKCS11 tests to run with security manager 2016-01-26 13:32:07 -08:00
fips 8144539: Update PKCS11 tests to run with security manager 2016-01-26 13:32:07 -08:00
KeyAgreement 8154344: sun/security/pkcs11/KeyAgreement/SupportedDHKeys.java fails on solaris 2016-05-10 00:44:28 +00:00
KeyGenerator 8144539: Update PKCS11 tests to run with security manager 2016-01-26 13:32:07 -08:00
KeyPairGenerator 8072452: Support DHE sizes up to 8192-bits and DSA sizes up to 3072-bits 2016-04-15 11:09:18 +00:00
KeyStore 8154956: Module system implementation refresh (4/2016) 2016-05-03 09:09:57 +01:00
Mac 8144539: Update PKCS11 tests to run with security manager 2016-01-26 13:32:07 -08:00
MessageDigest 8144539: Update PKCS11 tests to run with security manager 2016-01-26 13:32:07 -08:00
nss 8059627: Enable PKCS11 tests on Mac 2014-10-06 16:44:57 +01:00
Provider 8153545: sun/security/pkcs11/Provider/Login.sh fails on Linux 2016-04-14 09:45:37 +08:00
rsa 8144539: Update PKCS11 tests to run with security manager 2016-01-26 13:32:07 -08:00
Secmod 8144539: Update PKCS11 tests to run with security manager 2016-01-26 13:32:07 -08:00
SecureRandom 8144539: Update PKCS11 tests to run with security manager 2016-01-26 13:32:07 -08:00
Serialize 6943119: Rebrand source copyright notices 2010-05-25 15:58:33 -07:00
Signature 8144539: Update PKCS11 tests to run with security manager 2016-01-26 13:32:07 -08:00
sslecc 8144539: Update PKCS11 tests to run with security manager 2016-01-26 13:32:07 -08:00
tls 8144539: Update PKCS11 tests to run with security manager 2016-01-26 13:32:07 -08:00
PKCS11Test.java 8153545: sun/security/pkcs11/Provider/Login.sh fails on Linux 2016-04-14 09:45:37 +08:00
policy 8144539: Update PKCS11 tests to run with security manager 2016-01-26 13:32:07 -08:00
README 8020424: The NSS version should be detected before running crypto tests 2013-07-29 13:43:24 -07:00
SampleTest.java 6943119: Rebrand source copyright notices 2010-05-25 15:58:33 -07:00
SecmodTest.java 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013 2013-12-26 12:04:16 -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.