dotnet / dotnet/dotnet-api-docs
Add remark for RsaCng Key export behavior difference
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
Originally posted at: https://github.com/MicrosoftDocs/feedback/issues/2261
Link to article:
https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.rsacng?view=netframework-4.6
Problem:
Refer to discussion on:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/10e6cf37-b8e8-497a-9ade-d7af9d9483c6/where-does-the-default-rsacngkeyexportpolicy-come-from?forum=netfxbcl
We found that on .NET Framework v4.6.1 or before, AllowPlaintextExport option is not passed when creating the key. This option is added as default on .NET v4.6.2 version of the source file.
Keys created without this option would encounter problem when the program try to export the private key after creation.
It would be great if we can add remark to corresponding versions to address this behavior difference.
Contributor guide
Assessment
This issue has not been assessed yet.