Details
-
Story
-
Status: Closed
-
Severe
-
Resolution: Fixed
-
None
-
CPU: Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz (2400 MHz)
Memory: 16384 MB
OS Version: Mac OS X 10.8.0 Darwin 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64
Graphics Card Vendor: ATI Technologies Inc.
Graphics Card: ATI Radeon HD 6770M OpenGL EngineCPU: Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz (2400 MHz) Memory: 16384 MB OS Version: Mac OS X 10.8.0 Darwin 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64 Graphics Card Vendor: ATI Technologies Inc. Graphics Card: ATI Radeon HD 6770M OpenGL Engine
Description
OS X 10.8 includes a new technology called "Gatekeeper" that prevents the execution of binaries downloaded through popular web browsers if they lack a valid Developer ID signature.
Gatekeeper checks the following:
- Does the package that the executable was contained in have the Quarantine bit?
- Was said executable signed with a Developer ID?
- Is the Developer ID valid?
This changeset allows the viewer to be signed with a Developer ID certificate. It adds the following configuration parameters:
-DENABLE_SIGNING:BOOL
-DSIGNING_IDENTITY:STRING
-DENABLE_SIGNING enables code signing on OS X. By default, it'll attempt to use the default "Developer ID Application" certificate on the system's keychain. For systems that have multiple Developer ID Application certificates installed, this parameter will need to be overridden with -DSIGNING_IDENTITY. An example configuration with this would look like:
autobuild build -c ReleaseOS -- -DENABLE_SIGNING:BOOL=YES -DSIGNING_IDENTITY:STRING="Second\ Life\ Dev\ ID"
|
Please note that your keychain has to be unlocked before attempting to sign the viewer.
Test plan:
- Obtain an Apple Developer ID Application certificate through http://developer.apple.com/ (Requires Mac Developer Program membership)
- Build the viewer from the terminal with:
autobuild build -c ReleaseOS -- -DENABLE_SIGNING:BOOL=YES -DSIGNING_IDENTITY:STRING="Developer\ ID\ Application:\ Your\ Cert\ Name\ Here"
- Allow codesign to access the certificate when prompted to
- Download the resulting DMG through Safari, or another browser that sets the Quarantine bit
- Launch the viewer on OS X 10.8 with the default Gatekeeper settings. A dialog asking if you're sure if you'd like to launch it will pop up. This is expected for all applications not downloaded from the Mac App Store.