283 Commits

Author SHA1 Message Date
John Jiang
3c34b7a261 8220410: sun/security/tools/jarsigner/warnings/NoTimestampTest.java failed with missing expected output
Using the same timezone for jar verifying and date formatting

Reviewed-by: weijun
2019-03-19 10:36:24 +08:00
Xue-Lei Andrew Fan
25f0d60a58 8215430: Remove the internal package com.sun.net.ssl
Reviewed-by: chegar, mullan, wetmore
2019-03-01 08:35:14 -08:00
Xue-Lei Andrew Fan
e6f6863cbc 8168069: X509TrustManagerImpl causes ClassLoader leaks with unparseable extensions
Reviewed-by: mullan
2019-02-20 18:46:30 -08:00
Xue-Lei Andrew Fan
fca0af0487 8217835: Remove the experimental SunJSSE FIPS compliant mode
Reviewed-by: mullan
2019-02-12 13:36:15 -08:00
Weijun Wang
8b83b515b1 8180569: Refactor sun/security/krb5/ shell tests to plain java tests
Reviewed-by: mullan
2019-02-11 11:01:00 +08:00
Jesper Wilhelmsson
bc920bd00d Merge 2019-01-22 19:56:19 +01:00
Sean Mullan
c9bea6a8ea 8216280: Allow later Symantec Policy distrust date for two Apple SubCAs
Reviewed-by: coffeys
2019-01-22 09:27:19 -05:00
Weijun Wang
1d014da14b 8215694: keytool cannot generate RSASSA-PSS certificates
Reviewed-by: xuelei
2019-01-16 11:25:55 +08:00
Weijun Wang
033465d815 8215776: Keytool importkeystore may mix up certificate chain entries when DNs conflict
Reviewed-by: xuelei
2019-01-22 21:18:45 +08:00
Weijun Wang
54815061a1 8215937: Check usages of security-related Resources files
Reviewed-by: mullan
2019-01-19 09:20:47 +08:00
Jesper Wilhelmsson
cda0d67617 Merge 2019-01-16 20:53:09 +01:00
Weijun Wang
af43646ba3 8215922: jar spec is not precise when describing jar file re-signing
Reviewed-by: lancea, mullan
2019-01-15 11:21:00 +08:00
Goetz Lindenmaier
084f0b75bd 8216265: [testbug] Introduce Platform.sharedLibraryPathVariableName() and adapt all tests
Also cleanup some switches over OSes and use File.pathSeparator.

Reviewed-by: dholmes, mdoerr
2019-01-14 00:00:00 +01:00
Valerie Peng
cfcd43da04 8214096: sun.security.util.SignatureUtil passes null parameter, so JCE validation fails
Changed SignatureUtil.specialSetParameter to ignore null signature parameters

Reviewed-by: mullan, weijun
2018-12-19 02:27:44 +00:00
Xue-Lei Andrew Fan
ad47b4c4cc 8209333: Socket reset issue for TLS 1.3 socket close
Reviewed-by: jnimeh
2018-12-18 15:18:44 -08:00
Xue-Lei Andrew Fan
3933c8477b 8214339: SSLSocketImpl erroneously wraps SocketException
Reviewed-by: ascarpino, jnimeh
2018-12-14 19:39:39 -08:00
Weijun Wang
4769c9fbad 8215769: Java cannot probe pkcs12 files exported by Firefox
Reviewed-by: mullan
2018-12-22 10:38:45 +08:00
Weijun Wang
dcb88767a7 8213009: Refactoring existing SunMSCAPI classes
Reviewed-by: valeriep
2018-12-13 17:28:19 +08:00
John Jiang
017c702b8a 8214937: sun/security/tools/jarsigner/warnings/NoTimestampTest.java failed due to unexpected expiration date
Reviewed-by: xuelei
2018-12-13 12:34:35 +08:00
Weijun Wang
9136c7d1d0 8076190: Customizing the generation of a PKCS12 keystore
Reviewed-by: mullan
2018-12-13 11:16:33 +08:00
John Jiang
f47bd19cbc 8214520: [TEST_BUG] sun/security/mscapi/nonUniqueAliases/NonUniqueAliases.java failed with incorrect jtreg tags order
Reviewed-by: xuelei
2018-12-13 08:23:56 +08:00
Sean Mullan
dfd58a59ff 8207258: Distrust TLS server certificates anchored by Symantec Root CAs
Reviewed-by: weijun
2018-12-11 13:22:20 -05:00
Adam Petcher
7305281552 8208648: ECC Field Arithmetic Enhancements
Interal library enhancements to support ECC implementatation

Reviewed-by: jnimeh
2018-12-11 09:36:49 -05:00
John Jiang
3525e4e27f 8214459: NSS source should be removed
Remove test/jdk/sun/security/pkcs11/nss/src

