What's the use of BitCoinJS-lib in Jitsi?

Hi, I’ve just noticed https://github.com/bitcoinjs/bitcoinjs-lib in the Jitsi Meet app.bundle.min.js.

What is it used for?

2 Likes

Hello,
Looks like Jitsi depends (https://github.com/jitsi/jitsi-meet/blob/master/package.json) on jsrsasign libary (https://kjur.github.io/jsrsasign/) which in, turn depends on bitcoinjs-lib
But it needs confirmation from the developers.

2 Likes

Good question!
Jitsi is mining bitcoin on my CPU, routing wallets, or use that lib to encrypt data?

I am much interested in that too as our instance is used for lower government level communications and I cannot have jitsi mining bitcoin in the background!
@damencho , can you tell us more?

According to the jsrassign page (at the bottom), it uses the bitcoin-js library for ECDSA signature algorithm.

I agree, but I think it’s just a suspicious name at best.

If you check system processes and CPU usage, there’s not anything super intense going on under the hood.

We are NOT doing any bitcoin operations.

That dependency is unfortunate indeed, we’ll see if we can replace it.

1 Like

I replaced the library: https://github.com/jitsi/jitsi-meet/pull/6800

1 Like

Thanks!

I guess this will reduce the JS footprint…