Bitcoin Forum
June 24, 2024, 05:01:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 [53] 54 55 56 57 58 59 60 61 62 63 »
1041  Bitcoin / Bitcoin Technical Support / Re: Verify ownership of keys for paper wallet on: August 14, 2023, 01:33:47 PM
This is the repo where I have implemented the wallet generator:

 https://github.com/apogio/old-school-bitcoin

I am using SecureRandom to produce entropy, since I was unable to think of a better way.

Feel free to give me feedback.

Edit:
Running my code offline, doesn't necessarily solve every issue regarding privacy and safety. Furthermore, I did it for educational purposes and I don't encourage you to use it for real use.
1042  Bitcoin / Development & Technical Discussion / Re: Watch only wallet and privacy on: August 11, 2023, 11:38:11 AM
I do run my own node. I have connected Sparrow to my own electrum server. But I want to also monitor my wallet from my mobile phone, but it won't connect to my node through tor... Anyway.
I do not know how you can run Electrum server using mobile Electrum. But for anonymity (no privacy), you can connect mobile Electrum using Tor. But with the help if Orbot.

After you download Orbit, click on setthigs and check Electrum to enable it to connect using Orbot.


After you download mobile Electrum.

Enable Proxy
SOCKSS/TOR
Address: 127.0.0.1
Port 9050

If you connect to Tor, the green circle at the upper right corner will be blue instead. This is for anonymity. Central (public) servers can still connect your addresses but will kit be able to know your IP.



Thank you. +Merit when I have some to spend.
1043  Bitcoin / Development & Technical Discussion / Re: Watch only wallet and privacy on: August 11, 2023, 11:28:55 AM
They can assume that I own some addresses and not that I actually own them. Correct?
It is not an assumption if you are using public servers. They will know your bitcoin addresses and know the funded ones. They will know your IP addresses too. Which means they can link your real identity to your wallet.

If you want privacy, run your own node/server using Tor.

I do run my own node. I have connected Sparrow to my own electrum server. But I want to also monitor my wallet from my mobile phone, but it won't connect to my node through tor... Anyway.

The issue arises when Electrum queries your addresses. If you're using Electrum to serve as a watch-only wallet, you'll have the addresses linked to each other. Electrum queries all the required address using the same IP address. Any adversary running the node would be able to make the assumption that they're owned by the same person and thereby linking them to each other.

Running it behind a proxy or Tor won't help in this case.

So, they will be able to know that IP A queries addresses X,Y,Z and therefore assume that IP A owns the keys that generate addresses X,Y,Z.

Will they be able to monitor my wallet though? Will I leak my XPUB?
No.

Electrum has a gap limit, which means that once X (IIRC, its 20) addresses are empty, it stops querying for addresses with balance. Only the address that are used + 20 empty addresses will be leaked. Electrum does not leak xpubs.

Thanks!
1044  Bitcoin / Development & Technical Discussion / Re: Watch only wallet and privacy on: August 11, 2023, 11:20:11 AM
Does it make a difference (an actual difference) if the software is connected to my own Electrum Server or a public Electrum Server? And why.
For privacy if connected to your own node/server, yes. As long as your server is connecting using Tor.

If you do not connect to your own server or run your own node but depend on public server, you will not have the privacy that you want.

The seed phrase and keys are created on a hardware wallet, and its public key is imported on an online wallet. That is enough for security even if you connect to public server, but not having privacy because the public server can spy on your IP addresses and bitcoin addresses.

They can assume that I own some addresses and not that I actually own them. Correct?
1045  Bitcoin / Development & Technical Discussion / Re: Watch only wallet and privacy on: August 11, 2023, 11:16:07 AM
The issue arises when Electrum queries your addresses. If you're using Electrum to serve as a watch-only wallet, you'll have the addresses linked to each other. Electrum queries all the required address using the same IP address. Any adversary running the node would be able to make the assumption that they're owned by the same person and thereby linking them to each other.

Running it behind a proxy or Tor won't help in this case.

So, they will be able to know that IP A queries addresses X,Y,Z and therefore assume that IP A owns the keys that generate addresses X,Y,Z.

