Commit Graph

103 Commits

Author SHA1 Message Date
Alexander Smundak
4cebcd8b2d 8073139: PPC64: User-visible arch directory and os.arch value on ppc64le cause issues with Java tooling
Add ppc64le/jvm.cfg, check for the ppc64le in addition to ppc64 in tests

Co-authored-by: Andrew Hughes <gnu.andrew@redhat.com>
Reviewed-by: dholmes, ihse
2015-12-11 10:45:58 -08:00
Volker Simonis
638270935d 8140514: [TESTBUG] enable sun/security/pkcs11 tests on Linux/ppc64
Reviewed-by: wetmore
2015-11-02 14:57:04 +01:00
Valerie Peng
fcb924e751 8130648: JCK test api/java_security/AuthProvider/ProviderTests_login starts failing after JDK-7191662
Make uninitialized SunPKCS11 provider throw IllegalStateException for AuthProvider calls.

Reviewed-by: mullan
2015-10-08 20:51:08 +00:00
Artem Smotrakov
b8e4ae8476 8048622: Enhance tests for PKCS11 keystores with NSS
Reviewed-by: vinnie
2015-09-14 19:54:58 +03:00
Martin Buchholz
24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
Valerie Peng
38b84c3cbd 8133801: sun/security/pkcs11/Provider/ConfigShortPath.java failed in jigsaw nightly at Windows
Update tests to not using private SunPKCS11(String) constructor.

Reviewed-by: mullan
2015-09-02 03:02:14 +00:00
Vinnie Ryan
cdb7f50a4b 8133318: Exclude intermittent failing PKCS11 tests on Solaris SPARC 11.1 and earlier
Reviewed-by: mullan
2015-08-12 14:38:09 +01:00
Xue-Lei Andrew Fan
b7bf7fd3fd 8076328: Enforce key exchange constraints
Reviewed-by: wetmore, igerasim, ahgross, asmotrak
2015-04-22 05:09:54 +00:00
Valerie Peng
5109058c5d 7191662: JCE providers should be located via ServiceLoader
Enhanced to use ServiceLoader and switched provider to Provider.Service model.

Reviewed-by: mullan, alanb, mchung
2015-06-26 21:34:34 +00:00
Mandy Chung
53a97cbeb3 8081347: Add @modules to jdk_core tests
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Chris Hegarty
008fee0591 8079782: RandomFactory should be in the jdk.testlibrary package
Reviewed-by: bpb
2015-05-08 11:02:33 +01:00
Joe Darcy
7dfccc294e 8079107: Update TestKeyPairGenerator.java to use random number generator library
Reviewed-by: mullan
2015-04-30 16:51:53 -07:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Joe Darcy
84bc5a8a04 8078880: Mark a few more intermittently failuring security-libs
Reviewed-by: xuelei
2015-04-29 08:37:57 -07:00
Vinnie Ryan
9ef4bd4a6c 8078348: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with BindException
Reviewed-by: xuelei
2015-04-22 14:01:01 +01:00
Jason Uh
f7f4ab9df6 8042967: Add variant of DSA Signature algorithms that do not ASN.1 encode the signature bytes
Reviewed-by: mullan
2015-02-17 10:48:24 -08:00
Anthony Scarpino
ad70e04133 8022313: sun/security/pkcs11/rsa/TestKeyPairGenerator.java failed in aurora
Reviewed-by: mullan
2015-02-13 10:44:53 -08:00
Xue-Lei Andrew Fan
83143ef7f8 8061210: Issues in TLS
Reviewed-by: jnimeh, mullan, wetmore, ahgross, asmotrak
2014-11-03 08:30:18 +00:00
Artem Smotrakov
e268dee361 8048603: Additional tests for MAC algorithms
Reviewed-by: valeriep
2015-01-13 14:26:34 +03:00
Valerie Peng
86291780cb 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
2014-12-12 00:23:32 +00:00
Anthony Scarpino
1924ac8a18 8063700: -Xcheck:jni changes cause many JCK failures in api/javax_crypto tests in SunPKCS11
Reviewed-by: mullan, valeriep
2014-11-07 13:07:09 -08:00
Mandy Chung
a76f56165c 8043277: Update jdk regression tests to extend the default security policy instead of override
Reviewed-by: alanb, mullan, chegar, sla
2014-10-27 13:45:39 -07:00
Vinnie Ryan
3215ed2f0a 8059627: Enable PKCS11 tests on Mac
Reviewed-by: mullan
2014-10-06 16:44:57 +01:00
Vinnie Ryan
b572fc9aad 8051972: sun/security/pkcs11/ec/ReadCertificates.java fails intermittently
Reviewed-by: mullan
2014-08-05 13:59:15 +01:00
Valerie Peng
efa54ce543 8043406: Change default policy for JCE providers to run with as few privileges as possible
Provide default permissions for crypto providers

