[Mono-bugs] [Bug 80924][Wis] Changed - signcode does not prompt for the .pvk password

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Feb 27 02:06:37 EST 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by viraj at linux.lk.

http://bugzilla.ximian.com/show_bug.cgi?id=80924

--- shadow/80924	2007-02-26 11:27:52.000000000 -0500
+++ shadow/80924.tmp.21191	2007-02-27 02:06:37.000000000 -0500
@@ -163,6 +163,36 @@
 and tell me if this works
 
 ------- Additional Comments From sebastien at ximian.com  2007-02-26 11:27 -------
 Created an attachment (id=18786)
 signcode.exe
 
+
+------- Additional Comments From viraj at linux.lk  2007-02-27 02:06 -------
+
+mono signcode.exe -spc myspcfromthawte.spc -v mypvkfromthawte.pvk -n
+"My App -Quick Demo" -t
+http://timestamp.verisign.com/scripts/timstamp.dll quickDemo.exe
+
+it asked for the password.. but another unhandled exception...
+
+
+Unhandled Exception: System.ArgumentException: Invalid contentType
+  at Mono.Security.PKCS7+ContentInfo..ctor (Mono.Security.ASN1 asn1)
+[0x00000]
+  at Mono.Security.PKCS7+ContentInfo..ctor (System.Byte[] data) [0x00000]
+  at Mono.Security.Authenticode.SoftwarePublisherCertificate..ctor
+(System.Byte[] data) [0x00000]
+  at
+Mono.Security.Authenticode.SoftwarePublisherCertificate.CreateFromFile
+(System.String filename) [0x00000]
+  at Mono.Tools.SignCode.GetCertificates (System.String spcfile) [0x00000]
+  at Mono.Tools.SignCode.Main (System.String[] args) [0x00000]
+
+
+then i tried with the 'incorrect' password, it said..
+
+Invalid password!
+No private key available to sign the assembly.
+
+
+~viraj


More information about the mono-bugs mailing list