MacOS – /usr/bin/codesign from Mac 10.9

code-signingmacmacos

The /usr/bin/codesign file on our server was removed. It is running version OS version 10.9. Does anyone know where I can download the codesign file for OSX 10.9? Or can anyone pull it off their computers for me?

Best Answer

From OS X 10.9.1: /usr/bin/codesign

Alternatively, grab it from your Recovery HD:

diskutil mount Recovery\ HD
hdiutil mount /Volumes/Recovery\ HD/com.apple.recovery.boot/BaseSystem.dmg
sudo cp /Volumes/OS\ X\ Base\ System/usr/bin/codesign /usr/bin/codesign

I recommend you do a permissions repair after copying.