Source: barbican Version: 1:14.0.0-2 Severity: normal In sid, with OpenSSL 3, the following barbican test fails in the autopkgtest:
====================================================================== FAIL: barbican.tests.common.test_validators.WhenTestingSimpleCMCOrderValidator.test_should_raise_with_unsigned_pkcs10_data barbican.tests.common.test_validators.WhenTestingSimpleCMCOrderValidator.test_should_raise_with_unsigned_pkcs10_data ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/tmp/autopkgtest.QMCrjK/build.2Gf/src/barbican/tests/common/test_validators.py", line 1435, in test_should_raise_with_unsigned_pkcs10_data certs.create_csr_that_has_not_been_signed()) File "/tmp/autopkgtest.QMCrjK/build.2Gf/src/barbican/tests/certificate_utils.py", line 53, in create_csr_that_has_not_been_signed pem = crypto.dump_certificate_request(crypto.FILETYPE_PEM, csr) File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 2969, in dump_certificate_request _openssl_assert(result_code != 0) File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 71, in openssl_assert exception_from_error_queue(error) File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 57, in exception_from_error_queue raise exception_type(errors) OpenSSL.crypto.Error: [('asn1 encoding routines', '', 'illegal zero content'), ('PEM routines', '', 'ASN1 lib')] ---------------------------------------------------------------------- Ran 1488 tests in 38.966s FAILED (failures=1, skipped=56) Looks like the test was relying on unsupported behaviour in OpenSSL to create at unsigned CSR in the past. SR