-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect hash type auto-detection when checking hashes #226
Comments
The same happens with:
1st and 3rd command lines achieve 430 MB/s, 2nd command line only 36 MB/s |
Hello. I can't reproduce the bug with the latest version from the master branch. To simplify testing, I've added the feature 9a6c70c to print all the hash functions being calculated on the very verbose (-vv) log level: rhash -vvc manjaro-kde-22.0.1-230124-linux61.iso.sha1
--( Verifying manjaro-kde-22.0.1-230124-linux61.iso.sha1 )----------------------
Calculating: SHA1
manjaro-kde-22.0.1-230124-linux61.iso OK
--------------------------------------------------------------------------------
Everything OK |
I just did a fresh installation of MSYS2 on Windows 11, installed the git clone https://github.com/rhash/RHash.git
cd RHash
./configure --enable-static --disable-gettext --enable-openssl
make Then I switched to a C:\Users\me\Downloads>C:\msys64\home\me\RHash\rhash.exe --percents --speed -vvc manjaro-xfce-22.0.3-230213-linux61.iso.sha512
--( Verifying manjaro-xfce-22.0.3-230213-linux61.iso.sha512 )-------------------
Calculating: WHIRLPOOL, GOST12-512, SHA-512, EDON-R512, SHA3-512, BLAKE2B
manjaro-xfce-22.0.3-230213-linux61.iso OK
Calculated in 95,705 sec, 40,24 MBps
--------------------------------------------------------------------------------
|
This bug happens with RHash 1.4.3 and with the lastest GitHub version, both on Windows and Linux.
Contents of
manjaro-kde-22.0.1-230124-linux61.iso.sha1
:Executed shell commands:
rhash
only calculates the SHA1 hash since it is specified on the shell (speed 1.1 GB/s)rhash
calculates the hash of every supported 160-bit hash simultaneously (speed 170 MB/s)rhash
auto-detects the hash and only calculates SHA1, even if not specified on the shell (speed 1.1 GB/s)The contents of the
*.sha1
file stay the same, only its name changes.The text was updated successfully, but these errors were encountered: