-
Notifications
You must be signed in to change notification settings - Fork 252
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
Implement support for javascript-based encryption #4
Comments
Fantastic, I've been interested in this too. So far just studying how Twister works.
4 & 5) sounds good |
you mean you want to rewrite twister to full js? and how you want to get rid of private keys ? |
The server could challenge the client for the private key for authentication before updating the followings. Or the followings are simply not stored on the server but on the client and anyone could request any feed/torrent from any node. That way you could be connected to multiple servers. One of which is your outgoing server which you use to post/send messages. The other one(s) you would use to track your feeds/torrents. The second server would not have to know who you are. So your followings would be secret if you want. |
@Tschaul good idea! (server challenge replaces password) |
We could do the following: The server publishes a nonce (random number used only once) which it updates say once a day. Clients could query the nonce without authentication. Then the valid password could be derived by the user simply as privkey(nonce) and checked for validity by the server. The advantage is that the server does not have to send an request to the client. |
Thoughts about what needs to be done to create a privatekey-less twister server for a full JS client with encryption.
The text was updated successfully, but these errors were encountered: