[Pharo-project] SSL plugin for linux
hi, i built ssl plugin i didn't tested but at least it find it and loads and i were able to run 1st primitive: primitiveSSLCreate "Primitive. Creates and returns a new SSL handle in the VM plugin" <primitive: 'primitiveCreate' module: 'SqueakSSL'> ^ self primitiveFailed i updated the configuration & added missing source files in this commit: https://gitorious.org/cogvm/blessed/commit/59ef1cb1c70a93ed3c974b5d6beea0e4a... to build SSL plugin you must have ssl, and ssl-dev libs installed: sudo apt-get install openssl sudo apt-get install libssl-dev You can download prebuilt plugin from here: http://code.google.com/p/cog/downloads/detail?name=libSqueakSSL.so.gz&can=2&... (it is with debug info, since i used debug config to build it) To build it, you shoud use >= CMakeVMMaker-IgorStasenko.157 and CogUnixConfig new addExternalPlugins: #( ... yours ... SqueakSSLPlugin ) generateSources; generate. please try plugin, if it works, so we can include it in standard build and be built automatically on jenkins server. -- Best regards, Igor Stasenko.
Is there an ssl socket/stream to go with it? ________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] on behalf of Igor Stasenko [siguctua@gmail.com] Sent: Friday, April 27, 2012 1:29 PM To: Squeak Virtual Machine Development Discussion; Pharo Development Subject: [Pharo-project] SSL plugin for linux hi, i built ssl plugin i didn't tested but at least it find it and loads and i were able to run 1st primitive: primitiveSSLCreate "Primitive. Creates and returns a new SSL handle in the VM plugin" <primitive: 'primitiveCreate' module: 'SqueakSSL'> ^ self primitiveFailed i updated the configuration & added missing source files in this commit: https://gitorious.org/cogvm/blessed/commit/59ef1cb1c70a93ed3c974b5d6beea0e4a... to build SSL plugin you must have ssl, and ssl-dev libs installed: sudo apt-get install openssl sudo apt-get install libssl-dev You can download prebuilt plugin from here: http://code.google.com/p/cog/downloads/detail?name=libSqueakSSL.so.gz&can=2&... (it is with debug info, since i used debug config to build it) To build it, you shoud use >= CMakeVMMaker-IgorStasenko.157 and CogUnixConfig new addExternalPlugins: #( ... yours ... SqueakSSLPlugin ) generateSources; generate. please try plugin, if it works, so we can include it in standard build and be built automatically on jenkins server. -- Best regards, Igor Stasenko.
On 27 April 2012 19:37, Schwab,Wilhelm K <bschwab@anest.ufl.edu> wrote:
Is there an ssl socket/stream to go with it?
Zodiac.. i don't know much details since i never used it. Ask Sven bout it :)
________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] on behalf of Igor Stasenko [siguctua@gmail.com] Sent: Friday, April 27, 2012 1:29 PM To: Squeak Virtual Machine Development Discussion; Pharo Development Subject: [Pharo-project] SSL plugin for linux
hi, i built ssl plugin
i didn't tested but at least it find it and loads and i were able to run 1st primitive:
primitiveSSLCreate    "Primitive. Creates and returns a new SSL handle in the VM plugin"
   <primitive: 'primitiveCreate' module: 'SqueakSSL'>
   ^ self primitiveFailed
