diff --git a/ZitiUpdateService/UpdateService.cs b/ZitiUpdateService/UpdateService.cs index f3b8d412..5f8c7fee 100644 --- a/ZitiUpdateService/UpdateService.cs +++ b/ZitiUpdateService/UpdateService.cs @@ -33,8 +33,6 @@ namespace ZitiUpdateService { public bool useGithubCheck { get; private set; } - private static string[] expected_hashes = new string[] { "39636E9F5E80308DE370C914CE8112876ECF4E0C", "51D52749DA021F095B021DF8C09BD62C55C36F1F" }; - private static string[] expected_subject = new string[] { @"CN=""NetFoundry, Inc."", O=""NetFoundry, Inc."", L=Herndon, S=Virginia, C=US", @"CN=NetFoundry Inc., O=NetFoundry Inc., L=Herndon, S=Virginia, C=US" }; private static readonly Logger Logger = LogManager.GetCurrentClassLogger(); @@ -660,16 +658,6 @@ namespace ZitiUpdateService { Logger.Info("the file downloaded uses a known subject. installation and can proceed. [subject:{0}]", subject); } - var hash = signer.GetCertHashString(); - if (!expected_hashes.Contains(hash)) { - Logger.Error("the file downloaded is signed by an unknown certificate! the installation will not proceed. [hash:{0}]", hash); - inUpdateCheck = false; - return; - - } else { - Logger.Info("the file downloaded is signed by a known certificate. installation and can proceed. [subject:{0}]", subject); - } - StopZiti(); StopUI().Wait(); diff --git a/service/build.bat b/service/build.bat index 34d01237..e1b6b27a 100644 --- a/service/build.bat +++ b/service/build.bat @@ -85,6 +85,8 @@ echo REMOVING old build folder if it exists at %TUNNELER_SDK_DIR%build rmdir /s /q %TUNNELER_SDK_DIR%build echo REMOVING ziti.dll at %SVC_ROOT_DIR%ziti.dll del /q %SVC_ROOT_DIR%ziti.dll +echo REMOVING wintun.dll at %SVC_ROOT_DIR%wintun.dll +del /q %SVC_ROOT_DIR%wintun.dll :QUICK