-
Notifications
You must be signed in to change notification settings - Fork 0
SxF PoC Simple approach #1
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
Conversation
For this PoC, we don't need the encryptor address to be added to GlobalAllowList contract.
Muhammad-Altabba
left a comment
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!
I am not sure from the angle of UI demonstrative purposes and its adaptability to possible future changes. But it looks good to me from the coding perspective as it is a PoC and it is expected to be oversimplified in some sense.
cygnusv
left a comment
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.
This PR is great and simple, thanks @manumonti for the great work! For the moment, we'll keep #2 so @Muhammad-Altabba can keep working on next steps, but I still want to keep this in mind as reference.
|
Fair enough! I created a new branch |
Create a secondary key pair (whatever the algorithm is as long as it is supported by JWT common libraries). And sign with the passkey the public address of the secondary key pair. And use the secondary key pair to sign the JWT.
The new readme explains well how it works: https://github.com/nucypher/passkeys-jwt-poc/blob/1ba65093ee33a3705b956b217c8753077e830370/README.md
Related issue: https://github.com/nucypher/sprints/issues/273