Commit Graph

73 Commits

Author SHA1 Message Date
Ivan Gerasimov e04599aa4a 8191438: jarsigner should print when a timestamp will expire
8027781: New jarsigner timestamp warning is grammatically incorrect
8159805: sun/security/tools/jarsigner/warnings/NoTimestampTest.java fails after JDK-8027781

Reviewed-by: weijun, coffeys, mullan
2018-10-09 15:59:05 -07:00
Ivan Gerasimov eaae3debbe 8190674: sun/security/tools/jarsigner/TimestampCheck.java failed with java.nio.file.NoSuchFileException: ts2.cert
Reviewed-by: mullan
2018-01-17 17:47:16 -08:00
Ivan Gerasimov c8f38d4ac2 8180289: jarsigner treats timestamped signed jar invalid after the signer cert expires
Reviewed-by: mullan
2018-01-17 17:46:25 -08:00
Ivan Gerasimov ca89a35306 8172529: Use PKIXValidator in jarsigner
Reviewed-by: xuelei, mullan, alanb
2018-01-17 17:45:24 -08:00
Ivan Gerasimov 0bc41aff7b 8158887: sun/security/tools/jarsigner/concise_jarsigner.sh timed out
Reviewed-by: xuelei
2018-01-17 17:43:56 -08:00
Ivan Gerasimov cf8341aa4b 8146377: test/sun/security/tools/jarsigner/concise_jarsigner.sh failing
Reviewed-by: xuelei
2018-01-17 17:42:32 -08:00
Ivan Gerasimov 4be03d39fb 8130132: jarsigner should emit warning if weak algorithms or keysizes are used
Reviewed-by: mullan
2018-01-17 17:41:05 -08:00
Ivan Gerasimov 2d5b8c8d8b 8049834: Two security tools tests do not run with only JRE
Reviewed-by: mullan
2018-01-17 17:39:38 -08:00
Prasadarao Koppula 79ae87d905 8057810: New defaults for DSA keys in jarsigner and keytool
Reviewed-by: coffeys, valeriep
2017-08-04 13:02:18 +05:30
Abhijit Saha af5fc8173e Merge 2017-04-04 11:57:35 -07:00
Anthony Scarpino 70c77671bd 8176536: Improved algorithm constraints checking
Reviewed-by: mullan
2017-03-23 08:41:32 -07:00
Ramanand Patil 84e7a64897 8171121: Enhancing jar checking
Reviewed-by: ascarpino
2016-12-26 16:00:45 +05:30
Ramanand Patil fc3e9ac7d9 8169688: Backout (remove) MD5 from jdk.jar.disabledAlgorithms for January CPU
Reviewed-by: igerasim
2016-12-05 10:07:47 -08:00
Rob McKenna 906af4f8a6 8169911: Enhanced tests for jarsigner -verbose -verify after JDK-8163304
Reviewed-by: coffeys
2016-11-23 14:35:00 +00:00
Sean Coffey 9d8281d062 8166432: Bad 8u112 merge of sun/security/tools/jarsigner/warnings/Test.java
Reviewed-by: vinnie
2016-11-14 10:29:58 -08:00
Rob McKenna 0ec5ee77cf 8163304: jarsigner -verbose -verify should print the algorithms used to sign the jar
Reviewed-by: weijun
2016-10-21 14:04:14 +01:00
Ivan Gerasimov 5c3c5ef882 8165816: jarsigner -verify shows jar unsigned if it was signed with a weak algorithm
Reviewed-by: mullan
2016-09-14 11:41:41 +03:00
Abhijit Saha 1cf1085764 Merge 2016-08-08 15:29:16 -07:00
Ivan Gerasimov 3accb41201 8155973: Tighten jar checks
Reviewed-by: mullan, igerasim, ahgross
2016-07-29 00:00:36 +03:00
Sean Coffey fb7b31b7bc 8038837: Add support to jarsigner for specifying timestamp hash algorithm
Reviewed-by: weijun
2016-02-01 16:50:11 +00:00
asmotrak c4bd6881ea 8130041: TsacertOptionTest.java intermittently fails on Mac
Reviewed-by: vinnie
2015-07-14 16:46:28 +01:00
Abhijit Saha 8a22711985 Merge 2017-01-17 08:10:57 -08:00
Rob McKenna 21dedc7f3e 8169911: Enhanced tests for jarsigner -verbose -verify after JDK-8163304
Reviewed-by: coffeys
2016-11-23 14:35:00 +00:00
Sean Coffey eae427a431 8166432: Bad 8u112 merge of sun/security/tools/jarsigner/warnings/Test.java
Reviewed-by: vinnie
2016-11-09 14:22:45 +00:00
Svetlana Nikandrova 3920f48b10 8049171: Additional tests for jarsigner's warnings
Reviewed-by: weijun
2016-05-13 16:36:39 +03:00
Sean Coffey 2d61709a1b 8038837: Add support to jarsigner for specifying timestamp hash algorithm
Reviewed-by: weijun
2016-02-01 16:50:11 +00:00
Weijun Wang c559f43cc8 8036709: Java 7 jarsigner displays warning about cert policy tree
Reviewed-by: mullan
2014-05-29 10:36:06 +08:00
Vladimir Kozlov 0a9698584d Merge 2014-02-19 20:10:55 -08:00
Vladimir Kozlov f6926a9870 Merge 2014-01-22 17:40:55 -08:00
Volker Simonis eb1ee0c0e8 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 bf29bd2e71 8031572: jarsigner -verify exits with 0 when a jar file is not properly signed
Reviewed-by: mullan
2014-01-21 12:08:02 +08:00
Abhijit Saha 4e6a81cca7 Merge 2014-01-08 12:01:29 -08:00
Rob McKenna e8cb8771ab 8163304: jarsigner -verbose -verify should print the algorithms used to sign the jar
Reviewed-by: weijun
2016-10-21 14:04:14 +01:00
Abhijit Saha 9d97df12c1 Merge 2016-08-16 13:03:10 -07:00
Ivan Gerasimov 256006009f 8155973: Tighten jar checks
Reviewed-by: mullan, igerasim, ahgross
2016-07-29 00:00:36 +03:00
Lana Steuck 03b4e5d3ba 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
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
Weijun Wang 9132d85a65 8027026: Change keytool -genkeypair to use -keyalg RSA
Reviewed-by: alanb, chegar, mullan
2013-10-23 08:32:03 +08:00
Artem Smotrakov 36b94773c9 8026037: [TESTBUG] sun/security/tools/jarsigner/warnings.sh test fails on Solaris
Reviewed-by: chegar
2013-10-09 18:58:16 +08:00
Weijun Wang cccb39a270 8024302: Clarify jar verifications
8023338: Update jarsigner to encourage timestamping

