scherzma / Skunk

P2P Tor Chat App
GNU General Public License v3.0
4 stars 0 forks source link

Implement security features #27

Open scherzma opened 3 months ago

scherzma commented 3 months ago

There are still security-features to implement:

General Security Considerations: Verify the sender's identity for all incoming messages.

Operation-Specific Security Considerations: SEND_MESSAGE:

SYNC_REQUEST:

SYNC_RESPONSE:

JOIN_CHAT:

LEAVE_CHAT:

INVITE_TO_CHAT:

SEND_FILE:

SET_USERNAME:

JavaHammes commented 3 months ago

Shouldn't we also introduce some kind of access control? So that not everyone can connect to our websockets? This access control should then also take place before someone has connected to the websocket, i.e. be made in the header of the request, so to speak. I was thinking of something like X-Auth-Token, but I'm not sure yet.