Re: Commit signing
- From
Karl Hasselström <kha@treskal.com>
- Date
- Jan 15, 2007, 14:52 UTC
- Message-ID
- <20070115145235.GA1830@diana.vm.bytemark.co.uk>
- In-Reply-To
- <20070115104336.GD12257@spearce.org>
On 2007-01-15 05:43:36 -0500, Shawn O. Pearce wrote:
Show 11 quoted lines
> If you don't trust the owner, but you trust the pusher, than using 1 > annotated tag per push is reasonable and gives you something to > verify the repository owner isn't playing games. If you don't trust > the pusher than you should be reviewing the changes before deciding > to keep them in your project. > > But even then annotated tags are overkill. You could just receive > the commit SHA1 out-of-band from the pusher (e.g. email, like > Junio's hidden X-master-at header) and verify that by hand. 8 digits > is probably more than enough to hand-verify the entire commit chain > you are receiving.
No. You've just constructed a system whose security depends on a 32-bit hash. This is one of those situations where you really do need all the digits.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle