Bitcoin Forum
June 24, 2024, 10:53:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Where does verifying the signature help?  (Read 363 times)
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1554
Merit: 7614


Protocols over bureaucrats


View Profile
August 11, 2020, 01:51:23 PM
 #1

In electrum.org it says that hackers can hack the site and replace their own software that hides malicious code in the electrum software.

It says that we have to verify the signature of electrum.org, in order to be sure that the software was not compromised. Now I'm asking, why are we 100% sure that they can't change his signature too? Also, by that tutorial of how to verify electrum I don't get why should I trust gpg4win.org, couldn't this site get compromised as well?

And a bigger question, how exactly can you compromise a site?? Is this possible? Does google.com differs from electrum.org?

Anyway, back to the point, I have reset my windows 10 laptop. I've downloaded from another laptop electrum-4.0.2-setup.exe and then I transfered it to a usb. The clear laptop (the one I reset) is not internet connected and it'll never be. I've verified the signature (same way, downloaded to my old laptop and transfered the file with a usb).

Is this a purely cold storage? Can I buy a thousands bitcoins now without having the fear of losing my coins?

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
August 11, 2020, 03:14:27 PM
 #2

The idea of using gpg verification is offering that extra bit of security. When you first download the key sure it may be compromised but surely people would notice? You cam also generally save a key pair for verification at a later stage.

Also keys should be staked in different places - the github, potentially tomasv's account here, the site and some directories. Sites can be compromised, it's just a case of hacking the dns or social engineering with the registrar.

If the computer is staying offline then yes it is effectively cold storage. The only way you'll lose your funds if it has been verified is if you lose the seed.
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1554
Merit: 7614


Protocols over bureaucrats


View Profile
August 11, 2020, 03:25:28 PM
 #3

Quote
If the computer is staying offline then yes it is effectively cold storage. The only way you'll lose your funds if it has been verified is if you lose the seed.

I'm gonna be a little paranoid, but I didn't format the laptop. I just reset it from the Reset button of windows 10. Whole reset tho. Deleted the entire system. Is there any possibility to... you know... have generated addresses by hackers of the previous system? I've read that files remain on hard drive, even on format.

I'm not using seed. I've just packed some thousands of addresses plus their private keys. Honestly, I'm not using seeds for one reason. I have not understood how they work (and I find them pretty less secure). Hence, I'm not touching them.



.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
August 11, 2020, 05:48:40 PM
 #4

In electrum.org it says that hackers can hack the site and replace their own software that hides malicious code in the electrum software.

It says that we have to verify the signature of electrum.org, in order to be sure that the software was not compromised. Now I'm asking, why are we 100% sure that they can't change his signature too?

It is possible.
But an attacker would have to compromise 1) the website/server and 2) the PGP key which is (hopefully) stored securely offline.

It simply adds another layer of protection.


And a bigger question, how exactly can you compromise a site?? Is this possible? Does google.com differs from electrum.org?

Yes, it is.
By compromising the server.

Yes, those sites differ.
One is a multi billion dollar company, the other is an open source project.


Is this a purely cold storage? Can I buy a thousands bitcoins now without having the fear of losing my coins?

If your PC never goes online, yes it is cold storage.
There is always a possibility of losing coins. For example by getting malware to your cold storage PC via USB and transferring the private keys out via the USB and the online PC.

Nothing is 100% secure.

hugeblack
Legendary
*
Offline Offline

Activity: 2548
Merit: 3777


View Profile WWW
August 11, 2020, 06:32:27 PM
 #5

The short answer is if you cannot verify every line of the code, then you must trust the developers. Verify signature gives you an opportunity to make sure (Not 100%), that the code was signed by the real developer and not scam.
You can verify the signature using several programs, and hacking a site like electrum.org will not pass without making a fuss but again, unless you can read every line in soruce code, you must trust dev.

Cold storage is simply that private keys/wallet seed are created in an environment that does not and will not connect to the Internet, so if the device connects at any moment to the Internet, it will not be considered a cold storage.



BTW: I am currently studying a subject related to probability, but in an advanced way, so if I find some time, I will create some chart for you to the possibility of losing your money if electrum.org hacked, wallet bugs, gpg4win.org, and all of them.
Abdussamad
Legendary
*
Offline Offline

