zebra icon indicating copy to clipboard operation
zebra copied to clipboard

Handle a ivk == ⊥ (KA^Orchard private key) when generating an Orchard Spending Key

Open conradoplg opened this issue 2 years ago • 2 comments

Motivation

Currently, SpendingKey::new does not seem to handle the case where the derived ivk is ⊥, which should trigger retrying with a new key per the spec.

Specifications

https://zips.z.cash/protocol/protocol.pdf#orchardkeycomponents

Designs

Note that this is not urgent (AFAIK) since it's unlikely that ivk will be ⊥ per Theorem 5.4.4, but we should eventually match the spec.

Related Work

N/A

conradoplg avatar Jul 14 '21 20:07 conradoplg

I think this was implemented before this check was added to the spec, and yeah we should handle this before/as we ramp up zebra-client work

dconnolly avatar Jul 14 '21 20:07 dconnolly

Hey team! Please add your planning poker estimate with ZenHub @conradoplg @dconnolly @jvff @oxarbitrage @teor2345 @upbqdn

mpguerra avatar Nov 03 '21 11:11 mpguerra

Closed by PR #5476 by deleting the spending key code.

teor2345 avatar Oct 27 '22 22:10 teor2345