Why Nostr? What is Njump?
Dr. Hax
npub16v8…eqha
2023-09-30 20:40:23

Dr. Hax on Nostr: Ok, I feel like I am going bonkers with these implementations of key derivatation. ...

Ok, I feel like I am going bonkers with these implementations of key derivatation. Perviously, I thought I found a bugg in bitcoinlib (python library from pypi)...

With that finding, I'm going to call it a night.

To be cleae, I believe this is just a compatibility bjf, not a security issue. So no need to panic.

I'll keep digging and submit a patch when I get it sorted.

nevent1q…lesz


Now I am finding that not only does that implementation fail to match what is in BIP32, but it also doesn't match bip32.org nor https://guggero.github.io/cryptography-toolkit/#!/hd-wallet

I've tried using m/0/1/2 across all of these and none of the implementations match each other, nor BIP32's test cases!

I tried m/0/0/0 on all the tools that supprt that path (it's not in the test cases from BIP32) and nothing matched.

And even m/0 doesn't match in the tools that support that.

Everyone agrees on the depth 0 values (derivation "m"), including the chain key.

WTF is going on here? Can someone just go to these two websites, paste in the test cases from BIP32 and tell me if any of them match?

If they do, can you please tell me exactly what steps you took. Give instructions to me like the only thing I know how to do with a computer is go to webpages and copy and paste.
Author Public Key
npub16v82nr4xt62nlydtj0mtxr49r6enc5r0sl2f7cq2zwdw7q92j5gs8meqha