<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Mon May 20 22:11:52 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/MB-7250/MB-7250.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[MB-7250] Mac OS X App should be signed by a valid developer key</title>
                <link>http://www.couchbase.com/issues/browse/MB-7250</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Currently launching the Mac OS X version tells you it&amp;#39;s from an unidentified developer. You have to right click to launch the app. We can fix this.</description>
                <environment></environment>
            <key id="20910">MB-7250</key>
            <summary>Mac OS X App should be signed by a valid developer key</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="3" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="plabee">Phil Labee</assignee>
                                <reporter username="jchrisa">J Chris Anderson</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Nov 2012 08:57:59 -0600</created>
                <updated>Thu, 16 May 2013 18:12:06 -0500</updated>
                                    <version>2.0-beta-2</version>
                <version>2.0.2</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>build</component>
                                <votes>0</votes>
                        <watches>6</watches>
                                                    <comments>
                    <comment id="44669" author="farshid" created="Thu, 22 Nov 2012 09:10:32 -0600"  >Chris,&lt;br/&gt;
&lt;br/&gt;
do you know what needs to change on the build machine to embed our developer key ?</comment>
                    <comment id="44672" author="jchrisa" created="Thu, 22 Nov 2012 09:34:42 -0600"  >I have no idea. I could start researching how to get a key from Apple but maybe after the weekend. :)</comment>
                    <comment id="44674" author="farshid" created="Thu, 22 Nov 2012 09:41:04 -0600"  >we can discuss this next week : ) . Thanks for reporting the issue Chris.&lt;br/&gt;
</comment>
                    <comment id="44749" author="steve" created="Mon, 26 Nov 2012 13:25:54 -0600"  >we&amp;#39;ll want separate, related bugs (tasks) for other platforms, too (windows, linux)</comment>
                    <comment id="45101" author="jens" created="Fri, 30 Nov 2012 15:21:14 -0600"  >We need to get a developer ID from Apple; this will give us some kind of cert, and a local private key for signing.&lt;br/&gt;
Then we need to figure out how to get that key and cert onto the build machine, in the Keychain of the account that runs the buildbot.</comment>
                    <comment id="46894" author="farshid" created="Wed, 2 Jan 2013 13:33:16 -0600"  >the instructions to build is available here :&lt;br/&gt;
&lt;a href=&quot;https://github.com/couchbase/couchdbx-app&quot;&gt;https://github.com/couchbase/couchdbx-app&lt;/a&gt;&lt;br/&gt;
we need to add codesign as a build step there</comment>
                    <comment id="48292" author="farshid" created="Tue, 22 Jan 2013 14:29:26 -0600"  >Phil,&lt;br/&gt;
&lt;br/&gt;
do you have any update on this ticket. ?&lt;br/&gt;
</comment>
                    <comment id="48334" author="plabee" created="Tue, 22 Jan 2013 20:31:30 -0600"  >I have signing cert installed on 10.17.21.150 (MacBuild).&lt;br/&gt;
&lt;br/&gt;
Change to Makefile: &lt;a href=&quot;http://review.couchbase.org/#/c/24149/&quot;&gt;http://review.couchbase.org/#/c/24149/&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="48437" author="plabee" created="Wed, 23 Jan 2013 19:20:51 -0600"  >need to change master.cfg and pass env.var. to package-mac</comment>
                    <comment id="48931" author="plabee" created="Tue, 29 Jan 2013 12:54:52 -0600"  >disregard previous.  Have added signing to Xcode projects.&lt;br/&gt;
