{"id":30858534,"url":"https://github.com/nucypher/passkeys-taco-poc","last_synced_at":"2025-09-07T14:09:45.735Z","repository":{"id":302633033,"uuid":"1012987977","full_name":"nucypher/passkeys-taco-poc","owner":"nucypher","description":"PoC implementing passkeys to TACo encryption authentication","archived":false,"fork":false,"pushed_at":"2025-07-18T09:54:57.000Z","size":150,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-18T13:46:13.452Z","etag":null,"topics":["cryptography","encryption-decryption","passkeys","taco","threshold-cryptography","web3"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/nucypher.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-07-03T07:32:21.000Z","updated_at":"2025-07-18T09:56:35.000Z","dependencies_parsed_at":"2025-07-03T12:35:25.482Z","dependency_job_id":"09b8ff02-6574-4220-b18d-91f493e97460","html_url":"https://github.com/nucypher/passkeys-taco-poc","commit_stats":null,"previous_names":["manumonti/passkeys-taco-poc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nucypher/passkeys-taco-poc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucypher%2Fpasskeys-taco-poc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucypher%2Fpasskeys-taco-poc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucypher%2Fpasskeys-taco-poc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucypher%2Fpasskeys-taco-poc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nucypher","download_url":"https://codeload.github.com/nucypher/passkeys-taco-poc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucypher%2Fpasskeys-taco-poc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274046000,"owners_count":25212982,"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":["cryptography","encryption-decryption","passkeys","taco","threshold-cryptography","web3"],"created_at":"2025-09-07T14:09:41.830Z","updated_at":"2025-09-07T14:09:45.721Z","avatar_url":"https://github.com/nucypher.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleWebAuthn Passkeys + TACo PoC\n\nThis is a Next.js app that implements passkeys using [SimpleWebAuthn](https://github.com/GoogleChromeLabs/simple-webauthn)\nand [TACo](https://github.com/GoogleChromeLabs/taco).\n\nThe objective of this POC is to show how to use passkeys for TACo encryptor authentication.\n\n## Usage\n\nRecommended node version: v20.\n\n```bash\nnpm install\n# or\npnpm install\n```\n\nCreate a new `.env` file with the environment variables required in `.env.template`\nfile.\n\n```bash\nnpm run dev\n# or\npnpm dev\n```\n\n[http://localhost:3000](http://localhost:3000)\n\n## Diagrams\n\n### Passkey registration flow\n\n```mermaid\nsequenceDiagram\n    participant Authenticator\n    participant Client\n    participant Server\n    participant Database\n    Client-\u003e\u003eClient: generate ephemeral wallet\n    Client-\u003e\u003eServer: getRegistrationOptions(eph. wallet address)\n    Server-\u003e\u003eServer: generate RegistrationOptions\u003cbr/\u003e(including custom challenge)\n    Server-\u003e\u003eDatabase: save RegistrationOptions\u003cbr/\u003efor ephemeral wallet\n    Server-\u003e\u003eClient: RegistrationOptions\n    Client-\u003e\u003eAuthenticator: startRegistration(RegistrationOptions)\n    Authenticator-\u003e\u003eAuthenticator: Generate Priv/Pub key +\u003cbr/\u003esignature (attestation)\n    Authenticator-\u003e\u003eClient: RegistrationResponse\u003cbr/\u003e(credential i.e. pub key + signature)\n    Client-\u003e\u003eServer: verifyRegistration\u003cbr/\u003e(eph. wallet address, RegistrationResponse)\n    Server-\u003e\u003eDatabase: getChallenge(eph. wallet address)\n    Database-\u003e\u003eServer: challenge\n    Server-\u003e\u003eServer: checkChallenge()\n    Server-\u003e\u003eServer: verifyRegistration(RegistrationResponse, challenge)\n    Server-\u003e\u003eClient: VerificationResponse\n    Server-\u003e\u003eServer: registry eph wallet as encryptor\u003cbr/\u003eon GlobalAllowList smartcontract\n```\n\nNote that, in the code, the code run by the server is in the `src/lib` directory,\nwhile the code run by the client is in the `src/app` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucypher%2Fpasskeys-taco-poc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnucypher%2Fpasskeys-taco-poc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucypher%2Fpasskeys-taco-poc/lists"}