Reviewed-by: mullan, ahgross
2013-09-19 10:40:16 +08:00
Weijun Wang c5fd247e16 8022761: regression: SecurityException is NOT thrown while trying to pack a wrongly signed Indexed Jar file
Reviewed-by: sherman
2013-08-27 17:50:55 +08:00
Weijun Wang 9688bbb771 8021789: jarsigner parses alias as command line option (depending on locale)
Reviewed-by: vinnie
2013-08-02 08:59:37 +08:00
Weijun Wang ab7ecdd1b3 8009636: JARSigner including TimeStamp PolicyID (TSAPolicyID) as defined in RFC3161
Reviewed-by: mullan
2013-04-19 15:41:11 +08:00
Xue-Lei Andrew Fan 6d41a58c82 7109274: Restrict the use of certificates with RSA keys less than 1024 bits
This restriction is applied via the Java Security property, "jdk.certpath.disabledAlgorithms". This will impact providers that adhere to this security property.

Reviewed-by: mullan
2012-12-28 00:48:12 -08:00
Mark Sheppard c9063f559f 8003890: corelibs test scripts should pass TESTVMOPTS
Reviewed-by: chegar, alanb
2012-12-13 14:47:35 +00:00
Alan Bateman 430592a30e 7197491: update copyright year to match last edit in jdk8 jdk repository
Reviewed-by: chegar, ksrini
2012-11-02 15:50:11 +00:00
Stephen Flores 037bcf1683 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
Reviewed-by: alanb, weijun, mullan
2012-10-14 22:58:59 +01:00
Alan Bateman 3269d85838 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:34:38 +00:00