Closed Asguho closed 1 year ago
Looks like we need to type cast the input in publicEncrypt
in ext/node/polyfills/internal/crypto/cipher.ts
@littledivy please take a look, that should be a quick fix.
Is there any estimate on what update this fix will land in?
The pull request fixed the issue, but now i get a new error: "error: Uncaught Error: ASN.1 error: PEM error: PEM Base64 error: invalid Base64 encoding". Should i make a new issue with this error?
@Asguho please do
Describe the bug when using the mineflayer with deno instead of node it resolves in a TypeError Steps to Reproduce
const bot = mineflayer.createBot({ username: 'bot', host: 'localhost', version: '1.20.1', port: '2555', });
bot.on('inject_allowed', () => { console.log('Inject allowed'); }); bot.on('login', () => { console.log('Succesfully logged in!'); }); bot.on('spawn', () => { console.log('Succesfully spawned in!'); });
Expected behavior
Environment