JDK-8038837 : Add support to jarsigner for specifying timestamp hash algorithm
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-03-31
  • Updated: 2017-08-02
  • Resolved: 2014-04-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 JDK 8 JDK 9 Other
6u121Fixed 7u101Fixed 8u101Fixed 9 b11Fixed openjdk7uFixed
Related Reports
Relates :  
Relates :  
Sub Tasks
JDK-8041336 :  
JDK-8041337 :  
JDK-8156556 :  
Description
A new option (-tsadigestalg) should be added to jarsigner to allow alternate and stronger hash algorithms to be specified for the message digest algorithm that is used to generate the message imprint to be sent to the TSA server. Currently, SHA-1 is hard-coded and this cannot be overridden.
Comments
Should be suptasks backported as well?
05-05-2016

Artem K, Svetlana, please make sure that regression tests and changes made in INTJDK-7612196 are sufficient to test this enhancement.
04-04-2016

Release notes: A new -tsadigestalg option is added to jarsigner to specify the message digest algorithm that is used to generate the message imprint to be sent to the TSA server. If this option is not specified, SHA-256 will be used.
21-04-2014