<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:35:21 UTC 2024

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 append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[COMPASS-4129] Upgrade windows installer libraries for signing dlls</title>
                <link>https://jira.mongodb.org/browse/COMPASS-4129</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Discovered in &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4127&quot; title=&quot;Windows ffmpeg.dll failed to sign&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4127&quot;&gt;&lt;del&gt;COMPASS-4127&lt;/del&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;After BUILD-2932, we can update the windows installer system libraries (Squirrel.Windows) to sign dll&apos;s and take advantage of all the other bug fixes to Squirrel.Windows since 2017.  Upgrade &lt;tt&gt;electron-winstaller&lt;/tt&gt; in hadron-build to latest (currently 4.0.0, but we&apos;re stuck on 2.5.1)&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="1127253">COMPASS-4129</key>
            <summary>Upgrade windows installer libraries for signing dlls</summary>
                <type id="10501" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Investigation</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="lucas.hrabovsky">Lucas Hrabovsky</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Feb 2020 18:13:52 +0000</created>
                <updated>Wed, 10 Jan 2024 23:07:39 +0000</updated>
                            <resolved>Wed, 8 Jun 2022 15:28:26 +0000</resolved>
                                                    <fixVersion>No version</fixVersion>
                                    <component>Tech debt</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="4602402" author="maurizio.casimirri" created="Wed, 8 Jun 2022 15:28:26 +0000"  >&lt;p&gt;We updated electron-installer, to sign dlls though we would need a different notary mechanism as the notary-service currently do not support it &lt;/p&gt;</comment>
                            <comment id="2780832" author="xgen-internal-githook" created="Mon, 3 Feb 2020 18:31:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Lucas Hrabovsky&apos;, &apos;username&apos;: &apos;imlucas&apos;, &apos;email&apos;: &apos;hrabovsky.lucas@gmail.com&apos;}
