From e635c5b43df0ed6f28c05429dae126d645ac8717 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Wed, 10 Jul 2019 17:12:00 +0200 Subject: [feat] windows templates --- branding/templates/windows/tools/README-cert.txt | 1 + branding/templates/windows/tools/README-signtool.txt | 17 +++++++++++++++++ .../templates/windows/tools/windows10-signing.zip | Bin 0 -> 1186278 bytes 3 files changed, 18 insertions(+) create mode 100644 branding/templates/windows/tools/README-cert.txt create mode 100644 branding/templates/windows/tools/README-signtool.txt create mode 100644 branding/templates/windows/tools/windows10-signing.zip (limited to 'branding/templates/windows/tools') diff --git a/branding/templates/windows/tools/README-cert.txt b/branding/templates/windows/tools/README-cert.txt new file mode 100644 index 0000000..e532997 --- /dev/null +++ b/branding/templates/windows/tools/README-cert.txt @@ -0,0 +1 @@ +openssl pkcs12 -inkey privatekey.pem -in signing_cert.pem -export -out LEAP.pfx diff --git a/branding/templates/windows/tools/README-signtool.txt b/branding/templates/windows/tools/README-signtool.txt new file mode 100644 index 0000000..51ebbf5 --- /dev/null +++ b/branding/templates/windows/tools/README-signtool.txt @@ -0,0 +1,17 @@ +Source: https://stackoverflow.com/questions/31869552/how-to-install-signtool-exe-for-windows-10 +----------------------------------------------------------------------------------------------- + +If you only want SignTool and really want to minimize the install, here is a way that I just reverse-engineered my way to: + +Download the .iso file from https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk (current download link is http://go.microsoft.com/fwlink/p/?LinkID=2022797) The .exe download will not work, since it's an online installer that pulls down its dependencies at runtime. +Unpack the .iso with a tool such as 7-zip. +Install the Installers/Windows SDK Signing Tools-x86_en-us.msi file - it's only 388 KiB large. For reference, it pulls in its files from the following .cab files, so these are also needed for a standalone install: +4c3ef4b2b1dc72149f979f4243d2accf.cab (339 KiB) + 685f3d4691f444bc382762d603a99afc.cab (1002 KiB) + e5c4b31ff9997ac5603f4f28cd7df602.cab (389 KiB) + e98fa5eb5fee6ce17a7a69d585870b7c.cab (1.2 MiB) + There we go - you will now have the signtool.exe file and companions in C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64 (replace x64 with x86, arm or arm64 if you need it for another CPU architecture.) + +It is also possible to commit signtool.exe and the other files from this folder into your version control repository if want to use it in e.g. CI scenarios. I have tried and it seems to work fine. + +(All files are probably not necessary since there are also some other .exe tools in this folder that might be responsible for these dependencies, but I am not sure which ones could be removed to make the set of files even smaller. Someone else is free to investigate further in this area. :) I tried to just copy signtool.* and that didn't work, so at least some of the other files are needed.) diff --git a/branding/templates/windows/tools/windows10-signing.zip b/branding/templates/windows/tools/windows10-signing.zip new file mode 100644 index 0000000..2d1858d Binary files /dev/null and b/branding/templates/windows/tools/windows10-signing.zip differ -- cgit v1.2.3