Commit graph

220 commits

Author SHA1 Message Date
Henry Jen
ae81cfa30f Merge 2020-01-15 01:54:35 +00:00
Anthony Scarpino
7ed4930a8e 8236098: AlgorithmConstraints:permits method not throwing IAEx when primitives are empty
Reviewed-by: xuelei
2020-01-08 13:25:03 -08:00
Jesper Wilhelmsson
943b87ddde Merge 2020-01-09 20:21:53 +01:00
Anthony Scarpino
ca112043f1 8233228: Disable weak named curves by default in TLS, CertPath, and Signed JAR
Reviewed-by: mullan, xuelei, weijun
2019-12-18 12:10:09 -08:00
Weijun Wang
f3815c85a1 8231139: Improved keystore support
Reviewed-by: mullan, ahgross
2019-10-09 17:42:38 +08:00
Weijun Wang
bc19b64856 8234744: KeyStore.store can write wrong type of file
Reviewed-by: mullan
2019-12-03 14:38:18 +08:00
Weijun Wang
d5b423d17c 8234377: new BitArray(0).toString() throws ArrayIndexOutOfBoundsException
Reviewed-by: mullan, wetmore
2019-11-20 08:12:14 +08:00
Ivan Gerasimov
8e859259bc 8233884: Avoid looking up standard charsets in security libraries
Reviewed-by: coffeys
2019-11-12 01:36:17 -08:00
Jesper Wilhelmsson
e788e6dd46 Merge 2019-12-18 23:46:55 +01:00
Weijun Wang
1ae2478404 8234697: Generate sun.security.util.math.intpoly classes during build
Reviewed-by: erikj, mullan
2019-12-14 13:50:34 +08:00
Henry Jen
8d141f1048 Merge 2019-10-14 21:01:25 +00:00
Joe Darcy
fbb4093562 8231262: Suppress warnings on non-serializable instance fields in security libs serializable classes
Reviewed-by: mullan, chegar
2019-10-09 09:57:41 -07:00
Joe Darcy
6d4ef5aaf3 8229999: Apply java.io.Serial annotations to security types in java.base
Reviewed-by: rriggs, mullan
2019-08-29 10:52:21 -07:00
Claes Redestad
2c245bd2b9 8229773: Resolve permissions for code source URLs lazily
Reviewed-by: alanb, mullan, rriggs, dfuchs
2019-08-19 06:13:52 +02:00
Xue-Lei Andrew Fan
316140ff92 8226374: Restrict TLS signature schemes and named groups
Reviewed-by: mullan
2019-08-12 21:36:29 -07:00
Mikael Vidstedt
895db11053 Merge 2019-07-29 09:59:04 -07:00
Leo Jiang
4b791747ef 8228623: Update copyright year to 2019 for several java properties file
Reviewed-by: naoto
2019-07-26 11:47:50 +08:00
Mikael Vidstedt
f73a94a772 Merge 2019-07-23 11:17:59 -07:00
Mikael Vidstedt
f08a9de3b2 Merge 2019-07-17 04:33:37 -07:00
Mikael Vidstedt
cfcd0223a9 Merge 2019-07-12 02:50:43 -07:00
Valerie Peng
175faeeadf 8225745: NoSuchAlgorithmException exception for SHA256withECDSA with RSASSA-PSS support
Fixed SignatureUtil and ECDSA signature impl to handle EC parameters

Reviewed-by: weijun
2019-07-11 20:11:47 +00:00
Philipp Kunz
b6d1b1e085 8217375: jarsigner breaks old signature with long lines in manifest
Reviewed-by: jjiang, weijun
2019-07-18 08:53:06 +08:00
Sean Mullan
a7a94701fe 8226307: Curve names should be case-insensitive
Reviewed-by: igerasim, jnimeh, wetmore
2019-06-21 08:38:26 -04:00
Valerie Peng
8813b93095 8080462: Update SunPKCS11 provider with PKCS11 v2.40 support
Added support for GCM, PSS, and other mechanisms

