Score:0

bip32 hardening derivation leak?

kz flag

I don't get it. I find all the available documentation around bip32 hardening derivation complete confusing. Could anyone explain me if this algorithm has any issues:

mnemonic = bip39.generate mnemonic
seed = menominic.seed
masterKey := bip32.newMasterKey(seed)
child1 = masterKey.newChildKey(0)
child2 = masterKey.newChildKey(1)

Alice receive child1.privatekey

Bob receive child2.privatekey

Is there any leak between the two derivations ?

Can the two derivations collide each other?

Can Bob steal the private key from alice?

Can Bob get the masterKey?

I only understand that there might be a privacy issue. Without hardening, others can determine all the publicKeys of the masterKey.

Can the bip32 be applied twice?

subchild2 = child2.newChildKey(0) ?

Is it safe?

fgrieu avatar
ng flag
What defines `newMasterKey` and `newChildKey` ? In particular, is the later supposed to be [BIP32's private-parent-key to private-child-key](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#private-parent-key--private-child-key)? Try to define "any leak", in a way clarifying if being a public function of the same seed or mnemonic qualifies.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.