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

Add checksum / signature for content delivered from server to prevent fake nodes from sending fake content #5

Open
qgustavor opened this issue Jul 30, 2016 · 3 comments

Comments

@qgustavor
Copy link

Are data being checked in order to prevent bad nodes from sending other peers invalid or corrupted data? Also, if it is implemented or if it will be implemented: how it works (or will work)?

For the demo seems HTTPS isn't being used. It can improve security and will allow some new Web Platform features to be used, like Service Workers.

@PixelsCommander
Copy link
Owner

Valid points, there is a huge place for improvement in terms of security. There should be a signature/checksum for content delivered.

HTTPS would not help since data transfer happens over WebRTC and it is secured pretty well on protocol level.

@PixelsCommander PixelsCommander changed the title Is it secure? Add checksum / signature for content delivered from server to prevent fake nodes from sending fake content Aug 1, 2016
@qgustavor
Copy link
Author

If you want to use WebCrypto (and get better crypto performance) then you will need HTTPS.

@tracker1
Copy link

tracker1 commented Aug 2, 2016

Using a checksum/hash sent by the orchestrating server against the application content would go a long way... derived byte based on pbkdf2 would work. There's also HMAC...

https://github.com/diafygi/webcrypto-examples#pbkdf2---derivebits

http://caniuse.com/#feat=cryptography

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

3 participants