{"id":17279724,"url":"https://github.com/str4d/plc","last_synced_at":"2025-07-25T02:37:33.915Z","repository":{"id":257176460,"uuid":"857515949","full_name":"str4d/plc","owner":"str4d","description":"Key management for DID PLC identities","archived":false,"fork":false,"pushed_at":"2024-10-26T06:49:51.000Z","size":119,"stargazers_count":26,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-14T10:45:03.240Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/str4d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2024-09-14T21:09:22.000Z","updated_at":"2025-07-11T03:27:39.000Z","dependencies_parsed_at":"2024-10-26T18:12:43.444Z","dependency_job_id":null,"html_url":"https://github.com/str4d/plc","commit_stats":null,"previous_names":["str4d/plc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/str4d/plc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/str4d%2Fplc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/str4d%2Fplc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/str4d%2Fplc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/str4d%2Fplc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/str4d","download_url":"https://codeload.github.com/str4d/plc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/str4d%2Fplc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266944986,"owners_count":24010490,"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-07-25T02:00:09.625Z","response_time":70,"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-10-15T09:18:24.829Z","updated_at":"2025-07-25T02:37:33.883Z","avatar_url":"https://github.com/str4d.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# plc: Key management for DID PLC identities\n\n`plc` is a tool for managing DID PLC identities. The end goal is to enable users\nto add and manage YubiKeys as backup rotation keys.\n\nThe tool is currently a work-in-progress and may change incompatibly at any time.\n\nThe DID PLC specification is at [web.plc.directory](https://web.plc.directory/spec/v0.1/did-plc).\n\n## Installation\n\n| Environment | CLI command |\n|-------------|-------------|\n| Cargo (Rust 1.65+) | `cargo install --git https://github.com/str4d/plc` |\n\n## Usage\n\n### Key management\n\nCurrently only key inspection is implemented:\n\n```\n$ plc keys list bsky.app\nNot currently authenticated to bsky.app; can't fetch PDS keys\n\nAccount did:plc:z72i7hdynmk6r22z27h6tvur\n- Primary handle: @bsky.app\n- PDS: https://puffball.us-east.host.bsky.network\n- Signing key: Unknown (Secp256k1): 043249d921a1da482dc7117e9451bf2ae48ef641dc87bd9c9ea3648f3e81cce2494474cc0a80053c9be012d049a80b0ededd4064670024a8ce8a1b5e25a5655b52\n- 2 rotation keys:\n  - [0] Unknown (Secp256k1): 0425f4891e63128b8ab689e862b8e11428f24095e3e57b9ea987eb70d1b59af9dfe8113ffd3dcdd3e15ac5415b6282ec12b627d06c7cdead1e3ec1887680948243\n  - [1] Unknown (Secp256k1): 048fe3769f5055088b448ca064bcecd7b6844239c355c98d4556d5c9c8c522de784fdc4cd480dc7b99d505243ec026409569a69842dbae649940cf7e8496efa31d\n```\n\n### DID inspection\n\nYou can list the currently-active operations for a DID:\n\n```\n$ plc ops list bsky.app\nAccount did:plc:z72i7hdynmk6r22z27h6tvur\n\nInitial state:\n- Rotation keys:\n  - [0] did:key:zQ3shhCGUqDKjStzuDxPkTxN6ujddP4RkEKJJouJGRRkaLGbg\n  - [1] did:key:zQ3shpKnbdPx3g3CmPf5cRVTPe1HtSwVn5ish3wSnDPQCbLJK\n- Verification methods:\n  - atproto: did:key:zQ3shXjHeiBuRCKmM36cuYnm7YEMzhGnCmCyW92sRJ9pribSF\n- Also-known-as:\n  - [0] at://bluesky-team.bsky.social\n- Services:\n  - atproto_pds: AtprotoPersonalDataServer = https://bsky.social\n\nUpdate 1:\n- Changed Also-known-as[0] to at://bsky.app\n\nUpdate 2:\n\nUpdate 3:\n- Changed verification method atproto to did:key:zQ3shQo6TF2moaqMTrUZEM1jeuYRQXeHEx4evX9751y2qPqRA\n- Changed service atproto_pds endpoint to https://puffball.us-east.host.bsky.network\n\nCurrent state:\n- Rotation keys:\n  - [0] did:key:zQ3shhCGUqDKjStzuDxPkTxN6ujddP4RkEKJJouJGRRkaLGbg\n  - [1] did:key:zQ3shpKnbdPx3g3CmPf5cRVTPe1HtSwVn5ish3wSnDPQCbLJK\n- Verification methods:\n  - atproto: did:key:zQ3shQo6TF2moaqMTrUZEM1jeuYRQXeHEx4evX9751y2qPqRA\n- Also-known-as:\n  - [0] at://bsky.app\n- Services:\n  - atproto_pds: AtprotoPersonalDataServer = https://puffball.us-east.host.bsky.network\n```\n\n`plc` can also validate the audit log provided by [plc.directory](https://plc.directory):\n\n```\n$ plc ops audit bsky.app\nAudit log for bsky.app is valid!\n```\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or\n   http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual licensed as above, without any additional terms or\nconditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstr4d%2Fplc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstr4d%2Fplc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstr4d%2Fplc/lists"}