SEBWIN-672: Improved error message for signature load error of third-party applications.

This commit is contained in:
Damian Büchel 2023-06-06 12:20:02 +02:00
parent fd55367a7d
commit 204db744aa

View file

@ -2800,7 +2800,8 @@ namespace SebWindowsConfig
} }
catch (Exception e) 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; return permittedApplicationInformation;