Notice: We are now selling NEW Gelbooru Merch~! Domestic shipping is free on all orders! Do you have an artist tag on Gelbooru? Let us know so we can properly credit you!

Ticket Information - ID: #981

ID:Category:SeverityReproducibilityDate SubmittedUpdated By:
0000981Bug Reportingnormalalways07/31/19 02:19PMJerl
Assigned to:geltas
View StatusPublic
Target Version:N/A
Summary:WebM: Reported hash on website differs from actual hash.

Website reports c21410adcf54658be4c79f4ebdb8a453 as the md5 for the above post. However if you download the file and run md5sum on it, the actual md5 differs:

$ md5sum c21410adcf54658be4c79f4ebdb8a453.webm
e0783829e869bee4a58837a6dd1e24ae c21410adcf54658be4c79f4ebdb8a453.webm

More examples:
Additional Info:Bug is always reproducible _for the same file_.
However, some webms seem not to be affected by this bug.
The site reports the correct md5 for the above post (3b840022e9374fc8f25678b4a9b3472b).
lozertuser replied at 2019-07-31 15:24:25
This is a known issue. The problem is that the original file being uploaded is forced to be encoded and it's not an immediate process, so we grab the source file's hash as we need to make sure THAT file isn't re-uploaded.

chiyachan replied at 2019-07-31 16:01:28
Are there any plans to fix it? Checking the computed md5 against the md5 reported in the API is useful for checking data integrity.

Jerl replied at 2019-08-08 20:44:04
We tried really hard to avoid having to do it this way in the first place. If we can find a way to fix it, we will.