<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:47:23 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>[CSHARP-4153] Add FLE 2 API to AutoEncryptionOpts</title>
                <link>https://jira.mongodb.org/browse/CSHARP-4153</link>
                <project id="10041" key="CSHARP">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="2034438">CSHARP-4153</key>
            <summary>Add FLE 2 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="dmitry.lukyanov@mongodb.com">Dmitry Lukyanov</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                    </labels>
                <created>Wed, 27 Apr 2022 14:29:47 +0000</created>
                <updated>Sat, 28 Oct 2023 11:47:15 +0000</updated>
                            <resolved>Thu, 2 Jun 2022 18:36:00 +0000</resolved>
                                                    <fixVersion>2.16.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4590923" author="xgen-internal-githook" created="Thu, 2 Jun 2022 18:35:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Dmitry Lukyanov&apos;, &apos;email&apos;: &apos;dmitry.lukyanov@mongodb.com&apos;, &apos;username&apos;: &apos;DmitryLukyanov&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4153&quot; title=&quot;Add FLE 2 API to AutoEncryptionOpts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-4153&quot;&gt;&lt;del&gt;CSHARP-4153&lt;/del&gt;&lt;/a&gt;: Add FLE 2 API to AutoEncryptionOpts. (#793)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4160&quot; title=&quot;Add FLE 2 test for compactStructuredEncryptionData&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-4160&quot;&gt;&lt;del&gt;CSHARP-4160&lt;/del&gt;&lt;/a&gt;: Add FLE 2 test for compactStructuredEncryptionData.&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4157&quot; title=&quot;Add FLE 2 API to ClientEncryptionOpts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-4157&quot;&gt;&lt;del&gt;CSHARP-4157&lt;/del&gt;&lt;/a&gt;: Add FLE 2 API to ClientEncryptionOpts.&lt;br/&gt;
CSHARp-4175: Ban comparisons to encrypted fields in collection validator and partialFilterExpression.&lt;br/&gt;
Co-authored-by: Boris &amp;lt;boris.dogadov@mongodb.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/20a640b50ae6656581f36b95cb0771bd7a5e42da&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/20a640b50ae6656581f36b95cb0771bd7a5e42da&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4588555" author="xgen-internal-githook" created="Wed, 1 Jun 2022 23:08:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Dmitry Lukyanov&apos;, &apos;email&apos;: &apos;dmitry.lukyanov@mongodb.com&apos;, &apos;username&apos;: &apos;DmitryLukyanov&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4153&quot; title=&quot;Add FLE 2 API to AutoEncryptionOpts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-4153&quot;&gt;&lt;del&gt;CSHARP-4153&lt;/del&gt;&lt;/a&gt;: Add FLE 2 API to AutoEncryptionOpts. (#330)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4157&quot; title=&quot;Add FLE 2 API to ClientEncryptionOpts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-4157&quot;&gt;&lt;del&gt;CSHARP-4157&lt;/del&gt;&lt;/a&gt;: Add FLE 2 API to ClientEncryptionOpts.&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4190&quot; title=&quot;Rename csfle shared library references&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-4190&quot;&gt;&lt;del&gt;CSHARP-4190&lt;/del&gt;&lt;/a&gt;: Rename csfle shared library references.&lt;/p&gt;

&lt;p&gt;Co-authored-by: Boris &amp;lt;boris.dogadov@mongodb.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/commit/d5d0e9609afa49f87eef7aee62ee1fe504b08d77&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/commit/d5d0e9609afa49f87eef7aee62ee1fe504b08d77&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>CSHARP-4132</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|hr494c:jk</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>