stable

Clone or download

Read-only

request #12278: Tuleap cryptography API should work out of box on PHP 7.2 with php-sodium

sodium_randombytes_buf() is not available in php-sodium, it should be replaced by ramdom_bytes(). You can test the change by adding php72-php-sodium to the Docker images used to run PHPUnit and Simpletest tests. Change-Id: I634478c6cd953322311932697517cf6a26bdb710

Modified Files

Name
M src/common/Cryptography/KeyFactory.php +1 −1 Go to diff View file
M src/common/Cryptography/Symmetric/SymmetricCrypto.php +1 −1 Go to diff View file
M tests/simpletest/common/Cryptography/KeyFactoryTest.php +1 −1 Go to diff View file
M tests/simpletest/common/Cryptography/Symmetric/SymmetricCryptoTest.php +5 −5 Go to diff View file