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

What is the best way to derive the initial chain code for BIP-32? #134

Open
fjarri opened this issue Jul 18, 2024 · 0 comments
Open

What is the best way to derive the initial chain code for BIP-32? #134

fjarri opened this issue Jul 18, 2024 · 0 comments
Labels
cryptography Needs cryptographic expertise
Milestone

Comments

@fjarri
Copy link
Member

fjarri commented Jul 18, 2024

#132 introduced BIP-32 derivation for threshold key shares. As the initial chain code we use a hash of the full verifying key. Is this secure? Is there a better way to do it?

One option is to use the rid value that is built as a kind of a shared secret during KeyInit. Would such double-purpose usage be secure?

Also, could rid be used to support hardened derivation somehow?

@fjarri fjarri added the cryptography Needs cryptographic expertise label Jul 18, 2024
@fjarri fjarri added this to the v1.0.0 milestone Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cryptography Needs cryptographic expertise
Projects
None yet
Development

No branches or pull requests

1 participant