Will they be able to monitor my wallet though? Will I leak my XPUB?
1046  Bitcoin / Development & Technical Discussion / Watch only wallet and privacy on: August 11, 2023, 11:04:30 AM
Hey! I 've been trying to find an answer to a simple concept, but I can't.

My question is: I create a wallet on a hardware device. I obtain its XPUB. I import the XPUB to some software like Nunchuk, Sparrow etc. Does it make a difference (an actual difference) if the software is connected to my own Electrum Server or a public Electrum Server? And why.
1047  Bitcoin / Development & Technical Discussion / Re: Electrum server on Windows: Fulcrum on: August 09, 2023, 06:58:57 PM
Well fuckballs.....

MSFT had their monthly patches yesterday and the PC running Fulcrum decided to install them and reboot and did not cleanly exit fulcrum before doing that.
And now it's saying that the database is corrupt and it's trying to redo it. I'm too busy to do a deep look, is there a way to check / repair the fulcrum DB instead of having it redo everything.

And, yes I know to ask in github but I figure this might be quicker.

-Dave


Unfortunately I can't help you but I wonder how it rebooted without asking you.
1048  Bitcoin / Development & Technical Discussion / Re: The Lightning Network FAQ on: August 09, 2023, 06:24:23 AM
core lightning v23.08 release candidate 1 has now been announced and it is now time to test new and experimental features before release, such as these:
  • taproot address support for core lightning
  • introduction of renepay
  • splice funds in or out of a live channel
https://community.corelightning.org/c/general-questions/version-23-08-release-candidate-1-tagged
 

Just switched from LND to CLN. So far so good. Thanks for the update.
1049  Bitcoin / Bitcoin Technical Support / Re: Verify ownership of keys for paper wallet on: August 03, 2023, 09:55:59 AM
If you have a synchronized Bitcoin Core instance, you can get the raw transaction and use testmempoolaccept to test if it is valid without broadcasting.

This is perfect. Thanks
1050  Bitcoin / Bitcoin Technical Support / Re: Verify ownership of keys for paper wallet on: August 03, 2023, 06:53:47 AM
Keep this educational and don't create any serious addresses using this. Most importantly is that you won't find bugs by just testing it a couple of times with random cases, there are a lot of edge cases that you may not know of and may not face in your "random tests" but can encounter in a real scenario.
Off the top of my head since you mentioned Java and are probably using the BigInteger class,is that you may forget the necessary padding for the public key and use a smaller than 32 byte x/y coordinate in the pubkey for your hash and end up with coins that can never be spent.

The best real life example I can think of that is similar to what I explained here is the bitcore-lib by Bitpay written in Javascript that had a similar bug with lack of padding. https://github.com/bitpay/bitcore-lib/issues/47

I would also say that generating a serious key (to send actual funds to) using your own code is not a good idea even if you verify the correctness of the key->address using a secondary tool. Because there can be other vulnerabilities in your code like your RNG being weak.

Thanks. As I said it's for educational purposes only. Btw I have used BitcoinJ which provided me with some classes that were kind of plug-and-play.

As I've mentioned, if you're able to import the address into a well-known wallet, it should be fine. They are unlikely to allow you to import a private key that cannot be spent. The first one would be the best, if you can do so. It doesn't affect the security nor the privacy of your paper wallet so long as you spend the coins back to yourself.

But in order to broadcast the transaction you will need to use the internet. So this requires importing the private key to an application that's connected to the internet. Therefore your wallet immediately becomes hot.
1051  Bitcoin / Bitcoin Technical Support / Re: Verify ownership of keys for paper wallet on: August 02, 2023, 07:59:14 PM
You could do the same thing you've been doing to recover the wallet on Electrum or maybe Bitaddress[1] (download the source code first), you should just make sure that the device you're using is offline and safe.

You could do the same thing you've been doing to recover the wallet on Electrum or maybe Bitaddress[1] (download the source code first), you should just make sure that the device you're using is offline and safe.
For peace of mind, I (would) do this every time when I create any offline wallet (before funding it). It doesn't hurt to make sure you can recover your backups.

Ok, so if I get it right, you mean I should re-run my own code, to see whether the private key generates the address. And, I must do it offline. Correct?

There are different ways of doing it. 

