Use SHA256 as digest algorithm - Advanced Installer Community
kjullion
Posts: 176
Joined: Mon Nov 11, 2013 9:02 pm

Use SHA256 as digest algorithm

Hi,
We are on AI v11.7 and the Help document there states this regarding "Use SHA256 as digest algorithm":
Be default Advanced Installer uses SHA1 as digest algorithm. Microsoft recommends using SHA256 digest algorithm as they have detected certain scenarios were SHA1 is insecure. However, it is very important to know that packages signed with SHA256 will not have their digital signature recognized on XP and Vista machines, so if you still target XP and Vista machines we recommend using SHA1, i.e. do not enable this option.
but according to this MS Technet blog post http://blogs.technet.com/b/pki/archive/ ... ndows.aspx which states:
Our official support statement is contained within KB 968730:

Windows XP SP3 implements and supports the SHA2 hashing algorithms (SHA256, SHA384, and SHA512) in the X.509 certificate validation. The changes in the certificate validation are meant to enable the scenario of the SSL/TLS authentication. Other scenarios that involve certificate validation may not work if you use certificates that are secured by using the SHA2 algorithms if the protocols and the applications do not support the SHA2 hashing algorithms. For example, the S/MIME signed e-mail verification and the Authenticode signature verification do not support the SHA2 hashing algorithms on a computer that is running Windows XP SP3.
...it would seem that XP does support/understand SHA256 as long as KB 968730 is applied.

Thanks in advance.

Is this just a question of the Help file being a bit outdated perhaps?

Thanks,
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Use SHA256 as digest algorithm

Hello,

First of all I apologize for my delayed answer. We had a release yesterday and we were quite busy lately.

Indeed, accordingly to MS Technet blogs starting with Windows XP SP3 the SHA256 signatures should be recognized. However, since we had several reports from our customers regarding issues about SHA256 signatures not being recognized on XP and Vista machines we don't recommend to use SHA 256 signatures when targeting XP and Vista machines. Also, there is an official Windows Vista issue about SHA-256 signature check failure.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”