{"id":16454972,"url":"https://github.com/lucadibello/simple-tls","last_synced_at":"2025-02-26T22:26:01.177Z","repository":{"id":243256848,"uuid":"805806932","full_name":"lucadibello/simple-tls","owner":"lucadibello","description":"Simple TLS protocol implementation featuring client + server","archived":false,"fork":false,"pushed_at":"2024-06-01T15:31:14.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-09T17:59:35.020Z","etag":null,"topics":["cli-app","tls"],"latest_commit_sha":null,"homepage":"","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/lucadibello.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-05-25T14:10:50.000Z","updated_at":"2024-06-07T14:29:04.000Z","dependencies_parsed_at":"2024-06-07T17:01:31.302Z","dependency_job_id":"f63eb042-8528-4b5c-919f-d3bae0d1d078","html_url":"https://github.com/lucadibello/simple-tls","commit_stats":null,"previous_names":["lucadibello/simple-tls"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucadibello%2Fsimple-tls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucadibello%2Fsimple-tls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucadibello%2Fsimple-tls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucadibello%2Fsimple-tls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucadibello","download_url":"https://codeload.github.com/lucadibello/simple-tls/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240943568,"owners_count":19882421,"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":["cli-app","tls"],"created_at":"2024-10-11T10:20:35.492Z","updated_at":"2025-02-26T22:26:01.151Z","avatar_url":"https://github.com/lucadibello.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-tls\n\n## Overview\n\nsimple-tls is a lightweight and straightforward implementation of the TLS (Transport Layer Security) protocol. This project aims to provide a minimalistic yet functional example of TLS communication, demonstrating key aspects such as encryption, decryption, and certificate handling.\n\n## Features\n\n- Basic TLS client and server implementation\n- Support for AES encryption\n- Certificate handling using OpenSSL\n- Simple handshake mechanism\n\n## Requirements\n\n- gcc (GNU Compiler Collection)\n- OpenSSL library\n- make (build automation tool)\n- Homebrew (for macOS)\n\n## Installation\n\n### macOS\n\n1. Install Homebrew if you haven't already:\n\n```sh\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\n```\n\n2. Install OpenSSL using Homebrew:\n\n```sh\nbrew install openssl\n```\n\n3. Clone the repository:\n\n```sh\ngit clone https://github.com/yourusername/simple-tls.git\ncd simple-tls\n```\n\n4. Build the project:\n\n```sh\nmake\n```\n\n### Linux\n\n1. Install OpenSSL and gcc if you haven't already:\n\n```sh\nsudo apt-get update\nsudo apt-get install -y openssl libssl-dev gcc make\n```\n\n2. Clone the repository:\n\n```sh\ngit clone https://github.com/yourusername/simple-tls.git\ncd simple-tls\n```\n\n3. Build the project:\n\n```sh\nmake\n```\n\n## Usage\n\n### Running the Client\n\n```sh\n./build/simple_tls\n```\n\n### Running the Server\n\n```sh\n./build/tls_server\n```\n\n## Testing\n\nThe project includes unit tests to ensure the correct functionality of various components. To run the tests, use the following commands:\n\n```sh\nmake check\n```\n\nTo run tests with Valgrind for memory leak detection:\n\n```sh\nmake check-valgrind\n```\n\n## Project Structure\n\n- `src/`: Contains the source code for the TLS implementation.\n- `test/`: Contains unit tests for the project.\n- `build/`: Directory where the compiled binaries and object files are placed.\n- `unity/`: Directory containing the Unity testing framework.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucadibello%2Fsimple-tls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucadibello%2Fsimple-tls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucadibello%2Fsimple-tls/lists"}