Skip to content

feat: Add section on Authsig processing in the nodes #79

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DashKash54
Copy link
Contributor

What

Section on how the authSig is processed when submitted to the nodes.
What all checks we perform.
How the on-chain RPC calls are made.
And how we compare its result with the provided values.

Linear: https://linear.app/litprotocol/issue/LIT-415/docs-add-the-steps-for-authsig-checks-in-the-nodes

@netlify
Copy link

netlify bot commented May 9, 2023

Deploy Preview for lit-dev-docs ready!

Name Link
🔨 Latest commit 20d4614
🔍 Latest deploy log https://app.netlify.com/sites/lit-dev-docs/deploys/645a747a7113fb0008e23fd4
😎 Deploy Preview https://deploy-preview-79--lit-dev-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@@ -38,14 +38,16 @@ Don't see a blockchain you want? Fill out this form for EVM chains and we'll ad
- hyperspace
- scrollAlphaTestnet
- zksync
- litprotocol
Copy link
Contributor

Choose a reason for hiding this comment

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

should we be referring to Chronicle here?

Copy link
Contributor

Choose a reason for hiding this comment

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

somehow i see this change in Chris's PR too. Perhaps this PR branch is outdated?

Copy link
Contributor

Choose a reason for hiding this comment

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

this part is autogenerated from a script, tho likely this PR may be out of date if it's in Chris' PR and here


## What happens to the Authsig submitted to the Lit nodes?

When you submit the `authSig` for retrieving the `symmetricKey` using the function `getEncryptionKey` the nodes verify the `authSig` based on the `accessControlConditions` passed along with it:
Copy link
Contributor

Choose a reason for hiding this comment

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

can we generalize this statement to cover more SDK methods? Do we need to be so specific here?

Copy link
Contributor

@debbly debbly May 11, 2023

Choose a reason for hiding this comment

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

I agree with Howard and I think this section goes too deep on specifics... I think a post on spark might be a better place to do a deeper dive on authSig and how it works with Lit than the developer docs.

Copy link
Contributor

Choose a reason for hiding this comment

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

can we put it in like an "advanced" section or something? or move to a spark post then link it from the docs? the docs are kind of the canonical place for how the system works. either are ok with me

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