cfv-project / cfv

Command-line File Verify
GNU General Public License v2.0
58 stars 10 forks source link

Add support for BLAKE3 (b3sum files) #41

Open jarppiko opened 2 years ago

jarppiko commented 2 years ago

Hello,

Big thanks for reviving the cfv project! I just installed it and it works great Have you considered adding Blake 3 support? It is a very fast hash algo.

My other feature request is an option to update the hash only if the file modify time is later than then checksum file.

Cheers,

J

lxp commented 2 years ago

Do I understand correctly that you want support for the file format used by the b3sum tool? Or do you have some other tool/file format in mind?

jarppiko commented 2 years ago

Yes, I think it is good cfv uses the same file format as the hash algos' native tools. b3sum is the tool for Blake 3.

File format is:

# b3sum Dockerfile
7ba8fab84cfa0af5fcb47881a05e1dc1ca38da96dd044078881f886357d68883  Dockerfile

I have not tried Python blake3 yet.