Commit Graph

137 Commits

Author SHA1 Message Date
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
Mandy Chung
53a97cbeb3 8081347: Add @modules to jdk_core tests
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Shobhit Gupta
609fc7915d 8076069: [macosx][TESTBUG] tests failing with Unrecognized system error
Reviewed-by: serb, azvegint, kshefov
2015-04-13 19:39:40 +03:00
Weijun Wang
3fbfa7ee89 8074935: jdk8 keytool doesn't validate pem files for RFC 1421 correctness, as jdk7 did
Reviewed-by: mullan
2015-03-23 08:51:51 +08:00
Weijun Wang
2bcc0c7789 8074018: Named extension not recognized in keytool -ext honored after 8073182
Reviewed-by: mullan
2015-02-28 10:47:07 +08:00
Weijun Wang
c12ac1b4cc 8073853: KeyToolTest.java has too many too long lines
Reviewed-by: mullan
2015-02-26 08:08:52 +08:00
Weijun Wang
b505d5ad05 8073182: keytool may generate duplicate extensions
Reviewed-by: mullan
2015-02-25 18:30:29 +08:00
Weijun Wang
ed25ae3aeb 8073181: keytool -ext honored not working correctly
Reviewed-by: mullan
2015-02-25 18:30:07 +08:00
Weijun Wang
6a34176e9c 8071562: TimestampCheck.java change removes a whitespace between command and args
Reviewed-by: alanb
2015-01-26 21:55:05 +08:00
Artem Smotrakov
1eeff6da6e 8049171: Additional tests for jarsigner's warnings
Reviewed-by: weijun
2015-01-26 18:13:42 +08:00
Vinnie Ryan
d80497254d 8069155: The value of 'KeyStore Type' isn't 'jks'
Reviewed-by: xuelei
2015-01-22 12:33:05 +00:00
Vinnie Ryan
befd7d1c25 8044445: JEP 229: Create PKCS12 Keystores by Default
Reviewed-by: mullan, weijun
2014-12-23 16:30:57 +00:00
David Kocher
15d4deb44a 8046777: apple.security.KeychainStore has a problem searching for identities
Reviewed-by: mullan
2014-11-11 20:11:34 +00:00
Weijun Wang
ed9e73bb66 8057810: New defaults for DSA keys in jarsigner and keytool
Reviewed-by: vinnie
2014-11-05 17:15:09 +08:00
Florian Bruckner
9299e8a8a6 8062264: KeychainStore requires non-null password to be supplied when retrieving a private key
Reviewed-by: mullan
2014-10-29 11:53:37 +00:00
Weijun Wang
5468e30603 8029659: Keytool, print key algorithm of certificate or key entry
Reviewed-by: xuelei
2014-10-14 10:07:44 +08:00
Weijun Wang
76b1f8c99c 8060007: Keytool test can use bundled NSS lib on Mac
Reviewed-by: vinnie
2014-10-09 16:05:24 +08:00
Vinnie Ryan
a8d4acac11 8041740: Test sun/security/tools/keytool/ListKeychainStore.sh fails on Mac
Reviewed-by: mullan
2014-10-05 14:24:44 +01:00
Weijun Wang
4a99ec3dce 8059313: Enable keytool NSS test on Mac
Reviewed-by: vinnie
2014-09-28 10:42:50 +08:00
Weijun Wang
0f6c52abb1 8049834: Two security tools tests do not run with only JRE
Reviewed-by: mullan
2014-07-21 22:09:38 +08:00
Weijun Wang
a22c2ed67f 8046702: default_options.sh test failure on Solaris
Reviewed-by: xuelei
2014-06-13 08:25:50 +08:00
Weijun Wang
53c7b2ac2b 8023197: Pre-configured command line options for keytool and jarsigner
Reviewed-by: xuelei
2014-06-11 18:27:10 +08:00
Weijun Wang
704a20b250 8044747: [TESTBUG] Test sun/security/tools/policytool/i18n.sh fails after clicking 'Done' button in test frame
Reviewed-by: xuelei
2014-06-06 22:31:53 +08:00
Weijun Wang
47e4638160 8044755: Add a test for algorithm constraints check in jarsigner
Reviewed-by: xuelei
2014-06-05 15:27:51 +08:00
Vinnie Ryan
1eef4367df 8044038: Security tests fail on 32 bit linux platform
Reviewed-by: xuelei, weijun
2014-05-29 15:50:36 +01:00
Weijun Wang
1b1639105a 8036709: Java 7 jarsigner displays warning about cert policy tree
Reviewed-by: mullan
2014-05-29 10:36:06 +08:00
Weijun Wang
93378ad4b9 8040321: keytool and jarsigner tests doesn't pass though VM tools to tools
Reviewed-by: alanb
2014-04-25 10:57:09 +08:00
Alexandre Iline
e613bf3290 8039816: Some tests depend on internal API sun.security.action.GetPropertyAction
Replace sun.security.action.GetPropertyAction usages with lambda expressions creating java.security.PrivilegedAction.

Reviewed-by: alanb, mchung, chegar
2014-04-21 13:16:32 -07:00
Alexandre Iline
092e29980a 8039438: Some tests depend on internal API sun.misc.IOUtils
Remove dependency on sun.misc.IOUtils.readFully(InputStream, int, boolean)

Reviewed-by: alanb, mchung, chegar
2014-04-21 13:12:22 -07:00
Weijun Wang
b49a1407bc 8038837: Add support to jarsigner for specifying timestamp hash algorithm
Reviewed-by: vinnie
2014-04-21 10:26:03 +08:00
Rajan Halade
56b41822fb 8033271: Manual security tests have @ignore rather than @run main/manual
Reviewed-by: xuelei, wetmore
2014-03-18 15:04:59 -07:00
Jason Uh
d6207a4ca5 8036844: test failures due to wrong keystore paths
Reviewed-by: weijun
2014-03-07 10:40:03 -08:00