[CentOS] Python hashlib and ripemd160

Wed Feb 3 11:00:13 UTC 2016
Eero Volotinen <eero.volotinen at iki.fi>

well, how about compiling instance to another directory like

usually works like ./configure --prefix=/opt/python-alternative and then
other normal stuff..


2016-02-03 12:52 GMT+02:00 Alice Wonder <alice at domblogger.net>:

> Hi - I think the patent monster has struck again.
> rmd = hashlib.new('ripemd160',binascii.unhexlify(someString)).hexdigest()
> That fails - ValueError: unsupported hash type
> From some googling, it appears that the supported hash types are from
> OpenSSL and that means the OpenSSL in CentOS doesn't support ripemd160.
> I've worked around other stuff missing from CentOS OpenSSL by building
> LibreSSL and linking against that but python is central to the operation of
> CentOS and I do not want to mess with replacing the CentOS packaging of
> python.
> Is there an alternate way to get a ripemd160 hash in python on CentOS ?
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos