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

added sessionSigs and validators where needed #54

Merged
merged 9 commits into from
Mar 29, 2023

Conversation

glitch003
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@DashKash54 DashKash54 left a comment

Choose a reason for hiding this comment

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

Looks good, left a comment. There are a few places where the sessionSigs are still missing. I'll add a commit to this PR addressing that.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we add a check for the case when both the authSig & sessionSigs are provided?

Copy link
Collaborator

Choose a reason for hiding this comment

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

packages/misc/src/lib/misc.ts Show resolved Hide resolved
@DashKash54
Copy link
Collaborator

Hi @glitch003 there's an error with the saveEncryptionKey function. I tried using it in a local app & it threw the error for safeParams: https://github.com/LIT-Protocol/js-sdk/blob/fix/either-auth-sig-or-session-sig-required/packages/encryption/src/lib/params-validators.ts#L243
Also the nodes are throwing an error that the authSig isn't recognized.
I'm working on its fix

@Ansonhkg
Copy link
Collaborator

added a little tool to check if the built package dependencies matches the package version. This does not affect the current workflow.

yarn build:verify

Ansonhkg added a commit that referenced this pull request Mar 27, 2023
@Ansonhkg
Copy link
Collaborator

@Adarsh-Kumar28 we can merge this

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.

3 participants