Activity: 3640
Merit: 1571



View Profile
August 11, 2020, 07:25:23 PM
 #6

In electrum.org it says that hackers can hack the site and replace their own software that hides malicious code in the electrum software.

It says that we have to verify the signature of electrum.org, in order to be sure that the software was not compromised. Now I'm asking, why are we 100% sure that they can't change his signature too? Also, by that tutorial of how to verify electrum I don't get why should I trust gpg4win.org, couldn't this site get compromised as well?

And a bigger question, how exactly can you compromise a site?? Is this possible? Does google.com differs from electrum.org?

Anyway, back to the point, I have reset my windows 10 laptop. I've downloaded from another laptop electrum-4.0.2-setup.exe and then I transfered it to a usb. The clear laptop (the one I reset) is not internet connected and it'll never be. I've verified the signature (same way, downloaded to my old laptop and transfered the file with a usb).

Is this a purely cold storage? Can I buy a thousands bitcoins now without having the fear of losing my coins?

digital signatures that are modified are no longer valid. they will not verify.

gpg4win provides an easy to use gui frontend to gnu privacy guard on windows. its releases are also gpg signed so you can verify them. there are alternative software that you can use gpg itself or kleopatra which is cross platform.

Abdussamad
Legendary
*
Offline Offline

Activity: 3640
Merit: 1571



View Profile
August 11, 2020, 07:27:01 PM
 #7

In electrum.org it says that hackers can hack the site and replace their own software that hides malicious code in the electrum software.

It says that we have to verify the signature of electrum.org, in order to be sure that the software was not compromised. Now I'm asking, why are we 100% sure that they can't change his signature too? Also, by that tutorial of how to verify electrum I don't get why should I trust gpg4win.org, couldn't this site get compromised as well?

And a bigger question, how exactly can you compromise a site?? Is this possible? Does google.com differs from electrum.org?

Anyway, back to the point, I have reset my windows 10 laptop. I've downloaded from another laptop electrum-4.0.2-setup.exe and then I transfered it to a usb. The clear laptop (the one I reset) is not internet connected and it'll never be. I've verified the signature (same way, downloaded to my old laptop and transfered the file with a usb).

Is this a purely cold storage? Can I buy a thousands bitcoins now without having the fear of losing my coins?

digital signatures that are modified are no longer valid. they will not verify.

gpg4win provides an easy to use gui frontend to gnu privacy guard on windows. its releases are also gpg signed so you can verify them. there are alternative software that you can use gpg itself or kleopatra which is cross platform.



Quote
Is this a purely cold storage? Can I buy a thousands bitcoins now without having the fear of losing my coins?

yep
target
Legendary
*
Offline Offline

Activity: 2282
Merit: 1041


View Profile
August 11, 2020, 07:39:18 PM
 #8



I have not tried recovering coins from a wallet installed in windows but so far base on what I've read is that you also need to keep the .dat file upon recovering. This is in case your computer mysteriously just died. Recovering will need your private key and seed and the .dat file, maybe just keep them all for to make sure yo ucan recover your wallet.

Signature is for checking whether the downloaded file isn't corrupted and the correct file. If the server is hacked then you could be downloading the different file.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
August 11, 2020, 10:13:56 PM
 #9

I'm not using seed. I've just packed some thousands of addresses plus their private keys. Honestly, I'm not using seeds for one reason. I have not understood how they work (and I find them pretty less secure). Hence, I'm not touching them.
I'm not sure why you consider one "very large randomly generated" number any less secure than 1000 "very large randomly generated" numbers... Huh

A seed is basically just another "private key"... For a deterministic wallet, it's the starting point for deriving all your other private keys... such that you will be able to recover all of your private keys, knowing just the seed. It makes backups ridiculously easy and means you only need to secure 1 thing... instead of 1000 things... which makes it a lot easier to create an "offline" backup that is non-digital and can be stored in "permanent" media (like paper, stamped into metal etc)

Whereas, for a non-deterministic wallet, if you lose your private keys, they're gone... you'll never be able to recreate them in a billion years of trying... and writing/printing out thousands of keys is a nightmare! Nevermind trying to recover from those backups! Your only real option would be "digital" backups of wallet files and such.


