Skip to content

Releases: RomainL972/turing-chat

CLI improvements

01 Mar 16:37
Compare
Choose a tag to compare

Added

  • Re-add saving private key to file
  • Re-add message parsing for commands
  • Proper quit with "/quit"
  • Commands for starting client or server

Changed

  • Log most messages with rdyReadFunc or rdyRead

Fixed

  • Handle refused connexion from server
  • Removed useless number from ConnexionThread
  • Remove upnp at the end if added at the beginning

Removed

  • test_input.py, which was a test for message formatting in cli

Real CLI

01 Mar 16:36
Compare
Choose a tag to compare

Added

  • cli.py file
  • SocketClient class in client.py
  • Callbacks for when ready to send or when receiving messages
  • ConnexionThread class used by server or client when connexion is established

Changed

  • Moved python files to src/ folder

Fixed

  • Server and client can now both send and receive messages
  • UPnP only deletes port mapping if it already exists
  • Re-add private key striping

Removed

  • Useless getPublicKey function

Add Classes

01 Mar 16:34
Compare
Choose a tag to compare

Added

  • README.md and LICENSE (MIT)

Changed

  • Replace backend functions with RSAKey and TuringChat classes

Fixed

  • server send pubkey to client, client to server messaging works

Removed

  • message parsing for commands temporarily

Bug Fixes

01 Mar 16:34
Compare
Choose a tag to compare

Fixed

  • Use the received public key
  • Delete UPnP mapping before readding it
  • Strip private key when sending it
  • Removed useless import
  • Install dependencies in GitHub Action

Messaging (Almost) Works

01 Mar 16:33
Compare
Choose a tag to compare

Added

  • keyFromJson and keyToJson functions
  • keyFromBase64 and keyToBase64 functions
  • getPublicIp function
  • settings.py
  • basic messaging API
  • client can send messages to server (if same key)
  • GitHub Action

Changed

  • Moved message parsing to backend

Fixed

  • Solved flake8 warnings

Removed

  • Text padding functions
  • rsaBackend.py
  • Basic server (not threaded)

Text Padding

01 Mar 16:32
Compare
Choose a tag to compare

Added

  • Text padding functions

Changed

  • Updated gitignore

UPnP Fixes

01 Mar 16:32
Compare
Choose a tag to compare

Added

  • requirements.txt file

Fixed

  • Handle UPnP failure

Removed C++ Extension

01 Mar 16:32
Compare
Choose a tag to compare

Added

  • Python library using gmpy2 to use rsa
  • Threaded server from internet
  • backend.py close to rsaBackend.py but using python library

Removed

  • C++ Extension

CMake for building

01 Mar 16:31
Compare
Choose a tag to compare

Changed

  • Moved c++ files to subdirectory
  • Use CMake to build extension
  • Use rsaBackend to encrypt/decrypt

Backend

01 Mar 16:31
Compare
Choose a tag to compare

Added

  • rsaBackend file
  • Chinese decryption option
  • C++ test file
  • private key saved in file

Changed

  • Improved test.py