Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
Removed SecureRandom class#15880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ea7d682
to2e2b762
Compare…vour of the random_bytes function
2e2b762
toa7dd362
CompareWe cannot remove it from the master branch without deprecating it first in 2.8 according to our policy. Otherwise it makes the upgrade to 3.0 painful |
Which means this PR should not exist yet (merging the deprecation PR will make this PR unmergeable because of conflicts) |
I'll fix the conflicts when the deprecation PR is merged, I also updated the description to say that this is dependant on the deprecation PR to be merged first. |
@pierredup most of the work done in this PR would become unnecessary once the deprecation PR is implemented the proper way though. The PR would just remove the class, the |
Okay makes sense, I'll close this for now |
Remove the
Symfony\Component\Security\Core\Util\SecureRandom
class and use therandom_bytes
function instead. Also include theparagonie/random_compat
library for non PHP 7 installsNote This PR depends on#15879 to be merged first