From 204db744aa91013d17a130e389170d8fb661dc48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20B=C3=BCchel?= Date: Tue, 6 Jun 2023 12:20:02 +0200 Subject: [PATCH] SEBWIN-672: Improved error message for signature load error of third-party applications. --- SebWindowsConfig/SebWindowsConfigForm.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SebWindowsConfig/SebWindowsConfigForm.cs b/SebWindowsConfig/SebWindowsConfigForm.cs index 46a7151b..6e3ed0cd 100644 --- a/SebWindowsConfig/SebWindowsConfigForm.cs +++ b/SebWindowsConfig/SebWindowsConfigForm.cs @@ -2800,7 +2800,8 @@ namespace SebWindowsConfig } catch (Exception e) { - MessageBox.Show(this, $"Failed to load the signature for the permitted process! {e}", "Signature Load Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + Logger.AddWarning($"Signature for application {filename} could not be loaded! {e.Message}", exception: e); + MessageBox.Show(this, "The chosen application has no signature and therefore its integrity cannot be verified when SEB is running.", "Signature Load Error", MessageBoxButtons.OK, MessageBoxIcon.Warning); } return permittedApplicationInformation;