You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Zcash protocol spec and ZIPs are full of provisions around if certain keys or calculations evaluate to 0 or ⊥, that the key is invalid. This suggests that not all randomly generated 32-byte seeds lead to valid Zcash keys or accounts.
While Nerdbank.Zcash calls into rust at certain points and the rust crates do include many or all of these checks, it's not currently guaranteed that all checks are run up front at account creation.
We should ensure that at key derivation time or import time, we derive every key that may be needed to support a particular account and ensure that they all succeed, or throw a meaningful exception indicating a new seed (or account index?) is required.
The text was updated successfully, but these errors were encountered:
The Zcash protocol spec and ZIPs are full of provisions around if certain keys or calculations evaluate to 0 or ⊥, that the key is invalid. This suggests that not all randomly generated 32-byte seeds lead to valid Zcash keys or accounts.
While Nerdbank.Zcash calls into rust at certain points and the rust crates do include many or all of these checks, it's not currently guaranteed that all checks are run up front at account creation.
We should ensure that at key derivation time or import time, we derive every key that may be needed to support a particular account and ensure that they all succeed, or throw a meaningful exception indicating a new seed (or account index?) is required.
The text was updated successfully, but these errors were encountered: