Repository navigation
Conversation
|
|
|
@claude review this PR focusing on correctness, implementation, and code quality. Give an approval score |
|
Claude finished @s84krish's task —— View job PR Review: DKLS Safe VRF Keygen HSM AlignmentTodo List:
SummaryThis PR successfully aligns the DKLS safe VRF keygen implementation with HSM requirements by replacing unsigned base64 JSON serialization with properly signed GPG messages. The changes are well-implemented, secure, and thoroughly tested. Key Strengths ✅Security & Cryptography
Code Quality
Test Coverage
Technical DetailsCore Changes (
|
| /** | ||
| * VRF DKG message blobs riding the MPCv2-R1/R2 keygen payloads. Mirrors the wire | ||
| * format produced by sdk-core's ecdsaVrfMPCv2.ts. | ||
| * hsm-api (`test/dkls_vrf_keygen.js`) is the contract: client VRF messages are signed |
There was a problem hiding this comment.
| * hsm-api (`test/dkls_vrf_keygen.js`) is the contract: client VRF messages are signed |
Don't mention hsm-api
7d0676e to
3fb0f15
Compare
|
Being merged into #9983 |
Ticket: WCN-3084
ecdsaMpckeygen fails at R1: the HSM returns 400 because the VRF messages are sent as unsignedbase64(JSON)strings.DklsComms.detachSignData), in the{from, message, signature}shape the HSM verifies.bitgoVrfMsg1. Decrypt and verifybitgoVrfMsgToUser/bitgoVrfMsgToBackup.bitgoVrfMsg2assertion, the local opaque VRF types, and the serialize helpers.@bitgo/public-types6.83.0 to 6.88.0 in all eight modules, for the new DKLS VRF codecs.ecdsaMpconly; it already fails today).