Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command line option for the sign tool to change hash algorithm #154

Open
volks73 opened this issue Jan 19, 2022 · 0 comments
Open

Add command line option for the sign tool to change hash algorithm #154

volks73 opened this issue Jan 19, 2022 · 0 comments
Assignees

Comments

@volks73
Copy link
Owner

volks73 commented Jan 19, 2022

The /fd <hash_algorithm> is now required for the signtool (#149). The immediate fix is to hard-code the certHash value for the <hash_algorithm>. This is fine for now, but a command line argument and related [metadata.package.wix] field should be added to allow override of this option by the user if needed in the future.

From the SignTool.exe documentation:

/fd | Specifies the file digest algorithm to use for creating file signatures. Note: An error is generated if the /fd switch is not provided while signing.

/fd certHash | Specifying the string certHash will default to the algorithm used on the signing certificate. Note: An error is generated if the /fd switch is not provided while signing.

@volks73 volks73 self-assigned this Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant