-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
SubtleCrypto.deriveBits fails with P-384 keys #14765
Comments
Version 0.11.0 of the p384 crate was released a few days ago, and it seems to contain the functionality we require. However, in bumping p384 from v0.8.0 to v0.11.0 I got some Cargo version conflicts. To resolve these conflicts, I upgraded some other RustCrypto crates:
Unfortunately, this broke the build (https://gist.github.com/diachedelic/a760e057d032dcc53765dda73adf863f). At this point, I realised I was out of my depth. |
I also noticed this comment
which looks like it wants to be addressed alongside this issue. |
There is a PR for upgrading all the webcrypto deps: #14452 This should be unblocked after that. |
Legend! |
Duplicate of #13451. |
The following script fails with an "Unsupported namedCurve" error. It works fine if the P-384 is changed to P-256.
It appears that the upstream fix mentioned in this TODO comment has just landed, meaning that it should be possible to make SubtleCrypto.deriveBits work with P-384 keys.
The text was updated successfully, but these errors were encountered: