Bitcoin Forum
May 11, 2024, 09:21:13 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Public keys and derivation path  (Read 74 times)
aesthete2022 (OP)
Jr. Member
*
Offline Offline

Activity: 59
Merit: 31


View Profile
March 12, 2023, 07: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.
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715419273
Hero Member
*
Offline Offline

Posts: 1715419273

View Profile Personal Message (Offline)

Ignore
1715419273
Reply with quote  #2

1715419273
Report to moderator
1715419273
Hero Member
*
Offline Offline

Posts: 1715419273

View Profile Personal Message (Offline)

Ignore
1715419273
Reply with quote  #2

1715419273
Report to moderator
1715419273
Hero Member
*
Offline Offline

Posts: 1715419273

View Profile Personal Message (Offline)

Ignore
1715419273
Reply with quote  #2

1715419273
Report to moderator
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5595


Self-proclaimed Genius


View Profile
March 12, 2023, 07: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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
aesthete2022 (OP)
Jr. Member
*
Offline Offline

Activity: 59
Merit: 31


View Profile
March 12, 2023, 08: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.
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5595


Self-proclaimed Genius


View Profile
March 12, 2023, 09: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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
aesthete2022 (OP)
Jr. Member
*
Offline Offline

Activity: 59
Merit: 31


View Profile
March 12, 2023, 09: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.
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18512


View Profile
March 12, 2023, 11: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.
aesthete2022 (OP)
Jr. Member
*
Offline Offline

Activity: 59
Merit: 31


View Profile
March 12, 2023, 01:41:31 PM
 #7

Thanks for this. It's a shame there is no way of independently verifying before sweeping funds.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!