<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:08:33 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>[MONGOCRYPT-378] Replace use of mongocryptd with csfle</title>
                <link>https://jira.mongodb.org/browse/MONGOCRYPT-378</link>
                <project id="17481" key="MONGOCRYPT">Libmongocrypt</project>
                    <description>&lt;p&gt;&lt;b&gt;Background&lt;/b&gt;&lt;br/&gt;
The libmongocrypt state machine enters the &lt;tt&gt;MONGOCRYPT_CTX_NEED_MONGO_MARKINGS&lt;/tt&gt; state to request a driver send a command to mongocryptd.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Scope&lt;/b&gt;&lt;br/&gt;
Once csfle is dynamically linked, replace use of mongocryptd with the csfle library. Do not enter the &lt;tt&gt;MONGOCRYPT_CTX_NEED_MONGO_MARKINGS&lt;/tt&gt; state.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1977928">MONGOCRYPT-378</key>
            <summary>Replace use of mongocryptd with csfle</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="9">Done</resolution>
                                        <assignee username="colby.pike@mongodb.com">Colby Pike</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                    </labels>
                <created>Fri, 4 Feb 2022 22:09:23 +0000</created>
                <updated>Sun, 1 May 2022 15:23:09 +0000</updated>
                            <resolved>Wed, 30 Mar 2022 21:56:53 +0000</resolved>
                                                    <fixVersion>1.5.0-alpha0</fixVersion>
                    <fixVersion>1.5.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4451661" author="xgen-internal-githook" created="Fri, 1 Apr 2022 21:12:39 +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/MONGOCRYPT-378&quot; title=&quot;Replace use of mongocryptd with csfle&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-378&quot;&gt;&lt;del&gt;MONGOCRYPT-378&lt;/del&gt;&lt;/a&gt; append empty jsonSchema as fallback (#282)&lt;/p&gt;

&lt;p&gt;Resolves a regression: jsonSchema is not appended if there is no local jsonSchema or remote jsonSchema used.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/commit/b4beca89c4071cc0c67c4ef6c1766d6ee03b6acb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/commit/b4beca89c4071cc0c67c4ef6c1766d6ee03b6acb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4446154" author="xgen-internal-githook" created="Wed, 30 Mar 2022 21:55:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;vector-of-bool&apos;, &apos;email&apos;: &apos;vectorofbool@gmail.com&apos;, &apos;username&apos;: &apos;vector-of-bool&apos;}
&lt;p&gt;Message: Integrate csfle dynamic library as part of mongocrypt&apos;s encryption routines (#263)&lt;/p&gt;

&lt;p&gt;Refer: &lt;a href=&quot;https://jira.mongodb.org/browse/MONGOCRYPT-378&quot; title=&quot;Replace use of mongocryptd with csfle&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-378&quot;&gt;&lt;del&gt;MONGOCRYPT-378&lt;/del&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Explicit options to request a test mongocrypt_t with csfle loaded&lt;/li&gt;
	&lt;li&gt;Add csfle to intercept the `NEED_MARKINGS` state&lt;/li&gt;
	&lt;li&gt;Example state machine logs to stderr&lt;/li&gt;
	&lt;li&gt;Fix collinfo for example-state-machine&lt;/li&gt;
	&lt;li&gt;Fix expected command reply to expect a keyId array&lt;/li&gt;
	&lt;li&gt;Add a simple test for the real csfle library&lt;/li&gt;
	&lt;li&gt;Ensure command given to csfle has a $db field, not required for other markings ops&lt;/li&gt;
	&lt;li&gt;Stubbed csfle library generates a valid command response, even if useless&lt;/li&gt;
	&lt;li&gt;API to obtain a filepath for a loaded dynamic libary&lt;/li&gt;
	&lt;li&gt;Load only a single global csfle_lib at any time.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;  This requires synchronization and global var management.&lt;br/&gt;
  Each time we try to load csfle, compare&lt;br/&gt;
  against a global result. If there is no global result, replace the&lt;br/&gt;
  global with our own result. If there is a global result, compare our&lt;br/&gt;
  attempt against that global result. Each subsequent attempt to load&lt;br/&gt;
  csfle must have found the same library, otherwise it is a hard error.&lt;/p&gt;


&lt;ul&gt;
	&lt;li&gt;Disable warning C4359,&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;  C4359 only appears in C++ for 32bit with bson-types.h&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/commit/c425e08f1ca8c5b930f5b4c6c5850e7524761b7e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/commit/c425e08f1ca8c5b930f5b4c6c5850e7524761b7e&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                        <issuelink>
            <issuekey id="2012779">PYTHON-3188</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2013761">DRIVERS-2260</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_21957" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Binding Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="22966"><![CDATA[Not Needed]]></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>MONGOCRYPT-366</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6if1:i</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>