<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:36:14 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>[CSHARP-240] Encrypt Attribute</title>
                <link>https://jira.mongodb.org/browse/CSHARP-240</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;The MongoDB driver needs a BsonEncryptAttribute&lt;br/&gt;
This could be applied to properties that are passwords, social security numbers or other personal information.&lt;br/&gt;
It could take parameters for type of encryption and secret key.&lt;br/&gt;
Then the driver could automatically encrypt and decrypt the data upon serialization and deserialization.&lt;br/&gt;
Maybe a BsonHashAttribute would be better for password fields.&lt;/p&gt;</description>
                <environment></environment>
        <key id="17989">CSHARP-240</key>
            <summary>Encrypt Attribute</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="9">Done</resolution>
                                        <assignee username="craig.wilson@mongodb.com">Craig Wilson</assignee>
                                    <reporter username="middletommy">Thomas Tucker</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Jun 2011 13:46:10 +0000</created>
                <updated>Mon, 15 Apr 2019 23:27:41 +0000</updated>
                            <resolved>Fri, 4 May 2012 17:40:34 +0000</resolved>
                                    <version>1.0</version>
                                    <fixVersion>1.5</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2214443" author="cp5555" created="Mon, 15 Apr 2019 23:27:41 +0000"  >&lt;p&gt;The link for the working code provided above(&lt;a href=&quot;https://github.com/craiggwilson/mongo-csharp-driver/commit/63eae0ac9468e5d0c68c35eaa8dd9f409eba3f08&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/craiggwilson/mongo-csharp-driver/commit/63eae0ac9468e5d0c68c35eaa8dd9f409eba3f08)&lt;/a&gt; is not working. Do you have a updated link for working example of BsonEncryptAttribute ?&lt;/p&gt;</comment>
                            <comment id="114691" author="craiggwilson" created="Sun, 29 Apr 2012 20:33:37 +0000"  >&lt;p&gt;This can be enabled with a custom IBsonSerializer implementation.  In addition, the 1.5 version of the driver will enable custom attribute creation to bootstrap the assignment of the custom serializer.  You can view the working code here: &lt;a href=&quot;https://github.com/craiggwilson/mongo-csharp-driver/commit/63eae0ac9468e5d0c68c35eaa8dd9f409eba3f08&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/craiggwilson/mongo-csharp-driver/commit/63eae0ac9468e5d0c68c35eaa8dd9f409eba3f08&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="41104" author="middletommy" created="Thu, 7 Jul 2011 15:34:14 +0000"  >&lt;p&gt;It would be valuable in all drivers. &lt;br/&gt;
I dont see how it could be implemented in the core database as the database should not know its data is encrypted or how. &lt;br/&gt;
As long as you know the parameters/algorithms applied to the attribute you could decrypt the data with any language/driver. You would just have to do it manually.&lt;/p&gt;</comment>
                            <comment id="40281" author="mkirk" created="Sat, 2 Jul 2011 00:25:13 +0000"  >&lt;p&gt;Is this really a feature specific to the C# Driver? Or does this belong close to Mongo core?&lt;/p&gt;

&lt;p&gt;E.g. if you write a BsonEncryptAttribute with your C# driver, how would someone with a different driver recover the value?&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|hrh8vj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14237</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>