So, what is it exactly that you don't understand about seeds? Huh ... and why do you consider them "less secure"? Huh

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


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

Activity: 3486
Merit: 10666



View Profile
August 12, 2020, 03:17:50 AM
 #10

I'm not using seed. I've just packed some thousands of addresses plus their private keys. Honestly, I'm not using seeds for one reason. I have not understood how they work (and I find them pretty less secure). Hence, I'm not touching them.

that makes no sense. if i am not mistaken, based on your other topic you have created these "thousands of addresses" using Electrum and seed(s) so you are using it just making things that much more difficult for yourself. specifically since you can not recover any of these addresses since they are not deterministic and you don't seem to have the back up of the seed(s) stored.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1554
Merit: 7614


Protocols over bureaucrats


View Profile
August 12, 2020, 06:16:51 AM
 #11

How exactly can one seed save a thousand addresses? It can only 30 as I know.

Secondly, as I said, I'm not using it because it's unknown technology for me. I'm saving the private keys inside rars with very strong passwords  in safe places. I don't have to worry about anything.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
hosseinimr93
Legendary
*
Online Online

Activity: 2436
Merit: 5401



View Profile
August 12, 2020, 08:16:05 AM
 #12

How exactly can one seed save a thousand addresses? It can only 30 as I know.
Any seed phrase can generate millions of addresses.
If you see only 30 addresses in your wallet, that's how your wallet works.

You can test this using iancoleman.
Generate a seed phrase and then click on "more rows" at bottom of addresses shown.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18588


View Profile
August 12, 2020, 09:31:07 AM
Merited by ABCbits (1), HCP (1)
 #13

How exactly can one seed save a thousand addresses? It can only 30 as I know.
You should read this: https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch05.asciidoc

Put simply, your seed phrase (plus any additional passphrase you might use) is converted in to a 512 bit number using a hash function. This number is hashed again to produce your "master private key". This master private key can be combined with an a 32 bit index number* and hashed again to create around 4.3 billion different child private keys. These private keys can be used to create addresses, or they can also be hashed with an index number to create 4.3 billion more keys each, and so on, and so on. The derivation paths you see used, for example, m/44'/0'/0'/0/0, tell you the index numbers used at each level of hashing to reach the final private key.

If you want to create more than 30 addresses in Electrum, then go the Console tab and enter the following to create 100 more:

Code:
[wallet.create_new_address(False) for i in range(100)]

Secondly, as I said, I'm not using it because it's unknown technology for me. I'm saving the private keys inside rars with very strong passwords  in safe places. I don't have to worry about anything.
You definitely need to worry. Creating a RAR file doesn't mean it is automatically encrypted, and even if it is encrypted, it may be done so insecurely. It all depends on the software you are using. To add the keys to the RAR file, they must first exist on your computer in unprotected plain text, which is a massive risk. If your password is something you have thought up and can remember, then it isn't secure enough.

There is a reason that every good wallet and every knowledgeable user tells you to store your seed phrase on paper. Your own system is far inferior.



*For anyone about to correct me, I know it is the public key and not the private key that is hashed in unhardened derivation, and I know there is also the chain code, and I know the 4.3 billion is for unhardened and hardened keys combined, but in the interests of keeping things simple I glossed over all that.
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1554
Merit: 7614


Protocols over bureaucrats


View Profile
August 12, 2020, 10:10:44 AM
 #14

Quote
You definitely need to worry. Creating a RAR file doesn't mean it is automatically encrypted, and even if it is encrypted, it may be done so insecurely. It all depends on the software you are using. To add the keys to the RAR file, they must first exist on your computer in unprotected plain text, which is a massive risk. If your password is something you have thought up and can remember, then it isn't secure enough.

There is a reason that every good wallet and every knowledgeable user tells you to store your seed phrase on paper. Your own system is far inferior.

Why do I definitely have to worry? I'm using winrar to create an encrypted rar with the private keys on non internet connected computer.

How exactly can you crack a rar without brute forcing it?

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18588


View Profile
August 12, 2020, 10:34:46 AM
 #15

