node-minecraft-protocol
node-minecraft-protocol copied to clipboard
fix: use node-rsa for decryption for higher node compatibility
- Uses
node-rsato decrypt shared secrets and tokens becauseRSA_PKCS1_PADDINGis no longer supported in the latest node version - Fixes #1293
I wonder if this is still a problem or was fixed in Node.js, can you confirm latest node still doesn't work?
cc @u9g can you can check if on latest node this still happens and it's fixed by this PR?
Sorry, I kind of forgot about this PR but it is still necessary in node v23
https://nodejs.org/api/crypto.html
/makerelease