https://github.com/solidlabresearch/pseudonymity-demo
Demonstrator: Pseudonymity using WebID and DID
https://github.com/solidlabresearch/pseudonymity-demo
Last synced: 12 days ago
JSON representation
Demonstrator: Pseudonymity using WebID and DID
- Host: GitHub
- URL: https://github.com/solidlabresearch/pseudonymity-demo
- Owner: SolidLabResearch
- Created: 2024-06-24T12:56:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-16T20:23:52.000Z (about 1 year ago)
- Last Synced: 2025-06-04T01:15:58.163Z (8 months ago)
- Language: HTML
- Size: 23.2 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Pseudonymity PoC
This repository contains an implementation for pseudonymity combining WebID and DID Key.
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Testing](#testing)
- [Implementations](#implementations)
- [Running the use case implementations](#running-the-use-case-implementations)
- [License](#license)
## Prerequisites
- Docker Compose
## Install
Install the package as follows:
```bash
npm install
```
## Testing
Once [installed](#install),
you can run the test suite as follows:
```bash
npm run test
```
### Implementations
We provide two implementations in which a pseudonymous identity can established:
1. Using a WebID (label: `webid`)
2. Using a DID Key (label: `did-key`)
### Running the use case implementations
Run a specific use case implementation as follows:
```bash
./uc-runner.sh [-s did-key|webid] [-n ] [-d ]
# E.g. ./uc-runner.sh -s did-key
```
Arguments:
- `-d`: (Optional) Document Loader Cache Option (0,1,2, or 3; cfr. [`src/profiling/config.ts`](src/profiling/config.ts) for details) (default: 3).
- `-n`: (Optional) Number of iterations (default: 1).
- `-s`: (Optional) Implementation to execute (default: ALL). Possible values: "ALL|webid|did-key".
> Execution time of the interactions is profiled across different actors.
The actors differ in how they manage and use their identity.
Logs are recorded in `reports/profiling`.
## License
This code is copyrighted by [Ghent University – imec](http://idlab.ugent.be/)
and released under the [MIT license](http://opensource.org/licenses/MIT).