3 ms·
If a git clone from github fails, I can still git clone from the last production machine I successfully cloned to. But this would be no different than curl -o i
by pritambaral 12y ago
If a git clone from github fails, I can still git clone from the last production machine I successfully cloned to. But this would be no different than curl -o installer.sh; rsync installer.sh; ssh remote@server 'sh installer.sh';
Mismatched SHA-1s are only noticeable when you have one to compare against. A git clone is always fresh, so if the attacker rewrote history, you'd not be warned.