cs01 / termpair

View and control terminals from your browser with end-to-end encryption 🔒
MIT License
1.61k stars 72 forks source link

implement cryptographic suggestions #70

Closed cs01 closed 3 years ago

cs01 commented 3 years ago

Summary of changes

Use new key sharing scheme and address points 1, 3, and 4 from https://github.com/cs01/termpair/issues/36#issue-907434506. I know I said I wasn't going to work on this, but it seemed like a fun challenge to get it all working, and I got to learn some things along the way.

Test plan

Tested by running

make build_frontend
nox -s serve
# in new terminal
nox -s share

Would appreciate any input from @colmmacc or @ignoramous if you have the time. I realize it's a big PR so feel free to ask questions, I'm happy to answer any.

closes #36