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

🐛 Fix types in pbkdf2 #592

Open
3 of 4 tasks
boorad opened this issue Jan 26, 2025 · 0 comments
Open
3 of 4 tasks

🐛 Fix types in pbkdf2 #592

boorad opened this issue Jan 26, 2025 · 0 comments

Comments

@boorad
Copy link
Collaborator

boorad commented Jan 26, 2025

What's happening?

The tests for pbkdf2 are littered with as number or as HashAlgorithm. Investigate if we have deviated from the Node API.

Reproducible Code

crypto.pbkdf2(
      // @ts-ignore
      passphrase,
      salt,
      iterations,
      keylen,
      digest,
      (err, derived) => {
        if (err) {
          reject(err);
        } else {
          //@ts-ignore
          resolve(derived);
        }
      }
    );

Relevant log output

n/a

Device

sim

QuickCrypto Version

1.0.0-beta.11

Can you reproduce this issue in the QuickCrypto Example app?

Yes, I can reproduce the same issue in the Example app here

Additional information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant