<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:20:57 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>[CDRIVER-4450] Initializing client-side encryption spawns mongocryptd even if crypt_shared is available and loaded</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4450</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;h4&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;Summary&lt;/h4&gt;

&lt;p&gt;When initializing client-side encryption, if the user has not explicitly disabled the spawning of &lt;tt&gt;mongocryptd&lt;/tt&gt; as part of the CSE options, libmongoc will attempt to spawn &lt;tt&gt;mongocryptd&lt;/tt&gt;. If &lt;tt&gt;crypt_shared&lt;/tt&gt; is loaded, libmongoc does not required &lt;tt&gt;mongocryptd&lt;/tt&gt; to perform query analysis, and should not spawn it.&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;HowtoReproduce&quot;&gt;&lt;/a&gt;How to Reproduce&lt;/h4&gt;

&lt;p&gt;If CSE options are set such that &lt;tt&gt;mongocryptd&lt;/tt&gt; would be spawned by libmongoc in the absence of &lt;tt&gt;crypt_shared&lt;/tt&gt;, libmongoc will attempt to spawn &lt;tt&gt;mongocryptd&lt;/tt&gt; regardless of whether &lt;tt&gt;crypt_shared&lt;/tt&gt; is available and loaded.&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;AdditionalBackground&quot;&gt;&lt;/a&gt;Additional Background&lt;/h4&gt;

&lt;p&gt;The specification modifications for the addition of the &lt;tt&gt;crypt_shared&lt;/tt&gt; library as part of encryption mandates that &lt;tt&gt;mongocryptd&lt;/tt&gt; must not be spawned if &lt;tt&gt;libmongocrypt&lt;/tt&gt; reports successfully loaded &lt;tt&gt;crypt_shared&lt;/tt&gt;. The guard for this condition is missing from &lt;tt&gt;_mongoc_crypt_new&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2106199">CDRIVER-4450</key>
            <summary>Initializing client-side encryption spawns mongocryptd even if crypt_shared is available and loaded</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="colby.pike@mongodb.com">Colby Pike</assignee>
                                    <reporter username="colby.pike@mongodb.com">Colby Pike</reporter>
                        <labels>
                    </labels>
                <created>Wed, 3 Aug 2022 22:21:19 +0000</created>
                <updated>Sat, 28 Oct 2023 11:28:01 +0000</updated>
                            <resolved>Wed, 3 Aug 2022 22:23:25 +0000</resolved>
                                                    <fixVersion>1.23.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="4727309" author="JIRAUSER1260880" created="Wed, 3 Aug 2022 22:23:25 +0000"  >&lt;p&gt;Drive-by fixed in &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/1083&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/1083&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2075275">CDRIVER-4414</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6i7r:f0i</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>