Difference between revisions of "Code Signing for Windows"

From Lazarus wiki
Jump to navigationJump to search
m (Add page template; move categories to template)
Line 1: Line 1:
 +
{{Code_Signing_for_Windows}}
 +
 
==Signtool==
 
==Signtool==
Signtool comes as a part of Windows 10 SDK. The binary is typically installed at  
+
 
 +
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
 
  C:\Program Files (x86)\Windows Kits\10\bin\__version__\x64
  
Line 9: Line 13:
 
  signtool sign project1.exe
 
  signtool sign project1.exe
  
==See Also==
+
==See also==
 +
 
 
* [[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
+
* https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/ - Windows 10 SDK download page
[[Category:Code signing]]
 
[[Category:Windows]]
 

Revision as of 07:42, 12 February 2021

Windows logo - 2012.svg

This article applies to Windows only.

See also: Multiplatform Programming Guide

English (en)


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