Skip to content

fix(sdk-lib-mpc, sdk-core): bind DSG session blobs to their round#8444

Draft
mohammadalfaiyazbitgo wants to merge 1 commit intomasterfrom
worktree-dsg-session-round-binding
Draft

fix(sdk-lib-mpc, sdk-core): bind DSG session blobs to their round#8444
mohammadalfaiyazbitgo wants to merge 1 commit intomasterfrom
worktree-dsg-session-round-binding

Conversation

@mohammadalfaiyazbitgo
Copy link
Copy Markdown
Contributor

Add an optional expectedRound parameter to Dsg.setSession() that validates the decoded CBOR round against the caller's expectation.

Include a round-specific adata suffix in each encrypted offline session blob so that validateAdata rejects a blob encrypted for a different round, even if the passphrase is known.

Add an optional `expectedRound` parameter to `Dsg.setSession()` that
validates the decoded CBOR round against the caller's expectation.

Include a round-specific adata suffix in each encrypted offline session
blob so that `validateAdata` rejects a blob encrypted for a different
round, even if the passphrase is known.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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