Your message dated Wed, 18 May 2022 16:49:21 +0000
with message-id <e1nrmrr-0006gz...@fasolo.debian.org>
and subject line Bug#1006008: fixed in python-cryptography 3.4.8-2
has caused the Debian Bug report #1006008,
regarding python-cryptography: FTBFS with OpenSSL 3.0
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.)


-- 
1006008: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006008
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-cryptography
Version: 3.4.8-1
Severity: important
Tags: bookworm sid
User: pkg-openssl-de...@lists.alioth.debian.org
Usertags: ftbfs-3.0
control: forwarded -1 https://github.com/pyca/cryptography/pull/6000

Your package is failing to build using OpenSSL 3.0 with the
following error:

| =================================== FAILURES 
===================================
| ______________________ TestPoly1305.test_vectors[vector0] 
______________________
| 
| self = <tests.hazmat.primitives.test_poly1305.TestPoly1305 object at 
0x7f1d0612e6b0>
| vector = {'key': 
b'0000000000000000000000000000000000000000000000000000000000000000', 'msg': 
b'00000000000000000000000000000000...0000000000000000000000000000000000000000000000000000000000000000000000000',
 'tag': b'00000000000000000000000000000000'}
| backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 
0x7f1d11008c10>
| 
|     @pytest.mark.parametrize(
|         "vector",
|         load_vectors_from_file(
|             os.path.join("poly1305", "rfc7539.txt"), load_nist_vectors
|         ),
|     )
|     def test_vectors(self, vector, backend):
|         key = binascii.unhexlify(vector["key"])
|         msg = binascii.unhexlify(vector["msg"])
|         tag = binascii.unhexlify(vector["tag"])
|         poly = Poly1305(key)
|         poly.update(msg)
| >       assert poly.finalize() == tag
| 
| ../../../tests/hazmat/primitives/test_poly1305.py:51: 
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ 
| cryptography/hazmat/primitives/poly1305.py:34: in finalize
|     mac = self._ctx.finalize()
| cryptography/hazmat/backends/openssl/poly1305.py:56: in finalize
|     self._backend.openssl_assert(res != 0)
| cryptography/hazmat/backends/openssl/backend.py:242: in openssl_assert
|     return binding._openssl_assert(self._lib, ok, errors=errors)
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ 
| 
| lib = <module 'lib'>, ok = False
| errors = [<cryptography.hazmat.bindings.openssl.binding._OpenSSLError object 
at 0x7f1d0612e980>]
| 
|     def _openssl_assert(lib, ok, errors=None):
|         if not ok:
|             if errors is None:
|                 errors = _consume_errors(lib)
|             errors_with_text = _errors_with_text(errors)
|     
| >           raise InternalError(
|                 "Unknown OpenSSL error. This error is commonly encountered 
when "
|                 "another library is not cleaning up the OpenSSL error stack. 
If "
|                 "you are using cryptography with another library that uses "
|                 "OpenSSL try disabling it before reporting a bug. Otherwise "
|                 "please file an issue at 
https://github.com/pyca/cryptography/";
|                 "issues with information on how to reproduce "
|                 "this. ({0!r})".format(errors_with_text),
|                 errors_with_text,
|             )
| E           cryptography.exceptions.InternalError: Unknown OpenSSL error. 
This error is commonly encountered when another library is not cleaning up the 
OpenSSL error stack. If you are using cryptography with another library that 
uses OpenSSL try disabling it before reporting a bug. Otherwise please file an 
issue at https://github.com/pyca/cryptography/issues with information on how to 
reproduce this. ([_OpenSSLErrorWithText(code=50331803, lib=6, reason=155, 
reason_text=b'error:0300009B:digital envelope routines::buffer too small')])
| 
| cryptography/hazmat/bindings/openssl/binding.py:77: InternalError

Full build log:
   
https://people.debian.org/~bigeasy/openssl-rebuild-3/attempted/python-cryptography_3.4.8-1_amd64-2022-02-15T03:33:24Z

For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html

Sebastian

--- End Message ---
--- Begin Message ---
Source: python-cryptography
Source-Version: 3.4.8-2
Done: Stefano Rivera <stefa...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-cryptography, 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 1006...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <stefa...@debian.org> (supplier of updated python-cryptography 
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: Wed, 18 May 2022 12:22:15 -0400
Source: python-cryptography
Architecture: source
Version: 3.4.8-2
Distribution: unstable
Urgency: medium
Maintainer: Tristan Seligmann <mithra...@debian.org>
Changed-By: Stefano Rivera <stefa...@debian.org>
Closes: 1006008
Changes:
 python-cryptography (3.4.8-2) unstable; urgency=medium
 .
   * Team upload.
   * Add support for OpenSSL 3.0.1 (Closes: #1006008)
Checksums-Sha1:
 8c1419a06fdecee1d33efb530af8f7cdcd2c66d5 2432 python-cryptography_3.4.8-2.dsc
 ef091046b5f422ae9b66c385a435e31ebcb0eb16 23404 
python-cryptography_3.4.8-2.debian.tar.xz
 a9ffac939d63477007c277cd9e206c0830dd3949 7932 
python-cryptography_3.4.8-2_source.buildinfo
Checksums-Sha256:
 1344aed0cb26c95b06804732afd1d375356585eb0686b9d8e3a80b8527c9db2c 2432 
python-cryptography_3.4.8-2.dsc
 4a71dff41cb3ff0e582ec7da1d23fb78fe368f5fec4f0467353c6b3689333a03 23404 
python-cryptography_3.4.8-2.debian.tar.xz
 92648af7899c5f6eda4d5cc428ef0a0a4dd8e57e5b13b69e73218c6ba6621eb3 7932 
python-cryptography_3.4.8-2_source.buildinfo
Files:
 ffc8e30ef0c02e7ea7fb887873fd3743 2432 python optional 
python-cryptography_3.4.8-2.dsc
 a0509b79389a2f6a50a02062d7384050 23404 python optional 
python-cryptography_3.4.8-2.debian.tar.xz
 221982807421a5ad1d9c5ce4a0376751 7932 python optional 
python-cryptography_3.4.8-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCYoUdWhQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2BLmAQDVVYShTiPF7qD1xVlFxxHbzAzY9nJf
DkH+dT/tfa9C0QD+MWpHf1yIMnonzzQ3Sz0lKUKbWCbA/fg3Yx1WIpgtpgw=
=bDmT
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to