<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:07:43 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-1] libmongocrypt is using the wrong encryption key for AEAD encryption with 96 byte keys</title>
                <link>https://jira.mongodb.org/browse/MONGOCRYPT-1</link>
                <project id="17481" key="MONGOCRYPT">Libmongocrypt</project>
                    <description>&lt;p&gt;Per &lt;a href=&quot;https://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha2-05&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/draft-mcgrew-aead-aes-cbc-hmac-sha2-05&lt;/a&gt;, the ENC_KEY is bytes &lt;span class=&quot;error&quot;&gt;&amp;#91;32..63&amp;#93;&lt;/span&gt; of the key. libmongocrypt is using the last 32 bytes of the key. This is incorrect.&lt;/p&gt;

&lt;p&gt;Bug is here:&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/blob/3596d57cfb0a8837b1338af15cfd7e7f9dcc838f/src/mongocrypt-crypto.c#L373&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/blob/3596d57cfb0a8837b1338af15cfd7e7f9dcc838f/src/mongocrypt-crypto.c#L373&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=shreyas.kalyan&quot; class=&quot;user-hover&quot; rel=&quot;shreyas.kalyan&quot;&gt;shreyas.kalyan&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="808345">MONGOCRYPT-1</key>
            <summary>libmongocrypt is using the wrong encryption key for AEAD encryption with 96 byte keys</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="mark.benvenuto@mongodb.com">Mark Benvenuto</reporter>
                        <labels>
                    </labels>
                <created>Wed, 19 Jun 2019 19:45:28 +0000</created>
                <updated>Sat, 28 Oct 2023 10:25:20 +0000</updated>
                            <resolved>Wed, 19 Jun 2019 23:14:38 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2290740" author="xgen-internal-githook" created="Wed, 19 Jun 2019 23:13:08 +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-1&quot; title=&quot;libmongocrypt is using the wrong encryption key for AEAD encryption with 96 byte keys&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-1&quot;&gt;&lt;del&gt;CDRIVER-3199&lt;/del&gt;&lt;/a&gt; fix key offset&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libmongocrypt/commit/b8e04511888e6a6ced74d434e3e0261d31093340&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libmongocrypt/commit/b8e04511888e6a6ced74d434e3e0261d31093340&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <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|huva27:</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>