Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Adding SHA256 #61

Open
TaxMachine opened this issue Jun 7, 2022 · 1 comment
Open

[Feature request] Adding SHA256 #61

TaxMachine opened this issue Jun 7, 2022 · 1 comment

Comments

@TaxMachine
Copy link

it would be great to have in the json the sha256/512 to check the images integrity

@galpt
Copy link

galpt commented Oct 16, 2022

it would be great to have in the json the sha256/512 to check the images integrity

I'd say implementing a hash system is possible with Go since I've done this with hashing zip files, which technically gives more burden to the server compared to hashing images.

So it needs to hash an image once and save the hash somewhere, and give it as a json response for future requests,
or the server could just hash the image everytime it receives a request, no need to save the hashes at all in this case.

Let's wait for another opinion from the repo maintainer(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants