From 3dc345bc2b9f600974df6acce84ab671ab8c8e5d Mon Sep 17 00:00:00 2001 From: kali Date: Tue, 27 Oct 2020 23:38:13 +0100 Subject: [pkg] sign windows binaries - Resolves: #383 --- docs/build.windows.rst | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'docs') diff --git a/docs/build.windows.rst b/docs/build.windows.rst index 27edcbc..8743126 100644 --- a/docs/build.windows.rst +++ b/docs/build.windows.rst @@ -15,3 +15,36 @@ Assuming you have the vendor path in place and correctly configured, all you nee export PATH="/c/Qt/Qt5/bin/":"/c/Qt/QtIFW-3.2.2/bin":$PATH export VENDOR_PATH=providers make vendor && make installer + + +checking signatures +------------------- +we should be signing all binaries on a release build. + +to check the binaries have proper signatures, you can use the sigcheck +utilities, part of the sysinternals suite: + +https://docs.microsoft.com/en-us/sysinternals/downloads/sysinternals-suite + +unzip and place sigcheck.exe somewhere in your path. + +make sure to pass -accepteula parameter on some manual run so that it does not +ask again. + +adding metadata to binaries +--------------------------- +TODO: add metadata properly +https://github.com/electron/rcedit/releases/tag/v1.1.1 +https://stackoverflow.com/questions/284258/how-do-i-set-the-version-information-for-an-existing-exe-dll + +the steps to do release signatures are:: + + make build + make dosign + make installer + make sign_installer + + +unreviewed notes +---------------- +see comment about patching dlls and windeployqt not being needed anymore https://stackoverflow.com/a/61910592 -- cgit v1.2.3