Reviewed-by: jnimeh
2019-06-11 21:30:28 +00:00
Weijun Wang
cd020a13c9 8222751: closed/test/jdk/sun/security/util/DerIndefLenConverter/IndefBerPkcs12.java fail
Reviewed-by: jnimeh, ascarpino, ssahoo, skoivu
2019-04-23 08:34:51 +08:00
Xue-Lei Andrew Fan
bac946663d 8218873: Improve JSSE endpoint checking
Reviewed-by: mullan, ahgross, rhalade
2019-04-11 17:58:18 -07:00
Jamil Nimeh
9785630af6 8219775: Certificate validation improvements
Reviewed-by: ascarpino, ssahoo, skoivu
2019-03-07 22:19:12 -08:00
Claes Redestad
d3ccef96e5 8224589: Improve startup behavior of SecurityProperties
Reviewed-by: alanb
2019-05-22 13:19:04 +02:00
Valerie Peng
3b6b6b3cb3 8216039: TLS with BC and RSASSA-PSS breaks ECDHServerKeyExchange
Add internal Signature init methods to select provider based on both key and parameter

Reviewed-by: xuelei
2019-04-10 02:35:18 +00:00
Weijun Wang
e0f37c15e4 8157404: Unable to read certain PKCS12 keystores from SequenceInputStream
Reviewed-by: xuelei
2019-04-02 10:17:30 +08:00
Weijun Wang
9eb755e85e 8209901: Canonical file handling
Reviewed-by: mullan, alanb, ahgross
2019-04-22 13:01:57 +08:00
Michael McMahon
e4553cb2fa 8217997: Better socket support
Reviewed-by: alanb, ahgross, chegar, igerasim
2019-03-25 17:15:27 +00:00
Chris Hegarty
b34264403a 8220598: Malformed copyright year range in a few files in java.base
Reviewed-by: dfuchs, lancea, rriggs, weijun
2019-03-14 09:10:56 +00:00
Andrey Turbanov
cfeb359800 8218022: Repeated words typos in java.base
Reviewed-by: alanb, lancea, mchung
2019-01-30 00:24:32 +00:00
Xue-Lei Andrew Fan
0ea0aea6c2 8217820: Useless cast in ECUtil.java
Reviewed-by: jnimeh
2019-01-25 18:43:02 -08:00
Weijun Wang
54815061a1 8215937: Check usages of security-related Resources files
Reviewed-by: mullan
2019-01-19 09:20:47 +08:00
Leo Jiang
0486227784 8215994: JDK 12 l10n resource file update - msg drop 10
Reviewed-by: billyh, ssadetsky, naoto
2019-01-09 00:25:41 -08: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
Claes Redestad
a3df1d618e 8215281: Use String.isEmpty() when applicable in java.base
Reviewed-by: dfuchs, alanb
2018-12-13 15:31:05 +01:00
Weijun Wang
a438a0766c 8213010: Supporting keys created with certmgr.exe
Reviewed-by: valeriep
2018-12-13 17:28:30 +08: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
Roger Riggs
938b844088 8214971: Replace use of string.equals("") with isEmpty()
Reviewed-by: jlaskey, prappo, lancea, dfuchs, redestad
2018-12-07 11:51:17 -05:00
Anthony Scarpino
f7fc720c9c 8211339: NPE during SSL handshake caused by HostnameChecker
Reviewed-by: xuelei
2018-11-06 10:10:18 -08:00
Mandy Chung
9ffe7e1205 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
Claes Redestad
d5d74f0e26 8211860: Avoid reading security properties eagerly on Manifest class initialization
Reviewed-by: mullan, alanb
2018-10-08 18:16:03 +02:00
Matthias Baesken
be56cc5bf3 8207768: Improve exception messages during manifest parsing of jar archives
Reviewed-by: clanger, mullan, weijun
2018-09-12 11:13:09 +02:00
Adam Petcher
c3cc65bd08 8201317: X25519/X448 code improvements
Minor code/comment improvements

Reviewed-by: xuelei
2018-08-29 12:00:47 -04:00
Valerie Peng
b0af57a018 8179098: Crypto AES/ECB encryption/decryption performance regression (introduced in jdk9b73)
Do bounds check per encryption/decryption call instead of per block

Reviewed-by: ascarpino, redestad
2018-07-13 02:36:42 +00:00
Roger Riggs
4098f2560a 8066709: Make some JDK system properties read only
Reviewed-by: lancea, sundar, bchristi, weijun, mchung, alanb, mullan
2018-06-27 09:36:34 -04:00
Adam Petcher
a7e35cb988 8203228: Branch-free output conversion for X25519 and X448
Make some field arithmetic operations for X25519/X448 more resilient against side-channel attacks

Reviewed-by: ascarpino
2018-06-26 11:14:27 -04:00