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
Thank you for this wonderful library. I have a suggestion to make it even more wonderful :-).
Would it be possible to add a pure javascript fallback when WebAssembly is not available? Right now the lib just crashes in lib/protocol/crypto.js when loading WASM located in lib/protocol/crypto/poly1305.js…
A few words about my context: installation on iOS (thus no native modules and no WASM) with npm install ssh2 —ignore-scripts —no-optional
I manually patched crypto.js to avoid the crash mentioned above, but I also lost the poly1305 functionality…
I believe it would be nicer to have this lib work with a "real" pure javascript implementation (performance is not an issue for me).
Thanks a lot for your help! With my best wishes.
Kind regards,
Maurice
The text was updated successfully, but these errors were encountered:
Hi,
Thank you for this wonderful library. I have a suggestion to make it even more wonderful :-).
Would it be possible to add a pure javascript fallback when WebAssembly is not available? Right now the lib just crashes in lib/protocol/crypto.js when loading WASM located in lib/protocol/crypto/poly1305.js…
A few words about my context: installation on iOS (thus no native modules and no WASM) with npm install ssh2 —ignore-scripts —no-optional
I manually patched crypto.js to avoid the crash mentioned above, but I also lost the poly1305 functionality…
I believe it would be nicer to have this lib work with a "real" pure javascript implementation (performance is not an issue for me).
Thanks a lot for your help! With my best wishes.
Kind regards,
Maurice
The text was updated successfully, but these errors were encountered: