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

Update Docs and DID Revocation Tests #223

Merged
merged 37 commits into from
Nov 28, 2018
Merged

Conversation

OR13
Copy link
Sponsor Member

@OR13 OR13 commented Nov 26, 2018

No description provided.

@codecov
Copy link

codecov bot commented Nov 26, 2018

Codecov Report

Merging #223 into master will decrease coverage by 0.37%.
The diff coverage is 78.57%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #223      +/-   ##
==========================================
- Coverage   88.42%   88.05%   -0.38%     
==========================================
  Files          39       39              
  Lines         743      770      +27     
  Branches       64       66       +2     
==========================================
+ Hits          657      678      +21     
- Misses         84       89       +5     
- Partials        2        3       +1
Impacted Files Coverage Δ
...son-schemas/schemas/did_document/examples/index.js 100% <100%> (ø) ⬆️
packages/transmute-did/src/lib/wallet/index.js 92.59% <100%> (+0.7%) ⬆️
...es/transmute-did/src/json-schemas/schemas/index.js 100% <100%> (ø) ⬆️
packages/transmute-did/src/json-schemas/index.js 64.28% <54.54%> (-35.72%) ⬇️
.../transmute-did/src/json-schemas/SchemaValidator.js 86.66% <75%> (-5%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 43140f3...0fd6d6a. Read the comment docs.

@OR13 OR13 requested review from bongani-m and gjgd November 26, 2018 21:48
gjgd
gjgd previously requested changes Nov 27, 2018

## Revocation of a DID Key

[W3C DID Key Revocation Reference](https://w3c-ccg.github.io/did-spec/ #key-revocation-and-recovery)
Copy link
Contributor

Choose a reason for hiding this comment

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

You have a space here that breaks your hyperlink


## Revocation of a DID Key

[W3C DID Key Revocation Reference](https://w3c-ccg.github.io/did-spec/ #key-revocation-and-recovery)
Copy link
Contributor

Choose a reason for hiding this comment

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

same

@@ -0,0 +1,42 @@
## Revocation of a DID
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we use hyperlinks or symlinks instead of duplicating documentation?

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

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

no, because github will only serve documentation from that folder. its basically like a dist folder that gets checked into source.

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

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

I wish it were possible to not have it be this way.

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

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

actually, we can just eliminate the docs folder in the did package.

}
```

A revocationCert is a DID Document, with a signed json object property. The cert should never be handled by itself. This is why the full document is returned by the create revocationCert call.
Copy link
Contributor

@gjgd gjgd Nov 27, 2018

Choose a reason for hiding this comment

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

It says revocationCert is a DID Document, but in the example above, it is not

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

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

good catch

gjgd
gjgd previously approved these changes Nov 27, 2018
@OR13 OR13 merged commit 095aedc into master Nov 28, 2018
@OR13 OR13 deleted the feat/did-cleanup-revocation-docs branch November 28, 2018 17:34
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.

None yet

2 participants