Skip to content

End-Cell: seal + rail verify (pinned-key, fail-closed)#7

Merged
ValidPay-io merged 1 commit into
mainfrom
feat/end-cell-rail-verify
Jun 26, 2026
Merged

End-Cell: seal + rail verify (pinned-key, fail-closed)#7
ValidPay-io merged 1 commit into
mainfrom
feat/end-cell-rail-verify

Conversation

@ValidPay-io

Copy link
Copy Markdown
Owner

Adds End-Cell support to the RN SDK (previously split_key only).

  • crypto: splitKeyPieces/combineKeyPiecesbyte-identical to node/python + the website verifier.
  • rail.ts: fetchRailPiece + pinned Ed25519 verify via @noble/curves (pure JS, RN-safe); raw key extracted from the pinned SPKI. Fails closed.
  • client: createEndCellIntent (Model A) + verifyIntent auto-handles end_cell (platform shares from API + rail share from KeyHalve rail, XOR-combine). railBaseUrl/railPublicKeySpki options.
  • New runtime dep @noble/curves. 100 tests pass. Hold publish until cutover.

🤖 Generated with Claude Code

- crypto: splitKeyPieces/combineKeyPieces (byte-identical to node/python + verifier).
- rail.ts: fetchRailPiece + pinned Ed25519 verify via @noble/curves (pure JS, RN-safe);
  extracts the raw key from the pinned SPKI; fails closed.
- client: createEndCellIntent (ShareA + keyhalve+platform); verifyIntent end_cell branch
  fetches platform shares (API) + rail share (rail) and XOR-combines; rail options.
- @noble/curves runtime dep. 100 tests pass; tsc clean. HOLD publish until cutover.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ValidPay-io
ValidPay-io merged commit e39c499 into main Jun 26, 2026
2 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.

1 participant