Comments (8)
Are you using the latest version of libkeccak, does rolling back to the previous version of libkeccak change anything? How big is the file, and how big is the I/O block size?
from sha3sum.
Arch Linux is a rolling distro so is very up to date usually.
sha3sum is 1.2.1
libkeccak is 1.3
I rolled back to 1.2.2 of libkeccak and the problem is no longer there. The sha3sum is correct for the file wherever it is located.
The sqlite tar file is 2.9MiB and the bacula tar file is 4.0MiB
I will also do a test with a much smaller file and see if there is a difference and find out what the I/O block sizes are for the files evaluated.
Rolling back to the previous version of libkeccak is a working solution for me until the issue is solved.
from sha3sum.
I am not sure if I have found what you were asking for with the I/O Block Size but after googling, I have run the stat command on the file.
On the same partition as I was working on that gave the correct sha3 hash the IO Block number was 4096
On the nfs mounted fileserver (running on a raid array) the number was 262144
from sha3sum.
I forgot to mention in the last post that the partition I was working on that gave the correct sha3 hash is also a raid array, so both locations are raid array based.
from sha3sum.
Great, then I'm rather sure where the problem is located. I'll get back to you when I've looked at it.
from sha3sum.
I installed the 1.3 version of libkeccak again and ran the test on different file sizes.
The same different sha3sum occurred with files of 1016.5KiB and 158.5KiB but with a file of 2.7KiB the sha3sum was the same for the file in both locations.
from sha3sum.
I'm certain it is fixed now, would you mind checking with the lasted commit to libkeccak?
from sha3sum.
Sorry for delay but I was a bit busy today.
Just patched the source and installed it using the Arch Linux Build System and tested it out on the sqlite package and now I get the same sha3-256sum as they have on the sqlite website.
Thanks very much. Marking this issue as closed. Look forward to it ending up in the Arch Linux system but the patched version works so no problems any more for me.
from sha3sum.
Related Issues (20)
- C: “sha3sum -h” doesn't show help text HOT 1
- sha3 and output HOT 8
- Testing HOT 2
- Compilation error HOT 3
- compile error
- Compiler error: 'libkeccak.h' file not found HOT 17
- unescaped error texman
- libkeccak.so.1 error HOT 2
- Unable to make HOT 3
- the result is true ?
- Get different hash with special char HOT 3
- Is there any SHA3 apps for android? HOT 1
- sha3sum 1.2 osx build issue HOT 3
- compilation howto? HOT 3
- package now available for QNAP NAS
- Wrong hashes? HOT 6
- Private key
- *** buffer overflow detected ***: terminated with GCC 12 and -D_FORTIFY_SOURCE=3 HOT 3
- Add Animation/Debug For Learning The Hashes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sha3sum.