Orchard: ensure that ivk = 0 is rejected if that negligible case occurs #3869
Labels
A-consensus
Area: Consensus rule updates
A-cryptography
Area: Cryptography related
A-rust
Area: Updates to Rust code
NU-5
Network Upgrade: NU5 specific tasks
Motivation
"In a pairing today, @daira (ze/hir) and I discovered a bug in the orchard crate, that arose from the interaction of the fixes for the two circuit bugs that were found and fixed in zcashd 4.5.1. If we'd recognised this current bug at the time of those fixes, we'd probably have altered how we changed the circuit (but making that change now would be too noisy and require further analysis). As it is, we have a simple fix that just requires changing the outside-circuit code in orchard (to ensure that ivk = 0 is rejected if that negligible case occurs) and clarifying some type definitions in the protocol spec. zcash/orchard#294 "
Specifications
zcash/orchard#294
So we need to map the identity to an error, not just the ⊥, in
zebra/zebra-chain/src/orchard/keys.rs
Line 655 in 5e1fd4b
Related Work
zcash/orchard#294
The text was updated successfully, but these errors were encountered: