<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:20:28 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-4272] FLE 1.0 Shared Library</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4272</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;This ticket was split from &lt;tt&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-1950&quot; title=&quot;FLE 1.0 Shared Library&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-1950&quot;&gt;&lt;del&gt;DRIVERS-1950&lt;/del&gt;&lt;/a&gt;&lt;/tt&gt;, please see that ticket for a detailed description. &lt;/p&gt;</description>
                <environment></environment>
        <key id="1972751">CDRIVER-4272</key>
            <summary>FLE 1.0 Shared Library</summary>
                <type id="11" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14707&amp;avatarType=issuetype">Epic</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="colby.pike@mongodb.com">Colby Pike</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                    </labels>
                <created>Thu, 27 Jan 2022 22:44:10 +0000</created>
                <updated>Sat, 28 Oct 2023 11:28:13 +0000</updated>
                            <resolved>Tue, 3 May 2022 00:27:53 +0000</resolved>
                                                    <fixVersion>1.22.0</fixVersion>
                    <fixVersion>1.22.0-beta0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="4511623" author="xgen-internal-githook" created="Wed, 27 Apr 2022 23:47:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;vector-of-bool&apos;, &apos;email&apos;: &apos;vectorofbool@gmail.com&apos;, &apos;username&apos;: &apos;vector-of-bool&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4272&quot; title=&quot;FLE 1.0 Shared Library&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4272&quot;&gt;&lt;del&gt;CDRIVER-4272&lt;/del&gt;&lt;/a&gt;: Add options and code to load the csfle dynamic library (#968)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Incorporate changes for csfle in libmongocrypt&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Document new extraOptions for auto-encryption&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Add mongodl, download a csfle library for testing. Use csfle in test processes if possible&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Fix: forked child processes must not used exit() nor allocating functions.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This is discovered because the mongocryptd spawner will cause the&lt;br/&gt;
atexit() code to run from the csfle library loaded in the&lt;br/&gt;
process.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Do not append csfle search paths if we are explicit or bypassing auto-encryption&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Refer: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2287&quot; title=&quot;Clarify interaction of bypassAutoEncryption and csfle search paths&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2287&quot;&gt;&lt;del&gt;DRIVERS-2287&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Fix mongodl for rhel versions and ASCII stdout&lt;/li&gt;
&lt;/ul&gt;



&lt;ul&gt;
	&lt;li&gt;Remove BSON_MEMCHECK. We&apos;re getting ODR trouble.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Skip failing CSE tests for now&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/d9fa2a361d859f0f0d17ca264af868119c18c188&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/d9fa2a361d859f0f0d17ca264af868119c18c188&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="4319840" author="dbeng-pm-bot" created="Thu, 27 Jan 2022 22:44:13 +0000"  >&lt;p&gt;If you are not logged in, you can view the tickets in this epic by following &lt;a href=&quot;https://jira.mongodb.org/issues/?jql=%22Epic%20Link%22%20%3D%20CDRIVER-4272&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;this link&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1972763">PHPC-2045</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                        <issuelink>
            <issuekey id="1897768">DRIVERS-1950</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                    <customfield id="customfield_21556" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Calendar Time</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3 weeks</customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_20963" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Cost to Date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_13653" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Detailed Project Statuses</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;2022-04-18: Setting target date to 4/22/2022&lt;/p&gt;

&lt;p&gt;Status update:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;In draft review. Working on tests.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Rationale for delays:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;No delays.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Risks:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Delays risk FLE 2.0 support in drivers.&lt;/li&gt;
&lt;/ul&gt;


