46
hacker
3y

End-to-end encrypted Socket.IO-based chat

Project Type
Existing open source project
Summary

End-to-end encrypted Socket.IO-based chat

Description
I kind of already have the system set up. The code in the repo is hideous (please forgive that). I am not the most experienced person with Socket.io and cryptography. I need help from the amazing expert people on devRant. What I am trying to achieve is at least partial end-to-end encryption. I know that SSL from Let's Encrypt would be enough but, I would really like to learn from the people here about cryptography and privacy in general. If you'd like to help, please feel free to open an issue or make a pull request on the GitHub repo (link below). Or, you can also help me out by pointing me in the right direction regarding the code that already exists on the repo. Thanks!
Tech Stack
Node.js, Socket.io, CryptoJS,
Current Team Size
1
URL
Comments
  • 2
  • 2
    @programmingTrtl indeed. Are you subbed to me by any chance, haha?
  • 2
  • 1
    @programmingTrtl thanks mate! Spreading some developer love, haha!
  • 2
    @hacker yes I like to share Dev love :)
  • 3
    You should use uws instead. It's basically exactly like socketio but MUCH faster.
  • 2
    @Dacexi hmm, interesting. Thanks for the suggestion! I'll keep this link here for future reference: https://github.com/uNetworking/...
  • 1
    I'd love to work on this with you!
  • 0
    @1nfinite I'd love to work with you on this!
  • 0
    @1nfinite it would be great if you went through the code on the repo and open an issue if you see an area of potential improvement or something you'd like to add. Thanks, bro!
  • 1
    @hacker I'm still pretty new to web dev (I'm a student,) but I'll try my best.

    Do you have a slack channel?
  • 0
    @1nfinite umm, no...
    I'm not on Slack, yet
  • 2
    @hacker how would you prefer to chat then?
  • 1
    @1nfinite alright, I just made my Slack account.
    Here's the link they told me to share:
    https://join.slack.com/t/...

    Is it the right one?
  • 2
    @JulienZ thanks mate! I'll check it out.
  • 2
    If you want encryption and making it even more secure, why bother making a socket.io server? Use webrtc and the messages won't even need to go through any server to begin with. That's distributed messaging
  • 2
    @vertti hmm, I'm interested. Mind elaborating a little more? I'm all for decentralised services!
  • 1
    @hacker webrtc is a tech to establish a bidirectional connection (think sockets) directly between peers. Practically, all video call apps work like that. But you can also use it to transmit messages and other data.

    It only needs what is called a signaling server for negotiating the connection between two or more peers. After that all traffic is only between those peers.
  • 1
    @vertti I like the sound of that!
    A few, quick searches and I've already found loads of tutorials and documentation. Thank you for your suggestion.
    Would you be interested in contributing to this project?
  • 1
    @hacker yep its a useful tech!

    Sorry I don't have time for new projects now. I'm using webrtc for something similar (not for privacy though), I got my hands full with it, among other things.
  • 1
    I want to contribute to this project. But I am a bit rookie with collaborations.
  • 1
    For socket.io there is even a WebRTC plugin. It's repo contains a chat app example using it all. https://github.com/socketio/...
  • 1
    @sain2424 sorry, I didn't see your comment before. By all means, go ahead dude! I'd love it if you contributed to this project. Open an issue, pull request, etc. Thanks!
  • 2
  • 4
    @gitpull

    Shit, haven't updated this thread in a while. Basically, I got the project done-ish.
    Fellow devRanters can check it out here: https://github.com/abdullah-K/...

    Feel free to open a PR or issue if you feel like improving it or something...!
  • 2
    @hacker mind if I chip in on design a bit?
  • 4
    @Dacexi dude, I'd love if you did!
    I think I already complimented your design skills earlier on another thread but, yeah. Go ahead :D
  • 2
    @Dacexi hey dude, are you still in, to try your hand at improving the design?
  • 1
    @hacker yeah gonna code a bit tonight
Add Comment