[Cryptography Team] HttpsUrl MNU in Pharo 1.2

Levente Uzonyi leves at elte.hu
Fri Mar 4 16:55:28 UTC 2011


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.


Levente

>
> Cheers,
>
> Laurent Laffont - @lolgzs <http://twitter.com/#!/lolgzs>
>
> Pharo Smalltalk Screencasts: http://www.pharocasts.com/
> Blog: http://magaloma.blogspot.com/
>


More information about the Cryptography mailing list