Re:Note the commit hash
by lawl on Sunday April 06, 2014 @06:47PM
(#7543525)
> In the talk about git in 2007, Linus said something about git being secure — that if someone would attempt to alter git history (as in attack that happened at Linux repo before), it would be instantly noticed because of hashes.
> Does this mean that compromising someone's git repo without anyone noticing can actually be done?
No. Brute forcing 4 bytes of the commit hash is something different than brute forcing 20 bytes. Because you know, exponentials.
By the way. That's pretty much what you're doing when you're mining bitcoin.
Edit: added parents comment, because deleted and i see no reason to delete this, others might ask the same question.
> Does this mean that compromising someone's git repo without anyone noticing can actually be done?
No. Brute forcing 4 bytes of the commit hash is something different than brute forcing 20 bytes. Because you know, exponentials.
By the way. That's pretty much what you're doing when you're mining bitcoin.
Edit: added parents comment, because deleted and i see no reason to delete this, others might ask the same question.