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

Feature/sharesecret #268 #652

Merged
merged 2 commits into from
Sep 1, 2015

Conversation

warcode
Copy link
Contributor

@warcode warcode commented Sep 1, 2015

See issue #268

Note that this plugin was always intended to do both encryption and decryption on the client.

The current implementation does encryption on the server, and uses a temporary server-side key storage which means a user has to set the shared secret every time they open the client and enter a room. If the server restarts all keys are lost and have to be entered again.

This means the data is encrypted at rest, but can be intercepted by anyone who has access to the server. To offer proper confidentiality of message contents you would have to move the encryption to the client.

engelgabriel added a commit that referenced this pull request Sep 1, 2015
@engelgabriel engelgabriel merged commit e85e249 into RocketChat:master Sep 1, 2015
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

Successfully merging this pull request may close these issues.

2 participants