[Bug 1976299] [NEW] FTBFS: unsupported hash type whirlpool

Andreas Hasenack 1976299 at bugs.launchpad.net
Mon May 30 18:04:22 UTC 2022


Public bug reported:

Ubuntu 22.10
python-ecdsa 0.18.0~b1-1

==================================== ERRORS ====================================
_ ERROR collecting .pybuild/cpython3_3.10_ecdsa/build/ecdsa/test_malformed_sigs.py _
/usr/lib/python3.10/hashlib.py:160: in __hash_new
    return _hashlib.new(name, data, **kwargs)
E   ValueError: [digital envelope routines] unsupported

During handling of the above exception, another exception occurred:
ecdsa/test_malformed_sigs.py:42: in <module>
    hash_and_size = [
ecdsa/test_malformed_sigs.py:43: in <listcomp>
    (name, hashlib.new(name).digest_size) for name in algorithms_available
/usr/lib/python3.10/hashlib.py:166: in __hash_new
    return __get_builtin_constructor(name)(data)
/usr/lib/python3.10/hashlib.py:123: in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
E   ValueError: unsupported hash type whirlpool
=========================== short test summary info ============================
ERROR ecdsa/test_malformed_sigs.py - ValueError: unsupported hash type whirlpool
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 1.25s ===============================
E: pybuild pybuild:369: test: plugin distutils failed with: exit code=2: cd '/home/ubuntu/x/python-ecdsa-0.18.0~b1/.pybuild/cpython3_3.10_ecdsa/build'; python3.10 -m pytest 
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

** Affects: python-ecdsa (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: python-ecdsa (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: ftbfs

** Bug watch added: Debian Bug tracker #1011793
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011793

** Also affects: python-ecdsa (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011793
   Importance: Unknown
       Status: Unknown

** Bug watch added: github.com/tlsfuzzer/python-ecdsa/issues #285
   https://github.com/tlsfuzzer/python-ecdsa/issues/285

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-ecdsa in Ubuntu.
https://bugs.launchpad.net/bugs/1976299

Title:
  FTBFS: unsupported hash type whirlpool

Status in python-ecdsa package in Ubuntu:
  New
Status in python-ecdsa package in Debian:
  Unknown

Bug description:
  Ubuntu 22.10
  python-ecdsa 0.18.0~b1-1

  ==================================== ERRORS ====================================
  _ ERROR collecting .pybuild/cpython3_3.10_ecdsa/build/ecdsa/test_malformed_sigs.py _
  /usr/lib/python3.10/hashlib.py:160: in __hash_new
      return _hashlib.new(name, data, **kwargs)
  E   ValueError: [digital envelope routines] unsupported

  During handling of the above exception, another exception occurred:
  ecdsa/test_malformed_sigs.py:42: in <module>
      hash_and_size = [
  ecdsa/test_malformed_sigs.py:43: in <listcomp>
      (name, hashlib.new(name).digest_size) for name in algorithms_available
  /usr/lib/python3.10/hashlib.py:166: in __hash_new
      return __get_builtin_constructor(name)(data)
  /usr/lib/python3.10/hashlib.py:123: in __get_builtin_constructor
      raise ValueError('unsupported hash type ' + name)
  E   ValueError: unsupported hash type whirlpool
  =========================== short test summary info ============================
  ERROR ecdsa/test_malformed_sigs.py - ValueError: unsupported hash type whirlpool
  !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
  =============================== 1 error in 1.25s ===============================
  E: pybuild pybuild:369: test: plugin distutils failed with: exit code=2: cd '/home/ubuntu/x/python-ecdsa-0.18.0~b1/.pybuild/cpython3_3.10_ecdsa/build'; python3.10 -m pytest 
  dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 returned exit code 13
  make: *** [debian/rules:6: binary] Error 25
  dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-ecdsa/+bug/1976299/+subscriptions




More information about the foundations-bugs mailing list