Difference between revisions of "Code Signing for Windows"

From Lazarus wiki
Jump to navigationJump to search
Line 12: Line 12:
 
* [[Code signing]]
 
* [[Code signing]]
 
* https://docs.microsoft.com/en-us/windows/win32/seccrypto/signtool - official documentation
 
* https://docs.microsoft.com/en-us/windows/win32/seccrypto/signtool - official documentation
 +
* https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/ - Windows 10 sdk download page
 
[[Category:Code signing]]
 
[[Category:Code signing]]
 
[[Category:Windows]]
 
[[Category:Windows]]

Revision as of 06:54, 12 February 2021

Signtool

Signtool comes as a part of Windows 10 SDK. The binary is typically installed at

C:\Program Files (x86)\Windows Kits\10\bin\__version__\x64

1. Install (or generate the certificate) into Windows Certificate Center. EV certificates should also be installed, but signing them requires the hardware key to be present at the time of signing

2. Very basic sign command line:

signtool sign project1.exe

See Also