{"id":26822732,"url":"https://github.com/bartekdeveloper/cryptic","last_synced_at":"2025-03-30T08:28:11.039Z","repository":{"id":284242629,"uuid":"954282801","full_name":"BartekDeveloper/cryptic","owner":"BartekDeveloper","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-24T21:54:33.000Z","size":118,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T22:31:14.576Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/BartekDeveloper.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":"2025-03-24T20:58:31.000Z","updated_at":"2025-03-24T21:54:36.000Z","dependencies_parsed_at":"2025-03-24T22:41:23.089Z","dependency_job_id":null,"html_url":"https://github.com/BartekDeveloper/cryptic","commit_stats":null,"previous_names":["bartekdeveloper/cryptic"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BartekDeveloper%2Fcryptic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BartekDeveloper%2Fcryptic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BartekDeveloper%2Fcryptic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BartekDeveloper%2Fcryptic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BartekDeveloper","download_url":"https://codeload.github.com/BartekDeveloper/cryptic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246294407,"owners_count":20754441,"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":[],"created_at":"2025-03-30T08:28:10.604Z","updated_at":"2025-03-30T08:28:11.032Z","avatar_url":"https://github.com/BartekDeveloper.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cryptic - Secure Messaging and Transaction Platform\n\nA secure web application built with Go, HTMX, and TailwindCSS that demonstrates secure user authentication, end-to-end encrypted messaging, and transaction management.\n\n## Features\n\n- **Secure User Authentication**\n  - Registration and login with Argon2id password hashing\n  - JWT-based session management with HS384 signing\n  - Salt-based password protection\n\n- **End-to-End Encrypted Messaging**\n  - X25519 for key exchange\n  - ChaCha20-Poly1305 for message encryption\n  - Perfect forward secrecy with ephemeral keys\n\n- **Transaction Management**\n  - Balance tracking\n  - Transaction history\n  - Secure transaction processing\n\n## Security Measures\n\n- Advanced password hashing with Argon2id\n- 384-bit JWT tokens\n- End-to-end encryption for messages\n- Secure key storage\n- CORS protection\n- Input validation and sanitization\n\n## Development Setup\n\n1. Install dependencies:\n   ```bash\n   go mod download\n   ```\n\n2. Set up MySQL database and update .env file with your database credentials\n\n3. Run the application:\n   ```bash\n   go run main.go\n   ```\n\n## API Endpoints\n\n### Public Routes\n- POST /api/register - User registration\n- POST /api/login - User authentication\n\n### Protected Routes (Requires JWT)\n- POST /api/messages - Send encrypted message\n- GET /api/messages - Get received messages\n- POST /api/transactions - Create transaction\n- GET /api/transactions - Get transaction history\n- GET /api/balance - Get current balance\n\n## Security Notice\n\nThis is a demonstration project showcasing secure communication and transaction handling. While it implements proper security measures, it should not be used in production without thorough security auditing and hardening.\n\n## License\n\nMIT License","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartekdeveloper%2Fcryptic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbartekdeveloper%2Fcryptic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartekdeveloper%2Fcryptic/lists"}