{"id":18048190,"url":"https://github.com/naartjie/zkp-auth","last_synced_at":"2026-04-25T11:31:57.468Z","repository":{"id":37420434,"uuid":"505780613","full_name":"naartjie/zkp-auth","owner":"naartjie","description":"Passwordless Login using Zero-knowledge proofs","archived":false,"fork":false,"pushed_at":"2022-09-20T10:52:33.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"trunk","last_synced_at":"2025-06-15T10:07:40.548Z","etag":null,"topics":["grpc","zero-knowledge"],"latest_commit_sha":null,"homepage":"","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/naartjie.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}},"created_at":"2022-06-21T09:43:38.000Z","updated_at":"2022-09-21T13:04:11.000Z","dependencies_parsed_at":"2023-01-17T14:24:00.891Z","dependency_job_id":null,"html_url":"https://github.com/naartjie/zkp-auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/naartjie/zkp-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naartjie%2Fzkp-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naartjie%2Fzkp-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naartjie%2Fzkp-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naartjie%2Fzkp-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naartjie","download_url":"https://codeload.github.com/naartjie/zkp-auth/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naartjie%2Fzkp-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32261021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["grpc","zero-knowledge"],"created_at":"2024-10-30T20:11:53.827Z","updated_at":"2026-04-25T11:31:57.449Z","avatar_url":"https://github.com/naartjie.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Run it\n\nTo run both client and server\n\n```sh\ndocker-compose up\n# if you've made some changes, rebuild the images\ndocker-compose up --build\n# cleanup afterwards\ndocker-compose down\n```\n\nRunning the tests\n\n```sh\ncargo test\n```\n\n### gRPC\n\nThe client / server use gRPC, via the [tonic](https://docs.rs/tonic/0.7.2/tonic/index.html) library. The protocol definition is in [`zkp-auth.proto`](./zkp-auth.proto).\n\n### Client\n\nSet the username and password using environment vars:\n\n```sh\nAUTH_USER=foo AUTH_PASS=7 cargo run --bin client\n```\n\n### Server\n\n```sh\ncargo run --bin server\n```\n\n### Next steps\n\n- cryptographically secure random numbers\n- timeout challenges\n- use a real database to store usernames / commits\n- experiment with a streaming gRPC API which would allow to not store the challenges, they'd be part of the stream state\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaartjie%2Fzkp-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaartjie%2Fzkp-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaartjie%2Fzkp-auth/lists"}