From: Michael Marley Date: Sat, 23 May 2015 22:17:04 +0000 (-0400) Subject: Use SHA2-512 to store the core certificate digest in the client X-Git-Tag: travis-deploy-test~560^2 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=b876e719cb71557687f789462c6722015d8df769;hp=b876e719cb71557687f789462c6722015d8df769 Use SHA2-512 to store the core certificate digest in the client Previously, MD5 was used. Like the core password hashing update, this implements a versioning system so that the digest will be automagically upgraded without bugging the user. If for some reason the user downgrades again, the client will still work but the user will be asked to validate the certificate again. SHA2-256 is more common for storing certificate digests, but in this case, SHA2-512 was used. This is because Qt4 does not implement any hash higher than SHA1 and a SHA2-512 implementation is already bundled for use with the core password hashing. ---