[Pharo-project] Fwd: Https Url in Pharo 1.2
Is it planed / possible to have SqueakSSL plugin in official VM shipped with Pharo ? Laurent ---------- Forwarded message ---------- From: Levente Uzonyi <leves@elte.hu> Date: Sat, Mar 5, 2011 at 6:33 AM Subject: Re: [Cryptography Team] HttpsUrl MNU in Pharo 1.2 To: laurent laffont <laurent.laffont@gmail.com> Cc: Cryptography Team Development List < cryptography@lists.squeakfoundation.org> On Fri, 4 Mar 2011, laurent laffont wrote: On Fri, Mar 4, 2011 at 5:55 PM, Levente Uzonyi <leves@elte.hu> wrote:
On Thu, 3 Mar 2011, laurent laffont wrote:
Hi,
I've tried to use https in Pharo. I've loaded SSL package from Cryptography.
(HttpsUrl absoluteFromText: 'https://www.google.com') raises MNU.
I've fixet it by changing:
SSLCipherSuite class>>supportedSuites
"hexCodeStrings := #('000A' '0009' '0004' '0005' '0012' '0013' '0015' '0016' '0018' '001A' '001B')."
| hexCodeStrings | hexCodeStrings := #('000A' '0009' '0012' '0013' '0015' '0016' '0004' '0005' '0018' '001A' '001B'). ^ (hexCodeStrings collect: [:e | self cipherSuiteAtHexString: e]) reject: [:aSuite| aSuite isNil].
(rejecting nil suites).
I don't know the impact.
SSL it built on top of the Cryptography package. Since Pharo has some parts of the Cryptography package already loaded, thing probably won't work as they should. The last time I checked, this SSL implementation was incomplete, so I'd suggest you to use SqueakSSL instead.
I've tried SqueakSSL but it seems it needs a plugin which is not shipped with Cog nor Pharo One-Click VM. Am I right ?
That's right, but you can download prebuilt versions from here: http://code.google.com/p/squeakssl/downloads/list Levente
Laurent.
Levente
Cheers,
Laurent Laffont - @lolgzs <http://twitter.com/#!/lolgzs>
Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/
_______________________________________________
Cryptography mailing list Cryptography@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/cryptography
On Mar 6, 2011, at 8:39 AM, laurent laffont wrote:
Is it planed / possible to have SqueakSSL plugin in official VM shipped with Pharo ?
What is the license? You know the last time we got trapped into the game "oh I did not decided yet" so never again. What is the status? Now we should clearly have a solution in the future. Stef
Laurent
---------- Forwarded message ---------- From: Levente Uzonyi <leves@elte.hu> Date: Sat, Mar 5, 2011 at 6:33 AM Subject: Re: [Cryptography Team] HttpsUrl MNU in Pharo 1.2 To: laurent laffont <laurent.laffont@gmail.com> Cc: Cryptography Team Development List <cryptography@lists.squeakfoundation.org>
On Fri, 4 Mar 2011, laurent laffont wrote:
On Fri, Mar 4, 2011 at 5:55 PM, Levente Uzonyi <leves@elte.hu> wrote:
On Thu, 3 Mar 2011, laurent laffont wrote:
Hi,
I've tried to use https in Pharo. I've loaded SSL package from Cryptography.
(HttpsUrl absoluteFromText: 'https://www.google.com') raises MNU.
I've fixet it by changing:
SSLCipherSuite class>>supportedSuites
"hexCodeStrings := #('000A' '0009' '0004' '0005' '0012' '0013' '0015' '0016' '0018' '001A' '001B')."
| hexCodeStrings | hexCodeStrings := #('000A' '0009' '0012' '0013' '0015' '0016' '0004' '0005' '0018' '001A' '001B'). ^ (hexCodeStrings collect: [:e | self cipherSuiteAtHexString: e]) reject: [:aSuite| aSuite isNil].
(rejecting nil suites).
I don't know the impact.
SSL it built on top of the Cryptography package. Since Pharo has some parts of the Cryptography package already loaded, thing probably won't work as they should. The last time I checked, this SSL implementation was incomplete, so I'd suggest you to use SqueakSSL instead.
I've tried SqueakSSL but it seems it needs a plugin which is not shipped with Cog nor Pharo One-Click VM. Am I right ?
That's right, but you can download prebuilt versions from here: http://code.google.com/p/squeakssl/downloads/list
Levente
Laurent.
Levente
Cheers,
Laurent Laffont - @lolgzs <http://twitter.com/#!/lolgzs>
Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/
_______________________________________________ Cryptography mailing list Cryptography@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/cryptography
On 06 Mar 2011, at 09:59, Stéphane Ducasse wrote:
What is the status? Now we should clearly have a solution in the future.
I tried it before and I got it working on Pharo/Cog/MacOSX a little bit, but it wasn't a 'it just works' experience. I also looked at the plugin's C code and noticed that it wasn't complete on Mac OS X and not even on Linux. The interaction between the plugin and the Smalltalk code and especially the integration with SocketStream was not very encouraging. Sven
thanks for the information. Stef On Mar 6, 2011, at 6:10 PM, Sven Van Caekenberghe wrote:
On 06 Mar 2011, at 09:59, Stéphane Ducasse wrote:
What is the status? Now we should clearly have a solution in the future.
I tried it before and I got it working on Pharo/Cog/MacOSX a little bit, but it wasn't a 'it just works' experience. I also looked at the plugin's C code and noticed that it wasn't complete on Mac OS X and not even on Linux. The interaction between the plugin and the Smalltalk code and especially the integration with SocketStream was not very encouraging.
Sven
participants (3)
-
laurent laffont -
Stéphane Ducasse -
Sven Van Caekenberghe