&lt;hr /&gt;</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_14262" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 22 Apr 2022 00:00:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10858" key="com.pyxis.greenhopper.jira:gh-epic-label">
                        <customfieldname>Epic Name</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>FLE 1.0 Shared Library</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10859" key="com.pyxis.greenhopper.jira:gh-epic-status">
                        <customfieldname>Epic Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10642"><![CDATA[Done]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_20964" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Final Cost Estimate</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY23Q2</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i01gpb:</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_11150" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>SERVER fixVersion</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="21985"><![CDATA[6.0 Required]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10856" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Scope Cost Estimate</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_22279" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Server Compat</customfieldname>
                        <customfieldvalues>
                                        <label>5.3</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_14261" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 1 Apr 2022 00:00:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_21457" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Upstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-1950&quot; title=&quot;FLE 1.0 Shared Library&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-1950&quot;&gt;&lt;del&gt;DRIVERS-1950&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
&lt;b&gt;Note&lt;/b&gt;: the following instructions do not account for the rename of the shared library. Please also see DRIVERS-2338.&lt;/p&gt;

&lt;p&gt;The csfle shared library is a new component that replaces the mongocryptd process. csfle is loaded by libmongocrypt at runtime.&lt;/p&gt;

&lt;p&gt;Please see the following specifications PRs for a description of the driver changes:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/pull/1165&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1165&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/pull/1185&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1185&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Please see the &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/968/files&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;C driver implementation&lt;/a&gt; for reference.&lt;/p&gt;
&lt;h1&gt;&lt;a name=&quot;Bindingschanges&quot;&gt;&lt;/a&gt;Bindings changes&lt;/h1&gt;

&lt;p&gt;Upgrade libmongocrypt dependency to 1.5.0. Drivers can use 1.5.0-alpha0 to test. Binaries are available from this &lt;a href=&quot;https://spruce.mongodb.com/task/libmongocrypt_publish_snapshot_upload_all_682c42f7bff0d7f5b56fbbb4a0bfd3b694d3cd11_22_05_01_15_28_39/files?execution=0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;upload-all task&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Update the bindings to libmongocrypt to add the new functions:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;tt&gt;mongocrypt_csfle_version_string&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;mongocrypt_csfle_version&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;mongocrypt_setopt_append_csfle_search_path&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;mongocrypt_setopt_set_csfle_lib_path_override&lt;/tt&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;h1&gt;&lt;a name=&quot;Driverchanges&quot;&gt;&lt;/a&gt;Driver changes&lt;/h1&gt;

&lt;p&gt;Pass &lt;tt&gt;AutoEncryptionOpts.extraOptions.csflePath&lt;/tt&gt; to libmongocrypt with {&lt;tt&gt;} mongocrypt_setopt_set_crypt_shared_lib_path_override&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;If &lt;tt&gt;AutoEncryptionOpts.bypassAutoEncryption&lt;/tt&gt; is unset or false, pass &quot;$SYSTEM&quot; to &lt;tt&gt;mongocrypt_setopt_append_csfle_search_path&lt;/tt&gt; for the &lt;tt&gt;mongocrypt_t&lt;/tt&gt; in a MongoClient configured with &lt;tt&gt;AutoEncryptionOpts&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;If &lt;tt&gt;AutoEncryptionOpts.extraOptions.csfleRequired&lt;/tt&gt; is true, error if csfle is not loaded. Determine if csfle is loaded by checking if &lt;tt&gt;mongocrypt_csfle_version_string&lt;/tt&gt; is NULL.&lt;/p&gt;

&lt;p&gt;Do not attempt to spawn mongocryptd if csfle is loaded.&lt;/p&gt;
&lt;h1&gt;&lt;a name=&quot;Testchanges&quot;&gt;&lt;/a&gt;Test changes&lt;/h1&gt;

&lt;p&gt;Please see &lt;a href=&quot;https://github.com/mongodb/specifications/pull/1199&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1199&lt;/a&gt; for a description of test changes.&lt;/p&gt;

&lt;p&gt;Please see &lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/pull/196&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-labs/drivers-evergreen-tools/pull/196&lt;/a&gt; for a script to download the csfle shared library.&lt;/p&gt;</customfieldvalue>

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