<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:02:29 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>[JAVA-4593] Support queryable auto-encryption </title>
                <link>https://jira.mongodb.org/browse/JAVA-4593</link>
                <project id="10006" key="JAVA">Java 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="2034441">JAVA-4593</key>
            <summary>Support queryable auto-encryption </summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="ross@mongodb.com">Ross Lawley</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                            <label>QP-priority</label>
                            <label>spec-compliance</label>
                    </labels>
                <created>Wed, 27 Apr 2022 14:29:50 +0000</created>
                <updated>Sat, 28 Oct 2023 11:20:44 +0000</updated>
                            <resolved>Thu, 19 May 2022 08:56:20 +0000</resolved>
                                                    <fixVersion>4.7.0</fixVersion>
                                    <component>Client Side Encryption</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4558670" author="xgen-internal-githook" created="Thu, 19 May 2022 08:51:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ross Lawley&apos;, &apos;email&apos;: &apos;ross.lawley@gmail.com&apos;, &apos;username&apos;: &apos;rozza&apos;}
&lt;p&gt;Message: Add FLE 2 API to AutoEncryptionOptions&lt;/p&gt;

&lt;p&gt;Add FLE 2 behavior for creating and dropping a collection&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4593&quot; title=&quot;Support queryable auto-encryption &quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4593&quot;&gt;&lt;del&gt;JAVA-4593&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4589&quot; title=&quot;Add queryable encryption support to creating and dropping a collection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4589&quot;&gt;&lt;del&gt;JAVA-4589&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4609&quot; title=&quot;Update queryable encryption support in collection management&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4609&quot;&gt;&lt;del&gt;JAVA-4609&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/11484607b8d5f3888f4335f939e02ceb58952eae&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/11484607b8d5f3888f4335f939e02ceb58952eae&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4556717" author="xgen-internal-githook" created="Wed, 18 May 2022 15:01:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ross Lawley&apos;, &apos;email&apos;: &apos;ross.lawley@gmail.com&apos;, &apos;username&apos;: &apos;rozza&apos;}
&lt;p&gt;Message: Added FLE 2 API to ClientEncryptionOptions&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4593&quot; title=&quot;Support queryable auto-encryption &quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4593&quot;&gt;&lt;del&gt;JAVA-4593&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/commit/36b0b00312f2b3b5a96877b69c041841568f40bb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/commit/36b0b00312f2b3b5a96877b69c041841568f40bb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4556716" author="xgen-internal-githook" created="Wed, 18 May 2022 15:01:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ross Lawley&apos;, &apos;email&apos;: &apos;ross.lawley@gmail.com&apos;, &apos;username&apos;: &apos;rozza&apos;}
&lt;p&gt;Message: Added FLE2 AutoEncryptionOptions&lt;/p&gt;

&lt;p&gt;Added support for:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;mongocrypt_setopt_encrypted_field_config_map&lt;/li&gt;
	&lt;li&gt;mongocrypt_setopt_bypass_query_analysis&lt;/li&gt;
	&lt;li&gt;mongocrypt_setopt_aes_256_ctr&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4593&quot; title=&quot;Support queryable auto-encryption &quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4593&quot;&gt;&lt;del&gt;JAVA-4593&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/commit/d62026e5af5cd966b8492bb53c018e54783fdab2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/commit/d62026e5af5cd966b8492bb53c018e54783fdab2&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                                        </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>JAVA-4566</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|hr3mmh:0404</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>