Skip to content

feat(wasm-utxo): add signing support for shielding transactions - #353

Open
veetragjain wants to merge 1 commit into
masterfrom
veetragjain/cshld-1377-support-client-managed-ovk-client-built-out_ciphertext
Open

feat(wasm-utxo): add signing support for shielding transactions#353
veetragjain wants to merge 1 commit into
masterfrom
veetragjain/cshld-1377-support-client-managed-ovk-client-built-out_ciphertext

Conversation

@veetragjain

@veetragjain veetragjain commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Lets the client derive out_ciphertext's ovk on the fly as the ECDH agreement of the BitGo cosigner pubkey and its own signing privkey, instead of the server ever holding or seeing it.

  • ironwood_build: derive_client_ovk (ECDH) and compute_out_ciphertext (re-encrypt out_ciphertext under it), backed by real on chain shield1zec fixture data and a zebra-chain decrypt cross-check.
  • ironwood_pczt: with_out_ciphertext splices the re-encrypted field into an already-serialized PCZT.
  • ZcashBitGoPsbt: set_ironwood_out_ciphertext (guarded so it can't run after a transparent signature exists, since out_ciphertext is sighash-committed) and sign_ironwood_v6, which resolves the signing key via bip32_derivation, finalizes out_ciphertext on the first signing round, and signs the ZIP-244 transparent sighash directly, the v6 counterpart to the generic sign(), which still rejects v6 PSBTs outright.

Ticket: CSHLD-1377

@linear-code

linear-code Bot commented Aug 7, 2026

Copy link
Copy Markdown

CSHLD-1377

@veetragjain
veetragjain force-pushed the veetragjain/cshld-1377-support-client-managed-ovk-client-built-out_ciphertext branch from 0595c51 to 1be8781 Compare August 7, 2026 15:34
@veetragjain
veetragjain force-pushed the veetragjain/cshld-1377-support-client-managed-ovk-client-built-out_ciphertext branch from 1be8781 to b09c481 Compare August 7, 2026 17:10
@veetragjain
veetragjain marked this pull request as ready for review August 7, 2026 17:23
@veetragjain
veetragjain requested review from a team as code owners August 7, 2026 17:23
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