From 8d980422a4362909ef0b01d1f4cf10be64906773 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Mon, 28 Mar 2022 13:17:34 +0200 Subject: embeddable-dll-service: build: integrate tunnel.dll signing Signed-off-by: Simon Rozman --- embeddable-dll-service/build.bat | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/embeddable-dll-service/build.bat b/embeddable-dll-service/build.bat index eca1f0cf..b4c29000 100644 --- a/embeddable-dll-service/build.bat +++ b/embeddable-dll-service/build.bat @@ -23,6 +23,13 @@ if exist ..\.deps\prepared goto :build call :build_plat amd64 x86_64 amd64 || goto :error call :build_plat arm64 aarch64 arm64 || goto :error +:sign + if exist ..\sign.bat call ..\sign.bat + if "%SigningCertificate%"=="" goto :success + if "%TimestampServer%"=="" goto :success + echo [+] Signing + signtool sign /sha1 "%SigningCertificate%" /fd sha256 /tr "%TimestampServer%" /td sha256 /d "WireGuard Tunnel" x86\tunnel.dll amd64\tunnel.dll arm64\tunnel.dll || goto :error + :success echo [+] Success exit /b 0 -- cgit v1.2.3-59-g8ed1b