Fixes 246469

This should fix the DSA-signing-on-tar-gzs issue. Sparkle now doesn't let NSURLDownload extract .gzips for us, which was making the data being verified different from the data being signed.
This commit is contained in:
Andy Matuschak committed 2008-07-15 21:36:48 -07:00
1 parent 5fdddaeede
commit c9bd13213b
2 files changed
+7 -1

No files matched your search

+6
View File
@@ -161,6 +161,12 @@
[self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SURelaunchError userInfo:[NSDictionary dictionaryWithObjectsAndKeys:SULocalizedString(@"An error occurred while downloading the update. Please try again later.", nil), NSLocalizedDescriptionKey, [error localizedDescription], NSLocalizedFailureReasonErrorKey, nil]]];
}
- (BOOL)download:(NSURLDownload *)download shouldDecodeSourceDataOfMIMEType:(NSString *)encodingType
{
if ([encodingType isEqualToString:@"application/gzip"]) return NO;
return YES;
}
- (void)extractUpdate
{
// DSA verification, if activated by the developer
+1 -1
View File
@@ -125,7 +125,7 @@
isa = PBXContainerItemProxy;
containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 8DC2EF4F0486A6940098B216 /* Sparkle */;
remoteGlobalIDString = 8DC2EF4F0486A6940098B216;
remoteInfo = Sparkle;
};
DAAEFD4F0DA572460051E0D0 /* PBXContainerItemProxy */ = {