Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ZIP 32 Arbitrary Key derivation #158

Open
wants to merge 4 commits into
base: release/0.11.0
Choose a base branch
from

Conversation

str4d
Copy link
Contributor

@str4d str4d commented Oct 23, 2024

No description provided.

These are all methods exposed via `ZcashKeyDerivationBackend` in the
Swift SDK, that do not use a `WalletDb`.
Copy link
Contributor

@nuttycom nuttycom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 28c4ac5 with comment/retroactive question about the zip32::arbitrary::SecretKey::from_path.

rust/src/derivation.rs Show resolved Hide resolved
rust/src/derivation.rs Outdated Show resolved Hide resolved
rust/src/derivation.rs Outdated Show resolved Hide resolved
rust/src/derivation.rs Outdated Show resolved Hide resolved
rust/src/derivation.rs Outdated Show resolved Hide resolved
rust/src/derivation.rs Outdated Show resolved Hide resolved
rust/src/derivation.rs Outdated Show resolved Hide resolved
rust/src/derivation.rs Outdated Show resolved Hide resolved
rust/src/derivation.rs Outdated Show resolved Hide resolved
rust/src/derivation.rs Outdated Show resolved Hide resolved
rust/src/derivation.rs Outdated Show resolved Hide resolved
rust/src/derivation.rs Outdated Show resolved Hide resolved
rust/src/derivation.rs Outdated Show resolved Hide resolved
unwrap_exc_or_null(res)
}

/// Derives and returns a ZIP 32 Arbitrary Key from the given seed at the account level.
Copy link
Contributor

@daira daira Oct 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this document what the path is? (Non-blocking.)

Copy link
Contributor

@daira daira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK with comments. The comments about either documenting panics or making them into errors (I prefer the latter) are blocking.

If the decision is to keep the panics, that would also have to be documented at the SDK layer.

Co-authored-by: Daira-Emma Hopwood <[email protected]>
Copy link
Contributor

@daira daira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

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.

3 participants