maidsafe / rust_sodium

This crate is no longer maintained. Looking for maintainers.
BSD 3-Clause "New" or "Revised" License
77 stars 34 forks source link

Verification of downloaded libsodium #45

Closed dbrgn closed 6 years ago

dbrgn commented 7 years ago

Thanks for providing this crate!

There is something that makes me a bit uneasy though, which is the fact that the downloaded libsodium library is not checked during the build.

Could we maybe verify SHA256 checksums of the downloads in the build script?

dbrgn commented 7 years ago

I can provide a PR as soon as #46 is merged / handled (since that reorganized the build.rs file a bit and I don't want to make conflicting changes).