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

Seed Data Encryption Key from userId and store userId along key in IndexedDB #385

Open
evadecker opened this issue Feb 8, 2025 · 0 comments
Labels
backend Schema, query, and mutation changes frontend CSS, HTML, and JS changes
Milestone

Comments

@evadecker
Copy link
Member

#380 introduced a Data Encryption Key.

Have key generation be seeded by the userId. Indicate which user the key belongs to in IndexedDB. In case an old key is left in a browser, it will only be used for the user that is currently logged in. This doesn't add security, but prevents from UX issues when logging in with another account.

@evadecker evadecker added backend Schema, query, and mutation changes frontend CSS, HTML, and JS changes labels Feb 8, 2025
@evadecker evadecker added this to the Namesake v1.0 milestone Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Schema, query, and mutation changes frontend CSS, HTML, and JS changes
Projects
None yet
Development

No branches or pull requests

1 participant