socketChat
socketChat copied to clipboard
updating for encrypted websockets and system user service
Great job on the socketChat... I reviewed alot of them, and you had one of the top performers. I read on form somewhere you were looking to get encryption working. So figured I'd see what I can do. I added ability for TLS, as well as a systemd service install. Hopefully you find the install.sh useful too... merge or denied, hopefully all around the code to get you started is helpful.
The code should allow for simple http/https operation simply presence or absence of certs.
Hey @joshebosh, it seems that I missed your PR for some reason so I apologize. From what I understood, you're creating a user on the server and creating a system service that handles encryption using self-specified certificates. What advantage does this have over client-side encryption? Also, is there a reason this script is Debian-specific? I would imagine it would work in any UNIX based environment.
Anyway, this is awesome work. Thank you for your contribution!