diff common/binverify.h @ 774:44fa5de02b52

(issue43) Finalize and verify binary verification for linux.
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 11 Jul 2014 16:20:27 +0200
parents 2798f1869eee
children f89b41fa7048
line wrap: on
line diff
--- a/common/binverify.h	Thu Jul 10 19:16:21 2014 +0200
+++ b/common/binverify.h	Fri Jul 11 16:20:27 2014 +0200
@@ -43,10 +43,12 @@
  * embedded PKCS 7 "authenticode" signatures embedded into the
  * file.
  *
- * On Linux the last pattern of \r\nS: (0x0d0a533A) is looked up and
- * afterwards a 3072 Bit Base64 encoded RSA signature is expected.
+ * On Linux the file is epxected to and with the pattern of 
+ * \r\nS: (0x0d0a533A) followed by a 3072 Bit Base64 encoded RSA
+ * signature.
  * The signature is verified against the built in codesigning key in
  * the same certificate that is used for windows verification.
+ * If the pattern is not found the verification fails.
  *
  * @param[in] filename absolute null terminated UTF-8 encoded path to the file.
  * @param[in] name_len length of the filename.

http://wald.intevation.org/projects/trustbridge/