CERT-Polska / mwdb-core

Malware repository component for samples & static configuration with REST API interface.
https://mwdb.readthedocs.io/
Other
321 stars 73 forks source link

`test_search_multi` sometimes fails #493

Closed psrok1 closed 2 years ago

psrok1 commented 2 years ago

test_search_multi fails in some cases with HTTP 400.

https://github.com/CERT-Polska/mwdb-core/actions/runs/1530542635/attempts/1

Needs to be investigated. Maybe .get returns None and should be replaced with square brackets, so the error will be more exact?

psrok1 commented 2 years ago

@wklimek noticed that CRC32 is not aligned with zeroes to 8 characters

image

multi expects zero-padded CRC32.