avatars: Update certificate for gravatar.com. Closes #1545

This commit is contained in:
Hylke Bons 2015-10-17 06:19:46 -07:00
parent 05edb0dbf4
commit d95fbf74fc

View file

@ -116,8 +116,9 @@ namespace SparkleShare
// On some systems (mostly Linux) we can't assume the needed certificates are
// available, so we have to check the certificate's SHA-1 fingerprint manually.
//
// Obtained from https://www.gravatar.com/ on May 8 2014 and expires on Oct 14 2015.
string gravatar_cert_fingerprint = "DB3053FD4950A211F8827D7B201E6CA004EBB73F";
// SHA1 fingerprinter obtained from https://www.gravatar.com/ on Oct 16 2015
// Set to expire on Oct 14 2018
string gravatar_cert_fingerprint = "1264B3F00814C6077D3853238771EE67FB6321C9";
if (!certificate2.Thumbprint.Equals (gravatar_cert_fingerprint)) {
SparkleLogger.LogInfo ("Avatars", "Invalid certificate for https://www.gravatar.com/");