From 9c3ef30f4c643de720f3f23f9c2c06810f9f3f37 Mon Sep 17 00:00:00 2001 From: Zorg Date: Tue, 5 May 2015 21:13:01 -0400 Subject: [PATCH] Diff'ing code-signed xattr's should actually not be supported According to Apple's code signing document: https://developer.apple.com/library/mac/technotes/tn2206/_index.html They don't recommend storing signed non-Mach-O files inside an app. They'd prefer script files for example to be in Resources directory and be unsigned. --- Sparkle/SUBinaryDeltaCreate.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sparkle/SUBinaryDeltaCreate.m b/Sparkle/SUBinaryDeltaCreate.m index da2c5888..29677467 100644 --- a/Sparkle/SUBinaryDeltaCreate.m +++ b/Sparkle/SUBinaryDeltaCreate.m @@ -273,7 +273,7 @@ int createBinaryDelta(NSString *source, NSString *destination, NSString *patchFi } if (codeSignatureExtendedAttributeExists(ent)) { - fprintf(stderr, "\nDiffing code signed extended attributes is not supported yet. Detected extended attribute in before-tree on file %s\n", ent->fts_path); + fprintf(stderr, "\nDiffing code signed extended attributes are not supported. Detected extended attribute in before-tree on file %s\n", ent->fts_path); return 1; } } @@ -335,7 +335,7 @@ int createBinaryDelta(NSString *source, NSString *destination, NSString *patchFi } if (codeSignatureExtendedAttributeExists(ent)) { - fprintf(stderr, "\nDiffing code signed extended attributes is not supported yet. Detected extended attribute in after-tree on file %s\n", ent->fts_path); + fprintf(stderr, "\nDiffing code signed extended attributes are not supported. Detected extended attribute in after-tree on file %s\n", ent->fts_path); return 1; }