1) Since you've already sent the small amount of Bitcoins, you can create a transaction that spend a small amount of Bitcoin to your address. You can spend a fraction of that with a small fee, the confirmation doesn't matter. So long as you can see the transaction on blockexplorer, it's fine.

2) Sign a message with the address. If you can verify it, then it would be fine.

3) Import it into an offline wallet. So long as the wallet allows it to be imported, it should be valid and its perfectly safe. Which is what you've done. Well-known and working wallet have sanity checks on your private key which prevents those which aren't working to be imported.

Thanks for the options. The second one seems somewhat sophisticated. I ll check it out, but it looks tricky to do it totally offline, since I don't know which tools I must use.
1052  Bitcoin / Bitcoin Technical Support / Verify ownership of keys for paper wallet on: August 02, 2023, 12:29:54 PM
Hello. I have seen many people (mainly early bitcoiners) that own keys in the form of paper wallets.

Most paper wallet generators provide the user with a private key and an address.

For educational purposes I have developed an app in java that generates  paper wallets. I have run it multiple times offline and I have tested it in Bitcoin's testnet. The way I tested it was just sending test money to the address and then recovering the wallet in Electrum, Sparrow and BlueWallet using the private key.

Although I am happy with what I have done, I needed to recover my wallet and be connected to the internet. Before sending REAL money to the generated address, I need to verify I can access it using my private key. But how can I do it in a safe and private way? Preferably offline.
1053  Bitcoin / Bitcoin Technical Support / Re: I thought I would never get hacked... on: July 31, 2023, 09:43:13 PM
I only kept the amount of money I was "comfortable" losing.  It is definetely true that I made multiple mistakes. In fact, I used to have hot wallets before, but I have never done any of these mistakes. And now, I made them all at the same time.

Quote
I thought I would never get hacked...

There is a good saying that I have heard countless times in American movies that says "assumption is the mother of all fuc*ups", and if you think that something can't happen to you (and it happens to a lot of people every day), then you already have a big problem at the start.

Feeling comfortable and at the same time convinced that you are untouchable is a very dangerous combination.


I don't really get your point though. The reason I lost money is because I screwed up. You are saying I have a problem. But in fact I have no problem at all. I will learn from my mistakes and everything will be alright.
1054  Bitcoin / Electrum / Re: A Feature in electrum wallet on: July 31, 2023, 09:37:21 AM
is there any way I can check if my wallet is already compromised or not?

I have been somehow compromised lately. Here is the topic if you feel like checking it: https://bitcointalk.org/index.php?topic=5461230.0

There is no way to tell if your wallet is compromised.

If you have second thoughts for some reason, I suggest you take immediate action sending your funds to another wallet that you own. Personally I also performed a factory reset on my phone.
1055  Bitcoin / Bitcoin Technical Support / Re: I thought I would never get hacked... on: July 31, 2023, 09:05:47 AM
I'm not entirely convinced that here the Android phone and the Swiftkey app are the main problem. The OP did some other bad things that he should avoid in the future.
  • He handled recovery words on an online device outside of the original app (Bluewallet). Recovery words were fed into another wallet app. Don't do that on online/hot devices, period!
  • He used 3rd party keyboard apps for entry of sensitive data. We agree, that's bad and should be meticulously avoided as you have no control whatsoever where your entry data diffuses to.
  • He might have taken digital pictures of his recovery secrets. I don't know that, it was not talked about this. Of course, avoid this ever, too!

Recovery words are supposed to be backed up analog only, ie. paper or stamped in metal or similar analog and secure storage.
Maybe there's that went wrong, we don't know.

I can feel your pain. I would be totally pissed if that would happen to me even for the smallest amount that I would ever keep on a mobile phone wallet. I consider mobile phones as completely unsecure simply because a user does a hell of his internet shit on a mobile phone, install maybe questionable apps on it and just don't have much clue about security of such devices, not to mention the questionable update status of most Android devices once they get older.

I only kept the amount of money I was "comfortable" losing.  It is definetely true that I made multiple mistakes. In fact, I used to have hot wallets before, but I have never done any of these mistakes. And now, I made them all at the same time.

Well, it depends. If you coinjoin them and then store the xpubs of your new outputs insecurely again, then you will be back at square one.

