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 crypto/hkdf with the OpenSSL/CNG backends #1414

Open
qmuntal opened this issue Nov 20, 2024 · 0 comments
Open

Implement crypto/hkdf with the OpenSSL/CNG backends #1414

qmuntal opened this issue Nov 20, 2024 · 0 comments
Assignees
Milestone

Comments

@qmuntal
Copy link
Contributor

qmuntal commented Nov 20, 2024

Some internal customers want to use HKDF in compliance with the Microsoft crypto policy. This means using OpenSSL/CNG under the hood.

Go 1.24 will most likely move golang.org/x/crypto/hkdf into the standard library package crypto/hkdf (see the proposal). We should patch it so it uses OpenSSL/CNG under the hood.

Note that both backends already support HKDF, as we were using it on other parts of the standard library. There is some work to do to better support some small changes in the crypto/hkdf API.

@qmuntal qmuntal self-assigned this Nov 20, 2024
@qmuntal qmuntal changed the title Implement crypto/hkdf with the OpenSSL/CNG backend Implement crypto/hkdf with the OpenSSL/CNG backends Nov 20, 2024
@qmuntal qmuntal added this to the go1.24 milestone Nov 20, 2024
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