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

Why are MD5 checksum used for package verification #34

Closed
alphaDev23 opened this issue Aug 26, 2018 · 6 comments
Closed

Why are MD5 checksum used for package verification #34

alphaDev23 opened this issue Aug 26, 2018 · 6 comments
Labels
type/question Packages users questions

Comments

@alphaDev23
Copy link

Given that there are hashing algos less susceptible to collisions than MD5 (https://www.kb.cert.org/vuls/id/836068) and that Wazuh is software cantered around security, why are MD5 checksums used to verify packages (https://documentation.wazuh.com/current/installation-guide/packages-list/index.html#packages)?

@jesusgn90 jesusgn90 added the type/question Packages users questions label Aug 27, 2018
@jesusgn90
Copy link

Hello @alphaDev23 ,

You are right, we must review our hash verification in order to use a more "best practices" algorithm. From my view the best would be SHA-2, right? What do you think about it? let us know and thanks!

Regards,
Jesús

@alphaDev23
Copy link
Author

SHA-256 is the checksum algo used by OSSEC (https://www.ossec.net/downloads.html) for users to verify downloads.

@jesusgn90
Copy link

We note down your advice, thanks @alphaDev23 .

Regards,
Jesús

@jesusgn90
Copy link

jesusgn90 commented Aug 29, 2018

Ok @alphaDev23 , finally we are going to use SHA-512 for all our packages. Closing this issue. Further releases will come with SHA-512, thanks @alphaDev23 !

@alphaDev23
Copy link
Author

Thank you for considering the recommendation and making the change.

@jesusgn90
Copy link

You are welcome @alphaDev23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Packages users questions
Projects
None yet
Development

No branches or pull requests

2 participants