&lt;br/&gt;
see &lt;a href=&quot;http://review.couchbase.org/#/c/24273/&quot;&gt;http://review.couchbase.org/#/c/24273/&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="49171" author="plabee" created="Thu, 31 Jan 2013 09:39:24 -0600"  >To test this go to System Preferences / Security &amp;amp; Privacy, and on the General tab set &amp;quot;Allow applications downloaded from&amp;quot; to &amp;quot;Mac App Store and Identified Developers&amp;quot;.  Set this before running Couchbase Server.app the first time.  Once an app has been allowed to run this setting is no longer checked for that app, and there doesn&amp;#39;t seem to be a way to reset that.&lt;br/&gt;
&lt;br/&gt;
What is odd is that on my system, I allowed one unsigned build to run before restricting the app run setting, and then no other unsigned builds would be checked (and would all be allowed to run).  Either there is a flaw in my testing methodology, or a serious weakness in this security setting:  Just because one app called Couchbase Server was allowed to run should confer this privilege to other apps with the same name.  A common malware tactic is to modify a trusted app and distribute it as update, and if the security setting keys off the app name it will do nothing to prevent that.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m approving this change without having satisfactorily tested it.</comment>
                    <comment id="49185" author="jens" created="Thu, 31 Jan 2013 11:42:59 -0600"  >Strictly speaking it&amp;#39;s not the app name but its bundle ID, i.e. &amp;quot;com.couchbase.CouchbaseServer&amp;quot; or whatever we use.&lt;br/&gt;
&lt;br/&gt;
&amp;gt; I allowed one unsigned build to run before restricting the app run setting, and then no other unsigned builds would be checked&lt;br/&gt;
&lt;br/&gt;
By OK&amp;#39;ing an unsigned app you&amp;#39;re basically agreeing to toss security out the window, at least for that app. This feature is really just a workaround for older apps. By OK&amp;#39;ing the app you&amp;#39;re not really saying &amp;quot;yes, I trust this build of this app&amp;quot; so much as &amp;quot;yes, I agree to run this app even though I don&amp;#39;t trust it&amp;quot;.&lt;br/&gt;
&lt;br/&gt;
&amp;gt; A common malware tactic is to modify a trusted app and distribute it as update&lt;br/&gt;
&lt;br/&gt;
If it&amp;#39;s a trusted app it&amp;#39;s hopefully been signed, so the user wouldn&amp;#39;t have had to waive signature checking for it.</comment>
                    <comment id="49188" author="jens" created="Thu, 31 Jan 2013 11:45:30 -0600"  >Further thought: It might be a good idea to change the bundle ID in the new signed version of the app, because users of 2.0 with strict security settings have presumably already bypassed security on the unsigned version.</comment>
                    <comment id="49654" author="jin" created="Mon, 4 Feb 2013 15:16:48 -0600"  >Per bug scrubs, keep this a blocker since customers ran into this issues (and originally reported it).</comment>
                    <comment id="49910" author="plabee" created="Wed, 6 Feb 2013 18:19:01 -0600"  >revert the change so that builds can complete.  App is currently not being signed.</comment>
                    <comment id="50034" author="farshid" created="Mon, 11 Feb 2013 12:25:33 -0600"  >i suggest for 2.0.1 release we do this build manually.</comment>
                    <comment id="50077" author="jin" created="Mon, 11 Feb 2013 14:35:14 -0600"  >As one-off fix, add the signature manually and automate the required steps later in 2.0.2 or beyond. </comment>
                    <comment id="50328" author="jin" created="Wed, 13 Feb 2013 16:09:34 -0600"  >Please move this bug to 2.0.2 after populating the required signature manually. I am lowing the severity to critical for it isn&amp;#39;t no longer a blocking issue.</comment>
                    <comment id="50608" author="farshid" created="Fri, 15 Feb 2013 17:18:21 -0600"  >Phil to upload the binary to latestbuilds , ( 2.0.1-101-rel.zip )</comment>
                    <comment id="50615" author="plabee" created="Fri, 15 Feb 2013 18:03:53 -0600"  >Please verify:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-160-rel-signed.zip&quot;&gt;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-160-rel-signed.zip&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="50616" author="plabee" created="Fri, 15 Feb 2013 18:06:47 -0600"  >uploaded:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-160-rel-signed.zip&quot;&gt;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-160-rel-signed.zip&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
I can rename it when uploading for release.</comment>
                    <comment id="50649" author="farshid" created="Sun, 17 Feb 2013 23:17:34 -0600"  >i still do get the error that it is from an identified developer.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="50679" author="plabee" created="Mon, 18 Feb 2013 11:19:12 -0600"  >operator error.&lt;br/&gt;
