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

Oraclize or make ownable function to alter authenticator public key #2

Open
nanaknihal opened this issue Feb 19, 2022 · 3 comments
Open
Labels
good first issue Good for newcomers

Comments

@nanaknihal
Copy link
Owner

The web2 server may change its public key and often has a jwks endpoint so people can access the pubkey any time. e.g. https://www.facebook.com/.well-known/oauth/openid/jwks/ or https://orcid.org/oauth/jwks

@nanaknihal nanaknihal added the good first issue Good for newcomers label Mar 17, 2022
@nanaknihal
Copy link
Owner Author

Users may waste money if this doesn't happen rapidly enough, unless:
add 'kid' string to each smart contract. The frontend calls kid(), checking that it matches the kid of the JWT. If not, the frontend issues a warning saying that the user should not submit and prevents submission to the smart contract with a stale key.

Also add a function to change e, n, and sandwich

@nanaknihal
Copy link
Owner Author

Users may waste money if this doesn't happen rapidly enough, unless: add 'kid' string to each smart contract. The frontend calls kid(), checking that it matches the kid of the JWT. If not, the frontend issues a warning saying that the user should not submit and prevents submission to the smart contract with a stale key.

Also add a function to change e, n, and sandwich

Relevant: #13

nanaknihal added a commit that referenced this issue Apr 17, 2022
Clean up and organize IdentityAggregator.sol and tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants
@nanaknihal and others