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

Replace md5 checksums #636

Open
christeredvartsen opened this issue Apr 13, 2022 · 0 comments
Open

Replace md5 checksums #636

christeredvartsen opened this issue Apr 13, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@christeredvartsen
Copy link
Member

Imbo uses md5 / md5_file for checksums in the database. This should be replaced with hash_file('sha256', ...). The data stored in the databased should also be prefixed with the algorithm itself, for instance:

sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Whenever a value does not contain : we can assume it's an old hash (using MD5).

@christeredvartsen christeredvartsen added the enhancement New feature or request label Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant