Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.6: Change Safari (and other) app icons' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Change Safari (and other) app icons
Authored by: palahala on Sep 17, '09 01:09:06PM

To validate code signing, I guess something like the following will suffice?

$ codesign --display -vvv /Applications/

For Safari 4.0.3 (on a 32 bit 10.6.1) that has not been altered, this yields:
Format=bundle with Mach-O universal (i386 x86_64)
CodeDirectory v=20100 size=10385 flags=0x0(none) hashes=513+3 location=embedded
Signature size=4064
Authority=Software Signing
Authority=Apple Code Signing Certification Authority
Authority=Apple Root CA
Info.plist entries=27
Sealed Resources rules=10 files=493
Internal requirements count=1 size=316

[ Reply to This | # ]
10.6: Change Safari (and other) app icons
Authored by: palahala on Sep 27, '09 10:09:03AM

My earlier codesign --display -vvv is actually not useful to validate a signature: when using --display then nothing is validated at all. Remove that keyword and you'll see if the signature is valid:

codesign -vvv /Applications/

Which yields either:

/Applications/ valid on disk
/Applications/ satisfies its Designated Requirement


/Applications/ code or signature modified

Quick tests changing the icon for iTunes, Safari and Activity Monitor show no problems with Code Signing.

[ Reply to This | # ]