Closed chidea closed 7 months ago
What version of b3sum
are you using?
It's the latest stable v1.5.0 and the environment is Windows 11 Pro pwsh. Here's log.
> printf '02cdd6085789ac73e03705eea8cf8de66bac841726d392e2e0ab66561dfb1a7c main.rs' | b3sum -c
main.rs: OK
> printf '02cdd6085789ac73e03705eea8cf8de66bac841726d392e2e0ab66561dfb1a7c main.rs' | b3sum -c
b3sum: Invalid space
b3sum: WARNING: 1 computed checksum did NOT match
> b3sum -V
b3sum 1.5.0
This line of code is the root of problem. https://github.com/BLAKE3-team/BLAKE3/blob/7ce2aa41e9f01a91c3b309a7bf5e86b4136ed8a9/b3sum/src/main.rs#L349
@chidea is this still an issue after #22?
As long as it's merged to the main branch, I think the point has been made. Thanks for sharing a great project!
Yeah, no worries. Glad you liked it!
b3sum -c
fails when there is only one space between checksum and filename.