Critical security patch--re-enabling signature and downgrade checking.

When merging Uli Kusterer's branch, we left enabled a preprocessor flag that would disable DSA checking and downgrade prevention. That should not have been merged into master. My apologies to the community for not noticing this sooner.
This commit is contained in:
Andy Matuschak committed 2011-11-09 21:22:38 -08:00
1 parent 095d223e70
commit aeeae26d1c
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -15,11 +15,11 @@
// -----------------------------------------------------------------------------
// Turn off DSA signature check (practically invites man-in-the-middle attacks):
#define ENDANGER_USERS_WITH_INSECURE_UPDATES 1
#define ENDANGER_USERS_WITH_INSECURE_UPDATES 0
// Sparkle usually doesn't allow downgrades as they're usually accidental, but
// if your app has a downgrade function or URL handler, turn this on:
#define PERMIT_AUTOMATED_DOWNGRADES 1
#define PERMIT_AUTOMATED_DOWNGRADES 0
// If your app file on disk is named "MyApp 1.1b4", Sparkle usually updates it
// in place, giving you an app named 1.1b4 that is actually 1.2. Turn the
+2 -2
View File
@@ -31,8 +31,8 @@
- (void)updateDriverDidFinish:(NSNotification *)note;
- (NSURL *)parameterizedFeedURL;
-(void) notifyWillShowAlert;
-(void) notifyDidShowAlert;
-(void) notifyWillShowModalAlert;
-(void) notifyDidShowModalAlert;
@end