i updated the configuration & added missing source files in this commit:
https://gitorious.org/cogvm/blessed/commit/59ef1cb1c70a93ed3c974b5d6beea0e4a...
to build SSL plugin you must have ssl, and ssl-dev libs installed:
sudo apt-get install openssl sudo apt-get install libssl-dev
You can download prebuilt plugin from here:
http://code.google.com/p/cog/downloads/detail?name=libSqueakSSL.so.gz&can=2&...
(it is with debug info, since i used debug config to build it)
To build it, you shoud use  >= CMakeVMMaker-IgorStasenko.157 and
CogUnixConfig new addExternalPlugins: #( ... yours ... Â SqueakSSLPlugin ) generateSources; generate.
please try plugin, if it works, so we can include it in standard build and be built automatically on jenkins server.
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.
On 27 Apr 2012, at 20:02, Igor Stasenko wrote:
Zodiac.. i don't know much details since i never used it. Ask Sven bout it :)
http://zdc.stfx.eu Sven
Igor perfect, I'd just love to have this plugin in every OpenClick, including current 1.4. Best regards Janko Dne 27. 04. 2012 19:29, piše Igor Stasenko:
hi, i built ssl plugin
i didn't tested but at least it find it and loads and i were able to run 1st primitive:
primitiveSSLCreate "Primitive. Creates and returns a new SSL handle in the VM plugin"
<primitive: 'primitiveCreate' module: 'SqueakSSL'>
^ self primitiveFailed
i updated the configuration & added missing source files in this commit:
https://gitorious.org/cogvm/blessed/commit/59ef1cb1c70a93ed3c974b5d6beea0e4a...
to build SSL plugin you must have ssl, and ssl-dev libs installed:
sudo apt-get install openssl sudo apt-get install libssl-dev
You can download prebuilt plugin from here:
http://code.google.com/p/cog/downloads/detail?name=libSqueakSSL.so.gz&can=2&...
(it is with debug info, since i used debug config to build it)
To build it, you shoud use >= CMakeVMMaker-IgorStasenko.157 and
CogUnixConfig new addExternalPlugins: #( ... yours ... SqueakSSLPlugin ) generateSources; generate.
please try plugin, if it works, so we can include it in standard build and be built automatically on jenkins server.
-- Janko Mivšek Aida/Web Smalltalk Web Application Server http://www.aidaweb.si
Hey Igor, Thanks a lot for looking into this. I did a quick test (on a server) and yes it seems to work as expected. But someone has to run all the tests, I will try myself if I have time. Regards, Sven On 27 Apr 2012, at 19:29, Igor Stasenko wrote:
hi, i built ssl plugin
i didn't tested but at least it find it and loads and i were able to run 1st primitive:
primitiveSSLCreate "Primitive. Creates and returns a new SSL handle in the VM plugin"
<primitive: 'primitiveCreate' module: 'SqueakSSL'>
^ self primitiveFailed
i updated the configuration & added missing source files in this commit:
https://gitorious.org/cogvm/blessed/commit/59ef1cb1c70a93ed3c974b5d6beea0e4a...
to build SSL plugin you must have ssl, and ssl-dev libs installed:
sudo apt-get install openssl sudo apt-get install libssl-dev
You can download prebuilt plugin from here:
http://code.google.com/p/cog/downloads/detail?name=libSqueakSSL.so.gz&can=2&...
(it is with debug info, since i used debug config to build it)
To build it, you shoud use >= CMakeVMMaker-IgorStasenko.157 and
CogUnixConfig new addExternalPlugins: #( ... yours ... SqueakSSLPlugin ) generateSources; generate.
please try plugin, if it works, so we can include it in standard build and be built automatically on jenkins server.
-- Best regards, Igor Stasenko.
cool! thanks igor :) On 2012-04-27, at 21:13, Sven Van Caekenberghe wrote:
Hey Igor,
Thanks a lot for looking into this.
I did a quick test (on a server) and yes it seems to work as expected.
But someone has to run all the tests, I will try myself if I have time.
Regards,
Sven
On 27 Apr 2012, at 19:29, Igor Stasenko wrote:
hi, i built ssl plugin
i didn't tested but at least it find it and loads and i were able to run 1st primitive:
primitiveSSLCreate "Primitive. Creates and returns a new SSL handle in the VM plugin"
<primitive: 'primitiveCreate' module: 'SqueakSSL'>
^ self primitiveFailed
i updated the configuration & added missing source files in this commit:
https://gitorious.org/cogvm/blessed/commit/59ef1cb1c70a93ed3c974b5d6beea0e4a...
to build SSL plugin you must have ssl, and ssl-dev libs installed:
sudo apt-get install openssl sudo apt-get install libssl-dev
You can download prebuilt plugin from here:
http://code.google.com/p/cog/downloads/detail?name=libSqueakSSL.so.gz&can=2&...
(it is with debug info, since i used debug config to build it)
To build it, you shoud use >= CMakeVMMaker-IgorStasenko.157 and
CogUnixConfig new addExternalPlugins: #( ... yours ... SqueakSSLPlugin ) generateSources; generate.
please try plugin, if it works, so we can include it in standard build and be built automatically on jenkins server.
-- Best regards, Igor Stasenko.
Igor, Janko, On 27 Apr 2012, at 21:13, Sven Van Caekenberghe wrote:
Thanks a lot for looking into this.
I did a quick test (on a server) and yes it seems to work as expected.
But someone has to run all the tests, I will try myself if I have time.
I just tested Pharo 1.4 One-Click with you new binary plugin, after loading the latest Zn, Zdc and Zinc-Zodiac packages and all tests are green. (Ubuntu 12.04 32bit Atom Netbook) Sven -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
On 30 April 2012 14:23, Sven Van Caekenberghe <sven@beta9.be> wrote:
Igor, Janko,
On 27 Apr 2012, at 21:13, Sven Van Caekenberghe wrote:
Thanks a lot for looking into this.
I did a quick test (on a server) and yes it seems to work as expected.
But someone has to run all the tests, I will try myself if I have time.
I just tested Pharo 1.4 One-Click with you new binary plugin, after loading the latest Zn, Zdc and Zinc-Zodiac packages and all tests are green. (Ubuntu 12.04 32bit Atom Netbook)
Very good. So, we can prepare it for integrating into default binary distribution.. (at least for linux for now).
Sven
-- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
-- Best regards, Igor Stasenko.
On 30 Apr 2012, at 23:29, Igor Stasenko wrote:
On 30 April 2012 14:23, Sven Van Caekenberghe <sven@beta9.be> wrote:
Igor, Janko,
On 27 Apr 2012, at 21:13, Sven Van Caekenberghe wrote:
Thanks a lot for looking into this.
I did a quick test (on a server) and yes it seems to work as expected.
But someone has to run all the tests, I will try myself if I have time.
I just tested Pharo 1.4 One-Click with you new binary plugin, after loading the latest Zn, Zdc and Zinc-Zodiac packages and all tests are green. (Ubuntu 12.04 32bit Atom Netbook)
Very good. So, we can prepare it for integrating into default binary distribution.. (at least for linux for now).
Yes, I think so. We are still waiting for someone to put some real love in the Mac OS X version tooâ¦
Sven
-- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
-- Best regards, Igor Stasenko.
he, I got the indirect :) I thought it was working for mac osx... I can take it today a bit. Can you give me details of what is needed and how can I test it? best, Esteban On May 1, 2012, at 8:06 AM, Sven Van Caekenberghe wrote:
On 30 Apr 2012, at 23:29, Igor Stasenko wrote:
On 30 April 2012 14:23, Sven Van Caekenberghe <sven@beta9.be> wrote:
Igor, Janko,
On 27 Apr 2012, at 21:13, Sven Van Caekenberghe wrote:
Thanks a lot for looking into this.
I did a quick test (on a server) and yes it seems to work as expected.
But someone has to run all the tests, I will try myself if I have time.
I just tested Pharo 1.4 One-Click with you new binary plugin, after loading the latest Zn, Zdc and Zinc-Zodiac packages and all tests are green. (Ubuntu 12.04 32bit Atom Netbook)
Very good. So, we can prepare it for integrating into default binary distribution.. (at least for linux for now).
Yes, I think so.
We are still waiting for someone to put some real love in the Mac OS X version tooâ¦
Sven
-- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
-- Best regards, Igor Stasenko.
Hi Sven, I have a version of SSL working on cocoa build, with all Zodiac test passing... I need to check something else? best, Esteban On May 1, 2012, at 8:06 AM, Sven Van Caekenberghe wrote:
On 30 Apr 2012, at 23:29, Igor Stasenko wrote:
On 30 April 2012 14:23, Sven Van Caekenberghe <sven@beta9.be> wrote:
Igor, Janko,
On 27 Apr 2012, at 21:13, Sven Van Caekenberghe wrote:
Thanks a lot for looking into this.
I did a quick test (on a server) and yes it seems to work as expected.
But someone has to run all the tests, I will try myself if I have time.
I just tested Pharo 1.4 One-Click with you new binary plugin, after loading the latest Zn, Zdc and Zinc-Zodiac packages and all tests are green. (Ubuntu 12.04 32bit Atom Netbook)
Very good. So, we can prepare it for integrating into default binary distribution.. (at least for linux for now).
Yes, I think so.
We are still waiting for someone to put some real love in the Mac OS X version tooâ¦
Sven
-- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
-- Best regards, Igor Stasenko.
EstebanLM wrote
I have a version of SSL working on cocoa build, with all Zodiac test passing
Wow, that was quick! -- View this message in context: http://forum.world.st/SSL-plugin-for-linux-tp4593285p4601045.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
On 01 May 2012, at 17:59, Esteban Lorenzano wrote:
I have a version of SSL working on cocoa build, with all Zodiac test passing... I need to check something else?
You should load the Zinc-Zodiac package for its HTTPS tests. The problems with the Mac OS X plugin are related to certificates: they are ignored in Zdc because they don't work. Which also makes it impossible to run an HTTPS server. But a working build is the first step. Sven -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
Sven Van Caekenberghe wrote
The problems with the Mac OS X plugin are related to certificates
What is the problem exactly? I remember Ruby had a problem with Mac certificates... maybe we can adapt it... Sven Van Caekenberghe wrote
they are ignored in Zdc because they don't work
Is that dangerous? -- View this message in context: http://forum.world.st/SSL-plugin-for-linux-tp4593285p4601169.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
ok... now I have failing tests :) On May 1, 2012, at 6:51 PM, Sven Van Caekenberghe wrote:
On 01 May 2012, at 17:59, Esteban Lorenzano wrote:
I have a version of SSL working on cocoa build, with all Zodiac test passing... I need to check something else?
You should load the Zinc-Zodiac package for its HTTPS tests.
The problems with the Mac OS X plugin are related to certificates: they are ignored in Zdc because they don't work. Which also makes it impossible to run an HTTPS server.
But a working build is the first step.
Sven
-- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
... and I updated zinc and zodiac (versions were old) and tests are green again. Is that correct? On May 1, 2012, at 6:51 PM, Sven Van Caekenberghe wrote:
On 01 May 2012, at 17:59, Esteban Lorenzano wrote:
I have a version of SSL working on cocoa build, with all Zodiac test passing... I need to check something else?
You should load the Zinc-Zodiac package for its HTTPS tests.
The problems with the Mac OS X plugin are related to certificates: they are ignored in Zdc because they don't work. Which also makes it impossible to run an HTTPS server.
But a working build is the first step.
Sven
-- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
Esteban, On 01 May 2012, at 19:43, Esteban Lorenzano wrote:
... and I updated zinc and zodiac (versions were old) and tests are green again. Is that correct?
I always test on the latest versions of Zn and Zdc, but I don't think anything important changed in the last months that would impact TLS/SSL (HTTPS). Sean, In a sense, ignoring certificates is wrong of course, it means that you trust the hosts that you are accessing. In normal life, that won't lead to problems. But it has to be fixed, of course. The method/primitives that deal with certificates are: ZdcPluginSSLSession certificateVerificationState certitifacteName certificateName: peerCertificateName AFAIR they are not implemented on Mac OS X. Sven
participants (7)
-
Camillo Bruni -
Esteban Lorenzano -
Igor Stasenko -
Janko Mivšek -
Schwab,Wilhelm K -
Sean P. DeNigris -
Sven Van Caekenberghe