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

Rename UserEntity.webauthnUserHandle to uuid and use it instead of DID where possible #65

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

emlun
Copy link
Member

@emlun emlun commented Aug 8, 2024

Currently, we use the DID of the user account's public key as a canonical identifier for the account. For "phase 1" of wwWallet/wallet-ecosystem#62, user accounts will no longer have only a single key pair per account, but multiple key pairs, so there will no longer be a canonical key whose DID to use. Instead, we can take the UUID that we currently use only as the WebAuthn user handle and use that as a canonical identifier for the account.

This only changes the application layer - the database schema remains unchanged, so this should be forward- and backwards compatible with earlier versions of the app.

This depends on:

This is mutually dependent on:

Base automatically changed from token-version to master August 9, 2024 10:39
@emlun emlun merged commit d92de3c into master Aug 9, 2024
4 checks passed
@emlun emlun deleted the user-uuid branch August 9, 2024 11:25
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.

2 participants