guerrerocarlos / CacheP2P

"More users = More capacity"
http://www.cachep2p.com/
MIT License
865 stars 52 forks source link

Check security hash before accepting downloaded files. #8

Closed DanielSidhion closed 8 years ago

DanielSidhion commented 8 years ago

Fixes #7 in the simplest possible way. The current code will ignore any files with a different security hash from the one given by the developer. When ignoring, it emits a message warning of a potentially malicious content. It will also always emit a message when a downloaded file passes the security hash check.

guerrerocarlos commented 8 years ago

Excellent! Merging pull request!