Skip to content

Conversation

@jeffhandley
Copy link
Member

Fixes #40169, marking RNGCryptoServiceProvider as obsolete, guiding usage toward RandomNumberGenerator.Create().

@jeffhandley jeffhandley added area-System.Security breaking-change Issue or PR that represents a breaking API or functional change over a previous release. labels May 6, 2021
@ghost
Copy link

ghost commented May 6, 2021

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

@ghost
Copy link

ghost commented May 6, 2021

Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq, @GrabYourPitchforks
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #40169, marking RNGCryptoServiceProvider as obsolete, guiding usage toward RandomNumberGenerator.Create().

Author: jeffhandley
Assignees: -
Labels:

area-System.Security, breaking-change

Milestone: -

@ghost ghost added the needs-breaking-change-doc-created Breaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnet label May 6, 2021
@jeffhandley
Copy link
Member Author

The breaking change documentation will be covered by dotnet/docs#23856.

/cc @gewarren

@jeffhandley jeffhandley removed the needs-breaking-change-doc-created Breaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnet label May 6, 2021
@jeffhandley
Copy link
Member Author

The failing check is #51584.

@GrabYourPitchforks
Copy link
Member

I think the System.Security.Principal.Windows test changes may have to be reverted, as that .csproj cross-targets core + full framework. But everything else LGTM.

…enerator.Create().GetBytes()"

This reverts commit 447f848.
@jeffhandley jeffhandley merged commit ebd695f into dotnet:main May 8, 2021
@jeffhandley jeffhandley deleted the jeffhandley/obsolete-rngcryptoserviceprovider branch May 8, 2021 01:33
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Security breaking-change Issue or PR that represents a breaking API or functional change over a previous release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API proposal: Obsolete RNGCryptoServiceProvider

4 participants