Dr. Hax on Nostr: Oh my gods, I think bitcoinlib has a bug in their key derivation! I just tried the ...
Oh my gods, I think bitcoinlib has a bug in their key derivation!
I just tried the first test case from BIP32 and it got the right value for Chain m, but not for Chain m/0h
Published at
2023-09-30 02:50:24Event JSON
{
"id": "1ab80dba4278801594f69308e876cdb9461a8f88aad0cb4ec4f61a485b96f8ec",
"pubkey": "d30ea98ea65e953f91ab93f6b30ea51eb33c506f87d49f600a139aef00aa9511",
"created_at": 1696042224,
"kind": 1,
"tags": [
[
"e",
"e68336403098f856f23b12b3a8ede6f62675a878a6b000f18233852cf78212e4",
"",
"root"
],
[
"e",
"c34e530df2eee3fbc9e2d02626e7a6ebe3775d934be4d8b34f912a1862d496ca"
],
[
"e",
"7957d36a6d430697983e03e989d802d5393657f159295df029a817d4b4b94cbd",
"",
"reply"
],
[
"p",
"f2c96c97f6419a538f84cf3fa72e2194605e1848096e6e5170cce5b76799d400"
],
[
"p",
"d30ea98ea65e953f91ab93f6b30ea51eb33c506f87d49f600a139aef00aa9511"
]
],
"content": "Oh my gods, I think bitcoinlib has a bug in their key derivation!\n\nI just tried the first test case from BIP32 and it got the right value for Chain m, but not for Chain m/0h",
"sig": "33cce6c50f3549ff148b6b75f98978f756523a1b7af40ac3b1b44022b878a902bb97a20ef63abe51dd2f8d854e3b84fc1c2ebaa2ceb09bbadde689e43572ce1e"
}