{"id":18623178,"url":"https://github.com/glottologist/adapted-chaum-pedersen","last_synced_at":"2025-09-07T22:39:07.839Z","repository":{"id":232126278,"uuid":"777603375","full_name":"glottologist/adapted-chaum-pedersen","owner":"glottologist","description":"Chaum–Pedersen adapted for 1 factor authentication","archived":false,"fork":false,"pushed_at":"2024-06-18T22:23:17.000Z","size":92,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-01T12:11:26.914Z","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/glottologist.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-03-26T06:56:13.000Z","updated_at":"2024-04-08T02:54:21.000Z","dependencies_parsed_at":"2024-11-07T04:25:37.388Z","dependency_job_id":"68c8a9b9-d91a-44d3-a8bf-cebe9116b7a1","html_url":"https://github.com/glottologist/adapted-chaum-pedersen","commit_stats":null,"previous_names":["glottologist/adapted-chaum-pedersen"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/glottologist/adapted-chaum-pedersen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glottologist%2Fadapted-chaum-pedersen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glottologist%2Fadapted-chaum-pedersen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glottologist%2Fadapted-chaum-pedersen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glottologist%2Fadapted-chaum-pedersen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glottologist","download_url":"https://codeload.github.com/glottologist/adapted-chaum-pedersen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glottologist%2Fadapted-chaum-pedersen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274107751,"owners_count":25223454,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-07T04:21:49.795Z","updated_at":"2025-09-07T22:39:07.817Z","avatar_url":"https://github.com/glottologist.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Adapted-Chaum-Pedersen\n\nThis repo is an example of adapting the Chaum–Pedersen protocol for 1 factor authentication.\n\n## Usage\n\nYou can run the client-server authentication in a few different ways:\n\n- Nix\n- Rust\n- Docker\n\n### Nix\n\n#### Install Nix\n\nFull instructions on how to install Nix can be found [here](https://nixos.org/download/) but the recommended why is:\n\n```bash\nsh \u003c(curl -L https://nixos.org/nix/install) --daemon\n```\n\n#### Enable Flakes\n\nThere are a few ways to enable flakes depending on environment; they are listed [here](https://nixos.wiki/wiki/flakes#Installing_flakes).\n\n#### Usage\n\nAfter flakes have been enabled, the environment can be bootstrapped by running:\n\n```\nnix develop --impure\n```\n\n\u003e Note: You will need to do this in two different terminal windows; one for the server and one for the client\n\nIn the first terminal simply run:\n\n```\nserver\n```\nThis will run the server half locally on port 8080.\n\nIn the second window, you will need to register your secret password first.  This can be done by running:\n\n```\nregister \u003cusername\u003e\n```\nYou will be asked to enter a secret password that corresponds to the *username*.\n\nOnce registered, you can attempt to authenticate by running:\n\n```\nauthenticate \u003cusername\u003e\n```\nYou will once again be asked to enter the secret password, and if it is the same password that you registered, you should get a successful authentication message.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglottologist%2Fadapted-chaum-pedersen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglottologist%2Fadapted-chaum-pedersen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglottologist%2Fadapted-chaum-pedersen/lists"}