-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ext/node: jwk public key export not implemented (PublicKeyObject) #18928
Comments
This is an ongoing implementation you can track here #18455 |
Some of this work will land in a PR in the coming days :-) |
@levex it's been a few months since your comment. Any updates here? |
Any updates? This is still an issue. |
Unfortunately, I no longer have time to spare on contributing to Deno - please raise this with the team. cc @bartlomieju you can probably assist in redirecting this ticket. |
Is there any news on redirecting this issue? |
@littledivy I'm still seeing this issue as of today.
|
@littledivy PTAL |
Here is some more information if it's helpful:
Minimal test case. I'm trying to use the ssh2 npm module (in my previous comment I was using the import { Client } from "npm:ssh2";
const client = new Client();
const p = client
.on("ready", () => {
console.log("ready");
})
.on("error", (e: Error) => {
console.log(e);
})
.connect({ host: "127.0.0.1", port: 2022, username: "username", password: "*******" }); More informative stack trace:
|
I dug into this a little bit deeper. The error should reference It also looks like this is unimplemented because in nodejs |
I also have the same issue with Deno and libp2p. Is there any solution? |
The same problem with packeage |
Would like to see this to get |
Hit a related: ERROR Not implemented: crypto.PrivateKeyObject.prototype.export in the |
Looks like now the error is: thrown in:
|
Using the latest canary (deno 1.45.5+507e5b7) i now get
Can't tell if the |
@birkskyum Thanks for checking! I confirmed the same error. Updated the title. (I think the previous issue was resolved in #24463) |
Fixes #18928 Signed-off-by: Divy Srivastava <dj.srivastava23@gmail.com>
Describe the bug
Using mineflayer from npm causes a "not implemented" error with the crypto module from the node compatibility layer
Steps to Reproduce
Running the code in this index.ts file
Results in this error
Update (@kt3k): Now the error is:
Expected behavior
Environment
OS: Windows 11
deno version: 1.31.1
The text was updated successfully, but these errors were encountered: