Most probably a bug. What's the size of your Testing.snk file ?
Please fill a bug into bugzilla. I'll look into it ASAP. Sebastien Pouliot Security Architect, Motus Technologies, http://www.motus.com work: [EMAIL PROTECTED] home: [EMAIL PROTECTED] blog: http://pages.infinit.net/ctech/poupou.html -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of George Kodinov Sent: 30 octobre 2003 04:29 To: MONO List Subject: [Mono-list] Mono unable of using it's onw generated keys ? Hi, I have the follwing problem w/ Mono (compiled from CVS) on RH9 : I have a program that uses a key : [assembly: AssemblyKeyFile(@"Testing.snk")] When I generate a key for it w/ the sn.exe (mono sn.exe -k Testing.snk) from the mono distribution and try compiling I get : Unhandled Exception: System.IndexOutOfRangeException: Array index is out of range in <0x001df> Mono.Security.Cryptography.CryptoConvert:ToCapiPublicKeyBlob (System.Security.Cryptography.RSA) in <0x0006b> Mono.Security.Cryptography.CryptoConvert:ToCapiKeyBlob (System.Security.Cryptography.RSA,bool) in <0x0002d> Mono.Security.StrongName:get_PublicKey () in <0x002ba> System.Reflection.Emit.AssemblyBuilder:SetCustomAttribute (System.Reflection.Emit.CustomAttributeBuilder) in <0x00d09> Mono.CSharp.Attribute:ApplyAttributes (Mono.CSharp.EmitContext,object,object,Mono.CSharp.Attributes) in <0x001f9> Mono.CSharp.RootContext:EmitCode () in <0x0082a> Mono.CSharp.Driver:MainDriver (string[]) in <0x0001b> Mono.CSharp.Driver:Main (string[]) Is this a bug or am I doing something wrong ? Best Regards, George Kodinov Developer, OpenLink Software (http://www.openlinksw.com) _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list