Skip to content

OpenSSL 3 compiled for WebAssembly/WASI (up-to-date, maintained)

License

Notifications You must be signed in to change notification settings

jedisct1/openssl-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenSSL 3 (libcrypto and libtls) for WebAssembly

This is OpenSSL, compiled to WebAssembly/WASI.

Up-to-date. Maintained.

Related: BoringSSL for WebAssembly.

Precompiled library

For convenience, precompiled files libraries for WebAssembly can be directly downloaded from this repository.

They can be directly linked to C, Rust, Zig, etc. as regular static libraries.

OpenSSL submodule

This repository includes an unmodified version of OpenSSL as a submodule. If you didn't clone it with the --recursive flag, the following command can be used to pull the submodule:

git submodule update --init --recursive --depth=1

Dependencies

The only required dependencies to rebuild the library are:

  • Perl - Required by OpenSSL to generate files
  • Zig - To compile C code to WebAssembly

Building

./patch.sh
./build.sh

The resulting files can be found in the precompiled directory.

About

OpenSSL 3 compiled for WebAssembly/WASI (up-to-date, maintained)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published