<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:50:22 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>[SERVER-38900] Implement JSON Schema parsing for &quot;encrypt&quot;</title>
                <link>https://jira.mongodb.org/browse/SERVER-38900</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;ul&gt;
	&lt;li&gt;Can be present anywhere in the schema, including top-level.&lt;/li&gt;
	&lt;li&gt;Suggest starting with a new &quot;translateEncryptionKeywords&quot; method at the[ entry point in the parser|https://github.com/mongodb/mongo/blob/83a494cb0a1afca5cfaaf9d29eeb8a2ce1e02264/src/mongo/db/matcher/schema/json_schema_parser.cpp#L1355].&lt;/li&gt;
	&lt;li&gt;Resulting match expression should contain the new $_internalSchemaBinDataSubType expression.&lt;/li&gt;
	&lt;li&gt;This ticket should only implement the parsing required for mongod to understand the new keywords, no mongocryptd/FLE specific logic. For now, require that the &quot;encrypt&quot; argument is an empty object.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="667785">SERVER-38900</key>
            <summary>Implement JSON Schema parsing for &quot;encrypt&quot;</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="vlad.rachev@mongodb.com">Vlad Rachev</assignee>
                                    <reporter username="nicholas.zolnierz@mongodb.com">Nicholas Zolnierz</reporter>
                        <labels>
                    </labels>
                <created>Tue, 8 Jan 2019 22:04:11 +0000</created>
                <updated>Sun, 29 Oct 2023 22:25:18 +0000</updated>
                            <resolved>Fri, 25 Jan 2019 21:01:01 +0000</resolved>
                                                    <fixVersion>4.1.8</fixVersion>
                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="2320113" author="david.storch" created="Wed, 10 Jul 2019 20:15:30 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ravind.kumar&quot; class=&quot;user-hover&quot; rel=&quot;ravind.kumar&quot;&gt;ravind.kumar&lt;/a&gt;, sorry about the confusion, and happy to field any further questions you may have! +1 to making sure that &lt;tt&gt;encryptMetadata&lt;/tt&gt; is documented in the manual.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;(eg.. bsonType is marked as a string|array of strings in one doc, but afaik it only supports a single bsonType)&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Hopefully I cleared this up in our discussion on another ticket. Let me know if you see any other discrepancies like this.&lt;/p&gt;</comment>
                            <comment id="2317231" author="nicholas.zolnierz" created="Tue, 9 Jul 2019 15:32:33 +0000"  >&lt;p&gt;Sorry about that, I&apos;ve marked &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39246&quot; title=&quot;Implement encryptMetadata parsing and inheritance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39246&quot;&gt;&lt;del&gt;SERVER-39246&lt;/del&gt;&lt;/a&gt; as docs needed. Feel free to reach out to myself or Pawel to review!&lt;/p&gt;</comment>
                            <comment id="2316902" author="ravind.kumar" created="Tue, 9 Jul 2019 14:42:21 +0000"  >&lt;p&gt;That&apos;s what I was looking for - since &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39246&quot; title=&quot;Implement encryptMetadata parsing and inheritance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39246&quot;&gt;&lt;del&gt;SERVER-39246&lt;/del&gt;&lt;/a&gt; was not marked as docs needed, nothing was generated. There was also some general confusion as to whether &lt;tt&gt;encryptMetadata&lt;/tt&gt; had made it through. This clarifies that.&lt;/p&gt;

&lt;p&gt;The link I think covers the full spec, including both auto encryption and explicit encryption. It is indeed a little awkward to depend wholly on the manual for defining encrypt/encryptMetadata, as there are discrepancies between the various available documents (eg.. bsonType is marked as a string|array of strings in one doc, but afaik it only supports a single bsonType). Happy to discuss offline. &lt;/p&gt;

&lt;p&gt;Can someone set &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39246&quot; title=&quot;Implement encryptMetadata parsing and inheritance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39246&quot;&gt;&lt;del&gt;SERVER-39246&lt;/del&gt;&lt;/a&gt; to be docs needed? I&apos;m not sure if it will still generate the appropriate docs ticket automatically at this point. IF not I&apos;ll fold it into ongoing work.&lt;/p&gt;</comment>
                            <comment id="2316812" author="nicholas.zolnierz" created="Tue, 9 Jul 2019 14:05:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ravind.kumar&quot; class=&quot;user-hover&quot; rel=&quot;ravind.kumar&quot;&gt;ravind.kumar&lt;/a&gt; I haven&apos;t gone through the driver spec in detail, but I suspect the link you gave is for explicit encryption? In that case, &lt;tt&gt;encryptMetadata&lt;/tt&gt; is not relevant as there&apos;s no JSON Schema involved. It appears as though the &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/client-side-encryption.rst#jsonschema-encrypt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;JSON Schema section &lt;/a&gt; does only mention &lt;tt&gt;encrypt&lt;/tt&gt;, which is a little awkward but OK because it then references the manual for more details?&lt;/p&gt;

&lt;p&gt;As for the commit, this ticket was specifically for &lt;tt&gt;encrypt&lt;/tt&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39246&quot; title=&quot;Implement encryptMetadata parsing and inheritance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39246&quot;&gt;&lt;del&gt;SERVER-39246&lt;/del&gt;&lt;/a&gt; handled &lt;tt&gt;encryptMetadata&lt;/tt&gt;. Does that answer your concerns or did I misunderstand something?&lt;/p&gt;</comment>
                            <comment id="2128259" author="xgen-internal-githook" created="Fri, 25 Jan 2019 22:51:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;vlad.rachev@mongodb.com&apos;, &apos;name&apos;: &apos;vrachev&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38900&quot; title=&quot;Implement JSON Schema parsing for &amp;quot;encrypt&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38900&quot;&gt;&lt;del&gt;SERVER-38900&lt;/del&gt;&lt;/a&gt; Implement JSON Schema parsing for &apos;encrypt&apos;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ffe35fbcb46d344fef138fe82dfbedc070205ab8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ffe35fbcb46d344fef138fe82dfbedc070205ab8&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="677341">SERVER-39171</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="677562">SERVER-39182</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="679611">SERVER-39248</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="679225">DOCS-12398</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 9 Jan 2019 18:12:40 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 31 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <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>PM-1258</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 31 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>nicholas.zolnierz@mongodb.com</customfieldvalue>
            <customfieldvalue>ravind.kumar</customfieldvalue>
            <customfieldvalue>vlad.rachev@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huik1z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu8jz3:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2672">Query 2019-01-14</customfieldvalue>
    <customfieldvalue id="2751">Query 2019-01-28</customfieldvalue>
    <customfieldvalue id="2752">Query 2019-02-11</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hui6bb:</customfieldvalue>

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