28 ms·
By looking at the random generated credentials, it seems the entropy is low. In the source code [github], base_convert is used, the documentation write : WARN
by dalbin 10y ago
By looking at the random generated credentials, it seems the entropy is low.
In the source code [github], base_convert is used, the documentation write :
WARNING: base_convert() may lose precision on large numbers.
My PHP is little rusty, but should probably make a pull-request.
[github]: https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/blob/master/Util/Random.php#L32 https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/blo...