-
Notifications
You must be signed in to change notification settings - Fork 5
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
fix: Adding statement entry before signing VC #19
Conversation
Signed-off-by: vikastc <[email protected]>
Signed-off-by: vikastc <[email protected]>
src/vc.ts
Outdated
if (options.type === 'affinidi') { | ||
delete vc.credentialHash; | ||
// Add statement as id in VC | ||
const vcId = oldStmt.split(':').slice(0, 3).join(':'); |
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.
may be this will need to keep the changes as is? they need a ':' in the ID? If not, then OK. Because at least Inji code needed some ':' in ID.
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.
I tried it with keeping the digest in the statement, but it was not getting verfied in affinidi portal.
Hence, removed the digest from statement
Signed-off-by: vikastc <[email protected]>
TODO: Not able to find compatible package for |
Signed-off-by: vikastc <[email protected]>
TODO: Will format the code to seperate secp256k1 and ed25519 making ed25519 as default |
Signed-off-by: vikastc <[email protected]>
Signed-off-by: vikastc <[email protected]>
No description provided.