<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:20:43 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-4369] Add Queryable Encryption API to AutoEncryptionOpts</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4369</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;This ticket was split from &lt;tt&gt;DRIVERS-2297&lt;/tt&gt;, please see that ticket for a detailed description. &lt;/p&gt;</description>
                <environment></environment>
        <key id="2034436">CDRIVER-4369</key>
            <summary>Add Queryable Encryption API to AutoEncryptionOpts</summary>
                <type id="14901" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14700&amp;avatarType=issuetype">Spec Change</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="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                    </labels>
                <created>Wed, 27 Apr 2022 14:29:45 +0000</created>
                <updated>Sat, 28 Oct 2023 11:28:07 +0000</updated>
                            <resolved>Sat, 14 May 2022 17:00:56 +0000</resolved>
                                                    <fixVersion>1.22.0</fixVersion>
                    <fixVersion>1.22.0-beta0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="4548178" author="xgen-internal-githook" created="Sat, 14 May 2022 17:00:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4369&quot; title=&quot;Add Queryable Encryption API to AutoEncryptionOpts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4369&quot;&gt;&lt;del&gt;CDRIVER-4369&lt;/del&gt;&lt;/a&gt; Add FLE 2 API to AutoEncryptionOpts (#989)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;do not return error on &quot;ns not found&quot; error in drop with encryptedFields&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;use assert_match_bson, not ASSERT(match_bson&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;pass encrypted_fields_map to libmongocrypt&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;add mongoc_auto_encryption_opts_set_bypass_query_analysis&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;require libmongocrypt 1.5.0&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;update csfle test dependency to 6.0.0-rc4&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;do not spawn mongocryptd if bypassQueryAnalysis is true&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/1841a0eb0d344abf7bd84413807b1e15e3c92496&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/1841a0eb0d344abf7bd84413807b1e15e3c92496&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="2034445">PHPC-2085</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-4327</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|hr6ia6:7i</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_21457" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Upstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;DRIVERS-2297:&lt;br/&gt;
Please see &lt;a href=&quot;https://github.com/mongodb/specifications/pull/1195&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1195&lt;/a&gt; and &lt;a href=&quot;https://github.com/mongodb/specifications/pull/1214&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1214&lt;/a&gt; for the specification changes.&lt;/p&gt;

&lt;p&gt;Please update the tests to this commit, which includes test fixes:&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/c3784d44555752bb058993e7b0bb51cab5b3b1d5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/c3784d44555752bb058993e7b0bb51cab5b3b1d5&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please see the &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/pull/957&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Go 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;tt&gt;mongocrypt_setopt_encrypted_field_config_map&lt;/tt&gt; and &lt;tt&gt;mongocrypt_setopt_bypass_query_analysis&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;Drivers that implement crypto callbacks (C#, Java, Node.js, Python, Ruby) need to wrap the new crypto callback: &lt;tt&gt;mongocrypt_setopt_aes_256_ctr&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;Drivers languages that do not support CTR mode may alternatively wrap &lt;tt&gt;mongocrypt_setopt_aes_256_ecb&lt;/tt&gt;. From &lt;a href=&quot;https://docs.google.com/spreadsheets/d/1NKtmYEr_Zrf_eDATpfCBfWyLH8GC1vj075aSCLqrca0/edit#gid=0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this survey&lt;/a&gt;, this may only be C#.&lt;/p&gt;

&lt;h1&gt;&lt;a name=&quot;Driverchanges&quot;&gt;&lt;/a&gt;Driver changes&lt;/h1&gt;
&lt;p&gt;Add the new driver API options: &lt;tt&gt;AutoEncryptionOpts.encryptedFieldsMap&lt;/tt&gt; and &lt;tt&gt;AutoEncryptionOpts.bypassQueryAnalysis&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;Pass &lt;tt&gt;AutoEncryptionOpts.encryptedFieldsMap&lt;/tt&gt; to libmongocrypt with &lt;tt&gt;mongocrypt_setopt_encrypted_field_config_map&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;If &lt;tt&gt;AutoEncryptionOpts.bypassQueryAnalysis&lt;/tt&gt; is true, call the libmongocrypt function &lt;tt&gt;mongocrypt_setopt_bypass_query_analysis&lt;/tt&gt;.&lt;/p&gt;

&lt;h1&gt;&lt;a name=&quot;Testchanges&quot;&gt;&lt;/a&gt;Test changes&lt;/h1&gt;

&lt;p&gt;Add &lt;tt&gt;encrypted_fields&lt;/tt&gt; to the CSFLE specification test format.&lt;/p&gt;

&lt;p&gt;Sync the added CSFLE specification tests.&lt;/p&gt;</customfieldvalue>

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