Re: [Mono-dev] Proposal: Change SignCode default from MD5 to SHA1

2015-12-15 Thread Sebastien Pouliot
Hey, There should not be any issues changing the default to SHA1, that was an already tested configuration. However a change to SHA256 would require some testing, as some constants might be missing (or did not even exists back in 2003 ;-). Sebastien On Tue, Dec 15, 2015 at 2:28 PM, Eric Lawrence

Re: [Mono-dev] Overflowed double->int casts on ARM in MS referencesource

2015-03-23 Thread Sebastien Pouliot
Hey, On Mon, Mar 23, 2015 at 7:47 PM, Alexander Köplinger < alex.koeplin...@outlook.com> wrote: > I just noticed this commit by @spouliot: > https://github.com/mono/mono/commit/298962b7ddd5e3af33c3177e8523cc36da4de553 > > In my opinion, this isn't the right approach, we should rather fix the > ca

Re: [Mono-dev] cert-sync

2015-01-23 Thread Sebastien Pouliot
On Fri, Jan 23, 2015 at 9:48 AM, Edward Ned Harvey (mono) < edward.harvey.m...@clevertrove.com> wrote: > > From: Sebastien Pouliot [mailto:sebastien.poul...@gmail.com] > > > >> Thanks - so it sounds like WebClient, on OSX, iOS, and Android, are > wrapping > >

Re: [Mono-dev] cert-sync

2015-01-22 Thread Sebastien Pouliot
On Thu, Jan 22, 2015 at 10:08 AM, Edward Ned Harvey (mono) < edward.harvey.m...@clevertrove.com> wrote: > > From: Sebastien Pouliot [mailto:sebastien.poul...@gmail.com] > > > > In such case OSX (and iOS and Android) are > > delegating the trust decision to the operat

Re: [Mono-dev] cert-sync

2015-01-22 Thread Sebastien Pouliot
On Tue, Jan 20, 2015 at 4:40 PM, Alexander Köplinger < alex.koeplin...@outlook.com> wrote: > I always thought OSX used the system cert store anyway and this was just a > Linux "issue"? > The most common use of the certificate stores is to establish trust (or not) with a web host (i.e. https). In

Re: [Mono-dev] Bug with Ssl cert validation

2014-03-18 Thread Sebastien Pouliot
On Tue, Mar 18, 2014 at 6:33 AM, Edward Ned Harvey (mono) < edward.harvey.m...@clevertrove.com> wrote: > > From: Sebastien Pouliot [mailto:sebastien.poul...@gmail.com] > > > >> var mySslStream = new SslStream > (client.GetStream(), false,

[Mono-dev] Fwd: Bug with Ssl cert validation

2014-03-17 Thread Sebastien Pouliot
meant to reply-all -- Forwarded message -- From: Sebastien Pouliot Date: Mon, Mar 17, 2014 at 11:32 PM Subject: Re: [Mono-dev] Bug with Ssl cert validation To: "Edward Ned Harvey (mono)" On Mon, Mar 17, 2014 at 10:43 PM, Edward Ned Harvey (mono) < ed

Re: [Mono-dev] Security Issue

2014-02-28 Thread Sebastien Pouliot
Hello Greg, Use the contact form found at http://www.mono-project.com/Vulnerabilities Thanks Sebastien On Fri, Feb 28, 2014 at 8:40 AM, Greg Young wrote: > I believe I have what should be a top rated security vulnerability that > probably should not be discussed on this list as it allows anyo

Re: [Mono-dev] RSA and ECDH

2014-02-16 Thread Sebastien Pouliot
Hello guys, There's quite a few misconceptions in the above thread. There's a lot of places that could be/do better but misidentifying them is not helpful (and they are fairly googl'able assertions to be validated). On Sun, Feb 16, 2014 at 3:03 PM, Edward Ned Harvey (mono) < edward.harvey.m...@cl

Re: [Mono-dev] Checking Validity/Reputation of a Digital Signature File

2012-09-27 Thread Sebastien Pouliot
On Thu, Sep 27, 2012 at 11:22 AM, jaysonp wrote: > Hello, > > > Will just make a follow-up. > I haven't seen any updates regarding this issue/bug I filed. > Thanks in advance! This is open source software. You can contribute or wait for contributors to have time to fix the reported

Re: [Mono-dev] Checking Validity/Reputation of a Digital Signature File

2012-09-18 Thread Sebastien Pouliot
* Which version of Windows ? * 32bits or 64bits ? * Did you run `mozroots` so Mono certificate stores are up to date ? Sebastien On Tue, Sep 18, 2012 at 10:36 AM, jaysonp wrote: > I've already checked the properties and yes, the file was signed. > See snapshot below. I am not just sure if it's

Re: [Mono-dev] Checking Validity/Reputation of a Digital Signature File

2012-09-18 Thread Sebastien Pouliot
I do not have the files*. Try either MS tools or right click on the .exe to see it's properties. There should be some mention if it was signed with authenticode. Sebastien * if you're running on on 64bits Windows then it could be a change for the new PE format (that Mono might not support, never

Re: [Mono-dev] Checking Validity/Reputation of a Digital Signature File

2012-09-18 Thread Sebastien Pouliot
On Tue, Sep 18, 2012 at 9:45 AM, jaysonp wrote: > Sebastien Pouliot wrote >> A cert file is not a signature - but it is a signed structure. >> Checking the signature of a .cer file is rather easy (see X509Chain >> class) but it only tells you about the certificate itself

Re: [Mono-dev] Checking Validity/Reputation of a Digital Signature File

2012-09-18 Thread Sebastien Pouliot
On Tue, Sep 18, 2012 at 8:03 AM, jaysonp wrote: > Hi All, > > I will just ask if the Mono package/project comes with a tool/utility > that can be used to check the validity of a Digital Signature (as well as > its counter signatures) other than chkTrust? This counter signature is specific to

Re: [Mono-dev] mono with CoreCLR: How to add custom assemblies

2012-01-17 Thread Sebastien Pouliot
do it. Pardon my superficial knowledge on this subject. I haven't looked at moonlight code yet. So do you mean that the moonlight code base contains that part to load an assembly as a platform code? Thanks again, Chan On Tue, Jan 17, 2012 at 9:34 PM, Sebastien Pouliot < sebastien.poul...@gma

Re: [Mono-dev] mono with CoreCLR: How to add custom assemblies

2012-01-17 Thread Sebastien Pouliot
Hello Chan, Have a look at http://pages.infinit.net/ctech/20110113-0841.html it will point you to the related wiki pages on mono-project.com. Note that the best resource on the subject is the moonlight code base. Sebastien On Tue, Jan 17, 2012 at 11:00 AM, chandrakant mishra wrote: > Hi All,

Re: [Mono-dev] System.Security.Cryptography.X509Certificates Mono-2.10.2

2011-12-22 Thread Sebastien Pouliot
Hello Will, Mono was written for Linux where no such system/user store existed. As such mono implemented it's own certificate and key storage. The same code is executed when you run under Windows so you'll need to import what you need into them (using mono tools). Sebastien On Thu, Dec 22, 2011

Re: [Mono-dev] mono-2-10 branch on git with LLVM mono branch (osx)

2011-12-18 Thread Sebastien Pouliot
Hello Jonathan, You should clone the 'mono-2-10' branch of the llvm repo (master will track mono's master). Also mono 64bits support for OSX is experimental (not fully supported). Sebastien On Sun, Dec 18, 2011 at 4:12 PM, Jonathan Shore wrote: > I was trying to compile 2.10.7 for OSX for 64 b

Re: [Mono-dev] /dev/crypto and mono

2011-12-08 Thread Sebastien Pouliot
Hello, On Thu, Dec 8, 2011 at 8:23 PM, Bassam Tabbara wrote: > Hello, > > > > Has anyone attempted to have mono use cryptodev modules in Linux > (http://www.logix.cz/michal/devel/cryptodev/) instead of the managed > implementations? I'm not aware of anyone doing so. I'd be happy to know if you a

Re: [Mono-dev] `System.Threading.ThreadPool' does not contain a definition for `UnsafeQueueUserWorkItem'

2011-08-04 Thread Sebastien Pouliot
Moonlight development was made on 'master', not 'mono-2-10' so it looks like something was half-backported. It also means that there's no point in building with --with-moonlight=yes using 'mono-2-10' branch (--with-moon-gc too). Sebastien Le 2011-08-04 à 17:22, igouy a écrit : > $ ./configure

Re: [Mono-dev] Using SslStream

2011-05-19 Thread Sebastien Pouliot
On Thu, 2011-05-19 at 07:12 -0700, jpros wrote: > Sorry for revive this thread, but I'm having the same problem. > > I'm using CentOS with mono 2.10.2 as server and Windows XP as client. > > My Code > > > Socket socket = tcp.AcceptSocket(); > > X509Certificate certificado = > > X509Certificate.C

Re: [Mono-dev] Adding AES-NI support

2011-05-06 Thread Sebastien Pouliot
Hello Joe, On Fri, 2011-05-06 at 17:02 -0400, Joe Dluzen wrote: > Hi all, > > I'm looking at adding Intel AES-NI support to Mono. Most of the actual > code that does useful stuff is done by other people (on what looks > like a very liberal license), so I'm just gluing it all together. That sound

Re: [Mono-dev] Faster

2011-03-24 Thread Sebastien Pouliot
Hola Miguel, On Thu, 2011-03-24 at 12:00 -0400, Miguel de Icaza wrote: > Hello guys, > > Today in the shower I had an idea that I believe we could use to > improve the performance of our class library code. > > Plenty of our class library code has code like this: > > void Foo (Something x) > {

Re: [Mono-dev] About System.Core.dll System.Security.Cryptography and Cng

2011-02-17 Thread Sebastien Pouliot
On Wed, 2011-02-16 at 17:52 +0200, Juho Vähä-Herttua wrote: > 16.2.2011 15:39, Sebastien Pouliot kirjoitti: > > Hello Juho, > > > > On Wed, 2011-02-16 at 12:19 +0200, Juho Vähä-Herttua wrote: > >> Hi, > >> > >> I have implemented elliptic curve cry

Re: [Mono-dev] About System.Core.dll System.Security.Cryptography and Cng

2011-02-17 Thread Sebastien Pouliot
Le 2011-02-17 à 07:56, Juho Vähä-Herttua a écrit : Hi, Sorry for spamming the list a bit, but I think this is quite big chunk of code so it's worth to note 16.2.2011 21:55, Juho V�h�-Herttua kirjoitti: I started from the most simple one and added some enumerations that are required by the

Re: [Mono-dev] About System.Core.dll System.Security.Cryptography and Cng

2011-02-16 Thread Sebastien Pouliot
Hello Juho, On Wed, 2011-02-16 at 12:19 +0200, Juho Vähä-Herttua wrote: > Hi, > > I have implemented elliptic curve cryptography (ECC) algorithms on .NET > by using the BigInteger struct from .NET 4.0. On Fp curves they seem to > be considerably faster (about twice the speed) than the BouncyCas

Re: [Mono-dev] [Mono-list] RSA with SHA512 hash

2011-01-11 Thread Sebastien Pouliot
hash algorithm and (almost) any RSA-derived type. Sebastien > Cheers, > > Jeremy > > > -----Original Message- > From: Sebastien Pouliot > Sent: 10/01/2011 8:32:21 pm > Subject: Re: [Mono-list] RSA with SHA512 hash > > Hello again, > > >From source

Re: [Mono-dev] Unable to work with Configuration files

2010-10-26 Thread Sebastien Pouliot
On Tue, 2010-10-26 at 15:03 -0700, vinay_rk wrote: > What I' am doing in my AppConfig is define custom sections like this : > > > > type="FullQualifiedNameOfCustomSectionHandler"/> >- >- > > The custom handler derives from System.Configuration.ConfigurationSec

Re: [Mono-dev] Unable to work with Configuration files

2010-10-26 Thread Sebastien Pouliot
On Tue, 2010-10-26 at 14:23 -0700, vinay_rk wrote: > Hi, > > When I run my app (that is built using XBuild) in Mono from the command > prompt (using command Mono ) , I always get the below error > whenever the app tries to access the config file. Basically the App is > trying to open some custom

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

2010-10-21 Thread Sebastien Pouliot
On Thu, 2010-10-21 at 02:40 +0200, Pablo Ruiz wrote: > 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/fi

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

2010-10-20 Thread Sebastien Pouliot
Past experiences (with pkcs11 and capi/csp) has prove to me that they don't map very well in many cases (or at least that theory about them is much easier than hacking them ;-) IOW I think it would be better (and much easier for you) to know

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] Mono and ASP.NET Security Vulnerability

2010-10-01 Thread Sebastien Pouliot
My previous answer still stand. Watch the following link for updates: http://www.mono-project.com/Vulnerabilities On Fri, 2010-10-01 at 12:52 +0200, Tomi wrote: > Any update on this issue? The MS patch is already out. Some background > information: > http://blogs.technet.com/b/srd/archive/2010/09/

Re: [Mono-dev] libgdiplus drawing performance

2010-09-27 Thread Sebastien Pouliot
On Sun, 2010-09-26 at 01:33 -0700, oken wrote: > #define VS(fun) \ > do{\ > GpStatus status = fun; \ > if (Ok != status) \ > {\ > assert(!"invalid status");\ > return status;\ > }\ > }while(0) > int width = 1000; > int height = 1000; >

Re: [Mono-dev] Reading Exif Data with System.Drawing or Gtk#

2010-09-27 Thread Sebastien Pouliot
On Sun, 2010-09-26 at 17:38 +0200, Patrick Kowalzick wrote: > Dear List, > > I am reading exif-data from jpegs (mainly thumb and orientation) using > System.Drawing. Something like: > > string orientation = null; > using (FileStream fs = new FileStream(path,FileMode.Open)) > using (Image img

Re: [Mono-dev] Mono and ASP.NET Security Vulnerability

2010-09-19 Thread Sebastien Pouliot
On Sun, 2010-09-19 at 11:47 +0200, Tomi wrote: > Hi folks, > > is mono also affected by this security vulnerability? (ScottGu: "This > vulnerability is in our ASP.NET implementation (and will be fixed in a > patch). I'm not sure if Mono has the same bug.") > > http://weblogs.asp.net/scottgu/arch

Re: [Mono-dev] Problem authenticating at ssl atom feed

2010-08-27 Thread Sebastien Pouliot
On Tue, 2010-08-17 at 10:31 -0700, alexware69 wrote: > Hi, yes I have already been through that article and I have tried the > mozroots.exe to import all mozilla root certificates, but still have get the > same error. I also tried: > > certmgr -ssl https://mail.google.com/mail/feed/atom > > but

Re: [Mono-dev] 答复: Why " the matrix MUST be invertible to be used " in libgdiplus when we call GdipSetWor ldTransform or GdipMultiplyWorldTransform?

2010-08-27 Thread Sebastien Pouliot
On Thu, 2010-08-26 at 22:13 -0700, oken wrote: > clipping in libgdiplus is wrong, because it ignores the page scale and page > unit! It could be - hard to be sure without test cases. Please see: http://mono-project.com/Bugs Thanks Sebastien ___ Mono-de

Re: [Mono-dev] Problem authenticating at ssl atom feed

2010-08-17 Thread Sebastien Pouliot
Google "mono ssl gmail", first link will provide answer. Sebastien Le 2010-08-17 à 11:59, alexware69 a écrit : > > Hi, I am trying to connect to google's gmail atom feed in order to get > unread(new) emails. I have no problems connecting in Windows, but when I try > to do it in linux with mono

Re: [Mono-dev] mono.security/certmgr patch to support TrustedPeople

2010-07-28 Thread Sebastien Pouliot
On Tue, 2010-07-27 at 17:50 +0900, Atsushi Eno wrote: > Hello again, > > This patch adds support for X509Store.TrustedPeople in Mono.Security > and certmgr. > Sorry for that this patch includes the previous change, I was lazy :| Looks fine too :) Thanks Sebastien ___

Re: [Mono-dev] certmgr patch to support password-protected pkcs file

2010-07-28 Thread Sebastien Pouliot
On Tue, 2010-07-27 at 17:15 +0900, Atsushi Eno wrote: > Hello, > > I wanted to import a password-protected pfx certificate, but it was not > supported in our certmgr. So I have created a small patch to enable it. > > If it's looking good I'll push it in git (or feel free to do instead). Looks f

Re: [Mono-dev] Can libgdiplus be used in wine or windows?

2010-07-13 Thread Sebastien Pouliot
On Tue, 2010-07-13 at 07:44 -0700, oken wrote: > "In Windows Mono uses the GDI+ library that is included with the operating > system (GDIPLUS.DLL, while in UNIX we provide an implementation of this API > in the libgdiplus.so shared library. " These comes from > http://www.mono-project.com/Drawing >

Re: [Mono-dev] [Mono-list] Preview 2.6.6

2010-07-07 Thread Sebastien Pouliot
Paul, That will happen if you have the latest libpng 1.2 (with last week security fix) but compile with earlier libpng 1.2 and (newer) 1.4. Fix is in SVN (both HEAD and 2.6 branch). Sebastien On Wed, 2010-07-07 at 22:04 +0100, Paul wrote: > Hi, > > > We have pushed a preview release of Mono (a

Re: [Mono-dev] Problem with CA sending certified emails

2010-06-22 Thread Sebastien Pouliot
stack trace --- at > Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback > (IAsyncResult asyncResult) [0x00000] in :0 --- End of inner exception > stack trace --- at System.Net.Mail.SmtpClient.Send > (System.Net.Mail.MailMessage message) [0x0] in :0 > > > At 13

Re: [Mono-dev] Problem with CA sending certified emails

2010-06-22 Thread Sebastien Pouliot
Hello, Installing CA certificate(s) won't create a trust relationship. For this you need to install the root certificate in the Trust store (that's what mozroots does, but that's not what you're doing with certmgr). Make sure you get the root certificate (generally the one that is signing the CA

Re: [Mono-dev] F# requires to be re-signed with mono.snk

2010-06-18 Thread Sebastien Pouliot
On Fri, 2010-06-18 at 13:50 +0100, Laurent Le Brun wrote: > Hello, > > F# installation on Linux requires the .dll file to be re-signed with > mono.snk[1]. Otherwise, I get this error: "Strong name cannot be > verified for delay-signed assembly". > > As I'm packaging F# on Linux, I wonder what sho

Re: [Mono-dev] Redhat CVE-2010-1459

2010-05-31 Thread Sebastien Pouliot
Hello Paul, On Mon, 2010-05-31 at 17:04 +0100, Paul wrote: > Hi, > > As one of the packagers for mono in Fedora, I've been alerted to a > security issue (detailed at > https://www.redhat.com/security/data/cve/CVE-2010-1459.html ). This > problem doesn't affect 2.6.4 but does for older versions.

Re: [Mono-dev] Develop for iPad on the iPad

2010-04-19 Thread Sebastien Pouliot
On Mon, 2010-04-19 at 08:20 -0700, Daniel Morgan wrote: > Is it possible to develop for the iPad on the iPad? sure, with the right software [1] > If yes, is it possible to develop for the iPad on the iPad using MonoTouch? sure, with a hardware dongle [2] > Let's just say, I tried the iPad out a

Re: [Mono-dev] Using SslStream

2010-03-30 Thread Sebastien Pouliot
version number for the mono packages is 2.4.4. Is there a > newer mono release that includes this utility or should it > have been packaged with 2.4.4? > > > On Tue, Mar 30, 2010 at 2:57 PM, Sebastien Pouliot [via Mono] > <[h

Re: [Mono-dev] Using SslStream

2010-03-30 Thread Sebastien Pouliot
to create a certificates (e.g. a self-signed certificate). What you need is the certmgr tool (again I don't know which debian package will install it) to install your own self-signed certificate into your trusted store. > > On Tue, Mar 30, 2010 at 2:57 PM, Sebastien Pouliot [via Mono

Re: [Mono-dev] Using SslStream

2010-03-30 Thread Sebastien Pouliot
On Tue, 2010-03-30 at 10:51 -0800, Richter wrote: > I am attempting to develop an application for linux using Mono that will run > as a server and accept client connections through TCP/IP Sockets, using SSL > encryption and authentication. I am attempting to do so via the SslStream > class, but am

Re: [Mono-dev] Mono.Security - ssl certificate datetime parsing causes crash on some cultures. (patch)

2010-03-24 Thread Sebastien Pouliot
Fixed on HEAD (r154135), 2-6 (r154136) and 2-4 (r154137) Thanks! Sebastien On Wed, 2010-03-24 at 11:26 +0200, yoni shalom wrote: > A crash occurs on windows machines when the process culture info > doesn't support the string format representing the x509 certificate > timestamp. > Certificate time

Re: [Mono-dev] Equivalent of DPAPI in Linux / Status of ProtectedData ?

2010-02-17 Thread Sebastien Pouliot
Bonjour Lionel, On Wed, 2010-02-17 at 09:29 +0100, Lionel Cuir wrote: > Hello, > > In Windows/.NET, we can access the DPAPI via the ProtectedData class. > According to http://www.mono-project.com/Cryptography, "There is > partial support for ProtectedData and ProtectedMemory on Mono. On > Window

Re: [Mono-dev] [Bug 575813] FileStream doesn't handle errors on Close (disk full, generic error, etc.)

2010-02-08 Thread Sebastien Pouliot
On Mon, 2010-02-08 at 17:07 +0200, Alex Shulgin wrote: > Sebastien Pouliot wrote: > > On Mon, 2010-02-08 at 15:07 +0200, Alex Shulgin wrote: > >> > >> BTW, couldn't this type of programming errors be caught by lint-like > >> tools for static code ana

Re: [Mono-dev] [Bug 575813] FileStream doesn't handle errors on Close (disk full, generic error, etc.)

2010-02-08 Thread Sebastien Pouliot
On Mon, 2010-02-08 at 15:07 +0200, Alex Shulgin wrote: > Miguel de Icaza wrote: > >>> I've filed a somewhat nasty bug a few days back (you may lose your data > >>> if you trigger it): https://bugzilla.novell.com/show_bug.cgi?id=575813 > >>> > >>> I'd really appreciate if someone could take a look

Re: [Mono-dev] Mono 2.6.x

2010-02-03 Thread Sebastien Pouliot
On Wed, 2010-02-03 at 11:25 -0800, Tom Philpot wrote: > There are several patches for Mac that I'd like to make sure are in > the 2.6.x point release: > > > - Fix for CookieContainer.cs > CookieContainer.cs r149976 > CookieContainerTests.cs r149976 They were already backported. You can easily

Re: [Mono-dev] Embeded : Enable CAS

2010-01-27 Thread Sebastien Pouliot
On Wed, 2010-01-27 at 09:34 +0100, Damien wrote: > > I would like to know if and how it is possible to activate code > access > > security with Mono used as an embeded library... > > > For fun ? maybe. For profit ? not likely. > > > Well, for fun :) > >

Re: [Mono-dev] Embeded : Enable CAS

2010-01-26 Thread Sebastien Pouliot
On Tue, 2010-01-26 at 22:52 +0100, Damien wrote: > Hi, > > I would like to know if and how it is possible to activate code access > security with Mono used as an embeded library... For fun ? maybe. For profit ? not likely. Seriously CAS is unsupported, it's some missing features (see the wiki a

Re: [Mono-dev] [PATCH] Public key token mapping XNA framework

2010-01-21 Thread Sebastien Pouliot
Disregard that (wrong directory ;-) Committed as r149986. Thanks Sebastien On Thu, 2010-01-21 at 10:22 -0500, Sebastien Pouliot wrote: > On Sat, 2010-01-16 at 08:16 +0100, Tim Pambor wrote: > > Hello, > > Please add the attached patch. It implements the public key token > >

Re: [Mono-dev] [PATCH] Public key token mapping XNA framework

2010-01-21 Thread Sebastien Pouliot
On Sat, 2010-01-16 at 08:16 +0100, Tim Pambor wrote: > Hello, > Please add the attached patch. It implements the public key token > mapping for the XNA framework. > Your patch does not apply on HEAD since the data directory is not in SVN. Please update your patch. Sebastien ___

Re: [Mono-dev] Patch for CookieContainer.SetCookies

2010-01-21 Thread Sebastien Pouliot
Committed to trunk with r149976 I'll backport it later to 2-6 and 2-4 Thanks again Sebastien On Wed, 2010-01-20 at 21:21 -0500, Sebastien Pouliot wrote: > On Wed, 2010-01-20 at 17:48 -0800, Tom Philpot wrote: > > > > On Jan 20, 2010, at 1:58 PM, Seb

Re: [Mono-dev] Patch for CookieContainer.SetCookies

2010-01-20 Thread Sebastien Pouliot
On Wed, 2010-01-20 at 17:48 -0800, Tom Philpot wrote: > > On Jan 20, 2010, at 1:58 PM, Sebastien Pouliot wrote: > > > > > > > why not simply > > c.HttpOnly = cookie.HttpOnly; > > c.Secure = cookie.Secure; > > ? > > > > if ther

Re: [Mono-dev] Patch for CookieContainer.SetCookies

2010-01-20 Thread Sebastien Pouliot
Hello again, Sorry I hit send adding my comments on the patch itself. > Index: mcs/class/System/System.Net/CookieContainer.cs > === > --- mcs/class/System/System.Net/CookieContainer.cs (revision 149764) > +++ mcs/class/System/Sy

Re: [Mono-dev] Patch for CookieContainer.SetCookies

2010-01-20 Thread Sebastien Pouliot
Hello Tom, On Mon, 2010-01-18 at 15:31 -0800, Tom Philpot wrote: > The current implementation of CookieContainer.SetCookies does not handle the > case where a cookie contains an "expires=..." attribute. > > As documented on MSDN here: > http://msdn.microsoft.com/en-us/library/aa384321%28VS.85%2

Re: [Mono-dev] Patch for CookieContainer.SetCookies

2010-01-19 Thread Sebastien Pouliot
Hello Tom, On Mon, 2010-01-18 at 15:31 -0800, Tom Philpot wrote: > The current implementation of CookieContainer.SetCookies does not > handle the case where a cookie contains an "expires=..." attribute. > > As documented on MSDN here: > http://msdn.microsoft.com/en-us/library/aa384321%28VS.85%29.

[Mono-dev] [PATCH] limit [InternalsVisibleTo] under CoreCLR

2009-11-18 Thread Sebastien Pouliot
435) +++ mono/metadata/ChangeLog (working copy) @@ -1,3 +1,11 @@ +2009-11-18 Sebastien Pouliot + + * class.c (can_access_internals): Allow CoreCLR to participate in + allowing (or not) [InternalsVisibleTo] between assemblies. + * security-core-clr.c|h: Make sure that only trusted code (a + superset

Re: [Mono-dev] [patch] coreclr/com check + icall cleanup

2009-11-05 Thread Sebastien Pouliot
not pass our test suite :) [2] A added a FIXME in the patch about this. In any case the g_abort should make it clear enough to runtime embedders > > > On Thu, Oct 29, 2009 at 4:43 PM, Sebastien Pouliot > wrote: > Hello, > > Two small/easy patch

Re: [Mono-dev] Mono and WSDL with SSL

2009-10-29 Thread Sebastien Pouliot
On Thu, 2009-10-29 at 13:20 -0700, ril3y wrote: > I am using mono-develop to add a web service ref. The web services that our > dev team have to use SSL. When I disable SSL on the WSDL the adding of the > ref works just fine. However when I re-enable SSL on the webservices adding > the ref just

[Mono-dev] [patch] coreclr/com check + icall cleanup

2009-10-29 Thread Sebastien Pouliot
2009-10-29 Sebastien Pouliot + + * class.c: When CoreCLR is enabled don't call mono_init_com_types + if MONO_CLASS_IS_IMPORT return true. Instead we return a + TypeLoadException to be thrown later. This is the exception + thrown by Silverlight 2 if a type is marked with [ComImport] + 2009-10-2

Re: [Mono-dev] [Mono-winforms-list] Is System.Drawing (libgdiplus) thread-safe?

2009-10-28 Thread Sebastien Pouliot
On Wed, 2009-10-28 at 19:47 +0200, Alex Shulgin wrote: > Alex Shulgin wrote: > > Hi all, > > > > Is System.Drawing by any means thread-safe? > > > > Can I create some threads, create a Graphics object in each of them and > > then work with it from within that thread? Is this supposed to work or

Re: [Mono-dev] [Mono-winforms-list] Is System.Drawing (libgdiplus) thread-safe?

2009-10-28 Thread Sebastien Pouliot
On Wed, 2009-10-28 at 19:37 +0200, Alex Shulgin wrote: > Hi all, > > Is System.Drawing by any means thread-safe? No, like most of the .net framework, i.e. Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guarant

Re: [Mono-dev] [Mono-patches] r144627 - in trunk/mcs/class/corlib: System.Threading Test/System.Threading

2009-10-22 Thread Sebastien Pouliot
bogus, nor junk. The fix is simple but don't want to apply it before talking to Gonzalo about it (who wrote the original test) since I don't know if some of our code depends on this behavior. > Rodrigo > > On Thu, Oct 22, 2009 at 9:51 AM, Sebastien Pouliot > (sebast...@ximian.

[Mono-dev] [patch] misc small fix-lets to mono/*

2009-10-19 Thread Sebastien Pouliot
i/ChangeLog === --- mono/mini/ChangeLog (revision 129771) +++ mono/mini/ChangeLog (working copy) @@ -1,3 +1,9 @@ +2009-03-19 Sebastien Pouliot + + * method-to-ir.c: Allow CoreCLR to throw FieldAccessException. + Simplify logic

Re: [Mono-dev] Mono.Security: Error when loading a CRL in ASN1

2009-10-17 Thread Sebastien Pouliot
en it. I can't be sure but I'll bet on a bad/damaged file. Did you said it was working* somewhere ? (windows?) It could still be (somewhat) valid, e.g. the important data is signed against tempering, but it's unlikely it will work across systems. > On Fr

Re: [Mono-dev] Mono.Security: Error when loading a CRL in ASN1

2009-10-16 Thread Sebastien Pouliot
On Fri, 2009-10-16 at 11:40 +1000, Jonathon Rossi wrote: > Hi, > > I am trying to load a CRL with the Mono.Security library (tried with > the 2.4.2.3 Windows binaries, and with the trunk) like this: > X509Crl crl = X509Crl.CreateFromFile(@"C:\ca.crl"); > > And I get a CryptographicException: Inpu

Re: [Mono-dev] mozroots and personal certificates

2009-10-14 Thread Sebastien Pouliot
On Wed, 2009-10-14 at 04:05 -0700, Claus Jørgensen wrote: > Hi > > I can't seem to import my personal certificates using mozroots. Only > the root certificates will be imported, anyone know why, and how to > get around this? mozroot exclusive usage is to download Mozilla root certificates (from t

Re: [Mono-dev] ASN.1 Implementation and Firefox PKCS#12

2009-10-13 Thread Sebastien Pouliot
Hello Claus, This is a known issue documented in https://bugzilla.novell.com/show_bug.cgi?id=316337 Sadly using the new parser to re-implement everything ASN.1 related inside Mono is a large undertaking (and also will break binary compatibility in Mono.Security.dll) and this is a minor/rare issue

Re: [Mono-dev] trouble building latest mono from svn trunk

2009-10-08 Thread Sebastien Pouliot
On Thu, 2009-10-08 at 16:18 -0600, Tom Hindle wrote: > I've been unable to build the latest mono for the last day or so, is any > one else having problems, or is just my setup? It's a bug in the Makefile. To work around it do touch mcs/class/corlib/*.sources and rebuild. As an alternativ

Re: [Mono-dev] [patch] coreclr check for newarr

2009-09-16 Thread Sebastien Pouliot
.", element->name); > + } > > Please use something like mono_type_get_full_name that builds the FQN > of the type. > > On Sun, Sep 13, 2009 at 12:47 PM, Sebastien Pouliot > wrote: > Hello, > > This patch adds a new check for

[Mono-dev] [patch] coreclr check for newarr

2009-09-13 Thread Sebastien Pouliot
g_assert (vtable); NEW_VTABLECONST (cfg, iargs [0], vtable); MONO_ADD_INS (cfg->cbb, iargs [0]); Index: mono/mini/ChangeLog === --- mono/mini/ChangeLog (revision 141866) +++ mono/mini/ChangeLog (working copy) @@ -1,3 +1,9

Re: [Mono-dev] [patch] coreclr fix for internal calls

2009-09-08 Thread Sebastien Pouliot
On Tue, 2009-09-08 at 18:01 +0300, Stefanos A. wrote: > Την Tue, 08 Sep 2009 17:23:19 +0300,ο(η) Sebastien Pouliot > έγραψε: > > > Here's a patch to throw SecurityException (unlike p/invokes > > MethodAccessException) for internal calls defined outside platfor

[Mono-dev] [patch] coreclr fix for internal calls

2009-09-08 Thread Sebastien Pouliot
urity () : + mono_get_exception_method_access (); + emit_throw_exception (cfg, ex); + } } } } Index: mono/mini/ChangeLog ======= --- mono/mini/ChangeLog (revision 141511) +++ mono/mini/ChangeLog (working co

Re: [Mono-dev] [PATCH] fixes for /mono/mono/metadata/*

2009-09-02 Thread Sebastien Pouliot
On Wed, 2009-09-02 at 15:50 -0300, Rodrigo Kumpera wrote: > Changelog: > > @@ -25,6 +36,7 @@ > calculating interface offsets instead of the number of methods. > This way we > avoid bubles on the layout. > > +>>> .r141154 > > Some conflict dirt slipped in. oops > the icall.c chan

[Mono-dev] [PATCH] fixes for /mono/mono/metadata/*

2009-09-02 Thread Sebastien Pouliot
g copy) @@ -1,3 +1,14 @@ +2009-09-02 Sebastien Pouliot + + * assembly.c (parse_public_key): Avoid allocating (and not + freeing) the public key array when it's not requested by the + caller. + * icall.c (ves_icall_MonoGenericClass_GetInterfaces): Avoid + possibly dereferencing a null

[Mono-dev] [PATCH] fix two leaks in mono/mono/utils/*

2009-09-02 Thread Sebastien Pouliot
+1,9 @@ +2009-09-02 Sebastien Pouliot + + * mono-dl.c (mono_dl_open): Don't leak module if name is NULL + * mono-md5.c (mono_md5_get_digest_from_file): Close 'fp' even on + success (just like we do for sha1) + 2009-08-21 Mark Probst * mono-hash.c: When creating a hash table, if t

Re: [Mono-dev] Using Mono.Security with .Net 1.1

2009-08-25 Thread Sebastien Pouliot
Hello Florin, On Fri, 2009-08-07 at 17:37 +0300, Florin Daneliuc wrote: > Hello, > > I'm working on a older project which uses Mono.Security with .Net 1.1 > for the SSL capabilities. The project is using an older version of the > library from around 2004-2006. That's a wide range. A lot of wo

Re: [Mono-dev] CRL Checking

2009-08-19 Thread Sebastien Pouliot
Hello Alex, On Wed, 2009-08-19 at 14:07 +0100, Alex Mason wrote: > I'm attempting to use the Mono store system to store CRL files as part > of a manual implementation of online CRL checking with > X509Chain.Build(). Whereas X509Crl is an open object, > Mono.Security.X509.X509Store has no public co

Re: [Mono-dev] System.Drawing.Graphics exceptions

2009-07-14 Thread Sebastien Pouliot
On Tue, 2009-07-14 at 15:55 -0500, jon_ja...@dell.com wrote: > FYI, I was able to launch paintdotnet from console. and what's the output of xdpyinfo ? > > -Original Message- > From: Sebastien Pouliot [mailto:sebastien.poul...@gmail.com] > Sent: Tuesday, July 1

Re: [Mono-dev] System.Drawing.Graphics exceptions

2009-07-14 Thread Sebastien Pouliot
t's what you're asking. gedit is a GTK application. Do you have any (GUI) mono-based applications running on that box ? if so which ones ? > FYI: this is on RHEL5.3 64 bit. > > Jon > > -Original Message- > From: Sebastien Pouliot [mailto:sebastien.poul...@gmai

Re: [Mono-dev] System.Drawing.Graphics exceptions

2009-07-14 Thread Sebastien Pouliot
Hello Jon, The exception from your previous email* shows the problem: [r...@localhost BTOAD]# mono RMScreenShot.exe test.jpg > BTOStudio RM Client ScreenShot Utility < ERROR > Fatal Error: System.NotImplementedException: 0bbp depth not supp

Re: [Mono-dev] Using mono assemblies compiled against Microsoft's .NET Framework -- key file

2009-07-07 Thread Sebastien Pouliot
On Mon, 2009-07-06 at 08:48 -0700, Joshua Hudson wrote: > I found need to ship Mono.Security and Mono.Cecil compiled > against Microsoft's .NET Framework. Mono.Cecil built right > out of the box, but Mono.Security needed a minor change > (couldn't find object Locale, had to fake it). This class is

Re: [Mono-dev] using coreclr in mono embedding sample project

2009-06-15 Thread Sebastien Pouliot
On Mon, 2009-06-15 at 15:31 +0200, Lucas Meijer wrote: > > On Sun, 2009-06-14 at 01:34 +0200, Lucas Meijer wrote: > > > >> Hey, > >> > >> In order to figure out how to properly use the new coreclr > >> functionality, verifiers etc, I've taken the > >> test-metadata.c sample that shows how to s

Re: [Mono-dev] using coreclr in mono embedding sample project

2009-06-15 Thread Sebastien Pouliot
On Sun, 2009-06-14 at 01:34 +0200, Lucas Meijer wrote: > Hey, > > In order to figure out how to properly use the new coreclr > functionality, verifiers etc, I've taken the > test-metadata.c sample that shows how to simply embed mono, and I'm > adding some coreclr stuff to it. > > The sample w

Re: [Mono-dev] Integrating Mono.Simd into Mono.Math, Mono.Security

2009-06-08 Thread Sebastien Pouliot
Hello Marcus, On Mon, 2009-06-08 at 13:45 -0400, Marcus Griep wrote: > Hello all, > > First, by way of introduction, I'm Marcus Griep, a .NET/Mono > developer for some time now, and a contributor to such projects as > Boo, C5, and git. > > In a sort of scratch-my-own-itch style, I'm looking to s

Re: [Mono-dev] GDI+ and Pango.

2009-05-13 Thread Sebastien Pouliot
in the TextBox and similar edit controls. > > > > Thanks, > > Jonathan > > > > Sebastien Pouliot wrote: > > > Hello Jonathan, > > > > > > On Thu, 2009-02-12 at 21:47 +0700, Jonathan Anderson wrote: > > >> Sebastien Pouliot wrote

Re: [Mono-dev] libgdiplus drawing performance

2009-05-06 Thread Sebastien Pouliot
On Tue, 2009-05-05 at 13:36 -0700, Shade1974 wrote: > First, let me say, I have been really excited about the mono project and am > an enthusiast on the grounds that it potentially might allow us to take our > C# programming multi-platform. We are developing a C# application that > needs to draw t

Re: [Mono-dev] What mono branch/tag to use from svn

2009-05-06 Thread Sebastien Pouliot
On Wed, 2009-05-06 at 10:02 -0400, Geoff Norton wrote: > I tested the testcase from my mono 2.4 on mac (tip of branch not > release) and it works fine there. The provided unit test was checked on the 2-4 branch and HEAD and the mac-10-[ppc|x86] bots (HEAD since the branch is crashing problem) seem

Re: [Mono-dev] Mono Testing

2009-04-20 Thread Sebastien Pouliot
On Mon, 2009-04-20 at 17:55 -0400, Marvin Billings wrote: > Hi, > > I am new to the mono project. I am interested in writing test for the > project. I visited the testing page. I'm a little confused where to go > to see the status of test that have been written. You can get the source of the tes

Re: [Mono-dev] [Ximian-mono-list] test-System_XML-1.0 breakage on trunk

2009-04-10 Thread Sebastien Pouliot
Hello Marc, On Fri, 2009-04-10 at 15:07 -0600, Marc Christensen wrote: > Sebastian, > > test-System_XML-1.0 started breaking between -r131068:131412 on both > i586 and x86_64. It's a rather large window, however in searching > checkins since it was working, it looks like your r131162 may have be

[Mono-dev] [patch] coreclr - fix for method overrides

2009-03-27 Thread Sebastien Pouliot
working copy) @@ -1,3 +1,10 @@ +2009-03-27 Sebastien Pouliot + + * class.c: move coreclr inheritance/override checks to + security-core.clr.c + * security-core.clr.c|h: add code from class.c with additional + documentation. Fix override check when the method is not critical. + 2009-03-

  1   2   3   4   5   >