Your message dated Tue, 24 Sep 2024 09:34:04 +0200
with message-id <9e6b1502-fd6b-458e-b2cd-45fd3c397...@debian.org>
and subject line Fixed in Octavia 15.0.0~rc1-3
has caused the Debian Bug report #1081365,
regarding Test failure with cryptography 43
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1081365: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081365
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: octavia
Version: 14.0.0-4
Severity: serious
Tags: upstream ftbfs
https://ci.debian.net/packages/o/octavia/testing/amd64/51527599/
185s FAIL:
octavia.tests.unit.certificates.generator.test_local.TestLocalGenerator.test_generate_cert_key_pair
185s
octavia.tests.unit.certificates.generator.test_local.TestLocalGenerator.test_generate_cert_key_pair
185s ----------------------------------------------------------------------
185s testtools.testresult.real._StringException: Traceback (most recent call
last):
185s File "/tmp/autopkgtest-
lxc.oetzypvd/downtmp/build.lSR/src/octavia/tests/unit/certificates/generator/test_local.py",
line 164, in test_generate_cert_key_pair
185s cert_object = self.cert_generator.generate_cert_key_pair(
185s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
185s File "/tmp/autopkgtest-
lxc.oetzypvd/downtmp/build.lSR/src/octavia/certificates/generator/local.py",
line 232, in generate_cert_key_pair
185s pk = cls._generate_private_key(bit_length, passphrase)
185s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
185s File "/tmp/autopkgtest-
lxc.oetzypvd/downtmp/build.lSR/src/octavia/certificates/generator/local.py",
line 173, in _generate_private_key
185s pk = rsa.generate_private_key(
185s ^^^^^^^^^^^^^^^^^^^^^^^^^
185s File "/usr/lib/python3/dist-
packages/cryptography/hazmat/primitives/asymmetric/rsa.py", line 142, in
generate_private_key
185s _verify_rsa_parameters(public_exponent, key_size)
185s File "/usr/lib/python3/dist-
packages/cryptography/hazmat/primitives/asymmetric/rsa.py", line 154, in
_verify_rsa_parameters
185s raise ValueError("key_size must be at least 1024-bits.")
185s ValueError: key_size must be at least 1024-bits.
"generate_private_key() now enforces a minimum RSA key size of 1024-bit."
(https://cryptography.io/en/latest/changelog/#v43-0-0)
The test seems to use 512.
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500,
'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.9.12-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- End Message ---
--- Begin Message ---
Fixed in Octavia 15.0.0~rc1-3
--- End Message ---