This repository contains an implementation for pseudonymity combining WebID and DID Key.
- Docker Compose
Install the package as follows:
npm install
Once installed, you can run the test suite as follows:
npm run test
We provide two implementations in which a pseudonymous identity can established:
- Using a WebID (label:
webid
) - Using a DID Key (label:
did-key
)
Run a specific use case implementation as follows:
./uc-runner.sh [-s did-key|webid] [-n <nr of iterations>] [-d <dlco config>]
# 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
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
.
This code is copyrighted by Ghent University – imec and released under the MIT license.