[ 
https://issues.apache.org/jira/browse/MSHARED-1344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17795794#comment-17795794
 ] 

ASF GitHub Bot commented on MSHARED-1344:
-----------------------------------------

schedin opened a new pull request, #11:
URL: https://github.com/apache/maven-jarsigner/pull/11

   Implementation of https://issues.apache.org/jira/browse/MSHARED-1344. Will 
add the possibility to use `-tsapolicyid` and `-tsadigestalg`. Note that 
`-tsadigestalg` is not available in Java 8, but exist in Java 11.
   
   I also increased the next build number to 3.1.0 since this is a new feature. 
   
   When testing, the `-tsadigestalg` looked like it worked fine. But I could 
not find any any combination of TSA server/TSAPolicyId that worked. Here is an 
snippet example of the command line that is produced (with a non-working TSA 
server/TSAPolicyId combo):
   ```
   -tsa http://timestamp.digicert.com -tsapolicyid 1.3.6.1.4.1.6449.1.3.5.2 
-tsadigestalg SHA-512
   ```




> Support for tsapolicyid and tsadigestalg
> ----------------------------------------
>
>                 Key: MSHARED-1344
>                 URL: https://issues.apache.org/jira/browse/MSHARED-1344
>             Project: Maven Shared Components
>          Issue Type: New Feature
>          Components: maven-jarsigner
>            Reporter: Lennart Schedin
>            Priority: Minor
>
> h3. Background
> I wrote the ticket 
> [https://issues.apache.org/jira/projects/MJARSIGNER/issues/MJARSIGNER-74] for 
> implementing support of multiple tsa servers using maven-jarsigner-plugin.
> For MJARSIGNER-74 to be better implemented it would be good if all available 
> tsa-related parameters exist in maven-jarsigner library.
> h3. Suggested feature request
> Implement support for additional Time Stamping Authority (TSA) parameters:
>  # {{-tsapolicyid policyid}}
>  # {{-tsadigestalg algorithm}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to