{"id":20631203,"url":"https://github.com/solidlabresearch/inter-pod-credential-exchange-protocol","last_synced_at":"2025-09-21T21:51:09.657Z","repository":{"id":227738479,"uuid":"772253867","full_name":"SolidLabResearch/inter-pod-credential-exchange-protocol","owner":"SolidLabResearch","description":"Demo of the Inter-Pod Credential Exchange Protocol using three Solid Pods","archived":false,"fork":false,"pushed_at":"2024-04-18T11:44:56.000Z","size":313,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-14T12:41:25.743Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://solidlabresearch.github.io/inter-pod-credential-exchange-protocol/","language":"JavaScript","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/SolidLabResearch.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2024-03-14T20:37:05.000Z","updated_at":"2024-04-18T09:56:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c2ab98b-d450-4a89-8826-17aa443258ad","html_url":"https://github.com/SolidLabResearch/inter-pod-credential-exchange-protocol","commit_stats":null,"previous_names":["solidlabresearch/sds24-inter-pod-credential-exchange-protocol-demonstrator","solidlabresearch/inter-pod-credential-exchange-protocol"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/SolidLabResearch/inter-pod-credential-exchange-protocol","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidLabResearch%2Finter-pod-credential-exchange-protocol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidLabResearch%2Finter-pod-credential-exchange-protocol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidLabResearch%2Finter-pod-credential-exchange-protocol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidLabResearch%2Finter-pod-credential-exchange-protocol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SolidLabResearch","download_url":"https://codeload.github.com/SolidLabResearch/inter-pod-credential-exchange-protocol/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidLabResearch%2Finter-pod-credential-exchange-protocol/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276312967,"owners_count":25620626,"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-21T02:00:07.055Z","response_time":72,"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-11-16T14:11:32.770Z","updated_at":"2025-09-21T21:51:09.617Z","avatar_url":"https://github.com/SolidLabResearch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Readme\n\n[![DOI](https://zenodo.org/badge/772253867.svg)](https://zenodo.org/doi/10.5281/zenodo.10992059)\n\nThis file shows how to setup, install and run our Inter-Pod Credential Exchange Protocol demo.\n\nAn example output of running the code can be found in [example-output.md](./example-output.md).\n\n## Setup\n\nWe use [Node](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) for running the code.\n\n`npm install` to install everything. (If there is a warning about Node engines, try running it with `npm install --ignore-engines`)\n\n## Run the code\n\n1. Open a terminal, run `npm run serve` to start the [Community Solid Server (CSS)](https://github.com/CommunitySolidServer/CommunitySolidServer)\n2. Open a second terminal, run `node index.js` to execute the demo\n\nThe demo won't run if the CSS is not running.\n\n## Code structure\n\n- Readme.md :: this file\n- package.json :: npm package config\n- index.js\n- src/\n  - signer.js (Issuer)\n  - holder.js (Holder)\n  - verifier.js (Verifier)\n  - util/ :: util scripts\n- example-output.md :: An example output of running our code\n\n## Results\n\n![figure-flow](https://github.com/j-steinbach/inter-pod-credential-exchange-protocol-demo/assets/69524139/17ce2a7d-1ae6-474e-93b8-11576c2b19d0)\n\nWe demonstrate three phases, preceded by a setup procedure (setting up three Solid Pods on the CSS, including an LDN inbox)\n\n1. Issuer issue Verifiable Credential (VC) to Holder (A, B)\n2. Holder receive and consume credential, then derive a new VC and send it to Verifier (C, D)\n3. Verifier receive, consume and verify VC (E)\n\n**==\u003e An example output of running the code can be found in [example-output.md](./example-output.md).**\n\n## Inspection\n\nNotifications can be inspected via HTTP GET in the command line, e.g. `http GET http://localhost:3000/verifier/inbox/b3ffb872-d4e8-40ae-bf8b-9bdde9f8a9c2`. This requires a HTTP client to be installed.\n\n\n## Advanced Inspection: Inspect the Pods\n\n**The below is not part of our demo, but might be of interest to follow along. Use on your own, we take no guarantee**\n\nBesides checking the console logs,\nPods can also be inspected with Solid Pod browsers, \nfor example [Penny]([url](https://penny.vincenttunru.com/)), or [Bashlib](https://github.com/SolidLabResearch/Bashlib).\n\nBelow is a short reference to Bashlib.\n\n```bash\ngit clone git@github.com:SolidLabResearch/Bashlib.git\ncd Bashlib\nnpm install \nnpm run build\n```\n\n\n```bash\n# Create an authenticated session (for CSS 4.0.0 and up)\nnode bin/solid.js auth create-token\n# -- and fill in all the questions\n# http://localhost:3000\n\n# Set the webid you want to use for authenticated session\n# http://localhost:3000/signer/profile/card#me\n# http://localhost:3000/holder/profile/card#me\n# http://localhost:3000/verifier/profile/card#me\nnode bin/solid.js auth set http://localhost:3000/signer/profile/card#me\n\n# Read data\nnode bin/solid.js ls http://localhost:3000/holder/inbox/ \nnode bin/solid.js cat http://localhost:3000/holder/private/original\n\n# Or, shorten this to \nnode bin/solid.js ls root:/private/derivation\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidlabresearch%2Finter-pod-credential-exchange-protocol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolidlabresearch%2Finter-pod-credential-exchange-protocol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidlabresearch%2Finter-pod-credential-exchange-protocol/lists"}