Hello,
what file type is your binary file? SignTool only allows signing to some file types. Have a look here: files-supported-for-signing.html
Regards, Guido
Digitally sign binary file
I have use case, where i am evaluating if sign tool can sign binary files ( not windows executable) some encrypted files using digital certificate and then check loading if certificate is valid or not.
But it seems that signtool only allows signing of DLL & EXE for others it throws following error
SignTool Error: This file format cannot be signed because it is not recognized.
I would like to know if there is anyway or some API where we can fulfil our use case?
Windows for business | Windows Client for IT Pros | Devices and deployment | Configure application groups
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
1 answer
Sort by: Most helpful
-
Guido Franzke 2,191 Reputation points2022-12-15T09:31:36.42+00:00