[Mono-bugs] [Bug 388602] Signcode does not sign non-PE files (e.g. MSI, CAB)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 16 10:38:52 EDT 2008


User spouliot at novell.com added comment

Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                                         |Added
            Summary|Signcode does not sign MSI-files                |Signcode does not sign non-PE files (e.g. MSI,
                   |                                                |CAB)

--- Comment #2 from Sebastien Pouliot <spouliot at novell.com>  2008-05-16 08:38:52 MST ---
This is what you'll see if you try to sign a non-PE file in the next version(s)
of mono.

Mono SignCode - version
Sign assemblies and PE files using Authenticode(tm).
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD

System.NotSupportedException: Cannot sign non PE files, e.g. .CAB or .MSI files
(error 3).
  at Mono.Security.Authenticode.AuthenticodeBase.ReadFirstBlock () [0x00000]
  at Mono.Security.Authenticode.AuthenticodeBase.GetHash
(System.Security.Cryptography.HashAlgorithm hash) [0x00000]
  at Mono.Security.Authenticode.AuthenticodeFormatter.Sign (System.String
fileName) [0x00000]
Couldn't sign file 'gendarme-win32-setup.msi'.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list