<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:21:20 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-4584] Update libmongocrypt payloads to new QE protocol</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4584</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-2435&quot; title=&quot;Update libmongocrypt payloads to new QE protocol&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2435&quot;&gt;&lt;del&gt;DRIVERS-2435&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="2271145">CDRIVER-4584</key>
            <summary>Update libmongocrypt payloads to new QE protocol</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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>Tue, 21 Feb 2023 20:08:43 +0000</created>
                <updated>Sat, 28 Oct 2023 11:27:54 +0000</updated>
                            <resolved>Thu, 6 Apr 2023 18:38:33 +0000</resolved>
                                                    <fixVersion>1.24.0</fixVersion>
                                    <component>Client Side Encryption</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5391909" author="xgen-internal-githook" created="Mon, 1 May 2023 19:21:31 +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-4584&quot; title=&quot;Update libmongocrypt payloads to new QE protocol&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4584&quot;&gt;&lt;del&gt;CDRIVER-4584&lt;/del&gt;&lt;/a&gt; use libmongocrypt 1.8.0-alpha1 (#1253)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;use libmongocrypt 1.8.0-alpha1&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;remove use of `mongocrypt_setopt_fle2v2`&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/01cbb3f0c21891b703a3382b5f690fcd92e48d01&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/01cbb3f0c21891b703a3382b5f690fcd92e48d01&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="5330758" author="xgen-internal-githook" created="Thu, 6 Apr 2023 18:37:33 +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-4584&quot; title=&quot;Update libmongocrypt payloads to new QE protocol&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4584&quot;&gt;&lt;del&gt;CDRIVER-4584&lt;/del&gt;&lt;/a&gt; support Queryable Encryption v2  (#1228)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;add setfle2parameter.py workaround&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;To enable the featureFlagFLE2ProtocolVersion2 until it is enabled by default in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69563&quot; title=&quot;Enable Feature flag for PM-2972&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69563&quot;&gt;&lt;del&gt;SERVER-69563&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;remove `fle2-*` tests&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;add `fle2v2-*` tests&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Syncs to specifications commit 64deb2837a2355f6002775c49b9b6c50c9dc560f&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;call `mongocrypt_setopt_fle2v2` to enable QEv2&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;format test-mongoc-client-side-encryption.c&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;skip QE prose tests on server &amp;lt; 7.0.0 and serverless&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;remove unnecessary wire version checks server version is now checked in the function call&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;use libmongocrypt 1.8.0-alpha0&lt;/li&gt;
&lt;/ul&gt;


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


&lt;ul&gt;
	&lt;li&gt;use macro for skips&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Simplify error messages&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Co-authored-by: Ezra Chung &amp;lt;88335979+eramongodb@users.noreply.github.com&amp;gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;check for error on mongocrypt_setopt_fle2v2&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;use skip functions for consistency&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;remove extra whitespace&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Revert &quot;add setfle2parameter.py workaround&quot;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This reverts commit aa82b191e6bd8175041f34bfe639cdf507b06a79.&lt;/p&gt;

&lt;p&gt;---------&lt;/p&gt;

&lt;p&gt;Co-authored-by: Ezra Chung &amp;lt;88335979+eramongodb@users.noreply.github.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/8aced03a963e70182b79d883e881f239766b09bf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/8aced03a963e70182b79d883e881f239766b09bf&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="2312396">PHPC-2203</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2271146">CXX-2656</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                        <issuelink>
            <issuekey id="2133465">DRIVERS-2435</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2271153">PHPLIB-1088</issuekey>
        </issuelink>
                            </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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1fk7s:</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_22279" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Server Compat</customfieldname>
                        <customfieldvalues>
                                        <label>7.0</label>
            <label>7.1</label>
    
                        </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-2435&quot; title=&quot;Update libmongocrypt payloads to new QE protocol&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2435&quot;&gt;&lt;del&gt;DRIVERS-2435&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
Drivers are expected to update the Queryable Encryption (QE) tests. See &lt;a href=&quot;https://github.com/mongodb/specifications/commit/64deb2837a2355f6002775c49b9b6c50c9dc560f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/64deb2837a2355f6002775c49b9b6c50c9dc560f&lt;/a&gt; for changes. Here is a summary:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Add `fle2v2-*` tests expecting the QEv2 protocol.&lt;/li&gt;
	&lt;li&gt;Remove `fle2-*` tests expecting the QEv1 protocol.&lt;/li&gt;
	&lt;li&gt;Upgrade libmongocrypt dependency to 1.8.0-alpha1 or newer.
	&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
		&lt;li&gt;Binaries for 1.8.0-alpha1 are available here: &lt;a href=&quot;https://spruce.mongodb.com/task/libmongocrypt_publish_upload_all_009a8122c10c529d9729e908bef1f7dc0d1b4549_23_04_26_12_54_15/files&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://spruce.mongodb.com/task/libmongocrypt_publish_upload_all_009a8122c10c529d9729e908bef1f7dc0d1b4549_23_04_26_12_54_15/files&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Update QE prose tests to require MongoDB Server 7.0.0+.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;See &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/pull/1213&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/pull/1213&lt;/a&gt; for the example Go driver implementation.&lt;/p&gt;

&lt;p&gt;Also consider: To fix test failures without enabling QEv2: sync spec tests to &lt;a href=&quot;https://github.com/mongodb/specifications/commit/baf3724155500acbb557e158b8a5d4334e7f3512&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/baf3724155500acbb557e158b8a5d4334e7f3512&lt;/a&gt; and skip to QE prose tests on server versions &amp;gt; 6.2.99. That may be helpful to backport to release branches so the tests on release branches do not fail against latest servers.&lt;/p&gt;

&lt;p&gt;Changelog:&lt;br/&gt;
2023-04-26: libmongocrypt 1.8.0-alpha1 was released and removes the `mongocrypt_setopt_fle2v2` symbol. QEv2 is enabled by default.&lt;/p&gt;</customfieldvalue>

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