Uh oh!
There was an error while loading. Please reload this page.
crypto: reject Ed25519/Ed448 in Sign/Verify prototypes - #52340
Conversation
nodejs-github-bot
commented
Apr 3, 2024
Review requested:
|
nodejs-github-bot
commented
Apr 3, 2024
nodejs-github-bot
commented
Apr 4, 2024
nodejs-github-bot
commented
Apr 4, 2024
aduh95
commented
Apr 4, 2024
It looks like this change is consistently failing to build on win-vs2022-arm64 for some reason. |
Seems unrelated to me. If it happens to be related I'm not able to debug it and would appreciate help. |
panva
commented
Apr 4, 2024
Let's see if rebasing does anything. |
The error was: |
nodejs-github-bot
commented
Apr 4, 2024
panva
commented
Apr 4, 2024
Well, nothing much I can do about |
aduh95
commented
Apr 4, 2024
/cc @nodejs/platform-windows-arm |
nodejs-github-bot
commented
Apr 5, 2024
nodejs-github-bot
commented
Apr 5, 2024
StefanStojanovic
commented
Apr 5, 2024
This error happens occasionally, but shouldn't happen as often as it did on this PR. One thing that comes to mind is that the V8 update landed recently in the main branch and that is something that could increase the frequency of this. I'll monitor ARM64 builds closely for the next few days to see if this is a rising concern. |
panva
commented
Apr 5, 2024
@StefanStojanovic thank you for looking into it |
nodejs-github-bot
commented
Apr 5, 2024
nodejs-github-bot
commented
Apr 5, 2024
nodejs-github-bot
commented
Apr 5, 2024
nodejs-github-bot
commented
Apr 5, 2024
nodejs-github-bot
commented
Apr 6, 2024
nodejs-github-bot
commented
Apr 7, 2024
nodejs-github-bot
commented
Apr 8, 2024
nodejs-github-bot
commented
Apr 8, 2024
Landed in 9f939f5 |
fixes: nodejs#52097 PR-URL: nodejs#52340Fixes: nodejs#52097 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
It is possible to slip Ed25519/Ed448 keys to Sign.prototype.sign and Verify.prototype.sign given you provide a valid openssl digest and the result is an empty signature.
This PR checks for the key being a oneshot only key and throws a generic
ERR_CRYPTO_UNSUPPORTED_OPERATIONfixes: #52097