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

Implement PBKDF2 across supported API #97

Open
olegbespalov opened this issue Oct 30, 2024 · 0 comments
Open

Implement PBKDF2 across supported API #97

olegbespalov opened this issue Oct 30, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed WebCrypto API Compliant

Comments

@olegbespalov
Copy link
Contributor

What?

Web Crypto API defines PBKDF2 algorithm identifier (https://www.w3.org/TR/WebCryptoAPI/#pbkdf2) for operations like:

  • Derive Bits (our implementation has it)
  • Derive Key (in-progress Derive Key #83)
  • Import key (our implementation has it)

Golang has an implementation in x/crypto https://pkg.go.dev/golang.org/x/crypto/pbkdf2.

We have to implement this support.

As part of the issue, probably following web platform tests (see README) should be enabled:

  • WebCryptoAPI/derive_bits_keys/pbkdf2_vectors.js
  • WebCryptoAPI/derive_bits_keys/pbkdf2.js
  • and others test cases that could be useful for testing PBKDF2

Why?

Having support of the PBKDF2 makes our implementation compliant with web crypto API

@olegbespalov olegbespalov added WebCrypto API Compliant good first issue Good for newcomers help wanted Extra attention is needed labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed WebCrypto API Compliant
Projects
None yet
Development

No branches or pull requests

1 participant