Skip to content

Fix Node HSM signer failure#866

Merged
bestbeforetoday merged 2 commits intohyperledger:mainfrom
bestbeforetoday:node-signature-length
Jul 24, 2025
Merged

Fix Node HSM signer failure#866
bestbeforetoday merged 2 commits intohyperledger:mainfrom
bestbeforetoday:node-signature-length

Conversation

@bestbeforetoday
Copy link
Member

@bestbeforetoday bestbeforetoday commented Jul 17, 2025

A regression in the @noble/curves dependency causes the following error in the Node HSM signer if npm install resolves version 1.9.2 to 1.9.4:

RangeError [ERR_INVALID_ARG_VALUE]: The argument 'size' is invalid.

This change uses new @noble/curves APIs (introduced in v1.9.2) and avoids newly deprecated API usage, including the one where the regression is introduced.

Closes #865

A regression in the `@noble/curves` dependency causes the following
error in the Node HSM signer if npm install resolves version 1.9.2 to
1.9.4.

This change uses new `@noble/curves` APIs (introduced in v1.9.2) and
avoids newly deprecated API usage, including the one where the
regression is introduced.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
@bestbeforetoday bestbeforetoday marked this pull request as ready for review July 17, 2025 23:38
@bestbeforetoday bestbeforetoday requested a review from a team as a code owner July 17, 2025 23:38
@bestbeforetoday bestbeforetoday enabled auto-merge (squash) July 17, 2025 23:39
@bestbeforetoday
Copy link
Member Author

@andrew-coleman This change is needed to fix the broken build in this repository and fabric-samples. Please can you review.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
@bestbeforetoday bestbeforetoday force-pushed the node-signature-length branch from c4adca1 to 246ec75 Compare July 22, 2025 18:17
@bestbeforetoday bestbeforetoday merged commit a06056f into hyperledger:main Jul 24, 2025
32 checks passed
@bestbeforetoday bestbeforetoday deleted the node-signature-length branch July 24, 2025 10:44
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

Successfully merging this pull request may close these issues.

Node HSM signer fails with @noble/curves@^1.9.2

2 participants