<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:41:16 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-5930] Connection with in-use encryption enabled but no KMS provider hangs Compass window</title>
                <link>https://jira.mongodb.org/browse/COMPASS-5930</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;h3&gt;&lt;a name=&quot;ProblemStatement%2FRationale&quot;&gt;&lt;/a&gt;&lt;b&gt;Problem Statement/Rationale&lt;/b&gt;&lt;/h3&gt;
&lt;p&gt;If you connect to a cluster with in-use connection without storing the provider key (the recommended and default behavior) and then re use the saved connection (either from recents or favorited connection), you&apos;ll be able to connect with in-use encryption being in a weird state, leading to any attempt at fetching documents for a collection that has encryption hanging Compass window forever.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://mongodb.slack.com/archives/G2L10JAV7/p1656949851773139&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;See this thread for some additional context&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;StepstoReproduce&quot;&gt;&lt;/a&gt;&lt;b&gt;Steps to Reproduce&lt;/b&gt;&lt;/h3&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Start a replicaset with mongodb 6&lt;/li&gt;
	&lt;li&gt;Create a collection with in-use encryption applied&lt;/li&gt;
	&lt;li&gt;Connect to cluster in Compass and add a document to the collection&lt;/li&gt;
	&lt;li&gt;Disconnect / open &quot;New connection&quot; window&lt;/li&gt;
	&lt;li&gt;Connect to the same cluster using &quot;Recent&quot; connection&lt;/li&gt;
	&lt;li&gt;Open collection with the document&lt;/li&gt;
&lt;/ul&gt;


&lt;h3&gt;&lt;a name=&quot;ExpectedResults&quot;&gt;&lt;/a&gt;&lt;b&gt;Expected Results&lt;/b&gt;&lt;/h3&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;You see the document&lt;/li&gt;
&lt;/ul&gt;


&lt;h3&gt;&lt;a name=&quot;ActualResults&quot;&gt;&lt;/a&gt;&lt;b&gt;Actual Results&lt;/b&gt;&lt;/h3&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Window will hang &quot;forever&quot;&lt;/li&gt;
&lt;/ul&gt;


&lt;h3&gt;&lt;a name=&quot;AdditionalNotes&quot;&gt;&lt;/a&gt;&lt;b&gt;Additional Notes&lt;/b&gt;&lt;/h3&gt;
&lt;p&gt;Seems like validation for the KMS providers kicks in only when you start editing the fields, maybe that&apos;s true for other fields too? We probably want the validation to not be coupled just to editing fields in the form&lt;/p&gt;

</description>
                <environment></environment>
        <key id="2082572">COMPASS-5930</key>
            <summary>Connection with in-use encryption enabled but no KMS provider hangs Compass window</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="13201">Fixed</resolution>
                                        <assignee username="anna.henningsen@mongodb.com">Anna Henningsen</assignee>
                                    <reporter username="sergey.petushkov@mongodb.com">Sergey Petushkov</reporter>
                        <labels>
                    </labels>
                <created>Tue, 5 Jul 2022 09:11:19 +0000</created>
                <updated>Sun, 29 Oct 2023 02:38:57 +0000</updated>
                            <resolved>Wed, 24 Aug 2022 10:29:49 +0000</resolved>
                                                    <fixVersion>1.33.1</fixVersion>
                                    <component>Field Level Encryption</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4861144" author="xgen-internal-githook" created="Wed, 28 Sep 2022 10:15:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Anna Henningsen&apos;, &apos;email&apos;: &apos;anna.henningsen@mongodb.com&apos;, &apos;username&apos;: &apos;addaleax&apos;}
