<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:21:05 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-4498] Error if RewrapManyDataKey is called with masterKey and without provider</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4498</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-2441&quot; title=&quot;Error if RewrapManyDataKey is called with masterKey and without provider&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2441&quot;&gt;&lt;del&gt;DRIVERS-2441&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="2156797">CDRIVER-4498</key>
            <summary>Error if RewrapManyDataKey is called with masterKey and without provider</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                    </labels>
                <created>Tue, 11 Oct 2022 16:35:59 +0000</created>
                <updated>Sat, 28 Oct 2023 11:27:59 +0000</updated>
                            <resolved>Wed, 17 May 2023 14:30:25 +0000</resolved>
                                                    <fixVersion>1.23.5</fixVersion>
                                    <component>Client Side Encryption</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5434892" author="xgen-internal-githook" created="Thu, 18 May 2023 14:21:28 +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/CXX-2599&quot; title=&quot;Error if RewrapManyDataKey is called with masterKey and without provider&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2599&quot;&gt;&lt;del&gt;CXX-2599&lt;/del&gt;&lt;/a&gt; add prose test and upgrade C test dependency (#965)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;update C driver test dependency to 98995b5d9e31768ae02be265e3debe43ec35cff8&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;To include fix of &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4498&quot; title=&quot;Error if RewrapManyDataKey is called with masterKey and without provider&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4498&quot;&gt;&lt;del&gt;CDRIVER-4498&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;add prose test: 16. Rewrap. Case 2&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/2bba04c2e7b1bad2d992bfa8919eb0653cbfdb51&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/2bba04c2e7b1bad2d992bfa8919eb0653cbfdb51&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="5431737" author="xgen-internal-githook" created="Wed, 17 May 2023 14:30:14 +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-4498&quot; title=&quot;Error if RewrapManyDataKey is called with masterKey and without provider&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4498&quot;&gt;&lt;del&gt;CDRIVER-4498&lt;/del&gt;&lt;/a&gt; return error if `masterKey` is set, but `provider` is not set (#1259)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;add CSE Prose Test 16: Case 2&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;return error if `provider` is not set when `master_key` is set&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Simplify assertion of provider&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;update commented test name to match specification&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;use empty doc for masterKey to match specification&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;use ASSERT_WITH_MSG&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;clarify in docs that current master key is used when provider is NULL&lt;/li&gt;
&lt;/ul&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: r1.23&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/40f748bc5807b5d7ff40b4d40b2551b66bdc7ed0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/40f748bc5807b5d7ff40b4d40b2551b66bdc7ed0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5431725" author="xgen-internal-githook" created="Wed, 17 May 2023 14:28:48 +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-4498&quot; title=&quot;Error if RewrapManyDataKey is called with masterKey and without provider&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4498&quot;&gt;&lt;del&gt;CDRIVER-4498&lt;/del&gt;&lt;/a&gt; return error if `masterKey` is set, but `provider` is not set (#1259)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;add CSE Prose Test 16: Case 2&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;return error if `provider` is not set when `master_key` is set&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Simplify assertion of provider&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;update commented test name to match specification&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;use empty doc for masterKey to match specification&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;use ASSERT_WITH_MSG&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;clarify in docs that current master key is used when provider is NULL&lt;/li&gt;
&lt;/ul&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/98995b5d9e31768ae02be265e3debe43ec35cff8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/98995b5d9e31768ae02be265e3debe43ec35cff8&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                        <issuelink>
            <issuekey id="2136187">DRIVERS-2441</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2156805">PHPC-2148</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_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY24Q2</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0wcg0:</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;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2441&quot; title=&quot;Error if RewrapManyDataKey is called with masterKey and without provider&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2441&quot;&gt;&lt;del&gt;DRIVERS-2441&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
If applicable, implement the &quot;Case 2: RewrapManyDataKeyOpts.provider is not optional&quot; specified in &lt;a href=&quot;https://github.com/mongodb/specifications/commit/4703757119d96fa1438158ece0a30c2186f47800&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/4703757119d96fa1438158ece0a30c2186f47800&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If the test does not pass, this may suggest the driver needs to be changed to return an expected error when `RewrapManyDataKeyOpts.provider` is not set and `RewrapManyDataKeyOpts.masterKey` is set.&lt;/p&gt;</customfieldvalue>

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