Releases: RomainL972/turing-chat
Releases · RomainL972/turing-chat
CLI improvements
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
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
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
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
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
Added
- Text padding functions
Changed
- Updated gitignore
UPnP Fixes
Added
- requirements.txt file
Fixed
- Handle UPnP failure
Removed C++ Extension
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
Changed
- Moved c++ files to subdirectory
- Use CMake to build extension
- Use rsaBackend to encrypt/decrypt
Backend
Added
- rsaBackend file
- Chinese decryption option
- C++ test file
- private key saved in file
Changed
- Improved test.py