Skip to content

Conversation

mmatuska
Copy link
Contributor

@mmatuska mmatuska commented Sep 4, 2025

Add option "-c digest" to use any of supported EVP message digests inplace of insecure MD5. This generates checksum files named by the digest by default, e.g .SHA256.CHECKSUMS

For backwards compatibility -m translates to -c md5
The "-M filename" option to rename the checksums file remains untouched

@mmatuska mmatuska force-pushed the evpdigests branch 3 times, most recently from 26e6a73 to 6862fa4 Compare September 4, 2025 06:04
@mmatuska
Copy link
Contributor Author

mmatuska commented Sep 4, 2025

@liweitianux please take look at this proposed change, now it is well readable

@liweitianux
Copy link
Member

Hi @mmatuska, thank you for the updated patch. It looks good. I'll take care of it a bit later, likely the next week.

By the way, I'm wondering why you want it to support digests other than MD5. Are there any real use cases that MD5 is insufficient on your side?

Thanks.

Add option "-c digest" to use any of supported EVP message digests
inplace of insecure MD5. This generates checksum files named by the digest
by default, e.g .SHA256.CHECKSUMS

For backwards compatibility -m translates to -c md5
The "-M filename" option to rename the checksums file remains untouched
@mmatuska
Copy link
Contributor Author

mmatuska commented Sep 4, 2025

I have changed the patch to keep all function and file names to make the reading even simpler.
The change is really small.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants