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

Refactor cryptoLd driver to use fromKeyDocument. #60

Merged
merged 4 commits into from
May 5, 2021

Conversation

dmitrizagidulin
Copy link
Contributor

Also, cryptoLd.from() now routes to fromKeyDocument on "untrusted" key objects (ones that contain a @context).

@codecov-commenter
Copy link

codecov-commenter commented May 3, 2021

Codecov Report

Merging #60 (3da8b04) into master (5cfdb83) will decrease coverage by 6.68%.
The diff coverage is 68.75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
- Coverage   92.18%   85.50%   -6.69%     
==========================================
  Files           3        3              
  Lines          64       69       +5     
==========================================
  Hits           59       59              
- Misses          5       10       +5     
Impacted Files Coverage Δ
lib/CryptoLD.js 84.21% <68.75%> (-12.76%) ⬇️

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 5cfdb83...3da8b04. Read the comment docs.

Copy link
Member

@dlongley dlongley left a comment

Choose a reason for hiding this comment

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

Thanks!

lib/CryptoLD.js Outdated Show resolved Hide resolved
lib/CryptoLD.js Outdated Show resolved Hide resolved
lib/CryptoLD.js Show resolved Hide resolved
mattcollier and others added 2 commits May 4, 2021 09:31
Co-authored-by: Dave Longley <dlongley@digitalbazaar.com>
Co-authored-by: Dave Longley <dlongley@digitalbazaar.com>
Copy link
Contributor

@mattcollier mattcollier left a comment

Choose a reason for hiding this comment

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

TY. I addressed Longley's comments. Needs a changelog entry.

@dmitrizagidulin dmitrizagidulin merged commit efc113f into master May 5, 2021
@dmitrizagidulin dmitrizagidulin deleted the fromKeyDocument branch May 5, 2021 16:44
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.

4 participants