mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
This patch prevents malicious downgrades, which are still possible with DSA validation: suppose there's some (signed) version with a security hole. A malicious attacker could serve an appcast with that version's URL and DSA signature, but a higher version number, forcing the user to "upgrade" to the version with the security hole. While I was at it, I fixed a bug that should have completely stopped .pkg installation from working since 1.5b1. Why didn't I hear anything about that? Does anyone actually use .pkgs? It still needs testing to be sure it works.
19 lines
320 B
Objective-C
19 lines
320 B
Objective-C
//
|
|
// SUPackageInstaller.h
|
|
// Sparkle
|
|
//
|
|
// Created by Andy Matuschak on 4/10/08.
|
|
// Copyright 2008 Andy Matuschak. All rights reserved.
|
|
//
|
|
|
|
#ifndef SUPACKAGEINSTALLER_H
|
|
#define SUPACKAGEINSTALLER_H
|
|
|
|
#import "Sparkle.h"
|
|
#import "SUPlainInstaller.h"
|
|
|
|
@interface SUPackageInstaller : SUPlainInstaller { }
|
|
@end
|
|
|
|
#endif
|