by devnull3 · 5mo ago · 0 comments
Lack of native encryption in indexedDB is a dealbreaker for certain use-cases.
You do still need a secure key to use with this. The simplest is to persist the key server-side (and specifically not on the client), and provide it to the JS after signing in. If you need to support a completely offline PWA you need something else, e.g. prompting the user for a passcode each load.