hashdeep icon indicating copy to clipboard operation
hashdeep copied to clipboard

Size mode doesn't limit to ten digits

Open jessek opened this issue 13 years ago • 6 comments

The md5deep size mode, -z, doesn't limit the size output to ten digits as claimed in the documentation. This behavior was observed on Fedora 17 x86_64 bit running md5deep version 4.3.

Should we remove the size limit restriction? Enforce it?

jessek avatar Mar 19 '13 15:03 jessek

What purpose does it serve?

On Mar 19, 2013, at 11:31 AM, Jesse Kornblum [email protected] wrote:

The md5deep size mode, -z, doesn't limit the size output to ten digits as claimed in the documentation. This behavior was observed on Fedora 17 x86_64 bit running md5deep version 4.3.

Should we remove the size limit restriction? Enforce it?

— Reply to this email directly or view it on GitHub.

simsong avatar Mar 19 '13 21:03 simsong

It was written for programs which, in 2004, used fixed sized offsets to find hashes in each line.

jessek avatar Mar 19 '13 22:03 jessek

Are those programs still in use? On Mar 19, 2013, at 6:12 PM, Jesse Kornblum [email protected] wrote:

It was written for programs which, in 2004, used fixed sized offsets to find hashes in each line.

— Reply to this email directly or view it on GitHub.

simsong avatar Mar 19 '13 22:03 simsong

I don't know.

jessek avatar Mar 19 '13 22:03 jessek

So what should the program do when a size is larger than 10 digits? Throw an exception?

simsong avatar Apr 20 '13 13:04 simsong

I'm not aware of any person or program who is using this feature and is limited to ten digits. Let's remove the ten digit restriction and display the full size. If somebody has a problem we can fix it then depending on their needs.

jessek avatar Apr 20 '13 16:04 jessek