Your message dated Sat, 21 Sep 2024 18:20:38 +0000
with message-id <e1ss4ik-000ope...@fasolo.debian.org>
and subject line Bug#1081366: fixed in python-pgpy 0.6.0-1.3
has caused the Debian Bug report #1081366,
regarding Tests fail 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.)
--
1081366: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081366
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-pgpy
Version: python-pgpy
Severity: serious
Tags: upstream ftbfs
https://ci.debian.net/packages/p/python-pgpy/testing/amd64/51527640/
77s ____________ ERROR at setup of TestPGPKey.test_add_subkey_to_pubkey
____________
77s
77s @pytest.fixture(scope='module')
77s def temp_subkey():
77s > return PGPKey.new(PubKeyAlgorithm.RSAEncryptOrSign, 512)
77s
77s tests/test_10_exceptions.py:60:
77s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _
77s /usr/lib/python3/dist-packages/pgpy/pgp.py:1610: in new
77s key._key = PrivKeyV4.new(key_algorithm, key_size, created=created)
77s /usr/lib/python3/dist-packages/pgpy/packet/packets.py:899: in new
77s pk.keymaterial._generate(key_size)
77s /usr/lib/python3/dist-packages/pgpy/packet/fields.py:1314: in _generate
77s pk = rsa.generate_private_key(65537, key_size, default_backend())
77s /usr/lib/python3/dist-
packages/cryptography/hazmat/primitives/asymmetric/rsa.py:142: in
generate_private_key
77s _verify_rsa_parameters(public_exponent, key_size)
77s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _
77s
77s public_exponent = 65537, key_size = 512
77s
77s def _verify_rsa_parameters(public_exponent: int, key_size: int) ->
None:
77s if public_exponent not in (3, 65537):
77s raise ValueError(
77s "public_exponent must be either 3 (for legacy
compatibility) or "
77s "65537. Almost everyone should choose 65537 here!"
77s )
77s
77s if key_size < 1024:
77s > raise ValueError("key_size must be at least 1024-bits.")
77s E 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 ---
Source: python-pgpy
Source-Version: 0.6.0-1.3
Done: Andrey Rakhmatullin <w...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-pgpy, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1081...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrey Rakhmatullin <w...@debian.org> (supplier of updated python-pgpy package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 16 Sep 2024 22:24:21 +0500
Source: python-pgpy
Architecture: source
Version: 0.6.0-1.3
Distribution: unstable
Urgency: medium
Maintainer: Daniel Kahn Gillmor <d...@fifthhorseman.net>
Changed-By: Andrey Rakhmatullin <w...@debian.org>
Closes: 1081366
Changes:
python-pgpy (0.6.0-1.3) unstable; urgency=medium
.
* Non-maintainer upload.
* Fix tests with python3-cryptography >= 43 (Closes: #1081366).
Checksums-Sha1:
f1f23d9e127b80a764355cdae14baebac5ce7b16 2361 python-pgpy_0.6.0-1.3.dsc
1e6adc1c7bfd90de6958f78118da114dc6578d4f 5908
python-pgpy_0.6.0-1.3.debian.tar.xz
eea349c9e0053218b462c6cd9225b8eb9211394e 9804
python-pgpy_0.6.0-1.3_amd64.buildinfo
Checksums-Sha256:
18866fc9570233b14faca3cac2bc11c6f9c97ef9b0fc9283d3e76c718f164c90 2361
python-pgpy_0.6.0-1.3.dsc
25706bdfe5c1ca28c36038b24d3a5f1ecaeaded7e4112e3c985b42d2cd2212c2 5908
python-pgpy_0.6.0-1.3.debian.tar.xz
db467687c8ea50a64100dc04de48206d5f0da15bf380873231ed48142a14ed13 9804
python-pgpy_0.6.0-1.3_amd64.buildinfo
Files:
acd67b8b1c691898612ba6b5fc8fc844 2361 python optional python-pgpy_0.6.0-1.3.dsc
95e587cc4e500fbffc13f5feb4966f45 5908 python optional
python-pgpy_0.6.0-1.3.debian.tar.xz
0df0726548483418e9efaa1f30085421 9804 python optional
python-pgpy_0.6.0-1.3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmboboAACgkQM2L3AxpJ
kuEtYQ/+NpzJT8cCUmEpDEtjq7yyWXEiR9vRjHrNw2H+6Irii0vZZo8G+X2xhHBZ
fmGrZUf2dFHwFtCRuJgUOzeBWzIIFyGAjaT3lDIe4VRrIZpmFXV7hIs8FK0puARP
T04uEm/hvV+e7oV+JjWD1iUlzfT+K4dIXT5xMj5jl3yNzdw8jenI8sBWeXUUMV9B
hPGrHbl7JrG8+oxUg93lGHCp9iT9pzMd/5ISJgAqgQUMkmg7EmNc1cRmNTt3tsPW
zTBl+KYDGyfGtfas94+urjZ4efVNG1IgMLhmwepBP2khccYlTptK1681Q06ArDER
/buoW2+HzPaeETtUXPevjSP7MlXNjy60xXP8naD+/+UB8a4Plwzk+pzSVRgrk46W
WcmTNEvbyomEG7y5ibkHlidUnU1/Y34cN5+PTspkMpz3Ar9QyYozJKLwJwnCZe3a
HmOtQrloJYV7hbCyy4aIcGkzigD+3/m8vHpS7C0eFzN/mnaEsTk00+8DWcnTEjPH
2yvA6LcB8RuIFvHHI6n0gHiMRnUT/fP6zgDmd9+kIVuSX91G7i7Ow9tsQXyRjRbp
JRNJZefz3WHYP7j/wrNtytaKvHtDFRMaDJFYfAnfmDbtUcfOmGl3od5dUtjG2gxW
T8ngiYxnRTvoAQluYZtqEDy11+Mmo0NnLxQkttOzTb+IWI0xbyE=
=QGqm
-----END PGP SIGNATURE-----
pgpLKMHStw5RS.pgp
Description: PGP signature
--- End Message ---