Path: csiph.com!weretis.net!feeder8.news.weretis.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Andrey Rakhmatullin Newsgroups: linux.debian.maint.python Subject: Re: hashlib and sha384 Date: Sun, 31 May 2026 10:50:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Sun May 31 08:41:19 2026 Old-Return-Path: X-Amavis-Spam-Status: No, score=-10 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, SUBENDNUM=2] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .debian. - helo: .durkon.wrar. - helo-domain: .wrar.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -3.5 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="odW/BtO0jTX+rdGk" Content-Disposition: inline X-Mailing-List: archive/latest/23793 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/ahv0HIVleOvoYTa6@belkar.wrar.name Approved: robomod@news.nic.it Lines: 56 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 31 May 2026 13:41:00 +0500 X-Original-Message-ID: X-Original-References: Xref: csiph.com linux.debian.maint.python:17509 --odW/BtO0jTX+rdGk Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 31, 2026 at 10:31:48AM +0200, Rene Engelhard wrote: > File "/usr/lib/python3/dist-packages/hypothesis/internal/conjecture/util= s.py", line 35, in calc_label_from_name > hashed =3D hashlib.sha384(name.encode()).digest() > ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ >_hashlib.UnsupportedDigestmodError: unsupported hash type sha384 > >happens. (for both 3.13 and 3.14) > >From what I read in https://docs.python.org/3/library/hashlib.html sha384 = should have been supported in python anyways and >xmlsec1s build has >checking for SHA384 support... yes >(if it even matters, python3s _hashlib doesn't use xmlsec..) Considering that sha384(b'').digest() works for me in sid Python you may=20 want to describe your environment better. E.g. do you have anything from=20 experimental installed (like the aforementioned openssl 4)? Is it a clean c= hroot? >Am I missing something obvious? No, to my knowledge. --=20 WBR, wRAR --odW/BtO0jTX+rdGk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJhBAABCgBLFiEEtf6ieDcfC1EgtGkao+OWn23e7IYFAmob9BctFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEKPjlp9t3uyG 6AIP/Rm/70X02d96tz+YL5pWmC2JD5UToeZImhCUXRNkhhVx+JIJC7lPw6gIDIbv opwAgU61F9EvDJlMK8KJ0u3GwnH69zyuFBc7rQJ9HAcw0jNW85/N1ctfJahaCZXx gqkLwzDsBVx59Da6lMoruSzDprazwYOxzOZIFHexUEfNMg+Zc7QqmhGqXRgL8Yet 5ZZHsoYm16Qx72/YhlxChLp3w74tIOY5vOHDC0qKjA4DOmcxKzuBES7U13Fjc758 uNPgrYv3kxRWVdpXroWdoBp3dXOFiGQ/ZTdkGrTPKCfJ1axLvOU+bJz6r2gWQOfE NtslxRux90ZQN+RNpfA1kt2nrz+0QgcADF/egLt2mPSAd/3hQuutF89OFvF7cdU5 VqIYXamfZwNpw34Pfa0yaliePMNJ8qzVrjDqzkIyvjSMiiuYJVjG5zHLgY89xQxq pc+M4Nj3fitzxTHwoWJ512ySlhKocH0ToJAA3LE/jhZ3bLqdGiP5hYDcxFny52/T i1TBXjcXYeP0e6771gixfUuMamT3MEGEUMtfiP2WpjzhilTqMGcko48PfVXg2Sox EzgKRy2g1rPn+w1J5wTvmHDnA66Rmg1PlLYguWAQAFa77NIXHCjg4y/yfRTPFxXD UwnFMT9+94mF+xFa4inPvVE/3rldZXUG3yjgmo/jG8SnffNr =VDWm -----END PGP SIGNATURE----- --odW/BtO0jTX+rdGk--