{"id":26053438,"url":"https://github.com/raadhshenshahhaseeb/keyless","last_synced_at":"2026-07-28T15:31:35.991Z","repository":{"id":281022802,"uuid":"941868545","full_name":"raadhshenshahhaseeb/keyless","owner":"raadhshenshahhaseeb","description":"[WIP] Encode - Explore Expander Bootcamp - Keyless Hackathon","archived":false,"fork":false,"pushed_at":"2025-03-07T22:55:28.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T20:48:35.428Z","etag":null,"topics":["cryptography","gnark","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/raadhshenshahhaseeb.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":"2025-03-03T07:27:17.000Z","updated_at":"2025-06-04T08:20:09.000Z","dependencies_parsed_at":"2025-03-06T15:49:06.840Z","dependency_job_id":null,"html_url":"https://github.com/raadhshenshahhaseeb/keyless","commit_stats":null,"previous_names":["raadhshenshahhaseeb/keyless"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raadhshenshahhaseeb/keyless","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raadhshenshahhaseeb%2Fkeyless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raadhshenshahhaseeb%2Fkeyless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raadhshenshahhaseeb%2Fkeyless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raadhshenshahhaseeb%2Fkeyless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raadhshenshahhaseeb","download_url":"https://codeload.github.com/raadhshenshahhaseeb/keyless/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raadhshenshahhaseeb%2Fkeyless/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279008636,"owners_count":26084480,"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-10-11T02:00:06.511Z","response_time":55,"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","gnark","golang"],"created_at":"2025-03-08T07:28:29.431Z","updated_at":"2025-10-11T20:48:35.953Z","avatar_url":"https://github.com/raadhshenshahhaseeb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [WIP] Keyless-Login\n\n## Introduction\n\nThis project is a simple implementation of a keyless login system. It is a proof of concept and is not intended to be used in a production environment.\n### 1. Start\n- **Option A**: Sign Up\n- **Option B**: Log In\n- **Option C**: Forgot Password / Recovery\n\n---\n\n### 2. Sign Up\n1. **Generate or Import Master Key**  \n   - [ ] Generate new wallet/key pair  \n   - [ ] Import existing key (optional)\n\n2. **Profile Setup**\n   - Name, email (optional), etc.\n   - Link to newly created/imported key\n\n3. **View Accounts**\n   - Lists all child keys (none by default)\n   - Option to create or import more keys\n\n---\n\n### 3. Key Management\n1. **Generate Shared Key** or **Shared Master Key**  \n   - Possibly use BLS or threshold cryptography  \n2. **Generate Child Key**  \n   - Derive child from master\n   - (Optional) “Prove Relationship” to aggregator\n3. **Import Wallets / Key Pairs**  \n   - Convert or merge external keys\n4. **View Key Details / Revoke Access**  \n   - Manage permissions or revoke child keys\n\n---\n\n### 4. Login Flow\n1. **Enter Basic Credentials** (app password, username, or passkey)\n2. **Connect** to:\n   - DApps (via Web3)  \n   - SSO (Google, others)  \n   - NFC passkey  \n3. **View Past Transactions / Link**\n   - Once logged in, see transaction history\n   - Option to link new services or blockchains\n\n---\n\n### 5. Verification Flow\n1. **Prove Relationship**  \n   - Show that a child key belongs to a master key using BLS or zero-knowledge\n2. **Transmit Proof**  \n   - NFC, API, or SSO channel\n3. **Verify Relationship**  \n   - On-chain (Blockchain)  \n   - Off-chain aggregator (API)  \n   - SSO provider\n\n---\n\n### 6. Forgot Password / Recovery\n- **Recovery Options**:\n  - Use mnemonic or seed phrase\n  - Use BLS threshold recovery with trusted parties\n- **Reset** or **Regenerate** user credentials, if possible\n\n### Flow\n   ![Flow-V1](docs/images/v1.jpg)\n\n\n### Security Notice\n\n- **Key Exposure**: The example code prints private keys for demonstration. In a real‐world application, never log or expose private keys.  \n- **Production Readiness**: This demonstration does not include secure storage, hardware wallet integration, or comprehensive error handling. For a production environment, additional safeguards are required.  \n- **Entropy**: When creating a new key (`NewKey()`), the code depends on `crypto.GenerateKey()` from Go’s standard library, which is sufficiently secure for most use cases but should still be handled carefully.\n\n### Contributions and Credits\nThis project was developed during the [Encode](https://www.encode.club/) Expander Bootcamp (Q1 2025), focusing on [Polyhedra's Expander](https://www.polyhedra.network/expander) proof generation backend. Contributors include (Discord usernames):\n\n- soumyadeep_02 (Roy)\n- dgallegos. (Diego)\n- raadhhaseeb (Haseeb)\n\n---\n\n### License\n\nAll files are provided under the terms of the [MIT License](https://opensource.org/licenses/MIT). See the [LICENSE](LICENSE) file for details. \n\n---\n\n**Disclaimer:** Use this repository at your own risk. While it may serve as a valuable learning tool, it is not audited or officially supported for handling significant funds or sensitive operations. AI was used to generate portions of the code.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraadhshenshahhaseeb%2Fkeyless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraadhshenshahhaseeb%2Fkeyless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraadhshenshahhaseeb%2Fkeyless/lists"}