178 Commits

Author SHA1 Message Date
Igor Ignatyev
b3100eb84a 8180888: move jdk.testlibrary.JarUtils to the top level testlibrary
Reviewed-by: weijun
2017-05-30 21:07:08 -07:00
Igor Ignatyev
735d9b2c36 8180397: remove jdk.testlibrary.IOUtils
Reviewed-by: alanb
2017-05-18 15:51:25 -07:00
Lana Steuck
5d5921732e Merge 2017-05-11 20:22:54 +00:00
Magnus Ihse Bursie
97df63049c 8179889: Fix typographic errors in copyright headers
Reviewed-by: erikj, dholmes
2017-05-09 12:57:30 +02:00
Lana Steuck
630db5433c Merge 2017-04-06 04:53:01 +00:00
Weijun Wang
837ceec9a5 8177569: keytool should not warn if signature algorithm used in cacerts is weak
Reviewed-by: mullan
2017-03-30 07:29:58 +08:00
Lana Steuck
e7a144b745 Merge 2017-03-16 20:46:19 +00:00
Lana Steuck
3d3f9fd0b4 Merge 2017-03-13 19:58:52 +00:00
Weijun Wang
ad4f6272db 8176320: sun/security/tools/jarsigner/TsacertOptionTest.java compilation error, all mach 5 tier 2 platforms broken
Reviewed-by: xuelei
2017-03-08 15:35:56 +08:00
Hamlin Li
af9013c96e 8176337: Mark several tests as intermittently failing
Reviewed-by: darcy
2017-03-07 23:01:51 -08:00
Weijun Wang
6b3143e831 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
Reviewed-by: coffeys
2017-03-07 22:42:11 +08:00
Anthony Scarpino
ff277c8508 8160655: Fix denyAfter and usage types for security properties
Reviewed-by: mullan, xuelei
2017-02-08 12:08:28 -08: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
Amanda Jiang
58a825f1b0 8171423: Relocate /test/lib/security/SecurityTools.java
Reviewed-by: weijun, xuelei
2017-01-12 17:10:41 -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
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
Lana Steuck
49d9eb1836 Merge 2017-02-23 17:21:40 +00:00
Lana Steuck
3d53978607 Merge 2017-02-09 18:17:34 +00:00
Joe Darcy
6ab9df4607 8173903: Update various tests to pass under JDK 10
Reviewed-by: lancea, psandoz
2017-02-03 12:36:42 -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
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
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
Sergei Kovalev
0f9675b98e 8165689: Fix module dependencies for sun/security/pkcs11/* tests
Reviewed-by: mullan
2016-09-15 13:03:03 +03:00
Alejandro Murillo
542ac8a147 Merge 2016-08-26 10:02:50 -07:00
Alejandro Murillo
ae1273fa3a Merge 2016-08-19 12:17:32 -07:00
Christian Tornqvist
0731886f09 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:09:53 -04:00
Valerie Peng
c846a862ee 8130181: Deprecate java.security.Provider(String, double, String), add Provider(Strin
Added Provider constructor which uses version String and use sun.security.util.PROVIDER_VER

Reviewed-by: weijun
2016-08-19 06:27:54 +00:00
Weijun Wang
68ec99774e 8141411: keytool can wrongly parse the start date value given by the -startdate option
Reviewed-by: xuelei
2016-08-16 21:28:10 +08:00
Weijun Wang
a347e23de0 8133910: Some sun/security/tools tests failed
Reviewed-by: xuelei
2016-08-11 13:10:54 +08:00
Mandy Chung
e2a0ff3e0d 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Weijun Wang
359795c50d 8162739: Create new keytool option to access cacerts file
Reviewed-by: erikj, vinnie, mullan
2016-08-10 11:30:53 +08:00
Weijun Wang
ebf98a1654 8163489: Avoid using Utils.getFreePort() in TsacertOptionTest.java test
Reviewed-by: chegar
2016-08-10 11:21:01 +08:00
Weijun Wang
3d915b8f78 8162752: keytool -importkeystore should probe srcstoretype if not specified
Reviewed-by: mullan
2016-07-31 09:40:17 +08:00
Weijun Wang
1931ac4196 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
Reviewed-by: valeriep, mchung, mullan
2016-07-12 09:41:49 +08:00
Sibabrata Sahoo
b96909178b 8159861: sun/security/tools/keytool/DefaultSignatureAlgorithm.java timeout
Reviewed-by: xuelei
2016-07-05 10:11:42 -07:00
Sibabrata Sahoo
11ecd00506 8160624: sun/security/tools/keytool/printssl.sh failed with "Socket closed"
Reviewed-by: weijun
2016-07-05 10:04:16 -07:00
Amy Lu
5ded57cbdd 8160658: sun/security/tools/keytool/standard.sh fails on all platforms after JDK-8160415
Reviewed-by: weijun
2016-07-01 12:50:58 +08:00
Tim Du
052984a47c 8160415: Mark sun/security/tools/keytool/standard.sh as intermittently failing
Reviewed-by: weijun
2016-06-29 23:29:07 -07:00
Tim Du
7e1c0f82b6 8146393: sun/security/tools/jarsigner/ts.sh failed on OEL Linux 7 with ar_SA Locale
Reviewed-by: weijun
2016-06-23 19:58:58 -07:00
Weijun Wang
9197f75413 8159805: sun/security/tools/jarsigner/warnings/NoTimestampTest.java fails after JDK-8027781
Reviewed-by: mullan
2016-06-17 21:08:03 +08:00
Weijun Wang
6c14c3fdae 6968542: keytool -importcert cannot deal with duplicate certs
Reviewed-by: xuelei
2016-06-17 09:46:27 +08:00
Weijun Wang
2fdac0ef5e 8158887: sun/security/tools/jarsigner/concise_jarsigner.sh timed out
Reviewed-by: xuelei
2016-06-15 11:42:59 +08:00
Weijun Wang
65360411bb 8152108: Correct jarsigner warning message about missing timestamp
Reviewed-by: mullan
2016-06-01 15:35:38 +08:00
Weijun Wang
06fe4b9a0b 8138766: New default -sigalg for keytool
Reviewed-by: mullan
2016-05-20 11:20:49 +08:00
Anthony Scarpino
b3854d5830 8140422: Add mechanism to allow non default root CAs to be not subject to algorithm restrictions
Reviewed-by: mullan, xuelei
2016-05-02 16:45:38 -07:00