Commit Graph

3 Commits

Author SHA1 Message Date
ppeb
aaf73ba784
API: Add list and removal API for hash 2025-03-18 23:33:36 -05:00
ppeb
406dfc296d
Fix incorrect indexing while populating hashes 2025-03-18 22:17:19 -05:00
ppeb
6a40b5c9ec
Store blob hashes, require on login
Blob hashes are now stored in the database under the `hashes` table.
They are stored internally as a map of packIDs to a map of versions to a
map of regions to the hash.

On login, a pack ID, version, and hash are required or the login attempt
is rejected.

Hashes can be updated using the `/api/hash` endpoint.

The schema has been updated accordingly.
2025-03-10 08:39:19 -05:00