Author

Topic: Why is not the hash (SHA-256) written to the signature (Read 240 times)

full member
Activity: 161
Merit: 168
"In Electrum's case there aren't many files so it's easier just to sign them directly."
Easier for the users or the developers?

"And FYI if you are advocating for unsigned hashes published on the electrum site"
This is a insinuation that is not true!


"so it's easier just to sign them directly"
That's the point, thanks, I understand.
legendary
Activity: 3710
Merit: 1586
A digital signature is a signed hash of the message. In this case the message being the file you downloaded. So the hash is there it's just that the verification of the signature is automated by gpg so you don't see it.

The reason Core does things the way it does them is because they have lots of different files that they want to sign so they generate sha256sums of all of them and then sign that file of checksums. In Electrum's case there aren't many files so it's easier just to sign them directly. The end result is the same. They are both equally secure. So please just verify the signature.

And FYI if you are advocating for unsigned hashes published on the electrum site then you should know that they only serve to give users a false sense of security. Fake electrum sites can also publish unsigned hashes. They are meaningless.
full member
Activity: 161
Merit: 168
"I would imagine many people would just verify the SHA256 signature alone and not the PGP message and that is no difference from not verifying it."

So do not put the hash in the signature to prevent someone from using the hash easily without checking the signature.
Ok, that's an argument I understand Smiley
However, I personally think that as it is now, most people do without verification altogether.

Edit:
My problem here was the following:

Checking the signature is easily possible.
Checking the file via hash also no problem.

It was not possible to check the file only with the PGP signature without hash.
Even with the instructions it is too heavy and impenetrable
A DOS input is required. At least here, most people will probably give up.
Therefore, checking the hash in the signature would be much easier. So more people would do it that way.

It is also true that people are afraid and want to make sure they are smart and anyway go the right way and will also check the signature.
The others who are reckless will not even do a test.
By withholding the hash in the signature, it is now difficult for people who want to do it right.

legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
If you're going to verify the signature, you would most probably have a program used to verify PGP already downloaded. If you want to verify the SHA256, you first would have to verify the authenticity of the message and then the authenticity of the program.

If you were to just verify the program using the PGP, it would definitely be safe since you would be checking against ThomasV's signature. I would imagine many people would just verify the SHA256 signature alone and not the PGP message and that is no difference from not verifying it.
full member
Activity: 161
Merit: 168
Why is not the hash (SHA-256) written to the signature as it is common with other software?

The SHA-256 is considered safe! Thus the correctness of a software can be clearly examined. If the hash is now in the signature, 1. the authenticity of the signature can be clearly checked and 2. the hash contained therein (SHA-256) can not be forged. Because then the signature would be wrong!

With Bitcon Core and other critical software it's handled the same way, why do you do it differently and make it unnecessarily difficult for new users?

Please write the hash in the signature! There are no reasons not to do it.
Jump to: