168 Commits

Author SHA1 Message Date
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
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
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
Chris Hegarty
25b68378f6 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 20:12:13 +01:00
Alan Bateman
4af24b6def 8153370: Drop use of old style -XaddExports from tests
Reviewed-by: mchung
2016-04-05 21:18:01 +01:00
Alan Bateman
db4d383614 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Weijun Wang
7d0509800c 8146377: test/sun/security/tools/jarsigner/concise_jarsigner.sh failing
Reviewed-by: xuelei
2016-01-04 17:03:59 +08:00
Weijun Wang
8fc9b58a4e 8130132: jarsigner should emit warning if weak algorithms or keysizes are used
Reviewed-by: mullan
2015-12-02 16:44:57 +08:00
Weijun Wang
a7d92d59f9 8056174: New APIs for jar signing
Reviewed-by: mullan
2015-11-20 08:34:04 +08:00
Chris Hegarty
f17770b428 8138978: Examine usages of sun.misc.IOUtils
Reviewed-by: alanb, mullan, psandoz, rriggs, weijun
2015-10-09 14:21:02 +01:00
Weijun Wang
d9f30b845c 8136436: jarsigner tests include both a warnings.sh and a warnings subdir
Reviewed-by: xuelei
2015-09-17 10:37:39 +08:00
Martin Buchholz
24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
Artem Smotrakov
9ed9f4f4a9 8130041: TsacertOptionTest.java intermittently fails on Mac
Reviewed-by: vinnie
2015-07-14 16:46:28 +01:00