<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:15:45 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-2602] Display human-readable code for Secure Transport errors</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2602</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;According to &lt;a href=&quot;https://developer.apple.com/documentation/security/secure_transport/1503828-secure_transport_result_codes&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Secure Transport Result Codes&lt;/a&gt;, a &lt;a href=&quot;https://developer.apple.com/documentation/security/1394686-seccopyerrormessagestring&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;SecCopyErrorMessageString()&lt;/tt&gt;&lt;/a&gt; function exists to translate error codes into human-readable strings. This might be used to improve the output of &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/1.9.3/src/mongoc/mongoc-stream-tls-secure-transport.c#L435&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&quot;TLS handshake failed: %d&quot;&lt;/a&gt; messages, as is done for &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/1.9.3/src/mongoc/mongoc-stream-tls-openssl.c#L594&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;OpenSSL&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Note that the function returns null if a string is not available, so that may be a case where the error message should fall back to displaying the original code. If there is prior art for how you handle this with OpenSSL (assuming it also has cases where no message is available), it&apos;d probably be best to follow that here.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="524272">CDRIVER-2602</key>
            <summary>Display human-readable code for Secure Transport errors</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="13203">Gone away</resolution>
                                        <assignee username="spencer.mckenney">Spencer Mckenney</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Mon, 9 Apr 2018 18:04:32 +0000</created>
                <updated>Fri, 27 Oct 2023 19:50:13 +0000</updated>
                            <resolved>Fri, 15 Jun 2018 13:35:07 +0000</resolved>
                                                    <fixVersion>1.10.0</fixVersion>
                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1921674" author="kevin.albertson" created="Fri, 15 Jun 2018 13:34:44 +0000"  >&lt;p&gt;Looks like this &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/r1.10/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-transport.c#L439&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;is fixed in 1.10&lt;/a&gt; by &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/eb353a31ce7d692b52d22eedf858a854145a13b5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this commit&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="1862864" author="jmikola@gmail.com" created="Thu, 12 Apr 2018 19:07:52 +0000"  >&lt;p&gt;I&apos;d defer to you, as I have no way to test this locally and I assume there is no prior art in the test suite to assert the structure of SSL error messages.&lt;/p&gt;</comment>
                            <comment id="1862843" author="jesse" created="Thu, 12 Apr 2018 18:55:14 +0000"  >&lt;p&gt;Do you want to submit a PR or shall we handle it?&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|htlytj:</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>