Bitcoin Forum

Economy => Service Discussion => Topic started by: realsteelboy on June 08, 2020, 03:45:37 PM



Title: Bitaddress not sweeping correctly
Post by: realsteelboy on June 08, 2020, 03:45:37 PM
I have used bit address.org for years and have never had any issues at all. Always used offline saved javascript version and never even had a glitch.

I went to sweep an old wallet today into blockchain and the coins did not appear even though but said the wallet was imported. )I could not see the public address in the list of imported addresses. I tried a second blockchain account and it said wallet imported  again  and the only address it said was imported was a different one to the one I have.

Is this an issue with blockchain.com? Should I try somewhere else before I start getting worried?

Thanks for any help given





Title: Re: Bitaddress not sweeping correctly
Post by: ChuckBuck on June 08, 2020, 03:53:46 PM
Although I am not sure of what you are experiencing, it is not an error on Blockchain.com  ::) If you have used it for many years and even use offline saved javascript version. I think the first problem you need to do is scan your computer  ;) You may have been safe for many years, but you could have had a hazard a few days ago. My biggest doubt is your computer, it has a problem  ::)


Title: Re: Bitaddress not sweeping correctly
Post by: NeuroticFish on June 08, 2020, 03:57:54 PM
I cannot tell how blockchain.com works, but I can give you alternative.

First of all check the expected bitcoin address (of the paper wallet) in a block explorer like https://www.blockchain.com/btc/address/HERE_COMES_THE_ADDRESS and see if you have the expected funds.
Second, you can download Electrum from and only from https://electrum.org/#download (it would be good to also check the signature, there are tutorials on this forum), and there, on the "create new wallet" page you choose "import bitcoin addresses or private keys", press next then there type p2pkh: and paste your paper wallet's private key.

Electrum will create a wallet for you from that paper wallet and you can send the funds wherever you want.

Of course it's expected you do this on a computer without malware. I'd start with checking that first.


Title: Re: Bitaddress not sweeping correctly
Post by: DireWolfM14 on June 08, 2020, 04:07:06 PM
I have used bit address.org for years and have never had any issues at all. Always used offline saved javascript version and never even had a glitch.

I went to sweep an old wallet today into blockchain and the coins did not appear even though but said the wallet was imported. )I could not see the public address in the list of imported addresses. I tried a second blockchain account and it said wallet imported  again  and the only address it said was imported was a different one to the one I have.

Is this an issue with blockchain.com? Should I try somewhere else before I start getting worried?

Thanks for any help given

When you created the private key with bitaddress.org did you include Bip38 password encryption?


Title: Re: Bitaddress not sweeping correctly
Post by: realsteelboy on June 08, 2020, 04:14:15 PM
The funds are still win the public address and have been for a long time.

I have used a saved version of bit address forever. I have never used the newer versions (rightly or wrongly) because of the fact that I always trusted the previous version I had. I have also used the version I have saved many times since the time I used it to create the address in question with no issues.

I will try electrum, I have a tremor somewhere so it might be worth going through that first. I did hear some people had issues with their tremors over the last few years which is probably why I didn't migrate to it from paper wallets even though I thought it might be there best idea

Any thing I should do to make sure my comp is free from malware?


Title: Re: Bitaddress not sweeping correctly
Post by: realsteelboy on June 08, 2020, 04:23:15 PM
The thing I was a little bi concerned about is the fact that a different public key was imported and a google search on bit address said something about it reusing addresses.

Didn't really understand it but didn't like the sound of it either


Title: Re: Bitaddress not sweeping correctly
Post by: realsteelboy on June 08, 2020, 04:23:49 PM
I have used bit address.org for years and have never had any issues at all. Always used offline saved javascript version and never even had a glitch.

I went to sweep an old wallet today into blockchain and the coins did not appear even though but said the wallet was imported. )I could not see the public address in the list of imported addresses. I tried a second blockchain account and it said wallet imported  again  and the only address it said was imported was a different one to the one I have.

Is this an issue with blockchain.com? Should I try somewhere else before I start getting worried?

Thanks for any help given

When you created the private key with bitaddress.org did you include Bip38 password encryption?

