Commit Graph

112 Commits

Author SHA1 Message Date
Martin Balao 6f136c53bc 8029661: Support TLS v1.2 algorithm in SunPKCS11 provider
TLS v1.2 algorithms for key and MAC derivation added to SunPKCS11 crypto provider. 8210912 fix is included as part of this changeset.

Reviewed-by: valeriep
2018-10-31 17:04:47 -03:00
Ivan Gerasimov 24d86358ea 8186098: sun/security/pkcs11/KeyStore/SecretKeysBasic.sh failed due to libnss3 version cannot be parsed
Improves the approach on parsing lib version

Reviewed-by: weijun, xuelei
2018-10-23 11:29:55 -07:00
Ivan Gerasimov 6182c473d6 8194864: Outputs more details for PKCS11 tests if the NSS lib version cannot be determined
It outputs the lib content if the lib version cannot be parsed

Reviewed-by: xuelei
2018-10-23 11:29:39 -07:00
Paul Hohensee 3b4e9b16df 8129560: TestKeyPairGenerator.java fails on Solaris because private exponent needs to comply with FIPS 186-4
Replace BigInteger.valueof(3) with RSAKeyGenParameterSpec.F4

Reviewed-by: coffeys
2018-10-22 15:20:49 +00:00
Severin Gehwolf 7d049748c7 8073139: PPC64: User-visible arch directory and os.arch value on ppc64le cause issues with Java tooling
Reviewed-by: erikj, goetz, dholmes
2018-09-25 16:13:12 +02:00
Ivan Gerasimov 80dd9e94bc 8051972: sun/security/pkcs11/ec/ReadCertificates.java fails intermittently
Reviewed-by: mullan
2018-02-07 17:11:24 -08:00
Abhijit Saha 9db2050ba5 Merge 2017-11-14 13:10:37 -08:00
Abhijit Saha 8540bb4686 Merge 2017-11-01 19:29:14 -07:00
Abhijit Saha 3634f44ece Merge 2017-10-24 23:16:46 -07:00
Ivan Gerasimov f9dacef22f 8185292: Stricter key generation
Reviewed-by: mullan
2017-11-04 17:23:38 -07:00
Sean Coffey 1ddbac42be 8190449: sun/security/pkcs11/KeyPairGenerator/TestDH2048.java fails on Solaris x64 5.10
Reviewed-by: igerasim
2017-11-07 17:30:51 +00:00
Ivan Gerasimov 9945fb90b2 8187023: Cannot read pkcs11 config file in UTF-16 environment
Reviewed-by: ascarpino
2017-10-06 21:25:40 -07:00
Sean Coffey c5042ff7d8 8072452: Support DHE sizes up to 8192-bits and DSA sizes up to 3072-bits
8154344: sun/security/pkcs11/KeyAgreement/SupportedDHKeys.java fails on solaris

Reviewed-by: xuelei
2017-10-23 02:28:19 -07:00
Bhanu Prakash Gopularam ac315e4bd0 8181975: Run sun/security/pkcs11 tests on Mac
Updated path for nss-libs for MacOSX platform

Reviewed-by: coffeys
2017-06-22 01:33:27 -07:00
Sean Coffey f1d95402e2 8148516: Improve the default strength of EC in JDK
Reviewed-by: xuelei
2016-09-19 11:44:50 +01:00
Bhanu Prakash Gopularam d74511c35d 8048622: Enhance tests for PKCS11 keystores with NSS
New tests for validating read write operations on PKCS 12 based keystore