Reviewed-by: mullan, vinnie
2014-07-10 22:44:58 +00:00
Vinnie Ryan
7d5e52ba49 8047085: PKCS11/NSS tests failing intermittently on Windows
Reviewed-by: mullan
2014-06-18 15:05:29 +01:00
Anthony Scarpino
b757b4461e 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
1eef4367df 8044038: Security tests fail on 32 bit linux platform
Reviewed-by: xuelei, weijun
2014-05-29 15:50:36 +01:00
Xue-Lei Andrew Fan
2f501cd8a5 8028192: Use of PKCS11-NSS provider in FIPS mode broken
Reviewed-by: ahgross, ascarpino, asmotrak
2014-04-09 12:49:51 +00:00
Rajan Halade
56b41822fb 8033271: Manual security tests have @ignore rather than @run main/manual
Reviewed-by: xuelei, wetmore
2014-03-18 15:04:59 -07:00
Lana Steuck
657b9db1ba 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
Vladimir Kozlov
57b7b831ae Merge 2014-01-28 14:57:41 -08:00
Vladimir Kozlov
9c83896027 Merge 2014-01-22 14:17:32 -08:00
Volker Simonis
70041ae4e4 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
Xue-Lei Andrew Fan
520ada1ca7 8030829: Add MD5 to jdk.certpath.disabledAlgorithms security property
Reviewed-by: mullan, weijun
2014-01-13 21:12:58 -08:00
Alan Bateman
76a5534d5b 8029904: Remove com.sun.security.auth.callback.DialogCallbackHandler
Reviewed-by: mullan
2013-12-16 15:05:26 +00: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
Valerie Peng
2f4af22f17 7196382: PKCS11 provider should support 2048-bit DH
Query and enforce range checking using the values from native PKCS11 library.

Reviewed-by: xuelei
2013-10-08 11:07:31 -07:00
Anthony Scarpino
cf7cbcdce8 8004283: test/sun/security/pkcs11/KeyStore/SecretKeysBasic.sh failing intermittently
Reviewed-by: vinnie
2013-09-18 14:57:29 -07:00
Anthony Scarpino
eae349e914 8020424: The NSS version should be detected before running crypto tests
Reviewed-by: valeriep
2013-07-29 13:43:24 -07:00
Anthony Scarpino
a7dbbbddcd 8012971: PKCS11Test hiding exception failures
Reviewed-by: vinnie, valeriep
2013-07-19 11:34:33 -07:00
Valerie Peng
a4223b53c1 8020321: Problem in PKCS11 regression test TestRSAKeyLength
Corrected the "isValidKeyLength" array

Reviewed-by: xuelei
2013-07-11 11:43:23 -07:00
Pasi Eronen
b888136f12 8014618: Need to strip leading zeros in TlsPremasterSecret of DHKeyAgreement
Reviewed-by: xuelei
2013-05-30 22:02:43 -07:00
Vinnie Ryan
193ed72708 Merge 2013-05-16 02:43:58 -07:00
Stephen Flores
c39030c7b3 7194075: Various classes of sunec.jar are duplicated in rt.jar
Reviewed-by: mullan, vinnie
2013-05-14 18:08:18 +01:00
Anthony Scarpino
2c0b00cbe0 8001284: Buffer problems with SunPKCS11-Solaris and CKM_AES_CTR
Changed output length calculation to include incomplete blocks for CTR mode.

Reviewed-by: valeriep
2013-05-07 14:13:53 -07:00