Not that I recall. I just generated addresses from the javascript while offline



Title: Re: Bitaddress not sweeping correctly
Post by: NeuroticFish on June 08, 2020, 04:48:07 PM
Any thing I should do to make sure my comp is free from malware?

Either burn a live Linux onto a stick and boot from it (Tails OS also has Electrum on it, some trust it, some not, just beware that usually the info from there is not persistent = it's lost at booting),
either clean your system by burning or putting onto a stick an antivirus iso (Kaspersky (https://support.kaspersky.com/viruses/krd18) or any other (https://www.lifewire.com/free-bootable-antivirus-tools-2625785) antivirus producer you prefer), booting from it and put it to work.


Title: Re: Bitaddress not sweeping correctly
Post by: ChuckBuck on June 08, 2020, 05:11:40 PM
Any thing I should do to make sure my comp is free from malware?
Just scan your computer through specialized anti-virus software. I do not know what software your country supports  :D I just came up with a solution that I think you need to do with your computer. NeuroticFish also talk about something you may have done wrong. I hope you can get your money back, although I don't see any way in this case  ::)


Title: Re: Bitaddress not sweeping correctly
Post by: realsteelboy on June 08, 2020, 05:15:40 PM
Has this issue happened before though? Where someone has the private key given by bitaddress and the coins are still visible with public key.

Basically the key pair is not correct? I've never heard of that before

Thanks


Title: Re: Bitaddress not sweeping correctly
Post by: Csmiami on June 08, 2020, 06:03:55 PM
Is the address you created Legacy or Segwit?
Is the address you see on blockchain.com Legacy or Segwit?

Blockchain does not fully support Segwit as of now, and the issue might be just there.


Title: Re: Bitaddress not sweeping correctly
Post by: ChuckBuck on June 08, 2020, 06:12:11 PM
Has this issue happened before though? Where someone has the private key given by bitaddress and the coins are still visible with public key.
Basically the key pair is not correct? I've never heard of that before
Thanks
Tried searching on this forum but didn't have any posts about a similar error  ::)
Blockchain does not fully support Segwit as of now, and the issue might be just there.
I have an idea of the OP's problem through your thoughts. Previously, when I tried customizing my BTC address, I asked DarkStar_ to do it with the Segwit address, resulting from a public key, I received a private key that led to another address (It is different from the address I expected). This means that Bitaddress cannot fully support the Segwit address. I don't know how you did it, but I think your problem is here. But if I use VanitySearch to create the address for myself, it's not wrong. The problem is when you "mix" your public and private keys to create a new address on Bitaddress.


Title: Re: Bitaddress not sweeping correctly
Post by: realsteelboy on June 08, 2020, 06:45:06 PM
Is the address you created Legacy or Segwit?
Is the address you see on blockchain.com Legacy or Segwit?

Blockchain does not fully support Segwit as of now, and the issue might be just there.

It was from before the whole segwit thing


Title: Re: Bitaddress not sweeping correctly
Post by: realsteelboy on June 08, 2020, 07:12:27 PM
Any thing I should do to make sure my comp is free from malware?

Either burn a live Linux onto a stick and boot from it (Tails OS also has Electrum on it, some trust it, some not, just beware that usually the info from there is not persistent = it's lost at booting),
either clean your system by burning or putting onto a stick an antivirus iso (Kaspersky (https://support.kaspersky.com/viruses/krd18) or any other (https://www.lifewire.com/free-bootable-antivirus-tools-2625785) antivirus producer you prefer), booting from it and put it to work.

If I go and get a cheap laptop tomorrow and do it on a brand new machine are there any risks involved there? Assuming its a brand new out of the box one?


Title: Re: Bitaddress not sweeping correctly
Post by: NeuroticFish on June 09, 2020, 06:54:34 AM
If I go and get a cheap laptop tomorrow and do it on a brand new machine are there any risks involved there? Assuming its a brand new out of the box one?

There are always risks. Of course, on a new laptop they should be smaller. (Keep in mind that anything that goes online faces the risk to get hacked.)
However, if you will have 2 laptops, it would be safer to use one of them as cold storage until the transaction is made.

But I would not buy a new laptop only for this, especially if you already exposed that private key (since you tried to sweep it once).


Title: Re: Bitaddress not sweeping correctly
Post by: realsteelboy on June 09, 2020, 02:29:44 PM
Any thing I should do to make sure my comp is free from malware?

Either burn a live Linux onto a stick and boot from it (Tails OS also has Electrum on it, some trust it, some not, just beware that usually the info from there is not persistent = it's lost at booting),
either clean your system by burning or putting onto a stick an antivirus iso (Kaspersky (https://support.kaspersky.com/viruses/krd18) or any other (https://www.lifewire.com/free-bootable-antivirus-tools-2625785) antivirus producer you prefer), booting from it and put it to work.

I think I'm going to grab a cheap laptop right now to minimise risk, and then stick electrum on it. Is there an easy to follow guide someone would recommend? Better to be a PC is suppose over a Mac? Any minimum requirements needed. I have a Trezor I can use too to beef up the security.

Hopefully I'll have a result back later today  :-\


Title: Re: Bitaddress not sweeping correctly
Post by: NeuroticFish on June 09, 2020, 04:05:04 PM
Better to be a PC is suppose over a Mac? Any minimum requirements needed.

I don't know. Most of my experience is on Windows and that's the most insecure OS (and some experience on Linux, but not much).
You better get others' advice on this. Imho buying a laptop only for this is overkill.

Is there an easy to follow guide someone would recommend?
~snip~
I have a Trezor I can use too to beef up the security.

You could have said earlier about Trezor. This changes the equation and makes it better / safer.
I've found these, some of them should match with what you have and help you.
Use Trezor with Electrum: see [1] and [2], but I expect [2] be outdated.
Use the Sweep functionality (see [3]) that'll create a transaction which will send the coins from the paper wallet onto one of your Trezor addresses. Being a transaction it'll cost you some fees and take some time. Make sure you check the addresses and see if the target is yours (maybe View->Show addresses and then go to Addresses tab). It should not be needed, but it's a good habit.
Also you may want to go to settings and set Electrum show BTC instead of mBTC so it doesn't confuse you about the amounts. [4]

A tutorial for verifying electrum signature is at [5].
And electrum website is [6].

After your money is on one of your Trezor addresses it'll be easier and safer to spend. Obviously, the seed for Trezor has to be stored properly and safely offline.

[1] https://wiki.trezor.io/Apps:Electrum
[2] https://blog.trezor.io/using-trezor-with-electrum-v3-a0b9bcffe26e
[3] https://bitcoinelectrum.com/sweeping-your-private-keys-into-electrum/
[4] https://medium.com/@boraiga6829/how-to-make-electrum-show-me-btc-instead-of-mbtc-2d3e3b12706b
[5] https://bitcointalk.org/index.php?topic=5105901.0
[6] https://electrum.org/


Title: Re: Bitaddress not sweeping correctly
Post by: realsteelboy on June 09, 2020, 10:56:57 PM
Ok, had a little test with the Electrum/Trezor set up.

Set up electrum on a comp, swept the private key of a small paper wallet. No issues there, all as expected.

Waited for confirmations then tried to send the coin to a blockchain account. Asked to enter code and then got this message.

DataError: Native segwit is disabled

Did a google search and found nothing. Could it be because the trezor hasn't been updated?

Went to do it but need to make sure I have seed before doing it.

Thanks for all the helped info so far


Title: Re: Bitaddress not sweeping correctly
Post by: coupable on June 09, 2020, 11:55:42 PM
Thanks realsteelboy to post this topic.

Sorry, i don't have enough technical knowledge to understand this kind of issues. I want someone to clarify, does there an issue to use bitaddress with segwit? I am planning to use bitadress to make educational youtube videos for newbies. I am interested to read more opinions .


Title: Re: Bitaddress not sweeping correctly
Post by: Chikito on June 10, 2020, 05:52:09 AM
does there an issue to use bitaddress with segwit? I am planning to use bitadress to make educational youtube videos for newbies. I am interested to read more opinions .
As I know bitaddress.org only generated legacy address, it should additional code colon + private key (from bitaddress.org) to generate segwit into electrum.
p2wpkh-p2sh: 3 (nested segwit)
p2wpkh: bc1 (native segwit)

Also, Trezor use nested as default.


Title: Re: Bitaddress not sweeping correctly
Post by: realsteelboy on June 10, 2020, 08:38:35 AM
does there an issue to use bitaddress with segwit? I am planning to use bitadress to make educational youtube videos for newbies. I am interested to read more opinions .
As I know bitaddress.org only generated legacy address, it should additional code colon + private key (from bitaddress.org) to generate segwit into electrum.
p2wpkh-p2sh: 3 (nested segwit)
p2wpkh: bc1 (native segwit)

Also, Trezor use nested as default.

Not quite sure of what you mean there. Should I have done that before sweeping the private key into electrum?

I realised the issue might be with electrum rather than Trezor too.

What I could really do with is someone that knows their Electrum/Trezor setup inside out and would be happy with going through some of this privately with me over the phone in real time.

If anyone knows of anyone that understands them both and is willing to work for a bit of coin please send a message


Title: Re: Bitaddress not sweeping correctly
Post by: Csmiami on June 10, 2020, 09:53:15 AM
Ok, had a little test with the Electrum/Trezor set up.

Set up electrum on a comp, swept the private key of a small paper wallet. No issues there, all as expected.

Waited for confirmations then tried to send the coin to a blockchain account.

Just curious about this one, but why on earth would you want to do that? Going from a Trezor+Electrum setup to a Blockchain.com wallet is for sure a downgrade; on privacy, coin control and security

Not quite sure of what you mean there. Should I have done that before sweeping the private key into electrum?
If the wallet you want to sweep is either nested or native Segwit, yes. Otherwise, the private key will be read as a Legacy one.

Did a google search and found nothing. Could it be because the trezor hasn't been updated?
You can connect you device to the trezor web wallet and check the firmware version you are using there. A new firmware was released a couple of days ago to make the way Trezor handles Segwit transactions safer, and I recall them saying that
Quote
We are providing a patch for Electrum as a pull request #6198. It will be impossible to use Electrum with Trezor 1.9.1 and 2.3.1 until this patch is released.
This however, should not affect older firmware versions (or so I believe).

I'm curious about something here too....
Set up electrum on a comp, swept the private key of a small paper wallet. No issues there, all as expected.

Waited for confirmations then tried to send the coin to a blockchain account. Asked to enter code and then got this message.

DataError: Native segwit is disabled
So you did go to Electrum, then swept the address by importing the private key, receiving address is supposed to be one inside the wallet if you don't change it, then clicked sweep and created a transaction? Because it's a bit unclear whether you get the error when you sweep from the paper wallet into Trezor(Electrum), or when you send from Electrum to blockchain.

Also, did you get a transaction ID before getting the error? And, where did you get the error? On Blockchain, or on Electrum?


Title: Re: Bitaddress not sweeping correctly
Post by: NeuroticFish on June 10, 2020, 01:03:41 PM
I had no time to answer, I'll add only that that tx id would be useful to see if
* it is confirmed
* what kind of address you have in trezor (1*, 3*, bc1*)

I do have experience with Electrum, but no Trezor (I have only Ledger).


I also agree with @Csmiami: unless you do it for testing purposes, there's no good reason to transfer funds from Trezor to blockchain.com wallet.


Title: Re: Bitaddress not sweeping correctly
Post by: realsteelboy on June 10, 2020, 07:15:49 PM
Little update, I got the trezor to work and send coins on for the test. I think my firmware was really old and when I updated to 1.6 or something it let me do it. All good there.

I found the issue with the sweeping of the private key, after a bit of investigation it looks like the second half of the key I had written down is actually the second half of the public key. Stupid mistake, luckily not for an amount that is gonna be too soul crushing.  :(

I think I already know the answer but if I have half a private key and a full public key the chances of brute forcing are still a gazillion to 1 yeah? I'll just hold on to them and you never know in 50 years time with quantum computing it might be the ultimate forced hodl.

Thanks for the help and advice, I'm off to console myself with booze