Reviewed-by: vinnie
2016-05-26 01:30:40 -07:00
Rob McKenna 269f3dc357 Merge 2016-04-24 20:31:17 +01:00
Sean Coffey 6a5e6fddc5 8146477: [TEST_BUG] ClientJSSEServerJSSE.java failing again
Reviewed-by: mullan
2016-01-08 16:21:07 +00:00
Sean Coffey 08f3b0d50f 8141287: Add MD5 to jdk.certpath.disabledAlgorithms - Take 2
Reviewed-by: xuelei
2015-11-03 19:07:45 +00:00
Sean Coffey 417415498d 8130952: test/sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java failed
Reviewed-by: vinnie
2015-07-17 12:04:45 +01:00
Abhijit Saha e7acc08df8 Merge 2015-07-09 23:01:00 -07:00
Ivan Gerasimov f5da3e8708 8030829: Add MD5 to jdk.certpath.disabledAlgorithms security property
Reviewed-by: mullan, weijun
2015-07-03 21:50:43 +03:00
Abhijit Saha c25acde192 Merge 2015-07-01 22:03:05 -07:00
Sean Coffey e3b9bcc4f8 8080102: Java 8 cannot load its cacerts in FIPS. no such provider: SunEC
Reviewed-by: valeriep
2015-06-23 04:07:36 -07:00
Abhijit Saha bcb696c0b2 Merge 2015-05-29 10:15:38 -07:00
Ivan Gerasimov 95bf9cd469 8076328: Enforce key exchange constraints
Reviewed-by: wetmore, ahgross, asmotrak, xuelei
2015-04-24 13:59:30 +03:00
Vinnie Ryan 7ab801e640 8078348: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with BindException
Reviewed-by: xuelei
2015-04-22 14:01:01 +01:00
Artem Smotrakov fc7bb28596 8048603: Additional tests for MAC algorithms
Reviewed-by: valeriep
2015-01-13 14:26:34 +03:00
Vinnie Ryan 6bd5a6e742 8078348: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with BindException
Reviewed-by: xuelei
2015-04-22 14:01:01 +01:00
Anthony Scarpino 426de18a64 8022313: sun/security/pkcs11/rsa/TestKeyPairGenerator.java failed in aurora
Reviewed-by: mullan
2015-02-13 13:54:14 -08:00
Abhijit Saha 2f857faed9 Merge 2014-11-19 15:29:32 -08:00
Xue-Lei Andrew Fan b7ef3a6bdc 8061210: Issues in TLS
Reviewed-by: jnimeh, mullan, wetmore, ahgross, asmotrak
2014-10-24 11:49:24 +00:00
Sean Coffey de487da0e0 Merge 2015-01-21 18:34:07 +00:00
Ivan Gerasimov fb66984c36 8062170: java.security.ProviderException: Error parsing configuration with space
Updated to parse library path as a line which can contain quoted strings.

Reviewed-by: vinnie
2015-01-21 13:52:27 +03:00
Abhijit Saha 3ea3425e86 Merge 2014-11-26 09:32:50 -08:00
Xue-Lei Andrew Fan baeacc8e45 8061210: Issues in TLS
Reviewed-by: jnimeh, mullan, wetmore, ahgross, asmotrak
2014-10-24 11:49:24 +00:00
Anthony Scarpino b0300541fb 8063700: -Xcheck:jni changes cause many JCK failures in api/javax_crypto tests in SunPKCS11
Reviewed-by: mullan, valeriep
2014-11-08 09:42:45 -08:00
Sean Coffey 9a4e706ed9 8141287: Add MD5 to jdk.certpath.disabledAlgorithms - Take 2
Reviewed-by: xuelei
2015-11-03 19:07:45 +00:00
Anthony Scarpino 6c20d58a79 8039212: SecretKeyBasic.sh needs to avoid NSS libnss3 and libsoftokn3 version mismatches
Reviewed-by: vinnie
2014-06-10 12:04:42 -07:00
Vinnie Ryan d5002ca975 8047085: PKCS11/NSS tests failing intermittently on Windows
Reviewed-by: mullan
2014-06-18 17:50:55 +01:00
Vinnie Ryan 84c441ee21 8044038: Security tests fail on 32 bit linux platform
Reviewed-by: xuelei, weijun
2014-06-18 15:53:45 +01:00
Xue-Lei Andrew Fan fa8308bccd 8028192: Use of PKCS11-NSS provider in FIPS mode broken
Reviewed-by: ahgross, ascarpino, asmotrak
2014-05-07 01:17:11 +00:00
Vladimir Kozlov f6926a9870 Merge 2014-01-22 17:40:55 -08:00
Volker Simonis eb1ee0c0e8 8028537: PPC64: Updated the JDK regression tests to run on AIX
Co-authored-by: Jonathan Lu <luchsh@linux.vnet.ibm.com>
Co-authored-by: Steve Poole <spoole@linux.vnet.ibm.com>
Reviewed-by: alanb
2014-01-17 21:54:30 +01:00
Lana Steuck 03b4e5d3ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Anthony Scarpino 3c1c57bbbd 8027218: TEST_BUG: sun/security/pkcs11/ec tests fail because of ever-changing key size restrictions
Reviewed-by: vinnie
2013-12-04 10:59:17 -08:00
Valerie Peng ad74259a34 8029158: sun/security/pkcs11/Signature/TestDSAKeyLength.java does not compile (or run)
Add the missing library path and skip testing against NSS 1.14 or later due to known NSS issue

Reviewed-by: vinnie, ascarpino
2013-12-03 17:23:58 -08:00
Vinnie Ryan 9dae7f5c55 8029369: Shell tests in sun/security/pkcs11/ do not compile PKCS11Test
Reviewed-by: mullan
2013-12-02 14:19:25 +00:00
Valerie Peng 5e6a93fc20 7200306: SunPKCS11 provider delays the check of DSA key size for SHA1withDSA to sign() instead of init()
Add key length checks to P11Signature class

Reviewed-by: mullan
2013-11-25 11:56:53 -08:00
Sergey Bylokhov 9ab430a0d2 8027696: Incorrect copyright header in the tests
Reviewed-by: alanb, malenkov, mullan
2013-11-12 20:24:25 +04:00