top | item 37877028

(no title)

countermeasure | 2 years ago

Even though I use it every day, I'd never thought of a Git repo as a blockchain before.

But each commit chains to the one before it though, so I suppose it is.

Thanks for this new perspective!

discuss

order

quickthrower2|2 years ago

the hashes do offer some sort of practical security. you can probably configure github to disallow force pushes which means it is now impossible to push something without the new commit being shown to the reviewer. (and peer to peer you can provably configure so you only accept fast forward on a branch)

This means it is harder for an attacker to sneak code into a PR.

It is a minor security piece but all layers of security add up!

gjvc|2 years ago

always glad to be of service