Bitcoin Forum
May 21, 2024, 10:49:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Private key exposure?  (Read 88 times)
bitcoin enthusiast (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 21, 2023, 01:45:58 AM
 #1

Greetings to all.

My question is not about the Electrum wallet in particular. It is about software wallets in general. Since the Electrum wallet is a prestigious software wallet for its privacy and security, I thought that some of its users probably know this.

What I have heard a number of times when learning about btc security, is that when you use a software wallet, your private key is briefly exposed during a transaction, and thus, this opens the door to the private key being stolen.

Does anyone know if this is indeed the case?


Cordially,
nc50lc
Legendary
*
Offline Offline

Activity: 2422
Merit: 5614


Self-proclaimed Genius


View Profile
April 21, 2023, 05:02:27 AM
Merited by ABCbits (2)
 #2

Does anyone know if this is indeed the case?
Yes, in standard wallet.
Electrum will have to decrypt the encrypted key in order to sign transactions, thus, exposing it for a brief moment.
And it's not limited to transactions, other options like creating a "signed message" will require access to the keys as well.

"Exposed" as in it's temporarily saved in your RAM, not literally exposed.
For it to be compromised, your machine still needs to be compromised by a hacker, virus or malware; if you have a good security, it wont be an issue.

Use cold-storage set-up to be safe from those security risk: electrum.readthedocs.io/en/latest/coldstorage.html

For other wallet types:
"2FA wallet" requires 2 signatures, only one will be exposed when sending transactions so it's not enough to get your bitcoins stolen.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Charles-Tim
Legendary
*
Offline Offline

Activity: 1554
Merit: 4907



View Profile
April 21, 2023, 06:35:13 AM
 #3

For it to be compromised, your machine still needs to be compromised by a hacker, virus or malware; if you have a good security, it wont be an issue.
Also that even if an online wallet do not sign any transaction, the private key or the seed phrase can still be revealed to hackers through malware, online wallets are vulnerable and can be exposed to malware from an attacker.

There are cold storage option and the use of Electrum 2FA wallet mentioned by nc50lc which are recommended. Or the use of multisig wallet. Or to buy a reputable hardware wallet. Using them safely and securely.

Husires
Legendary
*
Offline Offline

Activity: 1596
Merit: 1287


View Profile WWW
April 21, 2023, 11:30:26 AM
 #4

Does anyone know if this is indeed the case?
The answer to your question depends on the type of attack that you may be exposed to. If the hacker has obtained root access or what is known as a rootkit, you may be in trouble, as once you decrypt the wallet, your coins will be stolen.
The same thing if the attack was limited only to things like keylogging, where the difference of the tool will determine the amount of risk.
Hackers are rarely able to carry out the above two attacks by simply clicking on a link, as they need you to download or install the tool yourself.
So always use cold storage to sign the transaction.

"2FA wallet" requires 2 signatures, only one will be exposed when sending transactions so it's not enough to get your bitcoins stolen.
If all of your devices are severely affected, even 2FA or multiple signatures won't be the solution.
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
April 21, 2023, 01:42:37 PM
 #5

Your private keys are never exposed to the public.
satscraper
Hero Member
*****
Offline Offline

Activity: 742
Merit: 1403


View Profile
April 21, 2023, 02:33:35 PM
 #6

your private key is briefly exposed during a transaction, and thus, this opens the door to the private key being stolen.



To close this door, briefly opened  by software wallet (including Electrum) in the course of the transaction signing, use software wallet in conjunction with hardware one. In this case the private keys will  never expose themselves to software wallet    as all the magic happens inside secure element - the major part of almost all hardware wallets.
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!