Debian Patches

Status for barbican/1:20.0.0-3

Patch Description Author Forwarded Bugs Origin Last update
Refactor-test_create_pkcs11-for-future-compat.patch Refactor test_create_pkcs11 for future compat The test_create_pkcs11 fails under Python 3.13 due to an
extra call in the mock_calls list for mocked open:
.
call('seed_file', 'rb'),
call().__enter__(),
call().read(32),
call().__exit__(None, None, None),
call().close() << additional call under Python 3.13
.
Refactor to check that a read with the correct seed length
occured rather than checking the full call list for better
general compatibility with future Pythons; the general
handling in the open context manager is not really pertinent
to the test so no value is lost.

diff --git a/barbican/tests/plugin/crypto/test_p11_crypto.py b/barbican/tests/plugin/crypto/test_p11_crypto.py
index 3ee1fd3..b0d418e 100644
James Page <james.page@canonical.com> no upstream, https://review.opendev.org/c/openstack/barbican/+/939419 2025-05-13
install-missing-files.patch Install missing files PBR misses the files, this fixes it. Thomas Goirand <zigo@debian.org> no 2016-03-24

All known versions for source package 'barbican'

Links