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

feat: 🎸 verify signed proof blocks #91

Merged
merged 7 commits into from
May 11, 2020
Merged

Conversation

AdamJLemmon
Copy link
Contributor

@AdamJLemmon AdamJLemmon commented Apr 26, 2020

Allow the documents to be signed diretly and a proof block appended. Extend the verifier to use this proof block if it exists to verify if the document has been issued instead of querying the Ethereum based document store. Allows real-time issuance with no dependence on the blockchain
(transaction inclusion) and thus no associated tx costs either. We also have a reference implementation for the signature generation and appending the proof we could share.

@AdamJLemmon AdamJLemmon requested a review from Nebulis April 26, 2020 23:04
src/config.ts Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
AdamJLemmon and others added 7 commits May 8, 2020 14:13
Allow the documents to be signed diretly and a proof block appended.
Extend the verifier to use this proof block if it exists to verify the
status of the document instead of querying the Ethereum based document
store.
Update the w3c-did verifier to no longer accept DIDs as the proof
verification method. Instead just accept public keys directly. Also
split out the w3c verifier to be an independent verifier.
Also remove axios as unused now and lint.
Update fixture names to be accurate of the signed proof blocks. 1 valid,
1 with invalid type and 1 with invalid signature. Comments added in each
invalid to highlight why.  Tests updated to build and use verifier.
@Nebulis Nebulis force-pushed the feat/AL-add-signed-proof branch from a72b72a to 4bd29bb Compare May 8, 2020 07:28
@Nebulis Nebulis changed the title feat: 🎸 Add signed proof blocks to the document feat: 🎸 verify signed proof blocks May 11, 2020
@Nebulis Nebulis merged commit 7cb7499 into master May 11, 2020
@Nebulis Nebulis deleted the feat/AL-add-signed-proof branch May 11, 2020 04:43
@john-dot-oa
Copy link
Contributor

🎉 This PR is included in version 3.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants