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 HKDF across supported API #4266

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

Implement HKDF across supported API #4266

olegbespalov opened this issue Oct 30, 2024 · 0 comments

Comments

@olegbespalov
Copy link
Contributor

olegbespalov commented Oct 30, 2024

What?

WebCrypto API defines HKDF algorithm identifier (https://www.w3.org/TR/WebCryptoAPI/#hkdf) for operations like:

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

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

  • WebCryptoAPI/derive_bits_keys/hkdf_vectors.js
  • WebCryptoAPI/derive_bits_keys/hkdf.js
  • and others test cases that could be useful for testing HKDF

Why?

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

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

No branches or pull requests

1 participant