Skip to content

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

Description

@volks73

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.

Activity

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions