Skip to content

U2FServer::createChallenge() fails in PHP 7.4 #6

@MauricioFauth

Description

@MauricioFauth

Samyoul\U2F\U2FServer\U2FServer::createChallenge() always throws an exception in PHP 7.4.

Samyoul\U2F\U2FServer\U2FException: Unable to obtain a good source of randomness

openssl_random_pseudo_bytes has changed in PHP 7.4.

See RFC: https://wiki.php.net/rfc/improve-openssl-random-pseudo-bytes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions