hidekatsu-izuno / josekit-rs

JOSE (Javascript Object Signing and Encryption) library for Rust (based on OpenSSL).
Apache License 2.0
73 stars 31 forks source link

Support for WASM #37

Open istankovic opened 4 weeks ago

istankovic commented 4 weeks ago

We at Wire are using josekit-rs in one of our components and were wondering, are there plans to support WASM?

hidekatsu-izuno commented 4 weeks ago

Support for WASM is exciting, but there are some challenges to achieving it. The opennssl is a native c libray. And the openssl-sys crate is not supported a WASM compilation.

I want to support RustCrypt to make josekit work on pure Rust. If this is accomplished, it may work on WASM.

istankovic commented 3 weeks ago

I want to support RustCrypt to make josekit work on pure Rust. If this is accomplished, it may work on WASM.

Would this be in addition to openssl, or instead of it? Would it be something that's feasible in the medium-term or more of a long-term effort?