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

[AIP-67][Discussion] Native Consensus for JSON Web Key (JWK) #331

Closed
thepomeranian opened this issue Feb 14, 2024 · 0 comments
Closed

[AIP-67][Discussion] Native Consensus for JSON Web Key (JWK) #331

thepomeranian opened this issue Feb 14, 2024 · 0 comments

Comments

@thepomeranian
Copy link
Collaborator

thepomeranian commented Feb 14, 2024

AIP Discussion

Summary

OpenID Connect (OIDC) orchestrates authentication by enabling a user to prove their identity to a client application, through the mediation of a trusted identity provider, leveraging the OAuth 2.0 framework for secure interactions.
Typically, this process involves verifying a signature of the provider with its cryptographic public keys, which are published in format of JSON Web Key (JWK). For security purpose, JWKs are rotated periodically, but providers may each have its own rotation schedule, and providers typically do not provide official documentation or notification: client apps are expected to fetch JWKs in an ad-hoc manner.

AIP-61: keyless accounts introduced a new type of Aptos accounts that are secured through the owner’s existing OIDC accounts (i.e., their Web2 account with an OIDC provider such as Google, GitHub or Apple), and verifying a transaction from such an OIDC account involves verifying a signature of the provider with its JWK. This requires that validators agree on the latest JWKs of every provider that needs to supported.

This AIP proposes a solution where validators:

  • monitor the OIDC providers' JWKs by directly fetching them;
  • once a JWK change is detected, collaborate with peers to form a quorum-certified JWK update;
  • publish the update on-chain through a validator transaction.

Read more about it here: https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-67.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant