CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

AHCodesignVerifier 0.1

AHCodesignVerifier 0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Mar 2015

Maintained by Eldon Ahrold.



  • By
  • Eldon Ahrold

Simple class to check the code sign of an app bundle or executable.

Currently there are only three methods

To get the name of a certificate used to sign an item

+ (NSString*)certNameOfItemAtPath:(NSString*)path 
                            error:(NSError**)error;

To test whether the codesign of an item is valid

+ (BOOL)codeSignOfItemAtPathIsValid:(NSString *)path
                              error:(NSError**)error;

To compare two items.

+ (BOOL)codesignOfItemAtPath:(NSString*)item1
          isSameAsItemAtPath:(NSString*)item2
                       error:(NSError**)error;

* I use this in priviledged helper tools to check that the NSXPC message sender is valid

See AHCodesignVerifier.h for more details