{"id":28639371,"url":"https://github.com/interlay/bob-rust-challenge","last_synced_at":"2025-06-12T19:40:19.554Z","repository":{"id":284933137,"uuid":"956009283","full_name":"interlay/bob-rust-challenge","owner":"interlay","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-31T10:47:02.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T02:41:25.550Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/interlay.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-03-27T14:53:07.000Z","updated_at":"2025-03-31T12:38:37.000Z","dependencies_parsed_at":"2025-03-28T13:26:47.062Z","dependency_job_id":"41c641c9-be7f-426c-ad9d-d25eb5b33528","html_url":"https://github.com/interlay/bob-rust-challenge","commit_stats":null,"previous_names":["bob-collective/bob-rust-challenge","interlay/bob-rust-challenge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/interlay/bob-rust-challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interlay%2Fbob-rust-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interlay%2Fbob-rust-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interlay%2Fbob-rust-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interlay%2Fbob-rust-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interlay","download_url":"https://codeload.github.com/interlay/bob-rust-challenge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interlay%2Fbob-rust-challenge/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259520285,"owners_count":22870415,"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-06-12T19:40:18.810Z","updated_at":"2025-06-12T19:40:19.536Z","avatar_url":"https://github.com/interlay.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BOB Rust Challenge\n\nA distributed bulletin board system implementation challenge in Rust.\n\n## Overview\n\nThis challenge involves implementing a distributed bulletin board system with the following key features:\n\n- Message posting with signatures\n- Message retrieval by public key\n- Network communication using TCP\n- Concurrent request handling\n- In-memory message storage\n\n## Requirements\n\n### 1. Cryptographic Signatures\n\nImplement a signature scheme in `src/crypto.rs`:\n- Implement message signing\n- Support message verification with public keys\n- Handle errors appropriately\n- Include comprehensive tests\n\n### 2. Message Storage\n\nImplement a storage interface in `src/store.rs`:\n- Store messages by public key\n- Support concurrent access\n- Handle errors appropriately\n- Include comprehensive tests\n\n### 3. Network Server\n\nImplement a TCP server in `src/server.rs`:\n- Handle multiple concurrent connections\n- Process post and get requests\n- Verify signatures for post operations\n- Return appropriate responses\n- Handle errors appropriately\n- Include comprehensive tests\n\n## Project Structure\n\n```\nsrc/\n├── crypto.rs    # Cryptographic signature implementation\n├── error.rs     # Error types\n├── lib.rs       # Library exports\n├── server.rs    # Network server implementation\n└── store.rs     # Message storage implementation\n```\n\n## Implementation Details\n\n### Message Posting\n- Messages must be signed with a private key\n- Signatures must be verified using the corresponding public key\n- Messages are stored and indexed by public key\n\n### Message Retrieval\n- Messages can be retrieved using a public key\n- Returns all messages posted with that public key\n- No signature verification needed for retrieval\n\n### Network Protocol\n- JSON-based request/response format\n- TCP-based communication\n- Support for concurrent connections\n\n## Getting Started\n\n1. Clone the repository\n2. Implement the required functionality\n3. Run the tests: `cargo test`\n4. Run the server: `cargo run`\n\n## Testing\n\nThe project includes comprehensive tests for each component:\n- Cryptographic signature tests\n- Storage interface tests\n- Network server tests\n- Integration tests\n\nRun the tests with:\n```bash\ncargo test\n```\n\n## Evaluation Criteria\n\nThe implementation will be evaluated based on:\n- Correctness of the cryptographic implementation\n- Proper error handling\n- Code organization and readability\n- Test coverage\n- Performance with concurrent connections\n- Documentation quality ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterlay%2Fbob-rust-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finterlay%2Fbob-rust-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterlay%2Fbob-rust-challenge/lists"}