Skip to content

A plugin to register the did:web method, serve DIDDocs and rotate keys

Notifications You must be signed in to change notification settings

sicpa-dlab/aries-acapy-plugin-did-web

Repository files navigation

ACA-Python DID Web plugin

Developing

First-time initialization of the python environment:

poetry install
pre-commit install

You're all set !

To run aca-py with the plugin, include it in your config:

plugin:
  - didweb

and run aca-py from the poetry environment:

poetry env
aca-py ....

Creating a did:web

curl -X 'POST' \
  'http://localhost:7082/wallet/did/create' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "method": "web",
  "options": {
    "did": "did:web:adaptivespace.io",
    "key_type": "ed25519"
  }
}'

results in

{
  "result": {
    "did": "did:web:adaptivespace.io",
    "verkey": "FLgVvRqfE1iATV315ySYojoz3SqQ2zJMGyvjDynyErm5",
    "posture": "wallet_only",
    "key_type": "ed25519",
    "method": "web"
  }
}

About

A plugin to register the did:web method, serve DIDDocs and rotate keys

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages