Skip to content

damonzwicker/verafile

Repository files navigation

VeraFile

Replace manual checksum verification with one command.

npx verafile verify file proof.json

→ VALID

replaces: shasum -a 256 file + manual comparison

Instead of asking users to run shasum and manually compare hashes, VeraFile returns a clear result:

  • VALID if the file matches
  • INVALID if even one byte changes

Same checksum model. No manual comparison.


Try to break it

echo change >> example.txt npx verafile verify example.txt example.proof.json


Create your own proof

echo data > test.txt shasum -a 256 test.txt

Create test.proof.json:

{ "hash": "0x<PASTE_HASH>" }

Verify:

npx verafile verify test.txt test.proof.json

About

Verify a file from its proof in one command.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors