From b390cd147f0faae9c322282376fba3bed6d0ce86 Mon Sep 17 00:00:00 2001 From: Zorg Date: Sat, 14 Nov 2026 16:32:12 -0800 Subject: [PATCH] Avoid using host bundle filename for finding bundle to update (#2953) The user can rename the host bundle filename so it's not reliable and gives a false sense of reliability. We keep matching against the name of the bundle derived from the Info.plist and the bundle identifier. --- Autoupdate/SUInstaller.m | 32 +++++++++++---- Sparkle/SUHost.h | 1 + Sparkle/SUHost.m | 37 ++++++++++++------ .../Both.bundle/Contents/Info.plist | 2 + .../CodeSignedBoth.bundle/Contents/Info.plist | 2 + .../Contents/_CodeSignature/CodeDirectory | Bin 195 -> 243 bytes .../_CodeSignature/CodeRequirements-1 | Bin 243 -> 0 bytes .../Contents/_CodeSignature/CodeResources | 4 -- .../Contents/Info.plist | 2 + .../Contents/_CodeSignature/CodeDirectory | Bin 198 -> 246 bytes .../_CodeSignature/CodeRequirements-1 | Bin 246 -> 0 bytes .../Contents/_CodeSignature/CodeResources | 4 -- .../Contents/Info.plist | 2 + .../Contents/_CodeSignature/CodeDirectory | Bin 195 -> 243 bytes .../Contents/Info.plist | 2 + .../Contents/_CodeSignature/CodeDirectory | Bin 195 -> 243 bytes .../Contents/Info.plist | 2 + .../Contents/_CodeSignature/CodeDirectory | Bin 195 -> 243 bytes .../_CodeSignature/CodeRequirements-1 | Bin 243 -> 0 bytes .../CodeSignedOnly.bundle/Contents/Info.plist | 2 + .../Contents/_CodeSignature/CodeDirectory | Bin 195 -> 243 bytes .../_CodeSignature/CodeRequirements-1 | Bin 243 -> 0 bytes .../Contents/Info.plist | 2 + .../Contents/_CodeSignature/CodeDirectory | Bin 198 -> 246 bytes .../_CodeSignature/CodeRequirements-1 | Bin 246 -> 0 bytes .../DSAOnly.bundle/Contents/Info.plist | 2 + .../EDOnly.bundle/Contents/Info.plist | 2 + .../None.bundle/Contents/Info.plist | 2 + 28 files changed, 73 insertions(+), 27 deletions(-) delete mode 100644 Tests/Resources/SUUpdateValidatorTest/CodeSignedBoth.bundle/Contents/_CodeSignature/CodeRequirements-1 delete mode 100644 Tests/Resources/SUUpdateValidatorTest/CodeSignedBothNew.bundle/Contents/_CodeSignature/CodeRequirements-1 delete mode 100644 Tests/Resources/SUUpdateValidatorTest/CodeSignedOldED.bundle/Contents/_CodeSignature/CodeRequirements-1 delete mode 100644 Tests/Resources/SUUpdateValidatorTest/CodeSignedOnly.bundle/Contents/_CodeSignature/CodeRequirements-1 delete mode 100644 Tests/Resources/SUUpdateValidatorTest/CodeSignedOnlyNew.bundle/Contents/_CodeSignature/CodeRequirements-1 diff --git a/Autoupdate/SUInstaller.m b/Autoupdate/SUInstaller.m index 609e0995..7a2aa817 100644 --- a/Autoupdate/SUInstaller.m +++ b/Autoupdate/SUInstaller.m @@ -21,6 +21,17 @@ @implementation SUInstaller +static BOOL SUFilenameMatchesAnyName(NSString *filename, NSOrderedSet *names) +{ + for (NSString *name in names) { + // This handles unicode normalization but is still a case sensitive comparison + if ([filename compare:name] == NSOrderedSame) { + return YES; + } + } + return NO; +} + + (nullable NSString *)installSourcePathInUpdateFolder:(NSString *)inUpdateFolder forHost:(SUHost *)host #if SPARKLE_BUILD_PACKAGE_SUPPORT isPackage:(BOOL *)isPackagePtr isGuided:(BOOL *)isGuidedPtr @@ -32,8 +43,15 @@ // Search subdirectories for the application NSString *currentFile, *newAppDownloadPath = nil, - *bundleFileName = [[host bundlePath] lastPathComponent], - *alternateBundleFileName = [[host name] stringByAppendingPathExtension:[[host bundlePath] pathExtension]]; + *bundleExtension = [[host bundlePath] pathExtension]; + NSOrderedSet *hostNames = [host infoDictionaryNames]; + NSMutableOrderedSet *bundleFileNames = [NSMutableOrderedSet orderedSet]; + for (NSString *hostName in hostNames) { + NSString *bundleFileName = [hostName stringByAppendingPathExtension:bundleExtension]; + if (bundleFileName != nil) { + [bundleFileNames addObject:bundleFileName]; + } + } #if SPARKLE_BUILD_PACKAGE_SUPPORT NSString *fallbackPackagePath = nil; @@ -41,7 +59,6 @@ BOOL isGuided = YES; #endif NSDirectoryEnumerator *dirEnum = [[NSFileManager defaultManager] enumeratorAtPath:inUpdateFolder]; - NSString *bundleFileNameNoExtension = [bundleFileName stringByDeletingPathExtension]; while ((currentFile = [dirEnum nextObject])) { NSString *currentPath = [inUpdateFolder stringByAppendingPathComponent:currentFile]; @@ -78,8 +95,7 @@ NSString *currentExtension = [currentFile pathExtension]; NSString *currentFilenameNoExtension = [currentFilename stringByDeletingPathExtension]; #endif - if ([currentFilename isEqualToString:bundleFileName] || - [currentFilename isEqualToString:alternateBundleFileName]) // We found one! + if (SUFilenameMatchesAnyName(currentFilename, bundleFileNames)) // We found one! { #if SPARKLE_BUILD_PACKAGE_SUPPORT isPackage = NO; @@ -89,7 +105,7 @@ #if SPARKLE_BUILD_PACKAGE_SUPPORT } else if ([currentExtension isEqualToString:@"pkg"] || [currentExtension isEqualToString:@"mpkg"]) { - if ([currentFilenameNoExtension isEqualToString:bundleFileNameNoExtension]) { + if (SUFilenameMatchesAnyName(currentFilenameNoExtension, hostNames)) { isPackage = YES; newAppDownloadPath = currentPath; break; @@ -138,13 +154,13 @@ #endif if (!newAppDownloadPath) { - SULog(SULogLevelError, @"Searched %@ for %@.(app%@)", inUpdateFolder, bundleFileNameNoExtension, + SULog(SULogLevelError, @"Searched %@ for {%@}.(app%@) or bundle identifier %@", inUpdateFolder, [hostNames.array componentsJoinedByString:@", "], #if SPARKLE_BUILD_PACKAGE_SUPPORT @"|pkg" #else @"" #endif - ); + , host.bundle.bundleIdentifier); } return newAppDownloadPath; } diff --git a/Sparkle/SUHost.h b/Sparkle/SUHost.h index b0a8b425..13477928 100644 --- a/Sparkle/SUHost.h +++ b/Sparkle/SUHost.h @@ -32,6 +32,7 @@ SUHostDefinitionAttribute @property (readonly, nonatomic, copy) NSString *bundlePath; @property (readonly, nonatomic, copy) NSString *name; +@property (readonly, nonatomic, copy) NSOrderedSet *infoDictionaryNames; @property (readonly, nonatomic, copy) NSString *version; @property (readonly, nonatomic) BOOL validVersion; @property (readonly, nonatomic, copy) NSString *displayVersion; diff --git a/Sparkle/SUHost.m b/Sparkle/SUHost.m index 90410e2f..5147ef0f 100644 --- a/Sparkle/SUHost.m +++ b/Sparkle/SUHost.m @@ -140,19 +140,34 @@ static void *SUHostObservableContext = &SUHostObservableContext; return _bundle.bundlePath; } +- (NSOrderedSet *)infoDictionaryNamesStoppingAtFirstMatch:(BOOL)stopAtFirstMatch SPU_OBJC_DIRECT +{ + NSMutableOrderedSet *names = [NSMutableOrderedSet orderedSet]; + // Allow host bundle to provide a custom name + for (NSString *key in @[@"SUBundleName", @"CFBundleDisplayName", (__bridge NSString *)kCFBundleNameKey]) { + NSString *name = [self objectForInfoDictionaryKey:key ofClass:NSString.class]; + if (name.length > 0) { + [names addObject:name]; + + if (stopAtFirstMatch) { + break; + } + } + } + return [names copy]; +} + +- (NSOrderedSet *)infoDictionaryNames +{ + return [self infoDictionaryNamesStoppingAtFirstMatch:NO]; +} + - (NSString * _Nonnull)name { - NSString *name; - - // Allow host bundle to provide a custom name - name = [self objectForInfoDictionaryKey:@"SUBundleName" ofClass:NSString.class]; - if (name && name.length > 0) return name; - - name = [self objectForInfoDictionaryKey:@"CFBundleDisplayName" ofClass:NSString.class]; - if (name && name.length > 0) return name; - - name = [self objectForInfoDictionaryKey:(__bridge NSString *)kCFBundleNameKey ofClass:NSString.class]; - if (name && name.length > 0) return name; + NSString *name = [self infoDictionaryNamesStoppingAtFirstMatch:YES].firstObject; + if (name != nil) { + return name; + } return [[[NSFileManager defaultManager] displayNameAtPath:[self bundlePath]] stringByDeletingPathExtension]; } diff --git a/Tests/Resources/SUUpdateValidatorTest/Both.bundle/Contents/Info.plist b/Tests/Resources/SUUpdateValidatorTest/Both.bundle/Contents/Info.plist index adfeae95..b10bca18 100644 --- a/Tests/Resources/SUUpdateValidatorTest/Both.bundle/Contents/Info.plist +++ b/Tests/Resources/SUUpdateValidatorTest/Both.bundle/Contents/Info.plist @@ -4,6 +4,8 @@ CFBundleInfoDictionaryVersion 6.0 + CFBundleName + Both CFBundlePackageType BNDL CFBundleSignature diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedBoth.bundle/Contents/Info.plist b/Tests/Resources/SUUpdateValidatorTest/CodeSignedBoth.bundle/Contents/Info.plist index 1637e351..d1048b49 100644 --- a/Tests/Resources/SUUpdateValidatorTest/CodeSignedBoth.bundle/Contents/Info.plist +++ b/Tests/Resources/SUUpdateValidatorTest/CodeSignedBoth.bundle/Contents/Info.plist @@ -4,6 +4,8 @@ CFBundleInfoDictionaryVersion 6.0 + CFBundleName + CodeSignedBoth CFBundlePackageType BNDL CFBundleSignature diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedBoth.bundle/Contents/_CodeSignature/CodeDirectory b/Tests/Resources/SUUpdateValidatorTest/CodeSignedBoth.bundle/Contents/_CodeSignature/CodeDirectory index 601e593bdb33c28611e99bc682872d2c49fa7bd9..ccf3780272ac0a1d8238438523e3f3693baafde6 100644 GIT binary patch delta 176 zcmX@i_?c1d*F7F41_p-D3`~qbiUGvF48#UN%nZapL8fO4OcT|7>-i_HXq2c|JpM*F z{e83c@3)3#?vrOgoyU*}r>I9mC|T_fpT5KkqDAV!u}N>_r0dj28ha+(_gA delta 127 zcmey&c$iV`*F7F41_p-13`~qbiUGu455xvQ%nZapL8dh#j1$#-16WT+xG8N=H0a?C zNLb0k;WU%;N~P4k4WIJaeZ5|#>~L*;=287r=1pZ|Twa{Ye&LM$vv!D;-EpzL!=f<< Gn-~CoA}Rd< diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedBoth.bundle/Contents/_CodeSignature/CodeRequirements-1 b/Tests/Resources/SUUpdateValidatorTest/CodeSignedBoth.bundle/Contents/_CodeSignature/CodeRequirements-1 deleted file mode 100644 index 3ed9ebd918ffc83b4ae1da404137ae971a7f58ab..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 243 zcmex$kB5nYf#EX)6C;pf0I@Fvu>lY>12IsLX^jF%6bkZ-()Ef95{t5PQgsW8^0QKt zOZ0*ve7)e%(1Mi2lGL!ooJ=5{UlfvBT;f!kmy(mJ=bWFC8l0J)mzu(`Lu$`So2$kt zA8t2Xt&aclI(u{GC-=9q(<52tf2vFVVjsl5D&b9jd+?U`>ifUWuNMCM!Hu>3jD=L) w^X}E0-p%osH;9~)p8t~HnDNmjhTxae!!It&{8y;BOZDMHspcss3JJ*r0GWkhN&o-= diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedBoth.bundle/Contents/_CodeSignature/CodeResources b/Tests/Resources/SUUpdateValidatorTest/CodeSignedBoth.bundle/Contents/_CodeSignature/CodeResources index 820c628d..a7b727ac 100644 --- a/Tests/Resources/SUUpdateValidatorTest/CodeSignedBoth.bundle/Contents/_CodeSignature/CodeResources +++ b/Tests/Resources/SUUpdateValidatorTest/CodeSignedBoth.bundle/Contents/_CodeSignature/CodeResources @@ -13,10 +13,6 @@ Resources/test-pubkey.pem - hash - - pR1EGsp5nhk1vr/xfQPT8es9ZBw= - hash2 zD/XQJu4ElPWE6sfqtzoR2vEjdfgi98j/hiRoYZqv9w= diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedBothNew.bundle/Contents/Info.plist b/Tests/Resources/SUUpdateValidatorTest/CodeSignedBothNew.bundle/Contents/Info.plist index 91b89343..7364c763 100644 --- a/Tests/Resources/SUUpdateValidatorTest/CodeSignedBothNew.bundle/Contents/Info.plist +++ b/Tests/Resources/SUUpdateValidatorTest/CodeSignedBothNew.bundle/Contents/Info.plist @@ -4,6 +4,8 @@ CFBundleInfoDictionaryVersion 6.0 + CFBundleName + CodeSignedBothNew CFBundlePackageType BNDL CFBundleSignature diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedBothNew.bundle/Contents/_CodeSignature/CodeDirectory b/Tests/Resources/SUUpdateValidatorTest/CodeSignedBothNew.bundle/Contents/_CodeSignature/CodeDirectory index 52258fbf8b5ed652d37d3b7e83928d39c5968307..31890dbbd7bc03958a2c90e880ec937d9b9a8f60 100644 GIT binary patch delta 176 zcmX@c_>EER*F7F41_p+23`~qbiUGvF2E+zH%nZapL8dnfOcT`t>iH+GXq2c|JpM*F z{e83c@3)3#?bp1!h3_rU27Rd2#47f*ko va{Y9Svd<#H`tJozqPzC81^ncD=yojNzLHpY=%!qG^)(@1w!9)B&-e-eC4xr} delta 127 zcmeyyc#Ki)*F7F41_p*>3`~qbiUGvl1jGhF%nZapL8kR0j1$!Y0$5K*xG8N=H0a?C zNLb0k;WU%;N@b<2w{+UU1HALH=S|RL`Y@B@vc#TkOA1V;OINW^Y@fbr+qGz(b$={G Hv55fyNNg$5 diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedBothNew.bundle/Contents/_CodeSignature/CodeRequirements-1 b/Tests/Resources/SUUpdateValidatorTest/CodeSignedBothNew.bundle/Contents/_CodeSignature/CodeRequirements-1 deleted file mode 100644 index 4c99058f7480b803856bf1d0552d0ce382bfd897..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 246 zcmex$kB5nYf#Dki6C;pf0I{zDu>lY>12IsLX}tnS6bkZ-()Ef95{t5PQgsW8^0QKt zOZ0*ve7)e%(1Mi2lGL!ooJ=5{UlfvBT;f!kmy(mJ=bWFC8l0J)mzv_2TF$UTYR^fV ztHvoGZZ}-5j{ovHdvoR|_qVdsBU$Eus!RT2|CNJr@B6Kj^sZIQ@MxaCvPk#9=?_(J y!Y3C`f1z^ybc}L9X3NpW1t9{-@ Resources/test-pubkey.pem - hash - - pR1EGsp5nhk1vr/xfQPT8es9ZBw= - hash2 zD/XQJu4ElPWE6sfqtzoR2vEjdfgi98j/hiRoYZqv9w= diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedInvalid.bundle/Contents/Info.plist b/Tests/Resources/SUUpdateValidatorTest/CodeSignedInvalid.bundle/Contents/Info.plist index ec0873a4..319e811b 100644 --- a/Tests/Resources/SUUpdateValidatorTest/CodeSignedInvalid.bundle/Contents/Info.plist +++ b/Tests/Resources/SUUpdateValidatorTest/CodeSignedInvalid.bundle/Contents/Info.plist @@ -4,6 +4,8 @@ CFBundleInfoDictionaryVersion 6.0 + CFBundleName + CodeSignedInvalid CFBundlePackageType BNDL CFBundleSignature diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedInvalid.bundle/Contents/_CodeSignature/CodeDirectory b/Tests/Resources/SUUpdateValidatorTest/CodeSignedInvalid.bundle/Contents/_CodeSignature/CodeDirectory index 88a4fb457a9107e5a3883fb0af6748724aae2d2f..839510d4264bb7e6d59c795aa11fdbda60816934 100644 GIT binary patch delta 176 zcmX@i_?c1d*F7F41_p-D3`~qbiUGvF48#UN%nZapK_(vsrip64^=WPQ1QvDaKa@5* zy(9PZniJ~hkGvAh_Fet4B`)e+(!AM0?5h&q-=irzaQLK+s{}?)jjWC v&FS47zw5x99}AVsPHj)0cW>MFohF@`Q`SFeKdjD5AwW>o_LdBz3+b|Ou4 delta 127 zcmey&c$iV`*F7F41_p-13`~qbiUGu455xvQ%nZapK_(#)#))da0m)n(?FL0`)5Ol6 zG5i{rTcXU7TOqY?!>4?9U$0jwJ6v0zc~n1@c~jZ7v22pi{-qP7-d9x1y^K2j(OyFs Gn-~DD3oK~> diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedInvalidOnly.bundle/Contents/Info.plist b/Tests/Resources/SUUpdateValidatorTest/CodeSignedInvalidOnly.bundle/Contents/Info.plist index f0f69b91..4dfd7832 100644 --- a/Tests/Resources/SUUpdateValidatorTest/CodeSignedInvalidOnly.bundle/Contents/Info.plist +++ b/Tests/Resources/SUUpdateValidatorTest/CodeSignedInvalidOnly.bundle/Contents/Info.plist @@ -4,6 +4,8 @@ CFBundleInfoDictionaryVersion 6.0 + CFBundleName + CodeSignedInvalidOnly CFBundlePackageType BNDL CFBundleSignature diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedInvalidOnly.bundle/Contents/_CodeSignature/CodeDirectory b/Tests/Resources/SUUpdateValidatorTest/CodeSignedInvalidOnly.bundle/Contents/_CodeSignature/CodeDirectory index 88a4fb457a9107e5a3883fb0af6748724aae2d2f..839510d4264bb7e6d59c795aa11fdbda60816934 100644 GIT binary patch delta 176 zcmX@i_?c1d*F7F41_p-D3`~qbiUGvF48#UN%nZapK_(vsrip64^=WPQ1QvDaKa@5* zy(9PZniJ~hkGvAh_Fet4B`)e+(!AM0?5h&q-=irzaQLK+s{}?)jjWC v&FS47zw5x99}AVsPHj)0cW>MFohF@`Q`SFeKdjD5AwW>o_LdBz3+b|Ou4 delta 127 zcmey&c$iV`*F7F41_p-13`~qbiUGu455xvQ%nZapK_(#)#))da0m)n(?FL0`)5Ol6 zG5i{rTcXU7TOqY?!>4?9U$0jwJ6v0zc~n1@c~jZ7v22pi{-qP7-d9x1y^K2j(OyFs Gn-~DD3oK~> diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedOldED.bundle/Contents/Info.plist b/Tests/Resources/SUUpdateValidatorTest/CodeSignedOldED.bundle/Contents/Info.plist index a28e3956..a39e1b06 100644 --- a/Tests/Resources/SUUpdateValidatorTest/CodeSignedOldED.bundle/Contents/Info.plist +++ b/Tests/Resources/SUUpdateValidatorTest/CodeSignedOldED.bundle/Contents/Info.plist @@ -4,6 +4,8 @@ CFBundleInfoDictionaryVersion 6.0 + CFBundleName + CodeSignedOldED CFBundlePackageType BNDL CFBundleSignature diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedOldED.bundle/Contents/_CodeSignature/CodeDirectory b/Tests/Resources/SUUpdateValidatorTest/CodeSignedOldED.bundle/Contents/_CodeSignature/CodeDirectory index 573a9ce55a64bb13e9d810cf62d2251b4aceb836..5a505787c3ca84997093e9f198ed355892164fbf 100644 GIT binary patch delta 176 zcmX@i_?c1d*F7F41_p-D3`~qbiUGvF48#UN%nZapL8j#jOcT|7>(koq2`uW;e<*Es zdPnZ*H7C^1A9*F1?YsJ8OI*~uqEep6}Tt7`&GGj1>~Jmg@(P+rHZedig&{>dMCA1nR;=W(2XJmYZy)Qm}D delta 127 zcmey&c$iV`*F7F41_p-13`~qbiUGu455xvQ%nZapL8crL#))da0m)n(?FL0`)5Ol6 zG5i{rTcXU7TOqY?!>4?9U$0jwJ6v0zc~n1@c~hCIw$`Y`cEO6=7OrIz#a)z(#MZ6H GCI$d=ttkrt diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedOldED.bundle/Contents/_CodeSignature/CodeRequirements-1 b/Tests/Resources/SUUpdateValidatorTest/CodeSignedOldED.bundle/Contents/_CodeSignature/CodeRequirements-1 deleted file mode 100644 index 51f9b44237eeebf2befbc4df04effb59493996b1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 243 zcmex$kB5nYf#EX)6C;pf0I@Fvu>lY>12IsLDMtY$3I+K^>3YQliAC8tsk#M4`B|yS zC3?XSzFu%>XhBM1NorVPP9~7fFA7O5E^#W&OUX&qbIwmm4bDu@OHE-&Yr7|~s7wE$ zwAtw$xu@5hP(OdW?jPQSXxG%?@H;mGCCNJ$TD|_5EMxR}26B;Ktg1#zLy@ vdG~5g@8)>-^knX$vqzPbRsIF*dd%GK*wg)Fy;pCa$6-lxwM#FB3CRNhWPe+~ diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedOnly.bundle/Contents/Info.plist b/Tests/Resources/SUUpdateValidatorTest/CodeSignedOnly.bundle/Contents/Info.plist index 896f1cb4..47d4f024 100644 --- a/Tests/Resources/SUUpdateValidatorTest/CodeSignedOnly.bundle/Contents/Info.plist +++ b/Tests/Resources/SUUpdateValidatorTest/CodeSignedOnly.bundle/Contents/Info.plist @@ -4,6 +4,8 @@ CFBundleInfoDictionaryVersion 6.0 + CFBundleName + CodeSignedOnly CFBundlePackageType BNDL CFBundleSignature diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedOnly.bundle/Contents/_CodeSignature/CodeDirectory b/Tests/Resources/SUUpdateValidatorTest/CodeSignedOnly.bundle/Contents/_CodeSignature/CodeDirectory index 88a4fb457a9107e5a3883fb0af6748724aae2d2f..839510d4264bb7e6d59c795aa11fdbda60816934 100644 GIT binary patch delta 176 zcmX@i_?c1d*F7F41_p-D3`~qbiUGvF48#UN%nZapK_(vsrip64^=WPQ1QvDaKa@5* zy(9PZniJ~hkGvAh_Fet4B`)e+(!AM0?5h&q-=irzaQLK+s{}?)jjWC v&FS47zw5x99}AVsPHj)0cW>MFohF@`Q`SFeKdjD5AwW>o_LdBz3+b|Ou4 delta 127 zcmey&c$iV`*F7F41_p-13`~qbiUGu455xvQ%nZapK_(#)#))da0m)n(?FL0`)5Ol6 zG5i{rTcXU7TOqY?!>4?9U$0jwJ6v0zc~n1@c~jZ7v22pi{-qP7-d9x1y^K2j(OyFs Gn-~DD3oK~> diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedOnly.bundle/Contents/_CodeSignature/CodeRequirements-1 b/Tests/Resources/SUUpdateValidatorTest/CodeSignedOnly.bundle/Contents/_CodeSignature/CodeRequirements-1 deleted file mode 100644 index 87de9d38a90181e3345f3e1dce15a35d8dbc6e71..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 243 zcmex$kB5nYf#EX)6C;pf0I@Fvu>lY>12IsLNk{=C3I+K^>3YQliAC8tsk#M4`B|yS zC3?XSzFu%>XhBM1NorVPP9~7fFA7O5E^#W&OUX&qbIwmm4bDu@OHE-&Yr7|~s7wE$ zwAtw$xu@5hP(OdW?jPQSXxG%?@H;mGCCNJ$TD|_5EMxR}26B;Ktg1#zLy@ vdG~5g@8)>_-mP^n>jl=H-0u3$d4{&*vhoSH8dR8<=P~da=bb5=Nk|?5eeqn) diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedOnlyNew.bundle/Contents/Info.plist b/Tests/Resources/SUUpdateValidatorTest/CodeSignedOnlyNew.bundle/Contents/Info.plist index 75558839..5e174b84 100644 --- a/Tests/Resources/SUUpdateValidatorTest/CodeSignedOnlyNew.bundle/Contents/Info.plist +++ b/Tests/Resources/SUUpdateValidatorTest/CodeSignedOnlyNew.bundle/Contents/Info.plist @@ -4,6 +4,8 @@ CFBundleInfoDictionaryVersion 6.0 + CFBundleName + CodeSignedOnlyNew CFBundlePackageType BNDL CFBundleSignature diff --git a/Tests/Resources/SUUpdateValidatorTest/CodeSignedOnlyNew.bundle/Contents/_CodeSignature/CodeDirectory b/Tests/Resources/SUUpdateValidatorTest/CodeSignedOnlyNew.bundle/Contents/_CodeSignature/CodeDirectory index 2a17b071edb831c279dd3c11d0c03e26f290978a..cfa35b0ad9dca6e65690831766891b12b612aa1f 100644 GIT binary patch delta 176 zcmX@c_>EER*F7F41_p+23`~qbiUGvF2E+zH%nZapL8c%Drip3+^=WPQ1QvDaKa@5* zy(9PZniJ~hkGvAh_Fet4B`)e+(!AMUIT-i8-#SU}TD1(1=IJYobPt^VQ1vE!a`E&R wD%VfPD4%B%D;9BczOAPn-00Tz{a)Gv@zmEr3$>E&-+Q+B-m>ik3`~qbiUGvl1jGhF%nZapK_*cV#))bH0m)n(?FL0`)5Ol6 zG5i{rTcXU7TTvlY>12IsLNmKzO3I+K^>3YQliAC8tsk#M4`B|yS zC3?XSzFu%>XhBM1NorVPP9~7fFA7O5E^#W&OUX&qbIwmm4bDu@OHJ`hEoVq;yC<-y zOaGy?+36j*r`McNKY!$vV7Bk-k1cUg?~>-t{>s6)_x;vMde^FDcr;I6S)_a5^oOc9 z;ggG}zfie;I!3v%Z1Zo~vz(LO-*5S3d@yItthZ;ZKdfWF>K<(2GxP8CRfOaLmw{$F diff --git a/Tests/Resources/SUUpdateValidatorTest/DSAOnly.bundle/Contents/Info.plist b/Tests/Resources/SUUpdateValidatorTest/DSAOnly.bundle/Contents/Info.plist index f6fcd9af..f01d1091 100644 --- a/Tests/Resources/SUUpdateValidatorTest/DSAOnly.bundle/Contents/Info.plist +++ b/Tests/Resources/SUUpdateValidatorTest/DSAOnly.bundle/Contents/Info.plist @@ -4,6 +4,8 @@ CFBundleInfoDictionaryVersion 6.0 + CFBundleName + DSAOnly CFBundlePackageType BNDL CFBundleSignature diff --git a/Tests/Resources/SUUpdateValidatorTest/EDOnly.bundle/Contents/Info.plist b/Tests/Resources/SUUpdateValidatorTest/EDOnly.bundle/Contents/Info.plist index d13fad54..689e3dfc 100644 --- a/Tests/Resources/SUUpdateValidatorTest/EDOnly.bundle/Contents/Info.plist +++ b/Tests/Resources/SUUpdateValidatorTest/EDOnly.bundle/Contents/Info.plist @@ -4,6 +4,8 @@ CFBundleInfoDictionaryVersion 6.0 + CFBundleName + EDOnly CFBundlePackageType BNDL CFBundleSignature diff --git a/Tests/Resources/SUUpdateValidatorTest/None.bundle/Contents/Info.plist b/Tests/Resources/SUUpdateValidatorTest/None.bundle/Contents/Info.plist index 70b7ade2..cef76aa5 100644 --- a/Tests/Resources/SUUpdateValidatorTest/None.bundle/Contents/Info.plist +++ b/Tests/Resources/SUUpdateValidatorTest/None.bundle/Contents/Info.plist @@ -4,6 +4,8 @@ CFBundleInfoDictionaryVersion 6.0 + CFBundleName + None CFBundlePackageType BNDL CFBundleSignature