Bitcoin Forum
March 28, 2024, 09:49:17 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question On Sweeping Private Key  (Read 263 times)
RealMinecache (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 6


View Profile
April 01, 2021, 08:27:03 AM
Merited by LoyceV (4), o_e_l_e_o (2)
 #1

Good afternoon,

Once a paper wallet private key has been sweeped, can Bitcoin still be safely sent and stored to the address of the sweeped private key? And therefore can that priavte key be sweeped again in future? Or after a private key has been sweeped does the address become invalid?

Thank you.
1711662557
Hero Member
*
Offline Offline

Posts: 1711662557

View Profile Personal Message (Offline)

Ignore
1711662557
Reply with quote  #2

1711662557
Report to moderator
1711662557
Hero Member
*
Offline Offline

Posts: 1711662557

View Profile Personal Message (Offline)

Ignore
1711662557
Reply with quote  #2

1711662557
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1711662557
Hero Member
*
Offline Offline

Posts: 1711662557

View Profile Personal Message (Offline)

Ignore
1711662557
Reply with quote  #2

1711662557
Report to moderator
nc50lc
Legendary
*
Offline Offline

Activity: 2366
Merit: 5429


Self-proclaimed Genius


View Profile
April 01, 2021, 08:53:22 AM
Merited by o_e_l_e_o (2), ABCbits (1)
 #2

It's still valid, you can send bitcoins to the paper wallet after sweeping its private key.
If you're not aware, "sweep" creates a transaction that sends all of the paper wallet's funds to the wallet where it was swept.

The downside is you're basically stripped off the benefits of using a paper wallet because the private key was already touched the internet.
Another is you're going to reuse an address that's bad for your privacy.

You must use a paper wallet only once.

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
LoyceV
Legendary
*
Offline Offline

Activity: 3262
Merit: 16316


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
April 01, 2021, 09:04:37 AM
 #3

If you do insist on using the same paper wallet again, you'll have to create a transaction that sends the change back to your paper wallet.
Ideally, your private key should never touch an online computer:
I was considering Electrum, only downside is that when creating a wallet, seed creation is exposed
Online:
Install Electrum on your PC.
Import your address to create a watch-only wallet.
Preview the transaction, Copy the unsigned transaction. Put it on a USB stick.

Offline and running without hard drive storage:
Get a Linux LIVE DVD. Use Knoppix for instance, or any other distribution that comes with Electrum pre-installed.
Unplug your internet cable. Close the curtains. Reboot your computer and start up from that DVD. Don't enter any wireless connection password. Keep it offline.
Start Electrum. Import your private key.
Copy your unsigned transaction from the USB stick, load it into Electrum.
CHECK the transaction in Electrum. Check the fees, check the amount, check all destination addresses (character by character).
If all is okay, sign the transaction. Copy it back to your USB stick.
Turn off the computer. That wipes the Live LINUX from memory and all traces are gone.

Online:
Use your normal online Electrum to (check again and) broadcast the transaction.

Alternatively, if you decide to create a new paper wallet to store the change and your old paper wallet is empty:
Quote
Bonus:
After moving all your Bitcoin, and once the transaction confirmed, check if you own Forkcoins.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
pooya87
Legendary
*
Offline Offline

Activity: 3402
Merit: 10434



View Profile
April 02, 2021, 03:48:28 AM
 #4

A paper wallet doesn't have to be a single private key, it can also be a master private key or a mnemonic. Nowadays all the bitcoin wallets are HD and they support BIP32 and BIP39 (or an alternative to it). You can simply create the mnemonic and store those 12 or 24 words on a piece of paper calling it "paper wallet". Then each time you use a key you simply send the change to a new address and don't use the old one again. If the old one received any bitcoin in the future you still have access to it because you have your seed to generate all child keys.

P.S. When sweeping/spending coins from paper wallet you should also do it offline.

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
RealMinecache (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 6


View Profile
April 03, 2021, 12:19:16 PM
 #5

If you do insist on using the same paper wallet again, you'll have to create a transaction that sends the change back to your paper wallet.
Ideally, your private key should never touch an online computer:
I was considering Electrum, only downside is that when creating a wallet, seed creation is exposed
Online:
Install Electrum on your PC.
Import your address to create a watch-only wallet.
Preview the transaction, Copy the unsigned transaction. Put it on a USB stick.

Offline and running without hard drive storage:
Get a Linux LIVE DVD. Use Knoppix for instance, or any other distribution that comes with Electrum pre-installed.
Unplug your internet cable. Close the curtains. Reboot your computer and start up from that DVD. Don't enter any wireless connection password. Keep it offline.
Start Electrum. Import your private key.
Copy your unsigned transaction from the USB stick, load it into Electrum.
CHECK the transaction in Electrum. Check the fees, check the amount, check all destination addresses (character by character).
If all is okay, sign the transaction. Copy it back to your USB stick.
Turn off the computer. That wipes the Live LINUX from memory and all traces are gone.

Online:
Use your normal online Electrum to (check again and) broadcast the transaction.

Alternatively, if you decide to create a new paper wallet to store the change and your old paper wallet is empty:
Quote
Bonus:
After moving all your Bitcoin, and once the transaction confirmed, check if you own Forkcoins.

Thank you. Is what you have outlined the most secure method to moving coins from a paper wallet?
RealMinecache (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 6


View Profile
April 03, 2021, 12:30:44 PM
 #6

A paper wallet doesn't have to be a single private key, it can also be a master private key or a mnemonic. Nowadays all the bitcoin wallets are HD and they support BIP32 and BIP39 (or an alternative to it). You can simply create the mnemonic and store those 12 or 24 words on a piece of paper calling it "paper wallet". Then each time you use a key you simply send the change to a new address and don't use the old one again. If the old one received any bitcoin in the future you still have access to it because you have your seed to generate all child keys.

P.S. When sweeping/spending coins from paper wallet you should also do it offline.



Thank you. Do you have a link to detail the safest way to sweep a paper wallet offline?
LoyceV
Legendary
*
Offline Offline

Activity: 3262
Merit: 16316


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
April 03, 2021, 12:34:18 PM
 #7

Is what you have outlined the most secure method to moving coins from a paper wallet?
You can always add more security. Depending on the amount I can think of several ways to improve it:
  • Don't reuse the same paper wallet
  • Verify the signed transaction offline using different software (different OS and for instance coinb.in downloaded) and maybe even different hardware
  • Let a trusted person (such as your spouse) verify everything offline before broadcasting to make sure you don't overlook something

Do you have a link to detail the safest way to sweep a paper wallet offline?
This applies to paper wallets too. Ideally, I wouldn't use a QR-scanner (see malicious QR code readers), just type the private key.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18497


View Profile
April 03, 2021, 02:12:14 PM
 #8

You can always add more security. Depending on the amount I can think of several ways to improve it:
Additionally:
  • Verify both your Electrum download and your Linux OS download against the provided GPG signature files to ensure authenticity. This is very important and shouldn't be skipped.
  • Optionally, I would also physically open my computer and unplug/disconnect/remove any connectivity hardware such as WiFi or Bluetooth chips, as well as any hard drives or other storage, in between the online and offline steps.
Quickseller
Copper Member
Legendary
*
Offline Offline

Activity: 2870
Merit: 2298


View Profile
April 13, 2021, 11:56:20 AM
 #9

Once a paper wallet private key has been sweeped, can Bitcoin still be safely sent and stored to the address of the sweeped private key?

There's risk the private key was exposed when you sweep the private key with device that connected to internet. It's safer to create new paper wallet.
I would rather generate multiple paper wallets in advance than generate them on an ad-hoc basis. Generating paper wallets in batches means that you are never having to consider compromising on security or best practices because you are in need of a new paper wallet.

I would advise against using paper wallets though. It would be better to store your private keys in a USB stick or computer that never touches the internet. When you are ready to spend (some of) your bitcoin, you can sign the transaction offline. 
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18497


View Profile
April 13, 2021, 12:18:25 PM
 #10

Generating paper wallets in batches means that you are never having to consider compromising on security or best practices because you are in need of a new paper wallet.
Also, if you are going super paranoid and using an old computer and printer which you plan to destroy after creating your paper wallets, it's also much cheaper to create them in batches rather than destroy multiple devices. Tongue

You obviously have to make sure you store your unused paper wallets just as securely as your loaded ones, though.

I would advise against using paper wallets though. It would be better to store your private keys in a USB stick or computer that never touches the internet. When you are ready to spend (some of) your bitcoin, you can sign the transaction offline. 
If you are going to import your private key to a wallet on a permanently airgapped computer, then it is no more risky using a paper wallet than using electronic storage. If I'm planning to store a wallet for 10+ years, I don't want to be concerned about hardware degradation or failure which could corrupt my wallet file in that time.
Quickseller
Copper Member
Legendary
*
Offline Offline

Activity: 2870
Merit: 2298


View Profile
April 13, 2021, 01:23:54 PM
 #11

I would advise against using paper wallets though. It would be better to store your private keys in a USB stick or computer that never touches the internet. When you are ready to spend (some of) your bitcoin, you can sign the transaction offline.  
If you are going to import your private key to a wallet on a permanently airgapped computer, then it is no more risky using a paper wallet than using electronic storage. If I'm planning to store a wallet for 10+ years, I don't want to be concerned about hardware degradation or failure which could corrupt my wallet file in that time.
You increase your risk when using a paper wallet versus using a wallet stored digitally. Regardless of how the private keys are stored, you have a set of risks when creating a private key on a computer. When you move that private key from your computer to paper, you have to incur additional risks.

This is also true for when you are spending your bitcoin. You have risks with both mediums of storage, but have additional risks when moving your private key from paper back into your computer.
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18497


View Profile
April 13, 2021, 02:50:29 PM
Merited by LoyceV (2)
 #12

You increase your risk when using a paper wallet versus using a wallet stored digitally. Regardless of how the private keys are stored, you have a set of risks when creating a private key on a computer. When you move that private key from your computer to paper, you have to incur additional risks.
And there are additional risks you incur when you store private keys long term on digital storage rather than on paper or some other physical medium. Hardware degradation is one, as I have mentioned above. You can choose fireproof paper or laminate it to protect against mild water damage, which could destroy digital storage. The risks of accidentally exposing a digitally stored wallet to the internet is much greater (plugging in the wrong USB drive or CD to an internet enabled device, leaking data between your airgapped and non-airgapped computers) than a paper wallet.

I use both digital airgapped wallet and paper wallets. I prefer airgapped wallets for money I might want to spend in the next 6 months or so, and I prefer paper wallets for money I am planning not to touch for several years.
Quickseller
Copper Member
Legendary
*
Offline Offline

Activity: 2870
Merit: 2298


View Profile
April 15, 2021, 11:09:54 AM
 #13

You increase your risk when using a paper wallet versus using a wallet stored digitally. Regardless of how the private keys are stored, you have a set of risks when creating a private key on a computer. When you move that private key from your computer to paper, you have to incur additional risks.
And there are additional risks you incur when you store private keys long term on digital storage rather than on paper or some other physical medium. Hardware degradation is one, as I have mentioned above. You can choose fireproof paper or laminate it to protect against mild water damage, which could destroy digital storage. The risks of accidentally exposing a digitally stored wallet to the internet is much greater (plugging in the wrong USB drive or CD to an internet enabled device, leaking data between your airgapped and non-airgapped computers) than a paper wallet.
You can use a paper wallet as a backup to address the issue of hardware degradation (you should keep your private keys in at least two mediums of storage for this reason).

Accidentally exposing private keys to an internet-connected device does increase risk, but does not guarantee loss of funds, and if this happens, it is a sign of carelessness. On the topic of carelessness, if you accidentally show someone your paper wallet, the risk of loss of funds is much higher because they could take a picture of the paper in seconds without having prior intent to steal your funds. Exposing private keys to an internet-connected device requires the device to be previously compromised to result in a loss of funds.

There is also the issue of transferring your paper wallet private keys back onto a computer when you are ready to spend your bitcoin. This will require one to potentially allow a camera to take a picture of the private key -- precautions can be taken to reduce this risk, but the risk is still there. If you store your private keys digitally, there is no risk that taking out a USB stick will result in a camera being able to copy the private key. You have the same risk of leaking data between your air-gapped and non-air-gapped devices regardless of if you are using a paper wallet or storing your keys digitally. (you should really not be using your air-gapped device for anything except for signing messages/transactions).   
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18497


View Profile
April 15, 2021, 02:51:18 PM
 #14

(you should keep your private keys in at least two mediums of storage for this reason).
I don't think that's strictly necessary. Two separate geographical locations, sure, but two mediums of storage? If I have inscribed my seed phrase on to two separate titanium plates and have one stored in a safe in my house and one stored in safe deposit box in another city, I don't see how changing one of those titanium plates to digital storage makes me any safer. If anything, I'm just exposing myself to a bunch of new processes and the risks that come with them I otherwise wouldn't be to get my seed phrase on to a USB drive.

Accidentally exposing private keys to an internet-connected device does increase risk, but does not guarantee loss of funds, and if this happens, it is a sign of carelessness. On the topic of carelessness, if you accidentally show someone your paper wallet, the risk of loss of funds is much higher because they could take a picture of the paper in seconds without having prior intent to steal your funds. Exposing private keys to an internet-connected device requires the device to be previously compromised to result in a loss of funds.
If a device is already compromised, then simply plugging in the USB drive is enough for your keys to be stolen. I would argue that is more likely than taking out your paper wallet and standing their idly for 5-10 seconds while you watch someone right beside you reach in to their pocket, take out and unlock their phone, open the camera app, and snap a photo.

There is also the issue of transferring your paper wallet private keys back onto a computer when you are ready to spend your bitcoin. This will require one to potentially allow a camera to take a picture of the private key -- precautions can be taken to reduce this risk, but the risk is still there.
Just don't use cameras and you eliminate this altogether. I only use entire seed phrases rather than individual private keys for my paper wallets, so I never need to use a camera to import them back on to an electronic device.

At the end of the day there are risks inherent to both, but I just don't agree that long term paper storage is inherently more risk than long term digital storage.
Hippocrypto
Sr. Member
****
Offline Offline

Activity: 1484
Merit: 277



View Profile
April 15, 2021, 09:58:35 PM
 #15

Good afternoon,

Once a paper wallet private key has been sweeped, can Bitcoin still be safely sent and stored to the address of the sweeped private key? And therefore can that priavte key be sweeped again in future? Or after a private key has been sweeped does the address become invalid?

Thank you.

Keep your private keys in different backup, and I don't see any threat of security there as long as you don't exposed your keys towards untrusted sites.
Avoid using your emails for shady transactions like kyc registrations and other potential risk that may breach your security. Having printed paper wallet, should be done together with it's QR code and that's reliable and safe. But, I don't try to generate btc private keys yet, only for erc20 tokens.
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!