Bitcoin Forum
December 12, 2024, 08:47:25 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Connecting Specter to Bitcoin Core = risk?  (Read 96 times)
Bitcoiner2023 (OP)
Member
**
Offline Offline

Activity: 106
Merit: 49


View Profile
May 16, 2024, 10:09:14 PM
Last edit: May 16, 2024, 10:21:48 PM by Bitcoiner2023
 #1

Good evening,
I have a small concern.

Since Bitcoin Core stores the pub key unencrypted on the computer, I wonder whether there would be a risk if I connected Specter to the Core.
You could theoretically calculate the Prv key back if you had the pub key.
(I know, very difficult but certainly doable with a quantum computer)

What does it actually look like when you set up a multi-sig wallet at Specter?
Won't the whole thing be more difficult to calculate, or does it make no difference whether single-sig or multi-sig?

Does Bitcoin Core store the Account Extended Public Key or does it store the BIP32 Extended Public Key?
nc50lc
Legendary
*
Offline Offline

Activity: 2632
Merit: 6511


Self-proclaimed Genius


View Profile
May 17, 2024, 06:56:50 AM
 #2

Quote from: Bitcoiner2023
Does Bitcoin Core store the Account Extended Public Key or does it store the BIP32 Extended Public Key?
If you mean it like the terms used in iancoleman's BIP39 tool, then the imported (non-MultiSig) descriptors will contain the 'Account Extended Public Key'.
By definition, your "Account Extended Public key" is just an "Extended public key" derived at the 'account_index'.
However, your "BIP32 Extended Public Key" can be easily computed from it since it is its non-hardened child.

If you want to check; use Bitcoin Core's wallet RPC: listdescriptors with the wallet "specter....../specter_wallet_name".

What does it actually look like when you set up a multi-sig wallet at Specter?
Won't the whole thing be more difficult to calculate, or does it make no difference whether single-sig or multi-sig?
Use the command above and you'll see that it also imported your Specter MultiSig Wallet's Extended Public keys to a watch-only Bitcoin Core wallet with the same name.
So there's no difference in terms of your concern about quantum computers computing your private key from your public key.

Future-proofing your backup?

Since Bitcoin Core stores the pub key unencrypted on the computer, I wonder whether there would be a risk if I connected Specter to the Core.
You're supposed to connect your Specter wallet to a Bitcoin Core client that you own which will create a watch-only wallet that's locally stored, so I don't get the point.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Bitcoiner2023 (OP)
Member
**
Offline Offline

Activity: 106
Merit: 49


View Profile
May 17, 2024, 10:06:40 AM
 #3

Since Bitcoin Core stores the pub key unencrypted on the computer, I wonder whether there would be a risk if I connected Specter to the Core.
You're supposed to connect your Specter wallet to a Bitcoin Core client that you own which will create a watch-only wallet that's locally stored, so I don't get the point.

Thanks for the detailed answer.

Why does sparrow write that it would pose a risk?
What could a hacker do with the pub key?

Sparrwor writes:
Unfortunately, Bitcoin Core stores your public keys and funds unencrypted on the computer that runs it. If that computer is regularly connected to the Internet, it is at risk to hackers - making you a target once your balance is discovered.
nc50lc
Legendary
*
Offline Offline

Activity: 2632
Merit: 6511


Self-proclaimed Genius


View Profile
May 17, 2024, 11:43:32 AM
 #4

Sparrwor writes:
Unfortunately, Bitcoin Core stores your public keys and funds unencrypted on the computer that runs it. If that computer is regularly connected to the Internet, it is at risk to hackers - making you a target once your balance is discovered.
Ah, they mean that if some hacker got his hands into your xpub and with it, saw that you have certain amount of Bitcoins;
That information: "you possessing N number of Bitcoins" will be the basis of hackers to make you a target, specially if it's a significant amount.
It's not necessarily mean that they'll use the xpub in Bitcoin Core directly to hack your Specter wallet.

Nevertheless, take note that the xpub is not entirely safe if you've been exporting individual private keys from Specter, even prvKeys of the unfunded addresses.
(AFAIK, there's no option to do that in Specter, just like in Bitcoin Core's descriptor wallets)
Because a child private key can be used together with its parent "extended public key" to compute its pair "extended private key".
But if you haven't exported any private key and exposed it to the internet, then this shouldn't be an issue in your case.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!