-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WASM Failure on Safari on macOS and iOS #798
Comments
Hi @CACUser! Thank you for reporting, that looks interesting :) Do you see this error every time on any data larger than 48000 bytes? Or does this data have some special symbols inside? |
even with data above 48000 bytes? |
Apologies - I now think it does not have anything to do with size. It is occurring intermittently with smaller sizes too. There are no special symbols inside. I am adding a bunch of messages to an indexedDB, encrypting the DB, storing in localStorage, then later decrypting the DB (this is where the issue is occurring on Safari on macOS and iOS). It works without any issues with any data size on Chrome on macOS. |
Probably it wont as I did not really discover any implementation bugs while converting to ts. |
FWIW, I've been testing recently added WasmThemis example with recently released |
i think this one is addressed by #928 and https://github.com/cossacklabs/themis/releases/tag/0.14.8 |
@CACUser, please take a look, if you are still interested. You may update wasm-themis to the latest at the moment 0.14.8. I have checked twice with different browsers the issue with the code from https://github.com/radetsky/create-react-app-with-themis/tree/big_files_encryption_test It works fine even with 20 MB of data. |
During decryption it fails with this message : Themis: SecureCellSeal: failure
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected it to decrypt the
Environment (please complete the following information):
Additional context
Happens intermittently with an input data size around 48000 bytes. Larger input sizes happens all the time. Does not happen with much smaller sizes. Runs perfectly well on Chrome on macOS. After encryption if decryption is not done - this exception is thrown - RuntimeError: Out of Bounds memory access (evaluating 'libthemis$2._themis_secure_cell_encrypt_sel')
The text was updated successfully, but these errors were encountered: