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(*): template signing and verification #688
Merged
jeromesimeon
merged 31 commits into
accordproject:master
from
sanketshevkar:gsoc-contract-design
Aug 19, 2021
Merged
feat(*): template signing and verification #688
jeromesimeon
merged 31 commits into
accordproject:master
from
sanketshevkar:gsoc-contract-design
Aug 19, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: sanket shevkar <shevkar.sanket@gmail.com>
…t - accordproject#671 Signed-off-by: Sanket Shevkar <shevkar.sanket@gmail.com>
…rdproject#671 Signed-off-by: Sanket Shevkar <shevkar.sanket@gmail.com>
Signed-off-by: Sanket Shevkar <shevkar.sanket@gmail.com>
…ject#671 Signed-off-by: Sanket Shevkar <shevkar.sanket@gmail.com>
Signed-off-by: Sanket Shevkar <shevkar.sanket@gmail.com>
Signed-off-by: Sanket Shevkar <shevkar.sanket@gmail.com>
Signed-off-by: Sanket Shevkar <shevkar.sanket@gmail.com>
Signed-off-by: Sanket Shevkar <shevkar.sanket@gmail.com>
Signed-off-by: Sanket Shevkar <shevkar.sanket@gmail.com>
…ject#671 Signed-off-by: Sanket Shevkar <shevkar.sanket@gmail.com>
Signed-off-by: Sanket Shevkar <shevkar.sanket@gmail.com>
Signed-off-by: Sanket Shevkar <shevkar.sanket@gmail.com>
Signed-off-by: Sanket Shevkar <shevkar.sanket@gmail.com>
Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com>
Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com>
Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com>
…roject#671 Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com>
Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com>
…#671 Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com>
…#671 Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com> Signed-off-by: sanket shevkar <shevkar.sanket@gmail.com>
Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com> Signed-off-by: sanket shevkar <shevkar.sanket@gmail.com>
Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com> Signed-off-by: sanket shevkar <shevkar.sanket@gmail.com>
Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com> Signed-off-by: sanket shevkar <shevkar.sanket@gmail.com>
Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com> Signed-off-by: sanket shevkar <shevkar.sanket@gmail.com>
Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com> Signed-off-by: sanket shevkar <shevkar.sanket@gmail.com>
Signed-off-by: sanket shevkar <sanket@sankets-MacBook-Air.local> Signed-off-by: sanket shevkar <shevkar.sanket@gmail.com>
Signed-off-by: sanket shevkar <shevkar.sanket@gmail.com>
Signed-off-by: sanket shevkar <shevkar.sanket@gmail.com>
mttrbrts
reviewed
Aug 17, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking very strong. Nearly there!
Signed-off-by: sanket shevkar <shevkar.sanket@gmail.com>
mttrbrts
approved these changes
Aug 18, 2021
jeromesimeon
approved these changes
Aug 19, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #671
The developer while creating the archive can sign the template using a private key stored in a PKCS#12 keystore.
Changes
Template
class that signs the hash of the contract text, logic and model of a template and returns an object containing signatory's metadata, timestamp, signatory's certificate, signature.keyStore
added totoArchive
method inTemplate
class using which the developer/author can pass the keystore path and password.signatureObject
added totoArchive
method ofTemplateSaver
class that will save the object containing signatory's metadata, timestamp, signatory's certificate, signature, in asignature.json
file inside the .cta archive.Flags
Related Issues
Author Checklist
--signoff
option of git commit.master
fromfork:branchname