These are Chainkit's Git Plugins for Git Hardening.
This is our blog post explaining how the hardening mechanism works. In short, it allows you to check if a Git Commit was registered to a blockchain, and you can verify it later.
This project requires you to have the Chainkit CLI to be installed
and configured in the PATH
.
It requires you to set the CKTOKEN
or CKUSER CKPASS
variables correctly.
Then you finally clone this repo, and add it to your PATH
, so that git
can
find these plugins.
git nfetch
git register
git log
commit 1234567689012345678901234567890123456789
Author: Blah Blah <blah@blah.com>
Date: Mon Mar 1 12:34:56 2021 -0500
Your Commit
Notes:
Asset Id: 1234567890123456789, Storage: pencil
git verify
git nsync
- First, fetch existing notes.
git nfetch
- Then parallelize register.
git list | tac | xargs -L1 -P32 git register
- Then parallelize verify.
git list | tac | xargs -L1 -P32 git verify
- Then synchronize.
git nsync
Send any feedback to us. We'd love to hear from you.