Skip to content

phpseclib3 version 3.0.49-1 tests failing on armhf with PHP 8.5 #2126

@renanrodrigo

Description

@renanrodrigo

This bug was found during the PHP 8.5 transition on Ubuntu:
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-resolute/resolute/armhf/p/php-phpseclib3/20260217_125240_82d81@/log.gz

In the logs:

448s PHP Warning: The float 3166450293 is not representable as an int, cast occurred in /usr/share/php/phpseclib3/Crypt/Twofish.php on line 376

448s PHP Warning: The float 4251020053 is not representable as an int, cast occurred in /usr/share/php/phpseclib3/Crypt/Blowfish.php on line 451

This warning wasn't being issued in PHP8.4, but are in PHP8.5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions