Topic: SHA512 vs SHA256
Do to the way signatures are created, and the signing algorithm used (either RSA or DSA), SHA512 may not be better than SHA256. Let me explain:
To use any algorithm above SHA1 (which is a 160 bits hash), you need to have a DSA2 or RSA signing key generated. Old DSA style keys will always default to SHA1.
Second:
Due to the FIPS specification, even DSA2 key are limited to 256 bit hashes.
Ive tried to explain some of the misconceptions here in this unfinished work.
http://ubuntuforums.org/showthread.php?t=687173
Although this work could be updated know that RSA is preferred over DSA, the principles discussed in this work still hold. I encourage everyone seriously using GnuPG to take a look at this work. It took me days to find and confirm this information with the GnuPG mailing list. I wanted to take principles and examples I had seen vaguely discussed and distill them down to a level which everyone could understand.