Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have a .bundle that is digitally signed. I can verify this by opening the bundle by selecting "Show Package Contents" and indeed there is a _CodeSignature directory underneath the bundle.

However, I am trying to figure out who is the signer of the bundle. Is there any way with Xcode, or any other tool, command line or otherwise, to view the certificate that was used to sign the bundle?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

If you have the optional command line tools that XCode will install for you, codesign is the tool of choice.

Using the Terminal app:

$ codesign --display -vv /Applications/GarageBand.app/
Executable=/Applications/GarageBand.app/Contents/MacOS/GarageBand
Identifier=com.apple.garageband
Format=bundle with Mach-O thin (i386)
CodeDirectory v=20100 size=24489 flags=0x200(kill) hashes=1218+3 location=embedded
Signature size=4169
Authority=Apple Mac OS Application Signing
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Info.plist entries=27
Sealed Resources rules=14 files=2021
Internal requirements count=2 size=500

And a non-Apple signed app..

$ codesign --display -vv /Applications/iTerm.app/
[snip]
Authority=Developer ID Application: GEORGE NACHMAN
share|improve this answer
    
Yep, that does it. Thanks. –  vcsjones Jul 29 '12 at 22:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.