Using web crypto API and it won't let me store an AES key in the indexeddb (it requires a public/private key).
Does anyone have suggestions on how to do this? Should I/could I create a public/private key, store it in the indexeddb and use it to secure the AES key?
The idea is to have shared workspaces for messages and documents, all encrypted with AES. The AES key is generated client side by the person creating the workspace and then distributed to each member. The server should never be able to access the key (needs to be zero knowledge).