Wednesday, March 16, 2016

codesign: Code signing

Verifying a code signature of XLD.app:
$ codesign -dv --verbose=4 /Applications/XLD.app/
Output:
/Applications/XLD.app/: code object is not signed at all
Verifying a code signature of LadioCast.app:
$ codesign -dv --verbose=4 /Applications/LadioCast.app/
Output:
Executable=/Applications/LadioCast.app/Contents/MacOS/LadioCast Identifier=com.kawauso.LadioCast Format=bundle with Mach-O universal (i386 x86_64) CodeDirectory v=20200 size=865 flags=0x0(none) hashes=34+5 location=embedded Hash type=sha1 size=20 CDHash=469de51f853b25a595cfffa3b07ef121f1ab00f8 Signature size=8521 Authority=Developer ID Application: Yosirou Sawayanagi Authority=Developer ID Certification Authority Authority=Apple Root CA Timestamp=Feb 28, 2015, 1:12:47 AM Info.plist entries=25 TeamIdentifier=6SWQJR6TV2 Sealed Resources version=2 rules=12 files=32 Internal requirements count=1 size=216