Reviewed-by: valeriep
2018-12-06 10:05:29 +08:00
Sean Coffey
441d285620 8213952: Relax DNSName restriction as per RFC 1123
Reviewed-by: weijun, mullan, chegar
2018-12-05 17:33:01 +00:00
Weijun Wang
8036ce51b2 8214513: A PKCS12 keystore from Java 8 using custom PBE parameters cannot be read in Java 11
Reviewed-by: mullan
2018-12-05 08:48:49 +08:00
Weijun Wang
3254283f79 8210476: sun/security/mscapi/PrngSlow.java fails with Still too slow
Reviewed-by: xuelei, igerasim, rriggs
2018-12-03 23:58:15 +08:00
Weijun Wang
320616a865 8214179: Add groupname info into keytool -list and -genkeypair output
Reviewed-by: mullan
2018-12-01 21:58:05 +08:00
Xue-Lei Andrew Fan
388e1ebbba 8210985: Update the default SSL session cache size to 20480
Reviewed-by: jnimeh, mullan
2018-11-29 08:43:12 -08:00
Weijun Wang
b1c4b461f1 8214100: use of keystore probing results in unnecessary exception thrown
Reviewed-by: mullan
2018-11-27 08:51:20 +08:00
Weijun Wang
c20332c412 8212003: Deprecating the default keytool -keyalg option
Reviewed-by: mullan, xuelei
2018-11-17 18:11:23 +08:00
Adam Petcher
12d64aaeba 8213363: X25519 private key PKCS#8 encoding/decoding is incorrect
Fixed private key format to match spec in RFC 8410

Reviewed-by: mullan
2018-11-15 13:22:29 -05:00
Jamil Nimeh
acd81b508e 8212885: TLS 1.3 resumed session does not retain peer certificate chain
Reviewed-by: xuelei, wetmore
2018-11-13 18:22:52 -08:00
Weijun Wang
65dc116bf6 8213400: Support choosing group name in keytool keypair generation
Reviewed-by: apetcher, xuelei
2018-11-14 08:46:25 +08:00
Xue-Lei Andrew Fan
1b20a6781f 8213694: Test Timeout.java should run in othervm mode
Reviewed-by: jnimeh
2018-11-09 10:15:43 -08:00
Martin Balao
7724fd6d9b 8213154: Update copyright headers of files in src tree that are missing Classpath exception
Reviewed-by: andrew
2018-11-08 18:10:15 -03:00
Valerie Peng
c8c41d1444 8211049: Second parameter of "initialize" method is not used
Use the specified random object instead of system default

Reviewed-by: weijun
2018-11-07 01:04:26 +00:00
Anthony Scarpino
f7fc720c9c 8211339: NPE during SSL handshake caused by HostnameChecker
Reviewed-by: xuelei
2018-11-06 10:10:18 -08:00
Weijun Wang
ae77ef7d7a 8213007: Update the link in test/jdk/sun/security/provider/SecureRandom/DrbgCavp.java
Reviewed-by: mullan
2018-10-26 22:58:04 +08:00
Sean Mullan
7727e4ca2f 8211883: Disable anon and NULL cipher suites
Reviewed-by: jnimeh
2018-10-25 13:55:28 -04:00
Sean Mullan
a675a48940 8195793: Remove GTE CyberTrust Global Root
Reviewed-by: rhalade
2018-10-19 09:31:57 -04:00
John Jiang
f507e3c9d1 8211971: Move security/cacerts/VerifyCACerts.java and security/CheckBlacklistedCerts.java
Move lib/security tests to sun/security/lib

Reviewed-by: weijun
2018-10-16 10:16:04 +08:00
Weijun Wang
9452b88d93 8210821: Support dns_canonicalize_hostname in krb5.conf
Reviewed-by: valeriep
2018-10-02 16:02:35 +08:00
John Jiang
afe05800ac 8209546: Make sun/security/tools/keytool/autotest.sh to support macosx
Refactor autotest.sh to java test and remove standard.sh

Reviewed-by: weijun
2018-09-28 15:42:20 +08:00
Igor Ignatyev
82ed2a5fc0 8210894: remove jdk/testlibrary/Asserts
Reviewed-by: serb
2018-09-21 14:50:06 -07:00
Martin Balao
aafb2b0474 8029661: Support TLS v1.2 algorithm in SunPKCS11 provider
TLS v1.2 algorithms for key and MAC derivation added to SunPKCS11 crypto provider.

Reviewed-by: valeriep
2018-09-12 13:09:51 +02:00
Anthony Scarpino
b27f471bdd 8209031: SSLSocket should throw an exception when configuring DTLS
Reviewed-by: xuelei
2018-09-17 14:04:46 -07:00
Igor Ignatyev
8b28ad6efe 8210732: remove jdk.testlibrary.Utils
Reviewed-by: alanb, jcbeyler
2018-09-14 14:02:57 -07:00
Igor Ignatyev
2702b5c299 8182404: remove jdk.testlibrary.JDKToolFinder and JDKToolLauncher
Reviewed-by: amenkov, jcbeyler, alanb
2018-09-10 14:23:37 -07:00
Igor Ignatyev
21a0458422 8210112: remove jdk.testlibrary.ProcessTools
Reviewed-by: alanb, sspitsyn, jcbeyler
2018-09-07 14:01:52 -07:00