hashdeep
hashdeep copied to clipboard
hashdeep - verify fails if checking Windows hashes on Linux
Converted from SourceForge issue 3021612, submitted by nobody
If you generate hashes recursively on a Windows (-c md5 -r -l *), it will have the Windows separator which is different from the Linux separator. So if you check these hashes from a Linux system, it will fail to verify saying the file has been moved.
Submitted by jessekornblum
I have been able to reproduce the problem using Win 7 x64 and Mac OS X. Although I'm accepting it as a bug, I'm not sure what to do about it.
I'm running into this problem as well. First I hoped it might help to generate with the -l
flag (store relative paths), but it still results in the file has moved error.
It seems to me that making the output of the tool OS independent is a worthwhile goal. Since on Windows forward-slashes are interpreted as a path separator, I would propose to (optionally) use forward slashes on all platforms for the output of this tool.
Works for me.
Unlikely, because the tool does no conversion of path separators whatsoever.