问题
For EXE and MSI files that we produce, we use signtool.exe from the SDK on our build server.
We also produce XLS files that have macros in them. We don't build them, but we package them up using the build server. I have not found a way to sign the XLS file from a command line. It seems that the only way to do it is through the Excel application UI.
If there is no way to sign the XLS file from command line I'd like for our build server to at least VERIFY, that the XLS files, that it gets from source control, are signed.
signtool.exe doesn't support XLS files. Is there anything that can do either the signing, the verification or both?
回答1:
The only probable solution I could find was a proware-solutions.de a german based VBA security consulting firm, that claims to provide a solution that can auto sign macros wiht it's 'VBA Suite' software. I have not tried it, but if the problem still exists you might want to try that.
来源:https://stackoverflow.com/questions/47933788/command-line-tool-or-code-to-sign-and-or-check-digital-signature-on-an-excel-f