Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #17509
| From | Andrey Rakhmatullin <wrar@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: hashlib and sha384 |
| Date | 2026-05-31 10:50 +0200 |
| Message-ID | <N0K1P-9e2F-3@gated-at.bofh.it> (permalink) |
| References | <N0JS9-9dZ8-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Sun, May 31, 2026 at 10:31:48AM +0200, Rene Engelhard wrote: > File "/usr/lib/python3/dist-packages/hypothesis/internal/conjecture/utils.py", line 35, in calc_label_from_name > hashed = 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 want to describe your environment better. E.g. do you have anything from experimental installed (like the aforementioned openssl 4)? Is it a clean chroot? >Am I missing something obvious? No, to my knowledge. -- WBR, wRAR
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
hashlib and sha384 Rene Engelhard <rene@debian.org> - 2026-05-31 10:40 +0200
Re: hashlib and sha384 Andrey Rakhmatullin <wrar@debian.org> - 2026-05-31 10:50 +0200
Re: hashlib and sha384 Rene Engelhard <rene@debian.org> - 2026-05-31 11:10 +0200
Re: hashlib and sha384 Andrey Rakhmatullin <wrar@debian.org> - 2026-05-31 11:40 +0200
Re: hashlib and sha384 Rene Engelhard <rene@debian.org> - 2026-05-31 13:30 +0200
Re: hashlib and sha384 Andrey Rakhmatullin <wrar@debian.org> - 2026-05-31 16:40 +0200
csiph-web