"sha512_hash":"7b2e0256e1f9de5bf18a44ae1e1776d37651773d74c6eb9242408a2deda68adfc3499f0b86667c77758bb1821f66483fbcbd358871a8981e758bd5d8c93e5672"
If I download the full image https://derpicdn.net/img/view/2015/6/25/923591__safe_twilight+sparkle_rainbow+dash_fluttershy_princess+luna_scootaloo_sketchdump_artist-colon-rorakkusu.png
and run sha512sum on it, it returns a different hash?
How do you guys get your hashes?
--
You received this message because you are subscribed to the Google Groups "Derpibooru Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to derpibooru-disc...@googlegroups.com.
To post to this group, send an email to derpiboor...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/derpibooru-discuss/eb49fa60-ffea-458b-bf8e-7d80857c1c1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Derpibooru Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to derpibooru-disc...@googlegroups.com.
To post to this group, send an email to derpiboor...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/derpibooru-discuss/559011BC.9030905%40derpibooru.org.
But there is still a lot of images which use the old hash. Will you update them?
The hash algorithm for the file uploads is done by using
Digest::SHA512.hexdigest(temp_object.data)
This is the original sha512 hash (orig_sha512_hash in searches and JSON)
The thumb paths are very likely to not have the same hash as the thumbs are all passed through ImageMagick to fix the files. I don't think we are actually serving the original file at all anymore after a few of my changes to the upload pipeline, actually.
This puts it out of reach of simple shellscripts.
Unless there is some preexisting commandline utility that hashes the file as you do that you could point me to? I could just call it and capture it's output.