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
(We additionally depended on abort and printf until #115 )
This prevents use with rust-wasm for this library and all downstream users (e.g. rust-bitcoin). While doing any cryptography in a browser is very ill-advised, rust-secp does a lot more than just signing and verification (it can also parse and display keys), and its downstream deps such as rust-bitcoin do many things that certainly should be possible and easy to do with rust-wasm.
We also don't want to encourage users to find other pure-Rust secp256k1 libraries with dramatically less review and QA on them, and to use these in a Bitcoin context.
Actually delete context_create, scratch_space_create, context_destroy, scratch_space_destroy from the libsecp source. Deleting the FFI bindings was not enough (this I did not expect).
Related to #119
We currently depend on the following symbols:
malloc
free
(We additionally depended on
abort
andprintf
until #115 )This prevents use with rust-wasm for this library and all downstream users (e.g. rust-bitcoin). While doing any cryptography in a browser is very ill-advised, rust-secp does a lot more than just signing and verification (it can also parse and display keys), and its downstream deps such as rust-bitcoin do many things that certainly should be possible and easy to do with rust-wasm.
We also don't want to encourage users to find other pure-Rust secp256k1 libraries with dramatically less review and QA on them, and to use these in a Bitcoin context.
See rust-bitcoin/rust-bitcoin#240 for earlier discussion.
The text was updated successfully, but these errors were encountered: