Go to file
Jeffrey Paul 0e3a914ea0 getting toward release 2019-10-03 06:01:13 -07:00
.dockerignore getting toward release 2019-10-03 06:01:13 -07:00
.gitignore initial 2019-09-05 14:14:53 +02:00
Dockerfile getting toward release 2019-10-03 06:01:13 -07:00
Makefile getting toward release 2019-10-03 06:01:13 -07:00
README.md getting toward release 2019-10-03 06:01:13 -07:00
main.go seems to work now! needs more features 2019-10-03 05:43:02 -07:00

README.md

xsum

This stores a file mtime, a size, and a cryptographically secure content checksum in an xattr, so that you can verify that your files aren't corrupted on filesystems that are dumb and don't include data checksums (e.g. apfs)

background

You can dd a few random bytes into the middle of an hfs+ or apfs filesystem, and, if they land in file data, an fsck/Disk First Aid on the filesystem will pass with flying colors. There is no file content checksum.

todo

  • recurse into directories
  • more parallelism

author

Jeffrey Paul sneak@sneak.berlin