Skip to content

In 1.38 BTC query failed for ripemd160 #9547

@LefterisJP

Description

@LefterisJP

Problem Definition

In 1.38 at querying onchain BTC balances we now get an error

unsupported hash type ripemd160

This did not happen when testing in develop and is only in the binary, so must be a problem with the way some dependency was packaged?

EDIT:

Seems like it's a linux only binary issue and due to switching to the ubuntu 22.04 runner actions/runner-images#6676

That one includes openssl 3.0.2 which has ripemd as not available. Big discussion as to why (I also think it's silly they did that) here: openssl/openssl#16994

This is fixed in openssl 3.0.7 but that does not come with the ubuntu 22.04 runner by default.

For now ... probably easiest way is for linux to switch to a python implementation of ripemd as it's also not used that often, only when calculating a bitcoin address. But probably should revert it when we can use a different openSSL version.

Logs

[01/03/2025 00:14:33 CET] DEBUG rotkehlchen.api.server Greenlet-0: start rotki api GET /api/1/blockchains/btc/accounts view_args={'blockchain': 'btc'}, query_string=b''
[01/03/2025 00:14:33 CET] CRITICAL rotkehlchen.api.server Greenlet-0: Unhandled exception when processing endpoint request exc_info=True, exception=unsupported hash type ripemd160
[01/03/2025 00:14:33 CET] DEBUG rotkehlchen.api.server Greenlet-0: end rotki api GET /api/1/blockchains/btc/accounts view_args={'blockchain': 'btc'}, query_string=b'', status_code=500, result={'result': None, 'message': 'unsupported hash type ripemd160'}

System Description

Operating system: Archlinux
Rotki version: 1.38

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions