Skip to content

feat(sdk-core): add externalSigner createOfflineRound2Share handler#8834

Open
vibhavgo wants to merge 1 commit into
WCI-378from
WCI-477
Open

feat(sdk-core): add externalSigner createOfflineRound2Share handler#8834
vibhavgo wants to merge 1 commit into
WCI-378from
WCI-477

Conversation

@vibhavgo
Copy link
Copy Markdown
Contributor

Add the EdDSA MPCv2 offline round-2 handler for external signer flows. It restores the encrypted round-1 DSG session and produces the round-2 share plus encrypted carry-over state for round 3.

  • Restore user DSG session from encrypted round-1 state and verify BitGo round-1 output from txRequest signature shares.
  • Run WASM round 1 and build the round-2 signature share with user GPG.
  • Encrypt round-2 session state with MPS_DSG_SIGNING_ROUND2_STATE adata.
  • Support SJCL and v2 envelope decryption paths for round-1 session input.
  • Add unit tests with signBitgoEddsaRound1 helper, happy path, and guards.

Ticket: WCI-477

Add the EdDSA MPCv2 offline round-2 handler for external signer flows.
It restores the encrypted round-1 DSG session and produces the round-2
share plus encrypted carry-over state for round 3.

- Restore user DSG session from encrypted round-1 state and verify BitGo
  round-1 output from txRequest signature shares.
- Run WASM round 1 and build the round-2 signature share with user GPG.
- Encrypt round-2 session state with MPS_DSG_SIGNING_ROUND2_STATE adata.
- Support SJCL and v2 envelope decryption paths for round-1 session input.
- Add unit tests with signBitgoEddsaRound1 helper, happy path, and guards.

Ticket: WCI-477
@vibhavgo vibhavgo requested review from a team as code owners May 22, 2026 10:29
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 22, 2026

WCI-477

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.

1 participant