From a3d4d9fac44b7c804bb904342ff4bc1cac4ba160 Mon Sep 17 00:00:00 2001 From: Zorg Date: Tue, 19 Apr 2016 02:59:33 -0400 Subject: [PATCH] Upgrade warning to alert for signing update over HTTP with no DSA key --- Sparkle/SUUpdater.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sparkle/SUUpdater.m b/Sparkle/SUUpdater.m index a5498ff1..8a7b4bc8 100644 --- a/Sparkle/SUUpdater.m +++ b/Sparkle/SUUpdater.m @@ -132,7 +132,8 @@ static NSString *const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefaults [self showAlertText:@"Insecure update error!" informativeText:@"For security reasons, you need to code sign your application or sign your updates with a DSA key. See Sparkle's documentation for more information."]; } else if (isMainBundle && !hasPublicDSAKey && !servingOverHttps) { - SULog(@"WARNING: Serving updates over HTTP without signing them with a DSA key is deprecated and may not be possible in a future release. Please serve your updates over https, or sign them with a DSA key, or do both. See Sparkle's documentation for more information."); + [self showAlertText:@"Insecure update error!" + informativeText:@"For security reasons, you need to serve your updates over https and/or sign your updates with a DSA key. See Sparkle's documentation for more information."]; } #if __MAC_OS_X_VERSION_MAX_ALLOWED >= 101100