mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-29 05:24:26 +00:00
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:
1 parent
5fdddaeede
commit
c9bd13213b
2 files changed
+7
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = 8DC2EF4F0486A6940098B216 /* Sparkle */;
|
||||
remoteGlobalIDString = 8DC2EF4F0486A6940098B216;
|
||||
remoteInfo = Sparkle;
|
||||
};
|
||||
DAAEFD4F0DA572460051E0D0 /* PBXContainerItemProxy */ = {
|
||||
|
||||
Reference in new issue
Block a user