<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:38:30 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>[GODRIVER-2398] Add Queryable Encryption API to AutoEncryptionOpts</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2398</link>
                <project id="14289" key="GODRIVER">Go 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="2034439">GODRIVER-2398</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:49 +0000</created>
                <updated>Sat, 28 Oct 2023 11:37:36 +0000</updated>
                            <resolved>Wed, 25 May 2022 11:33:04 +0000</resolved>
                                                    <fixVersion>1.10.0</fixVersion>
                    <fixVersion>1.10.0-beta1</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="4571821" author="xgen-internal-githook" created="Wed, 25 May 2022 11:32:51 +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/GODRIVER-2398&quot; title=&quot;Add Queryable Encryption API to AutoEncryptionOpts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2398&quot;&gt;&lt;del&gt;GODRIVER-2398&lt;/del&gt;&lt;/a&gt; Add FLE 2 API to AutoEncryptionOpts (#957)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;add BypassQueryAnalysis option&lt;/li&gt;
&lt;/ul&gt;


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


&lt;ul&gt;
	&lt;li&gt;error on extra fields in command expectations&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;do not spawn mongocryptd if bypassQueryAnalysis is true&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;refactor: move GetEncryptedStateCollectionName into internal package&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;test with libmongocrypt 1.5.0-alpha1&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/aa32249b4cdbd7d5c3e6a851b376b061849efbf8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/aa32249b4cdbd7d5c3e6a851b376b061849efbf8&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="4562858" author="xgen-internal-githook" created="Fri, 20 May 2022 16:52:26 +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/GODRIVER-2398&quot; title=&quot;Add Queryable Encryption API to AutoEncryptionOpts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2398&quot;&gt;&lt;del&gt;GODRIVER-2398&lt;/del&gt;&lt;/a&gt; use CreateCollection() and CreateView() in mtest (#953)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/7fbb175bfd1a3ebe204a878e3dd98a6d6089da6f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/7fbb175bfd1a3ebe204a878e3dd98a6d6089da6f&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2053978">GODRIVER-2436</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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>GODRIVER-2372</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|hr6jqz:y</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>