&lt;br/&gt;
I rebuilt the app, this time verifying that the codesign step occurred.&lt;br/&gt;
&lt;br/&gt;
Uploaded now file to same location:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-160-rel-signed.zip&quot;&gt;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-160-rel-signed.zip&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="51482" author="plabee" created="Tue, 26 Feb 2013 18:54:25 -0600"  >still need to perform manual workaround</comment>
                    <comment id="51942" author="plabee" created="Mon, 4 Mar 2013 15:06:12 -0600"  >release candidate has been uploaded to:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-172-signed.zip&quot;&gt;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-172-signed.zip&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="54166" author="wayne" created="Wed, 3 Apr 2013 13:55:11 -0500"  >Phil, looks like version 172/185 is still getting the error. My Mac version is 10.8.2</comment>
                    <comment id="54169" author="thuan" created="Wed, 3 Apr 2013 15:07:56 -0500"  >Install couchbase server (build 2.0.1-172 community version) in my mac osx 10.7.4  , I only see the warning message</comment>
                    <comment id="54204" author="wayne" created="Wed, 3 Apr 2013 19:58:07 -0500"  >Latest version (04.03.13) : &lt;a href=&quot;http://builds.hq.northscale.net/latestbuilds/couchbase-server-community_x86_64_2.0.1-185-rel.zip&quot;&gt;http://builds.hq.northscale.net/latestbuilds/couchbase-server-community_x86_64_2.0.1-185-rel.zip&lt;/a&gt;</comment>
                    <comment id="54207" author="maria" created="Wed, 3 Apr 2013 20:22:36 -0500"  >works in 10.7 but not in 10.8.&lt;br/&gt;
if we can get the fix for 10.8 by tomorrow, end of day, QE is willing to test for release on tuesday, april 9.  </comment>
                    <comment id="54222" author="plabee" created="Thu, 4 Apr 2013 11:34:32 -0500"  >The mac builds are not being automatically signed, so build 185 is not signed.  The original 172 is also not signed.  &lt;br/&gt;
&lt;br/&gt;
Did you try&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-172-signed.zip&quot;&gt;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-172-signed.zip&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
to see if that was signed correctly?&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="54236" author="wayne" created="Thu, 4 Apr 2013 14:02:07 -0500"  >Phil,&lt;br/&gt;
Yes, we did try the 172-signed version.  It works on 10.7 but not 10.8.  Can you take a look?</comment>
                    <comment id="54243" author="plabee" created="Thu, 4 Apr 2013 16:09:00 -0500"  >I rebuilt 2.0.1-185 and uploaded a signed app to:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-185-rel.SIGNED.zip&quot;&gt;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-185-rel.SIGNED.zip&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Test on a machine that has never had Couchbase Server installed, and has the security setting to only allow Appstore or signed apps.&lt;br/&gt;
&lt;br/&gt;
If you get the  &amp;quot;Couchbase Server.app was downloaded from the internet&amp;quot;  warning and you can click OK and install it, then this bug is fixed.  The quarantining of files downloaded by a browser is part of the operating system and is not controlled by signing.</comment>
                    <comment id="54246" author="wayne" created="Thu, 4 Apr 2013 18:08:52 -0500"  >Tried the 185-signed version (see attached screen shot).  Same error message.</comment>
                    <comment id="54247" author="plabee" created="Thu, 4 Apr 2013 19:20:44 -0500"  >This is not an error message related to this bug.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="58207" author="maria" created="Tue, 14 May 2013 13:18:30 -0500"  >per bug triage, we need to have mac 10.8 osx working since it is a supported platform (published in the website).</comment>
                </comments>
                    <attachments>
                    <attachment id="16763" name="Screen Shot 2013-02-17 at 9.17.16 PM.png" size="40212" author="farshid" created="Sun, 17 Feb 2013 23:17:52 -0600" />
                    <attachment id="17078" name="Screen Shot 2013-04-04 at 3.57.41 PM.png" size="52242" author="wayne" created="Thu, 4 Apr 2013 18:08:52 -0500" />
                    <attachment id="17070" name="ss_2013-04-03_at_1.06.39 PM.png" size="31155" author="thuan" created="Wed, 3 Apr 2013 15:07:56 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 22 Nov 2012 09:10:32 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>93</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>15</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10050" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                <customfieldname>Sprint Priority</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>5.0</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10052" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Sprint Status</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10027"><![CDATA[Current Sprint]]></customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                        </customfields>
    </item>
</channel>
</rss>