Skip to content

feat: carry ed25519 backup chain code on keycard - #9957

Merged
pranishnepal merged 1 commit into
masterfrom
WCN-2893
Oct 14, 2026
Merged

pranishnepal merged 1 commit into
masterfrom
WCN-2893

Conversation

@pranishnepal

Copy link
Copy Markdown
Contributor

What

Box B's ed25519Multisig entry now stores {prv, chainCode} instead of a bare encrypted seed. The chain code is extracted from the backup root's composite pub and encoded as 52-char canonical base32. Other slots and boxes A/C remain bare strings.

We need to add chaincode to facilitate the recovery of these wallets.

Ticket: WCN-2893

@linear-code

linear-code Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

WCN-2893

@github-actions

github-actions Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Unit tests are failing on Node 26.x (Current release line, non-blocking). This is not an LTS version yet, so it does not block merge, but it signals an incompatibility to fix before Node 26.x becomes LTS.

View run

@pranishnepal
pranishnepal marked this pull request as ready for review October 13, 2026 19:30
@pranishnepal
pranishnepal requested review from a team as code owners October 13, 2026 19:30
s84krish
s84krish previously approved these changes Oct 13, 2026

@s84krish s84krish left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, conflicts though :(

Box B's ed25519Multisig entry now stores {prv, chainCode} instead of a
bare encrypted seed. The chain code is extracted from the backup root's
composite pub and encoded as 52-char canonical base32. Other slots and
boxes A/C remain bare strings.

We need to add `chaincode` to facilitate the recovery of these wallets

Ticket: WCN-2893
@pranishnepal
pranishnepal merged commit e1b5faf into master Oct 14, 2026
26 checks passed
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.

4 participants