-
Notifications
You must be signed in to change notification settings - Fork 234
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
Utilise Eddsa & Public Keys - Part 4 #794
Utilise Eddsa & Public Keys - Part 4 #794
Conversation
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.
LGTM
… is resource intensive
This reverts commit 4605b9c.
@@ -41,7 +41,7 @@ export class DidJwtAuthGuard implements CanActivate { | |||
context: ExecutionContext, | |||
) { | |||
// TODO: store did in bpi subject and remove constant | |||
const didSubstrLength = 13; | |||
const didSubstrLength = 20; |
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.
@ognjenkurtic @biscuitdey is this recorded as an issue? Cannot see it.
); | ||
const signature = await wallet.signMessage(message); | ||
const expandedSignature = ethers.utils.splitSignature(signature); | ||
//const expandedSignature = ethers.utils.splitSignature(signature); |
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.
@ognjenkurtic @biscuitdey still needed as a placeholder? If not remove.
@@ -169,7 +168,7 @@ describe('SRI use-case end-to-end test', () => { | |||
}); | |||
|
|||
it('Waits for a single VSM cycle and then verifies that the transaction has been executed and that the state has been properly stored', async () => { | |||
await new Promise((r) => setTimeout(r, 20000)); | |||
await new Promise((r) => setTimeout(r, 50000)); |
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.
@ognjenkurtic @biscuitdey better in constant file?
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.
LGTM. Left two minor comments. No holdup for approval and merge
Description
Use Eddsa signatures in circuitInputParser and computeCircuitInputs.
Related Issue
#759
Motivation and Context
Use multiple types of signatures
How Has This Been Tested
Running all existing tests
Types of changes
Checklist