Skip to content

Conversation

tdykstra
Copy link
Contributor

Fixes dotnet/docs#10202

Most of the affected classes already had the needed warnings. This PR just propagates those notes to derived and related classes and in some cases moves warning text into a note box.

@dotnet-bot dotnet-bot added this to the July 2020 milestone Jul 17, 2020
@tdykstra tdykstra requested a review from bartonjs July 17, 2020 17:35
Valid key sizes range from 512 to 3,072 bits, in increments of 64. We recommend that a minimum size of 2,048 bits be used for all keys.
> [!IMPORTANT]
> Newer asymmetric algorithms are available. Consider using the <xref:System.Security.Cryptography.RSA> class or the <xref:System.Security.Cryptography.ECDsa> class instead of the <xref:System.Security.Cryptography.DSA> class. Use <xref:System.Security.Cryptography.DSA> only for compatibility with legacy applications and data.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RSA is from 1977 and DSA is from 1991. RSA just had better staying power.

So perhaps "Better" instead of "Newer"? Or "The creators of the DSA algorithm have withdrawn their support for it."?

@bartonjs
Copy link
Member

Just the one semantic issue, but its resolution needs to be copied to all of the DSA types.

@tdykstra tdykstra closed this Jul 22, 2020
@tdykstra tdykstra reopened this Jul 22, 2020
@tdykstra tdykstra merged commit 0624f6a into dotnet:master Jul 23, 2020
@tdykstra tdykstra deleted the depnotes branch July 23, 2020 13:50
@eiriktsarpalis eiriktsarpalis added the area-System.Security Issues related to security practices for .NET developers. label Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.Security Issues related to security practices for .NET developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

**Note deprecated APIs**

4 participants