{"id":15902846,"url":"https://github.com/erikh/did-toolkit","last_synced_at":"2025-08-07T05:14:22.302Z","repository":{"id":153688620,"uuid":"628392235","full_name":"erikh/did-toolkit","owner":"erikh","description":"Rust Toolkit for Decentralized Identity Documents: https://www.w3.org/TR/did-core/","archived":false,"fork":false,"pushed_at":"2025-03-06T22:39:51.000Z","size":226,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T20:14:06.103Z","etag":null,"topics":["did","did-core","rust","specification"],"latest_commit_sha":null,"homepage":"https://docs.rs/did-toolkit/latest/did_toolkit/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erikh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2023-04-15T20:01:09.000Z","updated_at":"2025-03-06T22:39:47.000Z","dependencies_parsed_at":"2024-06-06T18:15:10.266Z","dependency_job_id":null,"html_url":"https://github.com/erikh/did-toolkit","commit_stats":{"total_commits":137,"total_committers":1,"mean_commits":137.0,"dds":0.0,"last_synced_commit":"f9404b935a48648ab4297cec46067003727af923"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/erikh/did-toolkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Fdid-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Fdid-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Fdid-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Fdid-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erikh","download_url":"https://codeload.github.com/erikh/did-toolkit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Fdid-toolkit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269201296,"owners_count":24377460,"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-08-07T02:00:09.698Z","response_time":73,"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":["did","did-core","rust","specification"],"created_at":"2024-10-06T12:00:22.793Z","updated_at":"2025-08-07T05:14:22.261Z","avatar_url":"https://github.com/erikh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## did-toolkit: a toolkit for Decentralized Identity Documents in rust-lang\n\nDID is a relatively new [spec](https://www.w3.org/TR/did-core/) for decentralized\nidentity. This toolkit aims to support as much of the spec as it can, allowing\nyou to build services and other tools that are compliant with the\nspecification.\n\nThe toolkit makes a sincere best-effort to maximize compliance with did-core,\nand eventually the did-method-web spec. Decentralized Identity Foundation specs\nsuch as [DWN](https://identity.foundation/decentralized-web-node/spec/) and\nother specs I hope will follow.\n\n### Currently Supported Features\n\n-   DID (identifier-only) syntax\n    -   Parsing from strings\n    -   Generation from pre-populated struct\n    -   Construction of DID URLs from DIDs when provided additional URL properties\n-   DID URL (different from DID)\n    -   Parsing absolute URLs, and mapping relative URLs from absolute ones\n    -   Generation from pre-populated struct\n    -   Decomposition into the DID that the URL is made from\n-   DID Document serialization and de-serialization\n    -   Preliminary support for [registry-supported types](https://www.w3.org/TR/did-spec-registries/)\n        -   Types with \"issues\" were elided for implementation safety's sake\n    -   Capable of generating JWK ECDSA keys with the P256 curve. More coming here.\n-   Preliminary, basic, in-memory Registry. Provides:\n    -   mapping of documents to DIDs\n    -   cross-referencing of alsoKnownAs in complimentary DIDs as equivalent\n    -   controller verification\n    -   Lookup of verification method\n    -   Optional caching of remote documents on-demand\n    -   Loading of documents from JSON or CBOR\n-   Command-line tool `did-toolkit` generates documents for fuzz testing your registry or DID-compliant implementation:\n    -   Generation of documents that are inter-linked via the `alsoKnownAs` and `controller` properties\n    -   Generates verification methods for every attribute that takes them\n        -   For attributes that also take a DID URL in place of a verification method, occasionally generates attribute properties which are simply links into other verification methods\n    -   It also generates ASCII percent-encoded DIDs that are non-compliant with UTF-8\n        -   Should break some implementations that use UTF-8 strings to parse these\n    -   Optional generation to CBOR (JSON is the default)\n\n### Planned Features\n\n-   Complete implementation of the [did-method-web specification](https://w3c-ccg.github.io/did-method-web/)\n-   Implementation of Verification Methods (encryption, signing, etc)\n\n### Regarding support in general:\n\n-   Consumption of formats:\n    -   JSON-LD support is _not_ planned due to the existing JSON-LD parser\n        implementations requiring non-standard JSON libraries that don't\n        integrate with anything else, including reqwest, which is used to locate\n        remote documents. If someone designs a JSON-LD implementation I can\n        simply consume I will bother. I have some personal and pointed feelings\n        about this standard as a former, scar-riddled consumer of XML standards\n        that insist I do not attempt to implement this myself.\n\n### Author\n\nErik Hollensbe \u003cerik+github@hollensbe.org\u003e\n\n### License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferikh%2Fdid-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferikh%2Fdid-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferikh%2Fdid-toolkit/lists"}