You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generate SHA-256 hash from serverHost-user to use as IndexedDB store key (userId)
Generate SHA-256 hash from serverHost-user-password to use as password key (hash)
Store userId and hash in sessionStorage -> Allows page refresh
If userId+hash exists in sessionStorage (PageReload), retrieve state from IndexedDB using userID as object key and restore encrypted state using hash as password to decrypt it.
When a new state is published/stored, if key/userId exists in sessionStorage, update IndexedDB entry.
Plain text Credentials are never stored in FE, not even in Encrypted IndexedDB -> Always use hashes
Plain text Credentials are never stored in FE, not even in Encrypted IndexedDB -> Always use hashes
https://github.com/bitwiseshiftleft/sjcl/
The text was updated successfully, but these errors were encountered: