Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add creation and resolution of DIDs using method 1 #46

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

andrewwhitehead
Copy link
Contributor

Currently in draft until I can do some more testing. The method-1 test vectors are from aries-framework-javascript, and do not pass strict validation in pydid (but invalid documents are still allowed).

  • Adds peer DID creation from a genesis document (method 1)
  • Adds resolution of a peer DID using method 1: note this requires passing in a received DID document for verification
  • Adds a resolve_peer_did_basis method returning a ResolvedBasis instance, making it easier to pull out the relevant keys
  • Adds a split_peer_did method which can be used to check the inception method before attempting resolution
  • Adds a missing BaseKey.to_base58 method as well as BaseKey.from_verification_method

@dbluhm @swcurran

@swcurran
Copy link

@andrewwhitehead — should this be closed, or moved forward? If it is valuable, can it be taken over by someone else — merged onto a branch and evolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants