Issue with sha512sum-Pass property.

Discussion related to "Everything" 1.5 Alpha.
Post Reply
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Issue with sha512sum-Pass property.

Post by raccoon »

I'd like to try performing spot checks on some hash digests to verify integrity, using the sha512sum-Pass property. However, when evoking and sorting this column, it just gets stuck on Querying and even becomes unresponsive when closed (but process is still running) so that a new window won't open.

I've tried it by hand, adding columns, and I've tried it by the search syntax equivalent below.

"E:\" video: randomize: count:10 add-column:sha512sum-sha512;sha512sum-pass sort:sha512sum-sha512;sha512sum-pass
therube
Posts: 4979
Joined: Thu Sep 03, 2009 6:48 pm

Re: Issue with sha512sum-Pass property.

Post by therube »

Explain further ?

I can get sha1sum-Pass, sha256sum-Pass... but I'm not getting anything for sha512sum-Pass ?

You've created your sha512's, how? voidhash?
And named the output file something like, filename.sha512 ?

And with the sha512sum Pass column displaying (I see no results returned)?


Other then your tested command line/files, have you tested on a small set of small "basic" files, to see if Everything still goes busy?


---


And it gets odd.
voidhash -sha512 .

Gives me hash.sha512.
5 file listed in that file, yet only 2 show in the 'Pass' column (as Yes).

Though the hashes are correct.


Maybe these 'Pass' columns (regardless of "hash") are not working correctly?
Or maybe they are not being refreshed, or something definitely odd, not returning results (perhaps - but then I'm not really sure just how it's intended to work?).
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Issue with sha512sum-Pass property.

Post by raccoon »

I'm using the standard sha512 digest format (without the size mod) and the values are correctly displayed in the sha512sum-sha512 column, when not using the -Pass column. There is a side effect of using the -Pass column that only the first file's -sha512 column is populated and the operation freezes as it attempts to register the -Pass column.

I don't really know what else to explain. I have not had any successes with the -Pass column. I could just use the "SHA512" column and then compare the results against sha512sum-sha512 using nocase:prop:==prop:, but a bug is a bug worth reporting.

I think the intended purpose is that Everything will (eventually) cache "SHA512" for the long haul, while destroying "Pass" after each session.
void
Developer
Posts: 16756
Joined: Fri Oct 16, 2009 11:31 pm

Re: Issue with sha512sum-Pass property.

Post by void »

Thank you for the issue report raccoon,

Everything currently doesn't use existing sha512 cache for sha512sum-Pass.

Everything reads the content from disk and the .sha512 file.
Pass is set to Yes if the sha512 hashes match. Otherwise, pass is set to No.

It will take a long time to read the content.
Everything only checks for a terminate flag on each file.
It may take Everything several minutes to detect you want to cancel the operation.
I have on my TODO list to check the terminate flag more often.


I will look into using the existing sha512 cache for sha512sum-pass.


If Everything doesn't respond after a minute, could you please send a mini crash dump to support@voidtools.com


5 file listed in that file, yet only 2 show in the 'Pass' column (as Yes).
You may need to hit F5 to update Everythings cache.
Changes to the .sha512 file will not update the sha512sum-pass value in real-time.
Post Reply