Commit Graph

26 Commits

Author SHA1 Message Date
mirai
5cbe355660 feat: add SRP authentication, improve security
- Replace RSA key exchange with SRP (Secure Remote Password)
- Password never transmitted over network
- Add unit tests for endpoints
- Fix datetime.UTC compatibility for Python < 3.11
- Fix logger.exception usage
- Update README with new auth flow diagram
2026-01-02 23:09:00 +03:00
mirai
e3a3dd3f0f New README + Demonstartional video 2026-01-02 20:37:11 +03:00
mirai
95f8a192b5 feat: complete client-server architecture refactoring
Server:
- Split into views, routes, helpers, models modules
- Merged /ws/talk and /ws/update into single /ws/chat endpoint
- Replaced polling with push-based broadcast model
- Added username uniqueness validation on connect
- Fixed run_server arguments bug (workers parameter)
- Removed deprecated loop argument from Sanic listeners
- Replaced datetime.utcnow() with timezone-aware datetime.now(timezone.utc)

Client:
- Rewrote client as single-file module
- Migrated from websocket-client to websockets (asyncio)
- Fixed websocket-client conflict with asyncio event loop on Windows
- Added progress indicators for key generation, exchange, connection
- Added animated 3D spinning cube in UI
- Updated RSA key from 512 to 2048 bits

CLI:
- Removed unnecessary asyncio.run() wrapper
- Simplified entry point
2026-01-02 14:42:33 +03:00
mirai
b0ff612023 Password update 2025-09-10 19:58:59 +03:00
mirai
28cbbf2cad Update README.MD 2025-09-10 16:21:12 +03:00
mirai
ea3c7d310f Update README.MD 2025-09-10 16:15:55 +03:00
mirai
6a044ecaf8 Working on 1.1.22 2023-12-03 16:18:09 +03:00
mirai
316a0e3e1e Reworked setup.py, now you can run cmd_chat directly. Reworked sanic http webserver to make it work. Update readme, etc... 2023-11-27 14:30:01 +03:00
mirai
c5fa982f65 Add CLI run options, update README 2023-11-27 06:50:16 +03:00
mirai
5506b2d8a6 Update README.MD 2023-09-15 21:45:02 +03:00
mirai
278cedff4f Update README.MD 2023-09-15 21:44:25 +03:00
mirai
b3ba0199bb Update README.MD 2023-09-15 21:43:51 +03:00
mirai
01398af43c Update README.MD 2023-09-15 21:43:07 +03:00
mirai
3ea50f5ba9 Update README.MD 2023-09-15 21:42:01 +03:00
mirai
6ae30e4f30 Update README.MD 2023-09-15 21:38:09 +03:00
mirai
e6ea017d25 Update README.MD 2023-09-03 01:45:56 +03:00
mirai
574e2b8d2f Update PyPi and README, another time 2023-03-08 19:43:59 +03:00
mirai
b99ccbc2f9 Update README & pypi 2023-03-08 19:38:28 +03:00
mirai
b773f3bdb4 Update pypi 2023-03-08 19:32:44 +03:00
mirai
bad818c7e9 Create pypi package 2023-03-08 19:10:49 +03:00
mirai
a8f296c0f1 Code refactoring 2023-03-08 18:59:38 +03:00
mirai
0f066d367f Code refactoring. Add config for customize colors, add services, fixed bugs & glitches 2023-03-08 18:30:26 +03:00
mirai
89cf019e19 Update README.MD 2022-12-01 15:23:25 +03:00
mirai
88fb61efb1 Update README.MD 2022-12-01 15:22:49 +03:00
mirai
34a65a1cbe Update README.MD 2022-12-01 11:51:48 +03:00
mirai
7544ff8c63 Add readme 2022-12-01 11:37:05 +03:00