On Wed, Sep 28, 2011 at 07:09:58PM -0400, Ted Ts'o wrote: > On Wed, Sep 28, 2011 at 06:25:43PM -0400, Jeff King wrote: > > [1] This is a minor nit, and probably not worth breaking away from the > > way the rest of the world does it, but it is somewhat silly to sign the > > compressed data. I couldn't care less about the exact bytes in the > > compressed version; what I care about is the actual tar file. The > > compression is just a transport. > > The worry I have is that many users don't check the GPG checksum files > as it is. If they have to decompress the file, and then run gpg to > check the checksum, they might never get around to doing it. It shouldn't really be any more cumbersome. But at the same time, it's different than the way everyone else does it, so any minor convenience we get is probably nullified by simply confusing anybody. I wonder how many people actually check gpg checksums on downloaded files. I don't usually. But I do expect something like a package manager building from upstream source (e.g., freebsd-style ports, or distro packagers pulling a new upstream) to bother to check it. > That being said, I'm not sure I have a good solution. One is to ship > the file without using detached signatures, and ship a foo.tar.gz.gpg > file, and force them to use GPG to unwrap the file before it can be > unpacked. But users would yell and scream if we did that... And rightly so. I mentioned the cost of implementing the mechanism before. If it's just "Junio runs gpg and throws the detached signature up on the ftp site", it's not a big deal. But if it's "you can't download and install git until you have gpg installed", that is raising the bar quite a bit. It should be the recipient's decision how much they want to trust the data. We would just be helping them out by providing more information. -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html