Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure with OpenSSL 3.0 #32

Closed
remicollet opened this issue Oct 25, 2021 · 1 comment
Closed

Test failure with OpenSSL 3.0 #32

remicollet opened this issue Oct 25, 2021 · 1 comment
Assignees
Labels
Bug Something isn't working Won't Fix This will not be worked on

Comments

@remicollet
Copy link
Contributor

Probably related to old deprecated algo

There were 5 errors:
1) LaminasTest\Filter\Encrypt\BlockCipherTest::testGetSetEncryption
Laminas\Filter\Exception\InvalidArgumentException: The algorithm 'blowfish' is not supported
/builddir/build/BUILDROOT/php-laminas-filter-2.12.0-1.fc36.noarch/usr/share/php/Laminas/Filter/Encrypt/BlockCipher.php:124
/builddir/build/BUILD/laminas-filter-0fc5dcd27dc22dba1a2544123684c67768fc5f88/test/Encrypt/BlockCipherTest.php:88
2) LaminasTest\Filter\Encrypt\OpensslTest::testBasicOpenssl
Laminas\Filter\Exception\RuntimeException: Openssl was not able to encrypt your content with the given options
/builddir/build/BUILDROOT/php-laminas-filter-2.12.0-1.fc36.noarch/usr/share/php/Laminas/Filter/Encrypt/Openssl.php:366
/builddir/build/BUILD/laminas-filter-0fc5dcd27dc22dba1a2544123684c67768fc5f88/test/Encrypt/OpensslTest.php:58
3) LaminasTest\Filter\Encrypt\OpensslTest::testEncryptionWithDecryptionWithPackagedKeys
Laminas\Filter\Exception\RuntimeException: Openssl was not able to encrypt your content with the given options
/builddir/build/BUILDROOT/php-laminas-filter-2.12.0-1.fc36.noarch/usr/share/php/Laminas/Filter/Encrypt/Openssl.php:366
/builddir/build/BUILD/laminas-filter-0fc5dcd27dc22dba1a2544123684c67768fc5f88/test/Encrypt/OpensslTest.php:244
4) LaminasTest\Filter\Encrypt\OpensslTest::testEncryptionWithDecryptionAndCompressionWithPackagedKeys
Laminas\Filter\Exception\RuntimeException: Openssl was not able to encrypt your content with the given options
/builddir/build/BUILDROOT/php-laminas-filter-2.12.0-1.fc36.noarch/usr/share/php/Laminas/Filter/Encrypt/Openssl.php:366
/builddir/build/BUILD/laminas-filter-0fc5dcd27dc22dba1a2544123684c67768fc5f88/test/Encrypt/OpensslTest.php:268
5) LaminasTest\Filter\EncryptTest::testBasicOpenssl
Laminas\Filter\Exception\RuntimeException: Openssl was not able to encrypt your content with the given options
/builddir/build/BUILDROOT/php-laminas-filter-2.12.0-1.fc36.noarch/usr/share/php/Laminas/Filter/Encrypt/Openssl.php:366
/builddir/build/BUILDROOT/php-laminas-filter-2.12.0-1.fc36.noarch/usr/share/php/Laminas/Filter/Encrypt.php:159
/builddir/build/BUILDROOT/php-laminas-filter-2.12.0-1.fc36.noarch/usr/share/php/Laminas/Filter/AbstractFilter.php:82
/builddir/build/BUILD/laminas-filter-0fc5dcd27dc22dba1a2544123684c67768fc5f88/test/EncryptTest.php:101
ERRORS!
Tests: 975, Assertions: 1848, Errors: 5, Skipped: 16, Incomplete: 6.

@remicollet remicollet added the Bug Something isn't working label Oct 25, 2021
@gsteel gsteel self-assigned this Nov 6, 2022
@gsteel gsteel added the Won't Fix This will not be worked on label Nov 6, 2022
@gsteel
Copy link
Member

gsteel commented Nov 6, 2022

Thanks for this report @remicollet and sorry it went un-noticed for ages.

All of the encryption related filters have been deprecated for removal in 3.0 and the failing tests disabled. See #73

Pretty sure that the failures can't be fixed without breaking BC

@gsteel gsteel closed this as not planned Won't fix, can't repro, duplicate, stale Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Won't Fix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants