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

Extract signature suites to separate repos. #126

Merged
merged 24 commits into from
Mar 18, 2021
Merged

Extract signature suites to separate repos. #126

merged 24 commits into from
Mar 18, 2021

Conversation

dmitrizagidulin
Copy link
Contributor

@dmitrizagidulin dmitrizagidulin commented Feb 12, 2021

Also remove legacy suites and properties.

Addresses issue #105.

.npmrc Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
lib/ProofSet.js Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@@ -60,217 +81,67 @@ increase security by using a custom `documentLoader` that is similarly strict
and will only load a subset of documents that is constrained by some technical,
security, or business rules.

Install with npm:
Copy link
Member

Choose a reason for hiding this comment

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

Why are the common case npm install instructions gone in favor of only development checkout instructions? I highly suggest we add back the common case here so people can easily see what npm package to use.

Copy link
Member

Choose a reason for hiding this comment

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

Reading more... this is because it's suggested to use the other suites vs this directly? I think the text ordering may be a bit confusing in that regard.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, because most devs won't be installing jsigs directly. (hopefully).

package.json Outdated Show resolved Hide resolved
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.

This is looking great. Needs node-forge removal still, but I understand that's coming shortly. It's hard for me to understand what's going on with the karma test removal/changes, but I see there's still some testing that goes through karma ... right?

package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
.eslintrc.js Show resolved Hide resolved
@codecov-io
Copy link

Codecov Report

Merging #126 (64804ae) into master (4ed1190) will decrease coverage by 57.87%.
The diff coverage is 31.81%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #126       +/-   ##
===========================================
- Coverage   79.93%   22.05%   -57.88%     
===========================================
  Files          23       18        -5     
  Lines         598      331      -267     
===========================================
- Hits          478       73      -405     
- Misses        120      258      +138     
Impacted Files Coverage Δ
lib/ProofSet.js 7.69% <0.00%> (-83.62%) ⬇️
lib/jsonld-signatures.js 39.28% <ø> (-36.58%) ⬇️
lib/purposes.js 100.00% <ø> (ø)
lib/purposes/ControllerProofPurpose.js 12.50% <0.00%> (-74.35%) ⬇️
lib/suites.js 100.00% <ø> (ø)
lib/suites/LinkedDataProof.js 14.28% <ø> (-42.86%) ⬇️
lib/suites/LinkedDataSignature.js 7.57% <0.00%> (-77.36%) ⬇️
lib/util.js 35.29% <ø> (-13.67%) ⬇️
test/jsonld-signatures.spec.js 100.00% <100.00%> (ø)
lib/purposes/ProofPurpose.js 4.34% <0.00%> (-82.61%) ⬇️
... and 12 more

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 4ed1190...64804ae. 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.

Approving based on conversations and minor scanning of code (not super thorough). Thanks!

@dmitrizagidulin dmitrizagidulin merged commit fb389b5 into master Mar 18, 2021
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.

5 participants