Skip to content

no uniqid as a substitute of randomness #148

@pavetheway91

Description

@pavetheway91

Hey

I just learned about those long overdue CVEs and this project got a new user a perhaps a new contributor too.

After a quick inspection, I found at least one additional issue, which you've addressed in PHP7+ (uniqid as a source of "randomness"). If you really, really, really still want to keep PHP5 supported, I'd like to suggest another solution for that, which is trying several things such as libsodium, /dev/urandom, CAPICOM etc. If it really turns out that there actually are systems without any of these, only then think about having a user-enableable option for some kind of a substitute. Shall I send a PR?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementExisting feature could be improved
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions