Skip to content

[MSHARED-1344] Support for tsapolicyid and tsadigestalg#11

Merged
slachiewicz merged 1 commit into
apache:masterfrom
schedin:MSHARED-1344_tsa
Dec 23, 2023
Merged

[MSHARED-1344] Support for tsapolicyid and tsadigestalg#11
slachiewicz merged 1 commit into
apache:masterfrom
schedin:MSHARED-1344_tsa

Conversation

@schedin

@schedin schedin commented Dec 12, 2023

Copy link
Copy Markdown
Contributor

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 both parameters works. Example command with policy (see OID 2.16.840.1.114412.7.1) that will work with the DigiCert TSA server:

jarsigner -keystore codesignkeystore.jks -storepass password1234 -tsa http://timestamp.digicert.com -tsapolicyid 2.16.840.1.114412.7.1 -tsadigestalg SHA-512 helloworld.jar codesignkey

Adding support for -tsapolicyid and -tsadigestalg
@schedin

schedin commented Dec 21, 2023

Copy link
Copy Markdown
Contributor Author

I updated the pull request with a slight documentation change.

@slachiewicz slachiewicz merged commit c59e2ba into apache:master Dec 23, 2023
@jira-importer

Copy link
Copy Markdown

Resolve #70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants