Author

Topic: Public keys and derivation path (Read 71 times)

jr. member
Activity: 59
Merit: 31
March 12, 2023, 08:41:31 AM
#7
Thanks for this. It's a shame there is no way of independently verifying before sweeping funds.

legendary
Activity: 2268
Merit: 18771
March 12, 2023, 06:01:06 AM
#6
According to Casa's support documents and walletsrecovery.org, Casa uses a derivation path of m/49/0/0, and by rotating a key you are incrementing the account number by one, so to m/49/0/1, then m/49/0/2, and so on.

Even although these paths are unhardened, if all you have are the xpubs at m/49/0/0, then there is no way for you to derive the xpubs at m/49/0/1. xpubs can only be used to derive at child levels, not sibling levels. You will simply have to go back to Casa and extract the new xpubs for your new derivation paths.
jr. member
Activity: 59
Merit: 31
March 12, 2023, 04:49:20 AM
#5
Thanks for that. I have a call with them to try and determine how they change the keys.

I did use the public keys they gave me for my three devices, along with the master fingerprints, to make a smaller quorum using their new derivation path and am able to use that to sign and transact no problem.
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
March 12, 2023, 04:33:15 AM
#4
My situation is that I rotated a key in Casa, and it changed all my xpubs due to the new derivation path (bumped me up a level).
-snip-
So what I'm looking for is a tool that I can use to input an existing xpub and and derive a new xpub for a given derivation path.
Okay, IanColeman's BIP39 tool indeed can't do it.
Your option in that tool is to start from the 'BIP32 Root Key' using your master private key in an offline environment instead.

My concern is if Casa is using its own derivation path, it could complicate things.
I'm not using their service so I may not be able to help you with it.
jr. member
Activity: 59
Merit: 31
March 12, 2023, 03:22:28 AM
#3
My situation is that I rotated a key in Casa, and it changed all my xpubs due to the new derivation path (bumped me up a level).

I'd previously input all my existing xpubs and the xpub of the new key into Sparrow, along with the new derivation path I knew they would give me, so that I could verify the new wallet address. However, I couldn't as, when I received the new wallet details on the Casa app, all the xpubs were different (due to the derivation path also changing). So what I'm looking for is a tool that I can use to input an existing xpub and and derive a new xpub for a given derivation path.
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
March 12, 2023, 03:19:24 AM
#2
The question is quite hard to interpret.

What do you mean by "public key changes"?
Because IanColeman's BIP39 tool has "Account Extended Public Key" and "BIP32 Extended Public Key" that changes if you change the associated derivation path.

If you mean the "BIP32 Root Key", it's unnecessary to have a public pair since it's "hardened" in which you can't derive the child key from the master public key.
If you mean the addresses, you can toggle the public keys by clicking "TOGGLE" next to the "Public Key" column.
jr. member
Activity: 59
Merit: 31
March 12, 2023, 03:10:18 AM
#1
Hi there,

I was wondering if anyone knew a tool like Ian Coleman's BIP 39 mnemonic converter, but that could show you the public key changes according to the derivation path?

Thanks.
Jump to: