[Mono-dev] 2.8 bug missing monoeg_g_str_equal

2010-10-20 Thread David Isaac Wolinsky
When running the mono-profiler-logging, I get this bug: Error loading profiler module 'mono-profiler-logging': /usr/lib/libmono-profiler-logging.so: undefined symbol: monoeg_g_str_equal It doesn't exist in 2.6.7. Regards, David ___ Mono-devel-list m

Re: [Mono-dev] A really small code review ;)

2010-10-20 Thread Pablo Ruiz
Hi, I've just comited (to may own fork) a first approach with nearly full functionality to provide privateKey storage within X509Stores (software only, of course ;)).. I would like to hear from you people, so I can clean/fix/enhance. before trying to make a pull request. This are the commits: h

[Mono-dev] Bug in mono or our code?

2010-10-20 Thread David Isaac Wolinsky
When compiling our code (http://github.com/davidiw/brunet/blob/master/src/Brunet/Concurrent/ExclusiveServer.cs) using 2.8 and git master head, I receive a very long error message. The key points are: [csc] mono_image_get_method_on_inst_token: don't know how to handle System.Reflection

Re: [Mono-dev] Adding privatekey support to X509Store

2010-10-20 Thread Pablo Ruiz
After inspecting KeyPairPersistence, it looks like as I guessed, it allows persisting a privateKey's parameters.. However, one must know the key's KeyContianerName in order to pass an appropiate CspParameter to RSACsp.. till this point everything it's clear and it (externally) just looks like ms.ne

Re: [Mono-dev] Adding privatekey support to X509Store

2010-10-20 Thread Sebastien Pouliot
Hello Pablo, It's a bit long and (likely) boring but history lessons are rarely fun (and I'm not the kind of guy to try to rewrite history to make it better or even funnier ;-) On Wed, 2010-10-20 at 19:52 +0200, Pablo Ruiz wrote: > Here's another question to the list: > > > * What's exact

Re: [Mono-dev] Adding privatekey support to X509Store

2010-10-20 Thread Pablo Ruiz
Here's another question to the list: - What's exactly the purpose of KeyPairPersistence is? It looks like some sort of pseudo KeyContainer implementation which it's used by RSACryptoServiceProvider to save keys to disk.. however I'm still trying to look it's relationship to X509Stores

Re: [Mono-dev] Adding privatekey support to X509Store

2010-10-20 Thread Pablo Ruiz
Hi Vladimir, I didnt knew about this movements towards NSS but they look great, specially the part stating that NSS's FIPS 140 certification can be extended to the final product (if with some rules are taken into account). I'll take a look at NSS, as this might be a great fit for my proposal.. Gr

Re: [Mono-dev] Adding privatekey support to X509Store

2010-10-20 Thread Vladimir Giszpenc
Hi Pablo, Your interest in improving Mono's CryptoServiceProvider offerings is very exciting. Your experience seems to be leading you towards an OpenSSL binding of some kind. May I suggest that you at least review other cryptographic providers like Mozilla's Network Security Services (NSS) or th

Re: [Mono-dev] Adding privatekey support to X509Store

2010-10-20 Thread Pablo Ruiz
Hi Sebastien, Great you replied, as you were the first one on my (short) list of 'people to ask in case of emergency' ;) Actually my (medium-long term) goal it's adding support for non-software based crypto devices to mono, however I know this it's not a simple task to undertake, so I will try to

Re: [Mono-dev] Problem with Linq in Mono

2010-10-20 Thread Chakotey STME
Thanks for your answer I produced the error. It's no bug! I had no elements in the list or the list wasn't initialized when I make the .Max-Operation. Sorry 2010/10/20 Jb Evain : > Hi, > > On Wed, Oct 20, 2010 at 1:58 PM, Chakotey STME wrote: >> I have a vb.net project (.net 3.5). >> I use thi

Re: [Mono-dev] Adding privatekey support to X509Store

2010-10-20 Thread Sebastien Pouliot
Hello Pablo, On Wed, 2010-10-20 at 00:23 +0200, Pablo Ruiz wrote: > Hi, > > > I'm thinking on adding privateKey support for Mono.Security.X509Store, > so it can be (later) used as part of > System.Security.Cryptography.X509Certificates (on 2.0+). This is one > of the x509 related improvements I

Re: [Mono-dev] Problem with Linq in Mono

2010-10-20 Thread Jb Evain
Hi, On Wed, Oct 20, 2010 at 1:58 PM, Chakotey STME wrote: > I have a vb.net project (.net 3.5). > I use this Linq-Statement: > > Dim minPosition = myIndexing.Where(Function(x) x.Key < > beginTime).SelectMany(Function(x) x.Value).ToList > > It works perfect under .net and mono 2.6 > > But I get an

[Mono-dev] Problem with Linq in Mono

2010-10-20 Thread Chakotey STME
Hi Community, I have a vb.net project (.net 3.5). I use this Linq-Statement: Dim minPosition = myIndexing.Where(Function(x) x.Key < beginTime).SelectMany(Function(x) x.Value).ToList It works perfect under .net and mono 2.6 But I get an exception if I use this operation (i get the exception only