Commit Graph

142 Commits

Author SHA1 Message Date
Sean Mullan
db85090553 8338411: Implement JEP 486: Permanently Disable the Security Manager
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Aleksei Efimov <aefimov@openjdk.org>
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Harshitha Onkar <honkar@openjdk.org>
Co-authored-by: Joe Wang <joehw@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Justin Lu <jlu@openjdk.org>
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Naoto Sato <naoto@openjdk.org>
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Co-authored-by: Ian Graves <igraves@openjdk.org>
Co-authored-by: Phil Race <prr@openjdk.org>
Co-authored-by: Erik Gahlin <egahlin@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: kevinw, aivanov, rriggs, lancea, coffeys, dfuchs, ihse, erikj, cjplummer, coleenp, naoto, mchung, prr, weijun, joehw, azvegint, psadhukhan, bchristi, sundar, attila
2024-11-12 17:16:15 +00:00
Sonia Zaldana Calles
8a2a75e56d 8339892: Several security shell tests don't set TESTJAVAOPTS
Reviewed-by: valeriep
2024-11-12 13:19:06 +00:00
Fernando Guallini
c82ad845e1 8342183: Update tests to use stronger algorithms and keys
Reviewed-by: rhalade, ascarpino
2024-11-01 17:52:20 +00:00
Fernando Guallini
ae82cc1ba1 8342188: Update tests to use stronger key parameters and certificates
Reviewed-by: rhalade, ascarpino
2024-10-31 18:28:52 +00:00
Fernando Guallini
f340ab2d36 8342181: Update tests to use stronger Key and Salt size
Reviewed-by: rhalade, ascarpino
2024-10-30 22:14:54 +00:00
Matthew Donovan
9a9ac1d005 8341927: Replace hardcoded security providers with new test.provider.name system property
Reviewed-by: mullan, ascarpino, rhalade
2024-10-30 18:51:02 +00:00
Francisco Ferrari Bihurriet
c6f1d5f374 8319332: Security properties files inclusion
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@openjdk.org>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: weijun, mullan, kdriver
2024-09-23 17:45:38 +00:00
Artur Barashev
56387a0981 8329754: The ThreadSafe attribute is ignored for SecureRandom algorithm aliases
Reviewed-by: weijun
2024-09-09 21:04:04 +00:00
Jamil Nimeh
9b11bd7f4a 8337826: Improve logging in OCSPTimeout and SimpleOCSPResponder to help diagnose JDK-8309754
Reviewed-by: mullan
2024-08-07 21:06:47 +00:00
Fernando Guallini
330e520c1d 8028127: Regtest java/security/Security/SynchronizedAccess.java is incorrect
Reviewed-by: wetmore, mdonovan, rhalade
2024-07-18 22:36:26 +00:00
Fernando Guallini
f4d8c005b3 8334562: Automate com/sun/security/auth/callback/TextCallbackHandler/Default.java test
Reviewed-by: weijun
2024-06-28 12:45:26 +00:00
Sean Mullan
e702646545 8200566: DistributionPointFetcher fails to fetch CRLs if the DistributionPoints field contains more than one DistributionPoint and the first one fails
Reviewed-by: weijun
2024-04-08 20:08:56 +00:00
Aleksey Shipilev
4a14cba2f1 8329213: Better validation for com.sun.security.ocsp.useget option
Reviewed-by: mullan
2024-04-01 17:27:00 +00:00
Aleksey Shipilev
614db2ea9e 8328638: Fallback option for POST-only OCSP requests
Reviewed-by: mullan, rhalade
2024-03-27 14:44:50 +00:00
Alexey Bakhtin
4210e507a0 8320362: Load anchor certificates from Keychain keystore
Reviewed-by: weijun, mullan
2024-03-21 22:28:02 +00:00
Sean Mullan
c4845f01d2 8317431: Implement simpler Comparator when building certification paths
Reviewed-by: kdriver, weijun
2024-03-08 15:20:37 +00:00
Matthew Donovan
430290066c 8319673: Few security tests ignore VM flags
Reviewed-by: weijun, hchao
2024-02-29 12:08:14 +00:00
Sean Coffey
ac1cd31949 8325096: Test java/security/cert/CertPathBuilder/akiExt/AKISerialNumber.java is failing
Reviewed-by: weijun
2024-02-01 13:54:03 +00:00
SendaoYan
432756b6e5 8325024: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java incorrect comment information
Reviewed-by: jnimeh, fyang
2024-02-01 03:08:33 +00:00
Stefan Karlsson
cbe329b90a 8321713: Harmonize executeTestJvm with create[Limited]TestJavaProcessBuilder
Reviewed-by: lkorinth, lmesnik
2024-01-03 08:53:01 +00:00
Ben Perez
c328f9589d 8296787: Unify debug printing format of X.509 cert serial numbers
Reviewed-by: mullan, coffeys
2023-12-14 17:57:36 +00:00
Adam Sotona
2b00ac0d02 8308753: Class-File API transition to Preview
Reviewed-by: ihse, mchung, vromero
2023-12-04 07:07:57 +00:00
Leo Korinth
d52a995f35 8315097: Rename createJavaProcessBuilder
Reviewed-by: lmesnik, dholmes, rriggs, stefank
2023-10-27 08:47:26 +00:00
Weijun Wang
9123961aaa 8318096: Introduce AsymmetricKey interface with a getParams method
Reviewed-by: darcy, mullan, ascarpino
2023-10-26 22:43:06 +00:00
Bradford Wetmore
adca97b659 8286503: Enhance security classes
Reviewed-by: rhalade, mullan, skoivu, weijun
2023-10-17 22:45:06 +00:00
Ben Perez
53516aed38 8304956: Update KeyStore.getDefaultType​() specification to return pkcs12 as fallback
Reviewed-by: hchao, mullan
2023-09-22 17:31:57 +00:00
Erik Joelsson
020255a72d 8267174: Many test files have the wrong Copyright header
Reviewed-by: valeriep, aivanov, iris, dholmes, ihse
2023-09-12 20:16:05 +00:00
Justin Lu
b4b2fecb42 8311081: KeytoolReaderP12Test.java fail on localized Windows platform
Reviewed-by: lancea, jpai, weijun
2023-08-28 20:36:32 +00:00
Ben Perez
9435cd1916 8175874: Update Security.insertProviderAt to specify behavior when requested position is out of range.
Reviewed-by: mullan, valeriep
2023-08-23 18:10:11 +00:00
Matthew Donovan
b20dc1e9cd 8310629: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java fails with RuntimeException Server not ready
Reviewed-by: jnimeh
2023-07-18 10:45:41 +00:00
Sean Coffey
2e12a123c9 8281658: Add a security category to the java -XshowSettings option
Reviewed-by: rriggs, mullan
2023-07-14 07:31:09 +00:00
Jamil Nimeh
5ca4cdd2ca 8309740: Expand timeout windows for tests in JDK-8179502
Reviewed-by: xuelei, mbaesken
2023-06-23 14:52:12 +00:00
Christoph Langer
ac41c03003 8303465: KeyStore of type KeychainStore, provider Apple does not show all trusted certificates
Reviewed-by: mbaesken, weijun
2023-06-05 08:36:47 +00:00
Jamil Nimeh
2836c34b64 8179502: Enhance OCSP, CRL and Certificate Fetch Timeouts
Reviewed-by: mullan
2023-05-23 21:32:28 +00:00
Adam Sotona
5763be7267 8307326: Package jdk.internal.classfile.java.lang.constant become obsolete
Reviewed-by: erikj, liach
2023-05-17 12:45:19 +00:00
Valerie Peng
46e3d24a6f 8155191: Specify that SecureRandom.nextBytes(byte[]) throws NullPointerException when byte array is null
Reviewed-by: mullan
2023-05-12 23:00:00 +00:00
Matthew Donovan
3f6a3545a2 8305169: java/security/cert/CertPathValidator/OCSP/GetAndPostTests.java -- test server didn't start in timely manner
Reviewed-by: ssahoo, jnimeh
2023-05-05 14:17:00 +00:00
Mandy Chung
622f239448 8304163: Move jdk.internal.module.ModuleInfoWriter to the test library
Reviewed-by: jpai, alanb
2023-03-20 17:30:24 +00:00
Jamil Nimeh
da044dd569 8300939: sun/security/provider/certpath/OCSP/OCSPNoContentLength.java fails due to network errors
Reviewed-by: djelinski, weijun
2023-03-14 15:42:47 +00:00
Mark Powers
2e2e71e1fa 8300416: java.security.MessageDigestSpi clone can result in thread-unsafe clones
Reviewed-by: mullan
2023-02-07 17:40:22 +00:00
Bill Huang
20579e48cf 8299994: java/security/Policy/Root/Root.java fails when home directory is read-only
Reviewed-by: rhalade
2023-02-03 19:19:14 +00:00
Jamil Nimeh
1a3cb8c501 8296343: CPVE thrown on missing content-length in OCSP response
Reviewed-by: mullan, rhalade
2023-01-23 18:05:48 +00:00
Bill Huang
a3693ccc61 8295087: Manual Test to Automated Test Conversion
Reviewed-by: ssahoo, rhalade
2022-12-22 16:50:59 +00:00
Severin Gehwolf
cf93933e21 8298271: java/security/SignedJar/spi-calendar-provider/TestSPISigned.java failing on Windows
Reviewed-by: mullan
2022-12-12 15:49:31 +00:00
Severin Gehwolf
4da8411674 8298108: Add a regression test for JDK-8297684
Reviewed-by: mullan
2022-12-07 10:46:53 +00:00
sendaoYan
82561de722 8296384: [TESTBUG] sun/security/provider/SecureRandom/AbstractDrbg/SpecTest.java intermittently timeout
Reviewed-by: weijun, wetmore
2022-12-05 07:41:42 +00:00
Jaikiran Pai
0ce182723b 8294321: Fix typos in files under test/jdk/java, test/jdk/jdk, test/jdk/jni
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: alanb, lancea, dfuchs
2022-11-30 00:37:31 +00:00
Weijun Wang
57f5cfdeb5 8296399: crlNumExtVal might be null inside X509CRLSelector::match
Reviewed-by: xuelei
2022-11-21 15:25:18 +00:00
Weijun Wang
27527b4975 8296612: CertAttrSet is useless
Reviewed-by: mullan
2022-11-10 22:23:58 +00:00
Matthias Baesken
d4376f8b55 8296406: ChainingConstructors jtreg test reduce code duplication
Reviewed-by: mullan
2022-11-09 13:49:46 +00:00