API/Library to replace signtool.exe

后端 未结 4 601
旧时难觅i
旧时难觅i 2020-12-30 09:03

The Windows SDK ships with a tool called signtool.exe that lets you sign a file with a certificate. I need to do the same thing but in a background service so I\'m on the lo

4条回答
  •  轮回少年
    2020-12-30 09:12

    I'm getting the same problem as Sebastien. Looking into the API's, it appears that this is for signing enveloped messages. Authenticode -- the code-signing that signtool does -- is different, which is why the EXE doesn't run after the signing.

    I'm still looking for alternatives.

提交回复
热议问题