
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
@eversdk/lib-web
Advanced tools
To build WASM you need clang v8
. Use this workaround if you encounter a problem when building wasm binaries on your platform (MacOSX or Windows).
docker pull tonlabs/build-tonclient-wasm
Change your current location to ever-sdk-js
project. It is important because the next command will use this location to mount the volume with source code inside the docker container with build environment.
cd ever-sdk-js
Run build container in background. First attempt will take a long time.
docker run -v $(pwd):/tonlabs/TON-SDK --name build-tonclient-wasm -dt build-tonclient-wasm tail -f /dev/null
docker exec -ti build-tonclient-wasm "build-tonclient-wasm.sh"
After successful build process, binaries will be located here
ever-sdk-js/packages/lib-web/index.js
ever-sdk-js/packages/lib-web/eversdk.wasm
Compressed
ever-sdk-js/packages/lib-web/publish/eversdk_1_31_wasm.gz
ever-sdk-js/packages/lib-web/publish/eversdk_1_31_wasm_js.gz
[1.37.2] – 2022-08-10
crypto.encryption_box_get_info
returns nacl box public key in info.public
field.create_crypto_box
optimisation.
When a user creates a crypto box, library encrypts provided secret information using provided
password and salt.
When library encrypts the secret, it calculates encryption key from password and salt
using scrypt
function which takes a lot of CPU time (about 1 second).
So when a user creates many crypto boxes using the same password and salt,
it takes a lot of time (about 12 seconds for 10 crypto boxes).
With the optimisations introduced in this version the library stores the
pair (password+salt => encryption key) in internal cache for approximately 2 seconds.
So when a user creates many crypto boxes at a time using the same password and salt,
library uses cached information to skip heavy calculations. As a result now it takes only
a second to create 10 crypto boxes.FAQs
TON Client WASM module for browsers
The npm package @eversdk/lib-web receives a total of 39 weekly downloads. As such, @eversdk/lib-web popularity was classified as not popular.
We found that @eversdk/lib-web demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.