&lt;p&gt;Message: fix(data-service): fully remove empty KMS provider options &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-5930&quot; title=&quot;Connection with in-use encryption enabled but no KMS provider hangs Compass window&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-5930&quot;&gt;&lt;del&gt;COMPASS-5930&lt;/del&gt;&lt;/a&gt; (#3381)&lt;/p&gt;

&lt;p&gt;Fully remove KMS providers from the list of providers if their&lt;br/&gt;
set of options is empty after extracting secrets, since leaving&lt;br/&gt;
an existent-but-empty object and passing it to libmongocrypt&lt;br/&gt;
puts it in a state that Compass does not support (namely, providing&lt;br/&gt;
credentials on demand after connecting).&lt;br/&gt;
Branch: update-compass-shell-to-shared-config&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/26d2bdec5092ee90ad1ce37d12d2d17d348dd001&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/26d2bdec5092ee90ad1ce37d12d2d17d348dd001&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4792048" author="xgen-internal-githook" created="Wed, 31 Aug 2022 15:02:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Anna Henningsen&apos;, &apos;email&apos;: &apos;anna.henningsen@mongodb.com&apos;, &apos;username&apos;: &apos;addaleax&apos;}
&lt;p&gt;Message: fix(data-service): fully remove empty KMS provider options &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-5930&quot; title=&quot;Connection with in-use encryption enabled but no KMS provider hangs Compass window&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-5930&quot;&gt;&lt;del&gt;COMPASS-5930&lt;/del&gt;&lt;/a&gt; (#3381)&lt;/p&gt;

&lt;p&gt;Fully remove KMS providers from the list of providers if their&lt;br/&gt;
set of options is empty after extracting secrets, since leaving&lt;br/&gt;
an existent-but-empty object and passing it to libmongocrypt&lt;br/&gt;
puts it in a state that Compass does not support (namely, providing&lt;br/&gt;
credentials on demand after connecting).&lt;br/&gt;
Branch: 1.33-releases&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/26d2bdec5092ee90ad1ce37d12d2d17d348dd001&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/26d2bdec5092ee90ad1ce37d12d2d17d348dd001&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4789099" author="xgen-internal-githook" created="Tue, 30 Aug 2022 17:02:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Anna Henningsen&apos;, &apos;email&apos;: &apos;anna.henningsen@mongodb.com&apos;, &apos;username&apos;: &apos;addaleax&apos;}
&lt;p&gt;Message: fix(data-service): fully remove empty KMS provider options &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-5930&quot; title=&quot;Connection with in-use encryption enabled but no KMS provider hangs Compass window&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-5930&quot;&gt;&lt;del&gt;COMPASS-5930&lt;/del&gt;&lt;/a&gt; (#3381)&lt;/p&gt;

&lt;p&gt;Fully remove KMS providers from the list of providers if their&lt;br/&gt;
set of options is empty after extracting secrets, since leaving&lt;br/&gt;
an existent-but-empty object and passing it to libmongocrypt&lt;br/&gt;
puts it in a state that Compass does not support (namely, providing&lt;br/&gt;
credentials on demand after connecting).&lt;br/&gt;
Branch: compass-settings&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/26d2bdec5092ee90ad1ce37d12d2d17d348dd001&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/26d2bdec5092ee90ad1ce37d12d2d17d348dd001&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4784715" author="xgen-internal-githook" created="Mon, 29 Aug 2022 17:53:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Anna Henningsen&apos;, &apos;email&apos;: &apos;anna.henningsen@mongodb.com&apos;, &apos;username&apos;: &apos;addaleax&apos;}
&lt;p&gt;Message: fix(data-service): fully remove empty KMS provider options &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-5930&quot; title=&quot;Connection with in-use encryption enabled but no KMS provider hangs Compass window&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-5930&quot;&gt;&lt;del&gt;COMPASS-5930&lt;/del&gt;&lt;/a&gt; (#3381)&lt;/p&gt;

&lt;p&gt;Fully remove KMS providers from the list of providers if their&lt;br/&gt;
set of options is empty after extracting secrets, since leaving&lt;br/&gt;
an existent-but-empty object and passing it to libmongocrypt&lt;br/&gt;
puts it in a state that Compass does not support (namely, providing&lt;br/&gt;
credentials on demand after connecting).&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-5971&quot; title=&quot;Importing JSON document from file drops deeply nested fields&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-5971&quot;&gt;&lt;del&gt;COMPASS-5971&lt;/del&gt;&lt;/a&gt;-fix-import-deep-json&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/26d2bdec5092ee90ad1ce37d12d2d17d348dd001&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/26d2bdec5092ee90ad1ce37d12d2d17d348dd001&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4779671" author="xgen-internal-githook" created="Fri, 26 Aug 2022 15:11:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Anna Henningsen&apos;, &apos;email&apos;: &apos;anna.henningsen@mongodb.com&apos;, &apos;username&apos;: &apos;addaleax&apos;}
&lt;p&gt;Message: fix(data-service): fully remove empty KMS provider options &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-5930&quot; title=&quot;Connection with in-use encryption enabled but no KMS provider hangs Compass window&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-5930&quot;&gt;&lt;del&gt;COMPASS-5930&lt;/del&gt;&lt;/a&gt; (#3381)&lt;/p&gt;

&lt;p&gt;Fully remove KMS providers from the list of providers if their&lt;br/&gt;
set of options is empty after extracting secrets, since leaving&lt;br/&gt;
an existent-but-empty object and passing it to libmongocrypt&lt;br/&gt;
puts it in a state that Compass does not support (namely, providing&lt;br/&gt;
credentials on demand after connecting).&lt;br/&gt;
Branch: connection-info-modal&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/26d2bdec5092ee90ad1ce37d12d2d17d348dd001&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/26d2bdec5092ee90ad1ce37d12d2d17d348dd001&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4773237" author="xgen-internal-githook" created="Wed, 24 Aug 2022 11:48:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Anna Henningsen&apos;, &apos;email&apos;: &apos;anna.henningsen@mongodb.com&apos;, &apos;username&apos;: &apos;addaleax&apos;}
&lt;p&gt;Message: fix(data-service): fully remove empty KMS provider options &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-5930&quot; title=&quot;Connection with in-use encryption enabled but no KMS provider hangs Compass window&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-5930&quot;&gt;&lt;del&gt;COMPASS-5930&lt;/del&gt;&lt;/a&gt; (#3381)&lt;/p&gt;

&lt;p&gt;Fully remove KMS providers from the list of providers if their&lt;br/&gt;
set of options is empty after extracting secrets, since leaving&lt;br/&gt;
an existent-but-empty object and passing it to libmongocrypt&lt;br/&gt;
puts it in a state that Compass does not support (namely, providing&lt;br/&gt;
credentials on demand after connecting).&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-5941&quot; title=&quot;Add the refresh button to fetch indexes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-5941&quot;&gt;&lt;del&gt;COMPASS-5941&lt;/del&gt;&lt;/a&gt;-refresh-indexes&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/26d2bdec5092ee90ad1ce37d12d2d17d348dd001&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/26d2bdec5092ee90ad1ce37d12d2d17d348dd001&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4769871" author="xgen-internal-githook" created="Tue, 23 Aug 2022 11:53:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Anna Henningsen&apos;, &apos;email&apos;: &apos;anna@addaleax.net&apos;, &apos;username&apos;: &apos;addaleax&apos;}
&lt;p&gt;Message: fix(data-service): fully remove empty KMS provider options &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-5930&quot; title=&quot;Connection with in-use encryption enabled but no KMS provider hangs Compass window&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-5930&quot;&gt;&lt;del&gt;COMPASS-5930&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Fully remove KMS providers from the list of providers if their&lt;br/&gt;
set of options is empty after extracting secrets, since leaving&lt;br/&gt;
an existent-but-empty object and passing it to libmongocrypt&lt;br/&gt;
puts it in a state that Compass does not support (namely, providing&lt;br/&gt;
credentials on demand after connecting).&lt;br/&gt;
Branch: 5930-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/7b3aff5c18bce04ed88c3df89edbb537f53a7d65&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/7b3aff5c18bce04ed88c3df89edbb537f53a7d65&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4769795" author="JIRAUSER1256529" created="Tue, 23 Aug 2022 11:20:29 +0000"  >&lt;p&gt;First note while looking into this: This only reproduced for me with a Local KMS, not AWS.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 23 Aug 2022 11:20:29 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 19 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 19 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>anna.henningsen@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>sergey.petushkov@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i10zof:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr1mma:k</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="6309">Iteration Fish</customfieldvalue>
    <customfieldvalue id="6327">Iteration Grouper</customfieldvalue>
    <customfieldvalue id="6379">Iteration Herring</customfieldvalue>
    <customfieldvalue id="6435">Iteration Isopod</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|i10ltr:</customfieldvalue>

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