{"id":22411026,"url":"https://github.com/dynstat/websockets-in-c","last_synced_at":"2025-08-31T14:35:24.555Z","repository":{"id":258397370,"uuid":"873851829","full_name":"dynstat/websockets-in-c","owner":"dynstat","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-20T22:14:30.000Z","size":309,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T02:46:04.119Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dynstat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-16T20:37:54.000Z","updated_at":"2024-10-20T22:14:33.000Z","dependencies_parsed_at":"2024-10-22T00:47:30.024Z","dependency_job_id":null,"html_url":"https://github.com/dynstat/websockets-in-c","commit_stats":null,"previous_names":["dynstat/websockets-in-c"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dynstat/websockets-in-c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynstat%2Fwebsockets-in-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynstat%2Fwebsockets-in-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynstat%2Fwebsockets-in-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynstat%2Fwebsockets-in-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dynstat","download_url":"https://codeload.github.com/dynstat/websockets-in-c/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynstat%2Fwebsockets-in-c/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268265528,"owners_count":24222518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T13:12:47.400Z","updated_at":"2025-08-01T17:04:42.071Z","avatar_url":"https://github.com/dynstat.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebSocket Communication with Encryption\n\nThis project demonstrates a WebSocket-based communication system with encryption, featuring a C client and a Python server.\n\n## Features\n\n- Secure WebSocket communication\n- AES-256 encryption for message exchange\n- Client authentication and verification\n- Heartbeat mechanism for connection monitoring\n\n## Components\n\n### Python Server (server.py)\n\n- Implements the WebSocket server using `asyncio` and `websockets`\n- Handles client authentication and name verification\n- Processes encrypted messages and APDU commands\n- Supports only localhost connections\n\n### C Client (client.c)\n\n- Uses `libwebsockets` for WebSocket communication\n- Implements AES-256 encryption/decryption using OpenSSL\n- Handles connection establishment and message exchange\n\n## Setup\n\n1. Install required libraries for both client and server\n2. Compile the C client\n3. Run the Python server\n4. Connect using the C client\n\n## Security Notes\n\n- Uses a hardcoded encryption key (should be replaced with secure key management in production)\n- Limited to localhost connections for added security\n\n## Usage\n\nDetailed usage instructions to be added.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynstat%2Fwebsockets-in-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdynstat%2Fwebsockets-in-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynstat%2Fwebsockets-in-c/lists"}