Commit Graph

124 Commits

Author SHA1 Message Date
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
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Michael Cui
dca4d10631 8028711: TEST_BUG: Shell tests should pass through VM options
Reviewed-by: alanb
2014-02-13 15:59:04 +00:00
Vladimir Kozlov
57b7b831ae Merge 2014-01-28 14:57:41 -08:00
Weijun Wang
49fdbfba20 8031572: jarsigner -verify exits with 0 when a jar file is not properly signed
Reviewed-by: mullan
2014-01-25 18:16:33 +08:00
Volker Simonis
70041ae4e4 8028537: PPC64: Updated the JDK regression tests to run on AIX
Co-authored-by: Jonathan Lu <luchsh@linux.vnet.ibm.com>
Co-authored-by: Steve Poole <spoole@linux.vnet.ibm.com>
Reviewed-by: alanb
2014-01-17 21:54:30 +01:00
Weijun Wang
d4a597432b 8029181: ts.sh generates invalid file after JDK-8027026
Reviewed-by: vinnie, mullan
2013-11-27 09:56:38 +08:00
Weijun Wang
4780d5d560 8027991: InputStream should be closed in sun.security.tools.jarsigner.Main
Reviewed-by: xuelei
2013-11-11 16:54:41 +08:00
Abhijit Saha
15d051e851 Merge 2013-12-07 16:15:08 -08:00
Chris Hegarty
388f28f83b Merge 2013-10-21 15:00:56 +01:00
Leif Samuelsson
a25177c60e 7025699: Policy Tool is not accessible by keyboard
Reviewed-by: alexp, weijun
2013-10-18 08:57:52 +08:00
Jason Uh
9419bb4f59 8026233: test/sun/security/tools/keytool/StorePasswords.java needs to clean up files
Reviewed-by: vinnie
2013-10-17 12:00:20 -07:00
Weijun Wang
286d559a2f 8026712: TEST_BUG: update sun/security/tools/keytool/autotest.sh with a new location to find of libsoftokn3.so
Reviewed-by: vinnie
2013-10-17 20:56:07 +08:00
Weijun Wang
9132d85a65 8027026: Change keytool -genkeypair to use -keyalg RSA
Reviewed-by: alanb, chegar, mullan
2013-10-23 08:32:03 +08:00