{"id":28997806,"url":"https://github.com/nadavs5/tls","last_synced_at":"2025-06-25T06:32:33.993Z","repository":{"id":297043340,"uuid":"976238462","full_name":"NadavS5/Tls","owner":"NadavS5","description":"Tls v1.2 Client implementation, most tls servers support it","archived":false,"fork":false,"pushed_at":"2025-06-03T15:05:58.000Z","size":62,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-04T00:59:25.466Z","etag":null,"topics":["aes-256","aes-gcm","curve25519","elyptic","hmac-sha384","tls","tls12","x509"],"latest_commit_sha":null,"homepage":"","language":"Python","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/NadavS5.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,"zenodo":null}},"created_at":"2025-05-01T18:45:15.000Z","updated_at":"2025-06-03T15:08:40.000Z","dependencies_parsed_at":"2025-06-04T00:59:28.982Z","dependency_job_id":"c4bac03d-aed5-4d3e-b679-240eef12ea17","html_url":"https://github.com/NadavS5/Tls","commit_stats":null,"previous_names":["nadavs5/tls"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NadavS5/Tls","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NadavS5%2FTls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NadavS5%2FTls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NadavS5%2FTls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NadavS5%2FTls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NadavS5","download_url":"https://codeload.github.com/NadavS5/Tls/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NadavS5%2FTls/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261819103,"owners_count":23214430,"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","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":["aes-256","aes-gcm","curve25519","elyptic","hmac-sha384","tls","tls12","x509"],"created_at":"2025-06-25T06:30:30.714Z","updated_at":"2025-06-25T06:32:33.977Z","avatar_url":"https://github.com/NadavS5.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tls 1.2 Client in python\nSimple python implementation of tls 1.2 client\n## How To Use\n```python\n\nfrom client import tls_connection\n\n#create tls connection object\nconnection = tls_connection(\"www.google.com\", 443)\nconnection.connect()\nconnection.send(b\"any byte data you want\")\nfull_message = connection.recv()\n```\nalternatively you can just run the main file to run simple http request.\n\n note that the recv() doesnt has a size param because it recieves a whole tls packet \u003cbr/\u003e\n note that the message can be split across multiple packets\n\n## Requirements:\n```\npip install -r requirements.txt\n```\n\u003e [!NOTE]\n\u003e Because the certificate chaining is not implemented yet you will need to download the wr2 certificate and it will support part of Google's websites\n\u003e [wr2 cert](https://i.pki.goog/wr2.crt) \u003cbr/\u003e\n\u003e If you want to remove the cert verification remove lines 187 - 188 in client.py\n## Current Implementation:\n\n- This client uses cipher: ECDHE_RSA_AES256_GCM_SHA384 \n\u003e This cipher is used because most server support it\n- and signature algorithm: RSA_PSS_RSAE_SHA256\n\n## Why Not Tls 1.3?\nbecause tls 1.3 is a little bit mor longer to implement and most servers still support tls 1.2 with the chosen cipher\n\n---\n\n## Development Status:\n\ncurrently working on full certificate chaining verification \n\n\n\n## Note\n\nThis is a personal/educational project. You're more than welcome to browse the code, use it as a reference, or contribute!\n\nFeel free to open pull requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnadavs5%2Ftls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnadavs5%2Ftls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnadavs5%2Ftls/lists"}