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

added did:key provider; fixes #335 #351

Merged
merged 10 commits into from
Jan 28, 2021
Merged

added did:key provider; fixes #335 #351

merged 10 commits into from
Jan 28, 2021

Conversation

awoie
Copy link
Member

@awoie awoie commented Jan 26, 2021

added did:key provider; fixes #335

@codecov
Copy link

codecov bot commented Jan 26, 2021

Codecov Report

Merging #351 (f9a50e4) into next (89255b9) will decrease coverage by 1.36%.
The diff coverage is 13.88%.

@@            Coverage Diff             @@
##             next     #351      +/-   ##
==========================================
- Coverage   67.58%   66.21%   -1.37%     
==========================================
  Files          62       64       +2     
  Lines        1530     1560      +30     
  Branches      247      251       +4     
==========================================
- Hits         1034     1033       -1     
- Misses        400      426      +26     
- Partials       96      101       +5     

@awoie awoie changed the title added did:key provider added did:key provider; fixes #335 Jan 26, 2021
Copy link
Member

@mirceanis mirceanis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

I flagged some tiny changes that need to be done and it would also be nice to see some tests with this, like checking that a credential issued by a did:key looks ok, or that calling the CRUD methods to modify the DID document throw expected errors.

packages/did-provider-key/CHANGELOG.md Outdated Show resolved Hide resolved
packages/did-provider-key/src/index.ts Outdated Show resolved Hide resolved
@jasheal
Copy link

jasheal commented Jan 26, 2021

@awoie If you want the provider to be documented you need to add it in here: https://github.com/uport-project/veramo/blob/awoie/did-key/docsconfig.json

example doc: http://veramo.io/docs/api/did-provider-ethr.ethrdidprovider

Copy link
Member

@mirceanis mirceanis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@mirceanis mirceanis marked this pull request as ready for review January 28, 2021 13:28
@mirceanis mirceanis merged commit 42cd2b0 into next Jan 28, 2021
@mirceanis mirceanis deleted the awoie/did-key branch January 28, 2021 14:13
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.

DIDManager: Implementation for did:key
3 participants