&lt;p&gt;Message: build: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4127&quot; title=&quot;Windows ffmpeg.dll failed to sign&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4127&quot;&gt;&lt;del&gt;COMPASS-4127&lt;/del&gt;&lt;/a&gt;: Fix code signing on Windows (#1895)&lt;/p&gt;

&lt;p&gt;Evergreen:&lt;br/&gt;
&lt;a href=&quot;https://evergreen.mongodb.com/version/5e386060e3c3311158f8f2e2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/version/5e386060e3c3311158f8f2e2&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;
	&lt;ol&gt;
		&lt;li&gt;Todo&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
&lt;/ol&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;x&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4129&quot; title=&quot;Upgrade windows installer libraries for signing dlls&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4129&quot;&gt;&lt;del&gt;COMPASS-4129&lt;/del&gt;&lt;/a&gt;(&lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4129&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/COMPASS-4129&lt;/a&gt;) created to properly fix what this PR is working around&lt;/li&gt;
	&lt;li&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;x&amp;#93;&lt;/span&gt; and it has dependency on &lt;span class=&quot;error&quot;&gt;&amp;#91;BUILD-2932&amp;#93;&lt;/span&gt;(&lt;a href=&quot;https://jira.mongodb.org/browse/BUILD-2932):&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/BUILD-2932):&lt;/a&gt; notary service dll support&lt;/li&gt;
&lt;/ul&gt;


&lt;ol&gt;
	&lt;li&gt;
	&lt;ol&gt;
		&lt;li&gt;Description&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Rollback `electron-winstaller` to `2.5.1` for now. Don&apos;t upgrade until &lt;span class=&quot;error&quot;&gt;&amp;#91;BUILD-2932&amp;#93;&lt;/span&gt;(&lt;a href=&quot;https://jira.mongodb.org/browse/BUILD-2932&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/BUILD-2932&lt;/a&gt;) is done.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Fixes &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4127&quot; title=&quot;Windows ffmpeg.dll failed to sign&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4127&quot;&gt;&lt;del&gt;COMPASS-4127&lt;/del&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Answers BUILD-10250&lt;/li&gt;
&lt;/ul&gt;


&lt;ol&gt;
	&lt;li&gt;
	&lt;ol&gt;
		&lt;li&gt;Notes&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;Evergreen windows builds&amp;#93;&lt;/span&gt;(&lt;a href=&quot;https://evergreen.mongodb.com/task/10gen_compass_master_windows_package_and_publish_compass_3d7b0895c3d7ed4aada6f997286a8a57d7f835b5_20_01_31_17_33_22&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/task/10gen_compass_master_windows_package_and_publish_compass_3d7b0895c3d7ed4aada6f997286a8a57d7f835b5_20_01_31_17_33_22&lt;/a&gt;) started failing with the electron 6 update:&lt;/p&gt;

&lt;p&gt;```&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2020/01/31 12:47:29.021&amp;#93;&lt;/span&gt; &#215;  Error: Error: Failed with exit code: 4294967295&lt;br/&gt;
&amp;#8211;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2020/01/31 12:47:29.021&amp;#93;&lt;/span&gt; Output:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2020/01/31 12:47:29.021&amp;#93;&lt;/span&gt; System.AggregateException: One or more errors occurred. ---&amp;gt; System.Exception: Failed to sign, command invoked was: &apos;.\signtool.exe sign yes C:\Users\mci-exec\AppData\Local\SquirrelTemp\tempa\lib\net45\ffmpeg.dll&apos;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2020/01/31 12:47:29.021&amp;#93;&lt;/span&gt;    at Squirrel.Update.Program.&amp;lt;signPEFile&amp;gt;d__17.MoveNext()&lt;br/&gt;
```&lt;/p&gt;

&lt;p&gt;Normally, `Failed with exit code: 4294967295` means &lt;span class=&quot;error&quot;&gt;&amp;#91;the signtool.exe notary service client&amp;#93;&lt;/span&gt;(&lt;a href=&quot;https://jira.mongodb.org/browse/BUILD-920&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/BUILD-920&lt;/a&gt;) is getting a 500 service error due to an outage.&lt;/p&gt;

&lt;p&gt;However, all other OS were signing with no issues  &lt;span class=&quot;error&quot;&gt;&amp;#91;see BUILD-10250&amp;#93;&lt;/span&gt;(&lt;a href=&quot;https://jira.mongodb.org/browse/BUILD-10250&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/BUILD-10250&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;```&lt;br/&gt;
cd /cygdrive/z/data/mci/src/dist/MongoDBCompassDev-win32-x64;&lt;/p&gt;

&lt;p&gt;$ ../../signtool.exe sign yes ffmpeg.dll&lt;br/&gt;
2020/02/03 16:34:55 Signing service didn&apos;t return a permalink&lt;/p&gt;

&lt;p&gt;$ ../../signtool.exe sign yes libEGL.dll&lt;br/&gt;
2020/02/03 16:35:14 Signing service didn&apos;t return a permalink&lt;/p&gt;

&lt;p&gt;$ ../../signtool.exe sign yes MongoDBCompassDev.exe&lt;br/&gt;
Worked&lt;br/&gt;
$ ../../signtool.exe sign yes Squirrel.exe&lt;br/&gt;
Worked&lt;br/&gt;
```&lt;/p&gt;

&lt;p&gt;So, it can&apos;t be a service issue and must be something related to the changes to `hadron-build` for &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-3933&quot; title=&quot;Update to Electron 6&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-3933&quot;&gt;&lt;del&gt;COMPASS-3933&lt;/del&gt;&lt;/a&gt; electron 6 support.&lt;/p&gt;

&lt;p&gt;Only a handful of commits and &lt;span class=&quot;error&quot;&gt;&amp;#91;e3ff85c9303bc43e56976226d10d6b9897324b66&amp;#93;&lt;/span&gt;(&lt;a href=&quot;https://github.com/mongodb-js/hadron-build/commit/e3ff85c9303bc43e56976226d10d6b9897324b66&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/hadron-build/commit/e3ff85c9303bc43e56976226d10d6b9897324b66&lt;/a&gt;)&lt;br/&gt;
`electron-winstaller` was upgraded from `2.5.1` to `4.0.0`. This changed the effective version of the &lt;span class=&quot;error&quot;&gt;&amp;#91;Squirrel.Windows&amp;#93;&lt;/span&gt;(&lt;a href=&quot;https://github.com/Squirrel/Squirrel.Windows&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/Squirrel/Squirrel.Windows&lt;/a&gt;) framework electron uses for win32 auto-update:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;`electron-winstaller@2.5.1.` :arrow_right:  &lt;span class=&quot;error&quot;&gt;&amp;#91;squirrel.windows@1.5.1&amp;#93;&lt;/span&gt;(&lt;a href=&quot;https://github.com/Squirrel/Squirrel.Windows/releases/tag/1.5.1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/Squirrel/Squirrel.Windows/releases/tag/1.5.1&lt;/a&gt;)&lt;/li&gt;
	&lt;li&gt;`electron-winstaller@&amp;gt;=3.0.0` :arrow_right: &lt;span class=&quot;error&quot;&gt;&amp;#91;squirrel.windows@1.9.1&amp;#93;&lt;/span&gt;(&lt;a href=&quot;https://github.com/Squirrel/Squirrel.Windows/releases/tag/1.9.1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/Squirrel/Squirrel.Windows/releases/tag/1.9.1&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;In `electron-winstaller@2.5.2` :arrow_right: &lt;span class=&quot;error&quot;&gt;&amp;#91;squirrel.windows@1.5.2&amp;#93;&lt;/span&gt;(&lt;a href=&quot;https://github.com/Squirrel/Squirrel.Windows/releases/tag/1.5.2):&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/Squirrel/Squirrel.Windows/releases/tag/1.5.2):&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&amp;gt; ### Releasify now disallows non-Semver versions&lt;br/&gt;
&amp;gt;&lt;br/&gt;
&amp;gt; While using non-Semver versions in your NuGet package was always incorrect and resulted in undefined behavior, due to #868, these are now a full non-starter. We now require packages to have Semver-compatible versions names. Note that this doesn&apos;t affect your EXE versions, which can still use all four Win32 version numbers.&lt;br/&gt;
&amp;gt;&lt;br/&gt;
&amp;gt; ### Bug Fixes&lt;br/&gt;
&amp;gt;&lt;br/&gt;
&amp;gt; - Allow uppercase characters in SemVer versions (#924, thanks)&lt;br/&gt;
&amp;gt; - Sign DLL and .node files during Releasify&lt;br/&gt;
&amp;gt; - Ensure that Stub Executables pass along their parameters to the target&lt;/p&gt;

&lt;p&gt;And now the facepalm moment; &lt;span class=&quot;error&quot;&gt;&amp;#91;BUILD-2932&amp;#93;&lt;/span&gt;(&lt;a href=&quot;https://jira.mongodb.org/browse/BUILD-2932&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/BUILD-2932&lt;/a&gt;) (created in 2017) as the notary service doesn&apos;t support dll signing the way we need it to.&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;
	&lt;ol&gt;
		&lt;li&gt;Motivation and Context&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
&lt;/ol&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;x&amp;#93;&lt;/span&gt; Dependency update&lt;/li&gt;
&lt;/ul&gt;


&lt;ol&gt;
	&lt;li&gt;
	&lt;ol&gt;
		&lt;li&gt;Dependents&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;mongodb-js/hadron-build#110&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;
	&lt;ol&gt;
		&lt;li&gt;Types of changes&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
&lt;/ol&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;x&amp;#93;&lt;/span&gt; Patch (non-breaking change which fixes an issue)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/53ddec9ed4a10829b679504cdd3a6f5651a3d2c5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/53ddec9ed4a10829b679504cdd3a6f5651a3d2c5&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                                                <inwardlinks description="is caused by">
                                        <issuelink>
            <issuekey id="1126736">COMPASS-4127</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 3 Feb 2020 18:31:45 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 35 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/BUILD-2932'>BUILD-2932</a></s>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>jessica.sigafoos@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 35 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>lucas.hrabovsky</customfieldvalue>
            <customfieldvalue>maurizio.casimirri@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hwn9ov:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hwbfrz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hwmvy7:</customfieldvalue>

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