DEV Community

Discussion on: End-to-End Encrypted Chat with the Web Crypto API

yoursunny profile image
Junxiao Shi

Then you should use non-exportable key and pass it around as a variable.

Thread Thread
cardoso profile image
Matheus Cardoso Author

I left it like that to allow more than one session per user, mostly for not making the test app annoying to use. But I'll add further notes to emphasize that it's not great practice. Thanks :)