Commit Graph

791 Commits

Author SHA1 Message Date
Anthony Scarpino
698d82f0b0 8172527: Rename jdk.crypto.token to jdk.crypto.cryptoki
Reviewed-by: mchung, wetmore
2017-01-23 11:49:01 -08:00
Sean Mullan
472c73df43 8173082: java/bean/* tests fail since change of JDK-8055206
Reviewed-by: mchung, ahgross, alanb
2017-01-23 07:34:11 -05:00
Weijun Wang
8d7694562c 8172975: SecurityTools.keytool() needs to accept user input
Reviewed-by: asmotrak
2017-01-21 08:38:51 +08:00
Weijun Wang
f82a7d2bdd 8172529: Use PKIXValidator in jarsigner
Reviewed-by: xuelei, mullan, alanb
2017-01-18 08:02:53 +08:00
John Jiang
48706a1a2a 8167146: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java failed with "Remote host terminated the handshake"
The fix takes the server to accept request after the client threads start, and also deal with possible timeout issue.

Reviewed-by: xuelei
2017-01-16 15:16:10 +08:00
Amanda Jiang
58a825f1b0 8171423: Relocate /test/lib/security/SecurityTools.java
Reviewed-by: weijun, xuelei
2017-01-12 17:10:41 -08:00
Xue-Lei Andrew Fan
e546b078a6 8129988: JSSE should create a single instance of the cacerts KeyStore
Reviewed-by: mullan
2017-01-06 02:03:47 +00:00
Weijun Wang
cfb01751b1 8170732: GssKrb5Client sends non-zero buffer size when qop is "auth"
Reviewed-by: xuelei
2017-01-05 23:19:26 +08:00
Weijun Wang
c104608e37 8172017: Two tests sun/security/krb5/auto/ReplayCacheTestProc.java and rcache_usemd5.sh fail on Solaris
Reviewed-by: mullan
2017-01-05 22:37:52 +08:00
Xue-Lei Andrew Fan
cf3815fc2a 8172217: Need debug log for the intermittent failure of AnonCipherWithWantClientAuth
Reviewed-by: weijun
2017-01-04 00:08:40 +00:00
John Jiang
f75520730b 8168935: sun/security/ssl/SSLContextImpl/TrustTrustedCert.java failed Intermittently
TrustTrustedCert.java uses SSLSocketTemplate to avoid timeout failure

Reviewed-by: xuelei
2016-12-20 23:09:27 -08:00
Amanda Jiang
8d09a2b2c9 8075618: Create tests to check jarsigner work with multi-version jar
Reviewed-by: weijun
2016-12-19 12:47:54 -08:00
Weijun Wang
98cc34711b 8171340: HttpNegotiateServer/java test should not use system proxy on Mac
Reviewed-by: chegar
2016-12-16 19:50:35 +08:00
Mandy Chung
f083b7e656 8171201: Drop java.compact$N aggregator modules
8171202: Rename jdk.crypto.pkcs11 and jdk.pack200 to end with Java letters

Reviewed-by: alanb, erikj
2016-12-14 10:51:13 -08:00
Pavel Rappo
d98371fcfe 8038079: Re-examine integration of SPNEGO authentication
@module tags have been removed from the HttpNegotiateServer.java as it turns out exactly the same lines have been already defined in TEST.properties sitting in the same folder

Reviewed-by: chegar, dfuchs
2016-12-13 12:26:18 +00:00
Xue-Lei Andrew Fan
7f4cb73e6d 8170329: New SSLSocket testing template
Reviewed-by: asmotrak, mullan
2016-12-09 17:21:50 +00:00
John Jiang
88352efab6 8170523: Some PKCS11 test cases are ignored with security manager
Get OS distro before enabling security manager

Reviewed-by: mullan
2016-12-05 19:06:55 -08:00
Sean Mullan
4200b2b0e9 8170131: Certificates not being blocked by jdk.tls.disabledAlgorithms property
Reviewed-by: ascarpino
2016-12-02 14:22:19 -05:00
Alan Bateman
30bcdb962c Merge 2016-12-01 11:16:23 +00:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Amanda Jiang
421c8d8778 8169911: Enhanced tests for jarsigner -verbose -verify after JDK-8163304
Reviewed-by: weijun
2016-11-21 22:50:22 -08:00
Weijun Wang
62fe00f628 8169751: sun/security/krb5/auto/rcache_usemd5.sh fails on solaris
Reviewed-by: xuelei
2016-11-16 12:55:42 +08:00
Artem Smotrakov
3d0c012270 8168969: Merge SSLSocketSample and SSLSocketTemplate
Reviewed-by: xuelei
2016-11-16 12:50:29 -08:00
Artem Smotrakov
31c4b07045 8168882: keytool doesn't print certificate info if disabled algorithm was used for signing a jar
Reviewed-by: weijun, mullan
2016-11-08 15:55:11 -08:00
Mandy Chung
5fb366ed4f 8169231: Fix tests to add @compile --add-modules to workaround jtreg bug
Reviewed-by: jjg
2016-11-04 15:49:31 -07:00
Weijun Wang
e10da9956f 8168518: rcache interop with krb5-1.15
Reviewed-by: xuelei
2016-11-02 14:44:15 +08:00
Sean Mullan
dfbba1428e 8168851: Tighten permissions granted to the java.smartcardio module
Reviewed-by: vinnie, mchung
2016-10-27 14:50:23 -04:00
John Jiang
5e987e28e1 8168064: sun/security/ssl/ServerHandshaker/AnonCipherWithWantClientAuth.java failed with "Received fatal alert: handshake_failure"
It takes advantage of SSLTest.java to fix intermittent SSLHandshakeException failure

Reviewed-by: xuelei, asmotrak
2016-10-26 19:07:05 -07:00
Weijun Wang
8bd0c80e92 8168374: TsacertOptionTest.java fails on all platforms
Reviewed-by: vinnie
2016-10-20 14:11:26 +08:00
Weijun Wang
debfdef758 8163304: jarsigner -verbose -verify should print the algorithms used to sign the jar
Reviewed-by: mullan
2016-10-20 09:24:47 +08:00
Anthony Scarpino
941822bf15 8155973: Tighten jar checks
Reviewed-by: mullan, igerasim, ahgross
2016-07-21 10:33:56 -07:00
Sean Mullan
c8c8e0945e 8168078: Remove permission to read all system properties granted to the jdk.crypto.ec module
Reviewed-by: vinnie, xuelei
2016-10-18 09:18:56 -04:00
Tim Du
6e9244aea4 8164322: Test sun/security/pkcs11/PKCS11Test.java shall be updated to run on ARM platforms
Reviewed-by: xuelei
2016-10-13 00:45:38 -07:00
Weijun Wang
ba9df3533c 8164705: Remove pathname canonicalization from FilePermission
Reviewed-by: alanb, bpb
2016-10-10 08:28:50 +08:00
Valerie Peng
8d4f1ae8df 8136355: CKM_SSL3_KEY_AND_MAC_DERIVE no longer available by default on Solaris 12
Enhanced to detect and throw InvalidAlgorithmParameterException if SSLv3 is requested but unsupported

Reviewed-by: xuelei
2016-09-23 01:08:24 +00:00
Erik Joelsson
0c124a911a Merge 2016-09-21 16:22:41 +02:00
Sergei Kovalev
1c751c11fb 8166450: smartcardio related tests failed on compilation during execution with jtreg tool
Reviewed-by: weijun
2016-09-21 17:09:41 +03:00
Alan Burlison
4e8fe41e35 8165161: Solaris: /usr/ccs /opt/sfw and /opt/csw are dead, references should be expunged
Reviewed-by: rriggs, erikj
2016-09-21 14:22:11 +02:00
John Jiang
73fbb10440 8165566: sun/security/ssl/SocketCreation/SocketCreation.java fails intermittently: Address already in use
It takes every server to be allocated a free port.

Reviewed-by: chegar
2016-09-20 10:32:52 +08:00
Artem Smotrakov
96a47e15da 8163924: SSLEngineBadBufferArrayAccess.java fails intermittently with Unrecognized SSL message
Reviewed-by: xuelei
2016-09-15 11:07:20 -07:00
Sergei Kovalev
0f9675b98e 8165689: Fix module dependencies for sun/security/pkcs11/* tests
Reviewed-by: mullan
2016-09-15 13:03:03 +03:00
Sibabrata Sahoo
a210d98c0c 8165825: Remove the intermittent keyword from sun/security/krb5/auto/Unreachable.java
Remove the intermittent keyword

Reviewed-by: weijun
2016-09-15 01:10:36 -07:00
Sibabrata Sahoo
08f7e312b1 8165660: Remove the intermittent keyword from sun/security/krb5/auto/MaxRetries.java
Remove the intermittent keyword

Reviewed-by: weijun
2016-09-15 01:03:42 -07:00
Alejandro Murillo
b2e658b722 Merge 2016-09-14 11:22:39 -07:00
John Jiang
08d5007708 8077138: Some PKCS11 tests fail because NSS library is not initialized
Re-building NSS libraries with VS2013 to make the new libraries to depend on msvcr120.dll, which is already distributed with JDK 9

Reviewed-by: vinnie
2016-09-14 11:06:26 +08:00
Alejandro Murillo
092d3bef1c Merge 2016-09-01 15:20:57 -07:00
Sean Coffey
9807f64dfc 8164846: CertificateException missing cause of underlying exception
Reviewed-by: xuelei
2016-09-01 11:01:47 +01:00
Alejandro Murillo
44fb1c5f24 Merge 2016-08-31 09:22:54 -07:00
Sibabrata Sahoo
3d17ae2b1d 8164922: sun/security/provider/SecureRandom/AutoReseed.java failed with timeout in Ubuntu Linux
The test timeout waiting to get seed in an exhausted Linux platform.

Reviewed-by: weijun
2016-08-31 08:44:12 -07:00
Sibabrata Sahoo
2822e9e2d6 8015595: Test sun/security/krb5/auto/Unreachable.java fails with Timeout error
Unreachable.java was getting timeout due to PortUnreachableException was not thrown

Reviewed-by: weijun
2016-08-31 08:34:59 -07:00