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)...
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.
quoting nevent1q…3gfaWith 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.