{"id":22124213,"url":"https://github.com/federicoponzi/horcrust","last_synced_at":"2025-08-21T18:09:39.869Z","repository":{"id":206293132,"uuid":"714823182","full_name":"FedericoPonzi/horcrust","owner":"FedericoPonzi","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-08T20:49:38.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T13:12:09.539Z","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/FedericoPonzi.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}},"created_at":"2023-11-05T22:45:08.000Z","updated_at":"2023-11-08T20:48:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"9c35b773-d56e-4519-8a30-492b93db0d34","html_url":"https://github.com/FedericoPonzi/horcrust","commit_stats":null,"previous_names":["federicoponzi/horcrust"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FedericoPonzi%2Fhorcrust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FedericoPonzi%2Fhorcrust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FedericoPonzi%2Fhorcrust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FedericoPonzi%2Fhorcrust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FedericoPonzi","download_url":"https://codeload.github.com/FedericoPonzi/horcrust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245231018,"owners_count":20581608,"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":"2024-12-01T15:47:01.588Z","updated_at":"2025-03-24T07:42:46.274Z","avatar_url":"https://github.com/FedericoPonzi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Horcrust\nSplit your precious secret in shares and send them to remote servers. Easily recover your secret when you need it.\n\n\n### Running the system\n\nI’ve provided a Dockerfile to build the servers and a docker-compose to ease testing. If you want to run it, you will need either docker and docker-compose or rust-toolchain + cargo.\n\n```\ndocker-compose up\n\n```\n\nor\n\n```\ncargo run --bin server -- --port 9091 -s 127.0.0.1:9091 -s 127.0.0.1:9092\ncargo run --bin server -- --port 9092 -s 127.0.0.1:9091 -s 127.0.0.1:9092\n\n```\n\nTo run the client, I’ve provided a Dockerfile-client file:\n\n```jsx\n# build:\ndocker build -f Dockerfile-client -t horcrust-client:latest .\n# run it:\ndocker run -it --rm horcrust-client --help\ndocker run --network=host -it --rm horcrust-client -s 127.0.0.1:9091 -s 127.0.0.1:9092 store-secret 123 323\ndocker run --network=host -it --rm horcrust-client  -s 127.0.0.1:9091 -s 127.0.0.1:9092 retrieve-secret 123\n\n```\n\nTo run the client through cargo:\n\n```\ncargo run --bin client -- -s 127.0.0.1:9091 -s 127.0.0.1:9092 store-secret 123 323\ncargo run --bin client -- -s 127.0.0.1:9091 -s 127.0.0.1:9092 retrieve-secret 123\ncargo run --bin client -- --help\nCreate shares out of your secret and stores them to distributed servers. Allows you to safely recover your secret from the shares on a later moment\n\nUsage: client --servers \u003cSERVERS\u003e \u003cCOMMAND\u003e\n\nCommands:\n  store-secret     \n  retrieve-secret  \n  help             Print this message or the help of the given subcommand(s)\n\nOptions:\n  -s, --servers \u003cSERVERS\u003e  a list of servers to store your secret. Please provide at least 2 servers\n  -h, --help               Print help\n  -V, --version            Print version\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedericoponzi%2Fhorcrust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffedericoponzi%2Fhorcrust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedericoponzi%2Fhorcrust/lists"}