• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

Use SHA-256 Digital Signature

Joined
Aug 4, 2020
Messages
1,665 (0.95/day)
Location
::1
As per the title; SHA-1's been considered obsolete for many a year now; do consider using SHA-256 instead (or dual signatures if SHA-1 remains desireable for legacy™ reasons™)
 
dual signatures are used on the driver files to retain xp compatibility

just signing the exe with sha256 will break the signature validation on several legacy OS configs, not sure what's to be gained here, except more complexity and making things more brittle. modding the gpuz.exe with a trojan and then magically fixing the bytes so that the sha1 signature remains valid seems like something that might happen on tv ..
 
A bit more explanation about different checksums and why thoses can become "obsolete" would be welcome, i know CRC32 can output duplicates, but, idk for MD5, SHA1...
 
A bit more explanation about different checksums and why thoses can become "obsolete" would be welcome, i know CRC32 can output duplicates, but, idk for MD5, SHA1...
Yes, SHA1 has collisions ("duplicates" is the wrong term here, technically). So does MD5. MD5 has for friggin ages actually. I think SHA1's first was in 2017.

Some reading:


 
dual signatures are used on the driver files to retain xp compatibility

just signing the exe with sha256 will break the signature validation on several legacy OS configs, not sure what's to be gained here, except more complexity and making things more brittle. modding the gpuz.exe with a trojan and then magically fixing the bytes so that the sha1 signature remains valid seems like something that might happen on tv ..
even if it's dual-signed w/ both sha-1 and sha-256?
 
A bit more explanation about different checksums and why thoses can become "obsolete" would be welcome, i know CRC32 can output duplicates, but, idk for MD5, SHA1...

SHA and MD5 are so called cryptographic algorithms.

It's not about 'can output duplicates' per se. It's about 'Dedicated Opponent tries to create a duplicates'.

CRC32 won't make a duplicate in the average case and is therefore widely used on trusted networks, like Ethernet packets or IP.

But if you don't trust the communications (ie: a hacker might change something behind our backs), we need a different algorithm.

MD5 has weaknesses that suggests that eventually (with a bit more math), someone could find a hash collision. Same with SHA1.

But both are far more secure than CRC32 / typical use cases. But at that point we should just use CRC32 if we didn't care about a dedicated attacker, because CRC32 is likely sufficient.
 
we should just use
Microsoft makes the rules. This is specifically about being able to load a kernel driver on a Windows machine, to get the Digital Signature populated in the EXE properties and to get it to show "TechPowerUp" when you start it after downloading

1707839303654.png
 
Windows needs SHA1 in digit sign, but can another algorythm be added(so, asecond line) ?.. or is it forbidden/impossible.
 
Yes, a second one can be added, but on some older OS's it can cause trouble, because they don't understand them
 
Back
Top