Skip to content
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

node: crypto.getCurves is missing #18302

Closed
mdunisch opened this issue Nov 28, 2022 · 1 comment
Closed

node: crypto.getCurves is missing #18302

mdunisch opened this issue Nov 28, 2022 · 1 comment
Labels
bug Something isn't working correctly

Comments

@mdunisch
Copy link

I want to use firebase admin with deno. So i startet with:

import { getAuth } from "npm:firebase-admin/auth";
getAuth();

unfortunately that leads to this error:
error: Uncaught Error: Not implemented: crypto.getCurves.

The documentation dont give any hint that about a missing implementation: https://deno.land/std@0.166.0/node/crypto.ts?s=getCurves

Steps to Reproduce
deno run --unstable --allow-env --allow-read https://gist.githubusercontent.com/mdunisch/8824ad41948b7e2d4147503b11dbcd27/raw/0bc3c355ae279284f5cd46538b4635d450f60943/gistfile1.txt

Expected behavior
I would love to use Deno but without having the node crypto functions it's impossible. Also please make it obvious in the documentation what is still missing

Environment

  • OS: MacOS 13
  • deno version: 1.28.2
@mdunisch mdunisch added bug Something isn't working correctly needs triage labels Nov 28, 2022
@kt3k kt3k removed the needs triage label Jan 4, 2023
@kt3k kt3k changed the title Missing Functions in crypto lib node: crypto.getCurves is missing Mar 21, 2023
@kt3k kt3k transferred this issue from denoland/std Mar 21, 2023
@littledivy
Copy link
Member

We're tracking all missing APIs from node:crypto in #18455. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

3 participants