Definetely true. I have decided to monitor my wallet on my Sparrow desktop app only. I will keep only one device to monitor my wallet. I will avoid using wallets on my mobile phone, except for Zeus wallet which is connected to my lightning node.
1056  Other / Archival / AntMiner KS3 on: July 30, 2023, 04:35:04 PM
Hey all. I am absolutely new to mining.

I found this, as I was looking for a miner to buy.

https://www.asicminervalue.com/miners/bitmain/antminer-ks3-8-3th

The expected profit is huge. So, can you tell me where the catch is?


Edit: there is a disclaimer that profit will drop after the first batch
Edit: Please Ignore and dont post in this thread. Mods please delete it. Thanks
1057  Bitcoin / Bitcoin Technical Support / Re: I thought I would never get hacked... on: July 30, 2023, 04:02:35 PM
F*CK! I am so stupid... Anyway, what has been done, has been done. I will only use desktop wallets.

If you think that you will be safer that way, it seems that you have not realized how risky it is to store sensitive information, regardless of whether it is a smartphone or a desktop computer. When it comes to a desktop computer, you can also very easily expose your seed if you enter it in another wallet and you have a keylogger on that device.

Devices on which you store private keys should be isolated from all possible risks arising from your daily activities, which means that you need a hardware wallet or an airgapped device. Even then, you should always be on your guard, because being your own bank means you need to be on the lookout for thieves, whether they're online hackers or bad guys in the real world.

Thanks, but as I said above, I have 99% of my sats in cold storage and the systems I use don't store anything in memory. As soon as the device is turned off it erases everything it has in memory
1058  Bitcoin / Bitcoin Technical Support / Re: I thought I would never get hacked... on: July 30, 2023, 12:36:45 PM
if my phone is compromised they could spy on my wallet. Do you suggest I should create a brand new multisig vault and send my funds there?
That depends on your personal preference for privacy. But even if you move the funds, if they know your current public keys they can follow the money trail.

Yes, except if I coinjoin them.
1059  Bitcoin / Bitcoin Technical Support / Re: I thought I would never get hacked... on: July 30, 2023, 09:40:57 AM
So today I will factory reset my phone. One question though. I have my xpubs for my multisig vault in my phones storage. Even though nobody can steal my money, if my phone is compromised they could spy on my wallet. Do you suggest I should create a brand new multisig vault and send my funds there?
1060  Bitcoin / Bitcoin Technical Support / Re: I thought I would never get hacked... on: July 28, 2023, 05:57:02 PM

Sorry about your loss. I hope you will soon find peace of mind.

From what I have read, I cannot tell you where you were not careful enough or how you could have stopped this from happening but I doubt it had nothing to do with 12 word or 24 word seed phrases. Although we all recommend you use 24 word, I doubt somebody brute-forced your seed phrase. I think what happened is that you might have a virus on your device or you stored your seed phrase in an unsafe way and somebody might stolen it without you noticing.

Best thing to do now is to get familiar with wallet security practices. OPSEC!

Thanks for the kind words
I am much better. As I said it wasnt the amount I lost. It was the fact that I wasn't careful enough.

You say you use Bluewallet, is it the android or iOS version (if applicable)? And where did you install it from, in the case of Android?

There are many 0-day vulnerabilities targeting older mobile OSes and it is possible that you were hacked with one of those.

It is android version 12 and I downloaded the app from the playstore.


What was the reason for your choice of Bluewallet and not Electrum? Of course, this will not change anything, and most likely it would not have changed even before hacking, because the malicious program would certainly have stolen from the electrum wallet as well. In your situation, only hardware wallet could save the contents or the multi-sig.

Hello. I own a multisig vault, created with offline hardware wallets. I also own cold storage where I also use passphrase. But, like everyone else I also had a hot wallet with some small amount in it. And I lost it. I wanna see what I did wrong and get better. The other two wallets are perfectly safe, technically speaking, as long as I also keep the backups safe.

I chose BW instead of Electrum for no obvious reason. Possibly the simplicity and the minimalistic approach. I have only used it for my hoy wallet though. Not for my other wallets.
Pages: « 1 ... 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 [53] 54 55 56 57 58 59 60 61 62 63 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!