Skip to main content

Welcome to command line chat project [CMD CHAT]

Alt Text

What is this?

It is a console chat with message encryption.

How does it work?

All you need to do is run a web server and connect to it via a client.

Run

Create and activate a virtual environment in Python

pip install secured_console_chat
import asyncio 
import cmd_chat

if __name__ == '__main__':
    asyncio.run(cmd_chat.run())

Or

Start server:

cmd_chat serve localhost 5000 

Connect to server:

cmd_chat connect localhost 5000 tyler

How does encryption work?

  • The client generates a private key.
  • The server generates a symmetric key.
  • The client sends the public key to the server.
  • The server encrypts the symmetric key and sends it to the client.
  • The client encrypts the private key.
  • After that, communication with the server occurs via the symmetric key.

Example

Alt Text

Known bugs

  • Sometime WS just drop connection
  • Client input message problem. To start input, you need to press enter first, only after that you got pop up with message. Tried to fix, but nothing worked.

Metadata

Release files for secured-console-chat 1.1.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for secured-console-chat 1.1.21
File Size Uploaded Provenance
secured_console_chat-1.1.21.tar.gz 7.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for secured-console-chat 1.1.21
File Interpreter ABI Platform
secured_console_chat-1.1.21-py3-none-any.whl Python 3 none any Details

Total release size: 16.5 kB

Release files / secured_console_chat-1.1.21.tar.gz

Download URL secured_console_chat-1.1.21.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
547d44e2a49e219f240926cd976fc8ec3a372ce1f107895e833e1cf1659bf8c0
BLAKE2b-256 checksum
How to use checksums
3cbb0eb9704571b29e0ad62186bad8944fdcb641fbb936371b530ee55e3b7773
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / secured_console_chat-1.1.21-py3-none-any.whl

Download URL secured_console_chat-1.1.21-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee0b537551981a4522dea270a735d305f4e67b2d7c982e048935751f933b3fbd
BLAKE2b-256 checksum
How to use checksums
54e4facf50afb15d25f2138ebb6378db3b47261f6d06cad704b048e5d36b56d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Security for secured-console-chat 1.1.21

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page