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

Utilise Eddsa & Public Keys - Part 4 #794

Merged
merged 60 commits into from
Jun 19, 2024

Conversation

biscuitdey
Copy link
Collaborator

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

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Request to be added as a Code Owner/Maintainer

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I commit to abide by the Responsibilities of Code Owners/Maintainers.

Copy link
Collaborator

@Therecanbeonlyone1969 Therecanbeonlyone1969 left a comment

Choose a reason for hiding this comment

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

LGTM

@CLAassistant
Copy link

CLAassistant commented Apr 8, 2024

CLA assistant check
All committers have signed the CLA.

@@ -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;
Copy link
Collaborator

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);
Copy link
Collaborator

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));
Copy link
Collaborator

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?

Copy link
Collaborator

@Therecanbeonlyone1969 Therecanbeonlyone1969 left a 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

@Therecanbeonlyone1969 Therecanbeonlyone1969 merged commit b5c2b5d into main Jun 19, 2024
3 checks passed
@Therecanbeonlyone1969 Therecanbeonlyone1969 deleted the feature/759-public-key-test-pass-4 branch June 19, 2024 23:42
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.

4 participants