ThreeCredits / ChitChat

ChitChat is an open source instant messaging server/client
GNU General Public License v3.0
4 stars 0 forks source link

E2ee dev #3

Closed Sim0xx001 closed 1 year ago

Sim0xx001 commented 1 year ago

I've implemented a few methods in e2ee.py for keys load from bytes strings and encrypting/decrypting messages.

TheRealGioviok commented 1 year ago

Couple things:

In fact, I think that the system should be modified as follows:

As for the Message.py, me and Bruno are working on a simpler protocol with only two classes, Packet and PacketItem. Just remove all the message classes and leave the send/receive methods. You may consider moving the two functions to the new E2EE.py, so that you can delete the message.py file altogheter.

If these things above-mentioned are done, I think we will be ready for merge.

Sim0xx001 commented 1 year ago

All done!

TheRealGioviok commented 1 year ago

Reopening your pull request... :)

TheRealGioviok commented 1 year ago

Merging.