I'm using winrar to create an encrypted rar with the private keys on non internet connected computer.
Is the computer permanently airgapped, or have you just unplugged the internet cable? Have you used a clean OS? Once you've created the encrypted file, are you wiping the plain text keys from your hard drive (and I mean actually wiping them by writing over the memory regions with random data, not just deleting the file they are stored in).

How exactly can you crack a rar without brute forcing it?
If you've used AES-256, then yes, mostly likely an attacker would need to brute force it. Did you pick a password yourself, or did you use an open source password manager to generate a long and random password for you? How are you storing this password separately from the RAR files? How are you backing up this password?

No security system is ever 100% safe, but you are introducing a lot of extra unknowns and a lot of unnecessary risk.
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
August 12, 2020, 11:39:05 AM
Merited by o_e_l_e_o (2), ABCbits (1)
 #16

How exactly can you crack a rar without brute forcing it?

By attacking the (poorly implemented) crypto, for example.

WinRAR was vulnerable for a very long time because they always used the same IV.
Such an encrypted archive could have been decrypted by anyone in less than a minute.

Meanwhile, this vulnerability has been fixed.
But given the fact that this vulnerability was present for a very long time and is incredibly severe, i wouldn't be surprised if there were more mistakes in the implementation.

BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1554
Merit: 7614


Protocols over bureaucrats


View Profile
August 12, 2020, 03:11:21 PM
 #17

Is the computer permanently airgapped, or have you just unplugged the internet cable? Have you used a clean OS? Once you've created the encrypted file, are you wiping the plain text keys from your hard drive (and I mean actually wiping them by writing over the memory regions with random data, not just deleting the file they are stored in).

I have no cable to unplug it. I just haven't connected to any wifi. Yes I have clean OS. As I said, I reset the machine. Why should I wipe them from the cold storage? No one will ever open the laptop again. It will remain closed. Only I can open it, in special occations.

If you've used AES-256, then yes, mostly likely an attacker would need to brute force it. Did you pick a password yourself, or did you use an open source password manager to generate a long and random password for you? How are you storing this password separately from the RAR files? How are you backing up this password?

No security system is ever 100% safe, but you are introducing a lot of extra unknowns and a lot of unnecessary risk.

I did not use a password from an open source password generator, because I had to write it down on a paper which I may lose. I thought of a password that I've never used before and it's very strong. I can memorise it.

How exactly can you crack a rar without brute forcing it?

By attacking the (poorly implemented) crypto, for example.

WinRAR was vulnerable for a very long time because they always used the same IV.
Such an encrypted archive could have been decrypted by anyone in less than a minute.

Meanwhile, this vulnerability has been fixed.
But given the fact that this vulnerability was present for a very long time and is incredibly severe, i wouldn't be surprised if there were more mistakes in the implementation.

So you call rars... weak?

_______________

An on topic point of this discussion. One big negative from bitcoin. You've got to be secure AF.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18588


View Profile
August 12, 2020, 06:33:01 PM
 #18

Why should I wipe them from the cold storage? No one will ever open the laptop again.
You're sure about that? If that laptop gets stolen, then an attacker could recover your private keys without too much hassle.

I thought of a password that I've never used before and it's very strong. I can memorise it.
If you can memorise it, it's likely not strong enough. If you thought it up yourself, then it definitely isn't random enough.

One big negative from bitcoin. You've got to be secure AF.
You are making it far harder than it needs to be. Write your seed on a piece of paper. Keep that paper secure. For added protection also use one or more passphrases and write those on different pieces of paper.
pooya87
Legendary
*
Offline Offline

Activity: 3486
Merit: 10666



View Profile
August 13, 2020, 04:13:24 AM
 #19

Secondly, as I said, I'm not using it because it's unknown technology for me. I'm saving the private keys inside rars with very strong passwords  in safe places. I don't have to worry about anything.

so does this mean that "rar" technology and the encryption used by whatever software you are using is a "known technology" to you that you decided to trust that and can not trust the Electrum seed creation process and the BIP32 key derivation function?

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
BlackHatCoiner (OP)
Legendary
*
Offline Offline

Activity: 1554
Merit: 7614


Protocols over bureaucrats


View Profile
August 13, 2020, 05:57:50 AM
 #20

Can one of you give me a topic so I can understand how seed works and why it can't be brute forced?

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1] 2 »  All
  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!