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
As far as I understood, libsodium.js has pure JavaScript fallbacks for all functions if WebAssembly can't be used, right? So it would be great if a more meaningful message (and log instead of crashing) could be returned when this happens.
Hi @jedisct1,
at Wire we were really happy to see the latest version of
libsodium.js
includes WebAssembly! 🎉However, version 0.7.3 throws an error on a site with CSP headers using Chrome:
As we found out, this happens because WebAssembly can't be used without
unsafe-eval
in Chrome for now, so this is already known.As far as I understood,
libsodium.js
has pure JavaScript fallbacks for all functions if WebAssembly can't be used, right? So it would be great if a more meaningful message (and log instead of crashing) could be returned when this happens.HTML example
The text was updated successfully, but these errors were encountered: