Files
romm/backend/tests/models
Georges-Antoine Assi 6f0d910dc5 fix(firmware): verify firmware by hash regardless of name or platform (#5441)
* fix(firmware): verify firmware by hash regardless of name or platform

A correct BIOS dump went unverified when renamed (even case-only) or
placed under a sibling platform folder, because verification only ran
after a name+platform lookup in the known BIOS list. Keep that lookup as
the fast path, then fall back to a cached (size, md5/sha1) index over the
whole fixture.

Fixes #5329

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(scan): recheck stored firmware hashes on scans that skip rehashing

Addresses Greptile review on #5441.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Revert "fix(scan): recheck stored firmware hashes on scans that skip rehashing"

This reverts commit 04efbd7e91.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:37:12 -05:00
..