{"id":15471153,"url":"https://github.com/gpestana/htokens-rs","last_synced_at":"2025-04-23T03:33:57.568Z","repository":{"id":37969860,"uuid":"440981056","full_name":"gpestana/htokens-rs","owner":"gpestana","description":"Suite of verifiable anonymous credentials that can be used by applications and systems to enhance/provide privacy to users without impacting practicality.","archived":false,"fork":false,"pushed_at":"2022-02-18T14:44:34.000Z","size":47,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T21:41:24.619Z","etag":null,"topics":["anonymous-credentials","cryptography","privacy","verifiable-credentials","zero-knowledge"],"latest_commit_sha":null,"homepage":"https://humanity-tokens.com","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gpestana.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-22T20:49:54.000Z","updated_at":"2023-10-23T14:02:45.000Z","dependencies_parsed_at":"2022-09-14T14:50:24.385Z","dependency_job_id":null,"html_url":"https://github.com/gpestana/htokens-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpestana%2Fhtokens-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpestana%2Fhtokens-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpestana%2Fhtokens-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpestana%2Fhtokens-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gpestana","download_url":"https://codeload.github.com/gpestana/htokens-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250366146,"owners_count":21418764,"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":["anonymous-credentials","cryptography","privacy","verifiable-credentials","zero-knowledge"],"created_at":"2024-10-02T02:10:30.493Z","updated_at":"2025-04-23T03:33:57.551Z","avatar_url":"https://github.com/gpestana.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Private Humamity Tokens\n\n[![](https://img.shields.io/badge/Version-0.1.0--alpha-brightgreen)](https://crates.io/crates/htokens-rs) [![](https://docs.rs/htokens-rs/badge.svg)](https://docs.rs/htokens-rs) ![](https://github.com/gpestana/htokens-rs/actions/workflows/tests.yml/badge.svg)\n\n`htokens-rs` implements a suite of verifiable anonymous credentials that can be used by applications and systems to enhance/provide privacy to users without impacting practicality.\n\nIn general, the schemes implemented by htokens-rs have three main participants: an issuer , a wallet and a verifier. The issuer, *issues* htokens to a particular wallet. The wallet stores and utilizes issued tokens by making *claims* about tokens to third parties. Finally, a verifier *verifies* whether the claims made by the wallet about their token are valid. Importantly, the wallet identity may remain hidden when the claims about their tokens are verified.\n\nThe claims can be, for example, of the form `\"This token has been issued by Issuer X in the past month\"` or `\"Issuer X of this token guarantees that the owner is a human based on properties Z and Y\"`, etc. In general, these schemes allow wallets to fetch tokens from issuers and prove properties about themself to verifiers without disclosing their own identity.\n\nWhile htokens are not necessarily issued/verified by a smart contract, many of the schemes implemented in this crate allow for smart contract integration (WIP).\n\nThe htoken-rs library supports (or will support) the following schemes:\n\n- Third-party issued credentials with public and private metadata and private verifiability (e.g. [Privacy Pass](https://datatracker.ietf.org/wg/privacypass/about/))\n- Third-party issued credentials with public and private metadata and public verifiability\n- Self-issued credentials with private verifiability\n- Self-issued credentials with public verifiability\n\nIn addition, `htokens-wallet-rs` implements an API and CLI for users to manage and use their credentials.\n\n**Application examples**:\n\n- Privacy Pass tokens and CAPTCHAs\n- Privacy-preserving humanity attestation\n- Private access management and delegation\n- Smart contract access/reputation control","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpestana%2Fhtokens-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpestana%2Fhtokens-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpestana%2Fhtokens-rs/lists"}