From 258ad4948b2d575a2cb0310a5fe814f36846986a Mon Sep 17 00:00:00 2001 From: Marcus Ososbase Date: Wed, 4 Apr 2018 16:59:10 -0400 Subject: [PATCH] Disabled Sparkle insecure update warning --- Sparkle/SUUpdater.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Sparkle/SUUpdater.m b/Sparkle/SUUpdater.m index 5d1c73b9..32bb65f9 100644 --- a/Sparkle/SUUpdater.m +++ b/Sparkle/SUUpdater.m @@ -150,8 +150,9 @@ static NSString *const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefaults informativeText:[NSString stringWithFormat:SULocalizedString(@"For security reasons, the file (%@) indicated by the '%@' key needs to exist in the bundle's Resources.", nil), publicDSAKeyFileKey, SUPublicDSAKeyFileKey]]; } else { if (!isMainBundle) { - [self showAlertText:SULocalizedString(@"Insecure update error!", nil) - informativeText:SULocalizedString(@"For security reasons, you need to sign your updates with a DSA key. See Sparkle's documentation for more information.", nil)]; + // Sparkle documentation doesn't explain why this is a requirement. We won't be using DSA keys for now. Codesigning will suffice. +// [self showAlertText:SULocalizedString(@"Insecure update error!", nil) +// informativeText:SULocalizedString(@"For security reasons, you need to sign your updates with a DSA key. See Sparkle's documentation for more information.", nil)]; } else { if (!hostIsCodeSigned) { [self showAlertText:SULocalizedString(@"Insecure update error!", nil)