Task #31128

We should only have one source of random bytes

Added by Christian Müller almost 10 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Should have
Category:
Utility
Target version:
-
Start date:
2011-10-20
Due date:
% Done:

0%

Estimated time:
Sprint:
PHP Version:
Has patch:
Complexity:

Description

Currently for generation of the persistent security token we use self made code in TYPO3.FLOW3/Classes/Utility/Algorithms.php but for example the CSRF token use the method from TYPO3.FLOW3/Resources/PHP/iSecurity/Security_Randomizer.php to generate random bytes.

We should unify that and use TYPO3\FLOW3\Utility\Algorithms::generateRandomBytes as wrapper for random byte creation.

#1

Updated by Christian Müller almost 10 years ago

  • Status changed from Accepted to Rejected

already included in #25714

Also available in: Atom PDF