Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
May 2009
- 81 participants
- 1151 messages
Re: [Pharo-project] Port of Cryptography to Pharo
by Stéphane Ducasse
ok thanks for the information
stef
On May 23, 2009, at 11:40 PM, John McIntosh wrote:
> Ok, in the past I've built the DES plugin for the macintosh.
>
> However I should point out that Cryptography should NOT be made
> part of the base VM. Why? Well the USA government then wants you to
> fill out export paperwork if you are USA company or selling product
> thru the USA that someone that doesn't live in the USA could buy. An
> example of this is when you submit apps to the Apple iPhone app
> store, then you are asked if the product includes any encryption and
> if you have done the paperwork.
>
> Yes I know this is a irksome rule, but people should be aware of the
> implications.
>
> 2009/5/23 Mariano Martinez Peck <marianopeck(a)gmail.com>
> Did someone commit any kind of magic to Pharo core orCryptography
> packge ? I just prepared a latest image to start working on it but I
> see only 3 red tests. Those are: testDES, testDES2 and
> testDSASigninAndVerifying.
>
> And all of them fail because of the same problem: a primitive has
> failed. The primitive is
>
> primCookKey: aByteArray mode: flag to: cooked
> <primitive: 'primitiveDESCookKey' module: 'DESPlugin'>
> ^ self primitiveFailed
>
> I look here: http://code.google.com/p/pharo/wiki/VMPluginOverview
> but I didn't found it. I don't have that plugin in my Exupery VM.
>
> Perhaps downloading VMMaker and try to generate the plugin is a good
> idea but I never even download VMMaker haha
>
> Anyway, is this important?
>
> Cheers,
>
> Mariano
>
>
>
>
>
> On Fri, May 22, 2009 at 1:42 PM, Schwab,Wilhelm K <bschwab(a)anest.ufl.edu
> > wrote:
> Stef,
>
> I proposed that a while ago, but there was a stunning lack of
> response. The offer is still good however; I'd welcome a group
> effort to tackle it.
>
> Bill
>
>
> -----Original Message-----
> From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr
> ] On Behalf Of Stéphane Ducasse
> Sent: Friday, May 22, 2009 9:55 AM
> To: Pharo-project(a)lists.gforge.inria.fr
> Subject: Re: [Pharo-project] Port of Cryptography to Pharo
>
> Hi guys
>
> Why don;t you join forces and create a Cryptography package which
> work for pharo and for you.
> Mariano I still would love to know the method of integer that are
> missing
>
> Stef
>
> On May 22, 2009, at 4:47 PM, Jan van de Sandt wrote:
>
> > Hello,
> >
> > I faced the same problem with Cloudfork-AWS. This project required
> the
> > Cryptography package for generating the signatures using SHA and for
> > generating MD5 hash values.
> >
> > When I had problems loading the package in Pharo and I learned that
> > the package was no longer maintained I copied the classes I required
> > to a Cloudfork package. I needed the MD5, SHA1 and SHA256 classes. I
> > renamed them to CFMD5, CFSHA1 and CFSHA256, I also prefixed all the
> > methods in the required class extensions with cf. For example
> > ThirtyTwoBitRegister>>cfBitShift: anInteger. You can use a simular
> > approach for Glorp.
> >
> > Jan.
> >
> > PS: Another dependency of Cloudfork is a HTTP client. I'm now
> > playing around with the CurlPlugin, this plugin works very well.
> > Things like supporting https become real easy
> >
> > 2009/5/22 Mariano Martinez Peck <marianopeck(a)gmail.com>
> >
> >
> > On Fri, May 22, 2009 at 9:18 AM, Ramiro Diaz Trepat <ramiro.diaz.trepat(a)jpmorgan.com
> > > wrote:
> > I'm really sorry to hear it is no longer being maintained.
> > It was a necessary package to connect to properly set up Postgres
> > databases, that requiere sending password hashes with SHA-1. We
> > will probably face this kind of need when interacting with the
> > outside world in general.
> >
> > Yes. That's why I saw it. I am trying to make Glorp to work in
> > Pharo, but as you know Glorp in Squeak only works with Postgres. And
> > the native postgres driver requieres cryptography package when you
> > use md5 :(
> >
> > Just for now, I disable md5 from my postgres and use "password"
> auth-
> > method. With this, cryptography is not needed. However, this is not
> > an option in a production enviorment.
> >
> > Cheers,
> >
> > Mariano
> >
> >
> > It was a fantastic package, I wonder why the maintainers droped it.
> > I suppose maintaining crypto frameworks up to date, with no
> > vulnerabilities, is a lot of work.
> > Sorry for venting out my sadnes to the list.
> > Cheers
> >
> > r.
> >
> >
> >
> >
> > -----Original Message-----
> > From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr
> > ] On Behalf Of Stéphane Ducasse
> > Sent: 22 May 2009 11:08
> > To: Pharo-project(a)lists.gforge.inria.fr
> > Subject: Re: [Pharo-project] Port of Cryptography to Pharo
> >
> > Ok I thought the cryptology package was working well and maintained.
> >
> > Stef
> >
> > On May 22, 2009, at 11:58 AM, Schwab,Wilhelm K wrote:
> >
> > > Agreed: I mentioned both curl and OpenSSL - we should embrace
> both.
> > > AFACT, the cryptography package is a thing of the past, and we
> > > should look to active projects. Tell me where I'm wrong, please.
> > >
> > > Another reality, fair or not: if we were to take on the enormous
> > > burden of maintaining the cypto package, there would always be
> > > questions about security holes we left open. The same will be
> true
> > > of OpenSSL, but there is (not always fair) credibility in numbers
> > > widely known projects. There will be would-be users of Pharo who
> > > will want OpenSSL for its reputation, and who would question a
> home-
> > > grown solution.
> > >
> > > Bill
> > >
> > >
> > > From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr
> > > ] On Behalf Of Fernando olivero
> > > Sent: Friday, May 22, 2009 4:20 AM
> > > To: Pharo-project(a)lists.gforge.inria.fr
> > > Subject: Re: [Pharo-project] Port of Cryptography to Pharo
> > >
> > >
> > > Just a comment,
> > >
> > > you could use the new AlienFFI framework to comunicate with curl.
> > > Or reify any C library you want in Pharo.
> > >
> > > Fernando
> > >
> > >
> > > On May 22, 2009, at 5:04 AM, Schwab,Wilhelm K wrote:
> > >
> > >> The most recent post on the crytography mailing list starts out
> as
> > >> follows:
> > >>
> > >> Since the Cryptography Team doesn't exists anymore, the
> > >> Cryptography package is not maintained by anyone. The SSL
> > >> implementation doesn't allow easy debugging, you can't just
> turn on
> > >> logging to see what's happening. Following the state machine
> > >> transitions should give you the answer why the handshake isn't
> > >> succeding. It might be related to certificates or TLS->SSL3
> > >> fallback. If I were you, I would go with curl.
> > >> I think it is time to write a wrapper around open SSL in addition
> > >> to looking at the curl plugin. Trying to write cryptography code
> > >> from scratch and get and keep it right is a huge effort, and
> pretty
> > >> avoidable, and IMHO, better avoided by letting others do the job.
> > >> Ever read Sun Tzu?
> > >>
> > >> Bill
> > >>
> > >>
> > >>
> > >> From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr
> > >> ] On Behalf Of Mariano Martinez Peck
> > >> Sent: Thursday, May 21, 2009 8:51 PM
> > >> To: Pharo Development
> > >> Subject: [Pharo-project] Port of Cryptography to Pharo
> > >>
> > >> I don't know if there is anyone of the developers of the package
> > >> Cryptography but is someone is willing to do the port of it to
> > >> Pharo? Most tests are break and it seems not to work because lots
> > >> of Cryptography methods where in classes like SmallInteger and
> > >> these methods were removed in Pharo.
> > >>
> > >> Regards,
> > >>
> > >> Mariano
> > >> <ATT00001.txt>
> > >
> > > _______________________________________________
> > > Pharo-project mailing list
> > > Pharo-project(a)lists.gforge.inria.fr
> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
> project
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> > This email is confidential and subject to important disclaimers and
> > conditions including on offers for the purchase or sale of
> > securities, accuracy and completeness of information, viruses,
> > confidentiality, legal privilege, and legal entity disclaimers,
> > available at http://www.jpmorgan.com/pages/disclosures/email.
> >
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
>
> --
> =
> =
> =
> =
> =
> ======================================================================
> John M. McIntosh <johnmci(a)smalltalkconsulting.com>
> Corporate Smalltalk Consulting Ltd. http://
> www.smalltalkconsulting.com
> =
> =
> =
> =
> =
> ======================================================================
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
May 24, 2009
Re: [Pharo-project] Port of Cryptography to Pharo
by John McIntosh
well being from Canada I can't quite comment, but I did have to spend 5
minutes to confirm that WikiServer, ST80Docs, and SqueakDocs didn't have any
thing illegal in them when I answered the prompt as part of my due diligence
for submission sign off. In theory if cryptography went in then I would
have to spend another 5 minutes deleting it. Unless of course I needed to
use it, then likely delays of weeks awaiting paperwork signoff.
2009/5/23 Schwab,Wilhelm K <bschwab(a)anest.ufl.edu>
> John,
>
> "Yes I know this is a irksome rule, but people should be aware of the
> implications. "
>
> - you can say that again. Conspicuously among those people are the members
> of the US House and Senate, and those who elected them.
>
> Bill
>
> ------------------------------
> *From:* pharo-project-bounces(a)lists.gforge.inria.fr [mailto:
> pharo-project-bounces(a)lists.gforge.inria.fr] *On Behalf Of *John McIntosh
> *Sent:* Saturday, May 23, 2009 4:41 PM
>
> *To:* Pharo-project(a)lists.gforge.inria.fr
> *Subject:* Re: [Pharo-project] Port of Cryptography to Pharo
>
> Ok, in the past I've built the DES plugin for the macintosh.
> However I should point out that Cryptography should NOT be made part of
> the base VM. Why? Well the USA government then wants you to fill out export
> paperwork if you are USA company or selling product thru the USA that
> someone that doesn't live in the USA could buy. An example of this is when
> you submit apps to the Apple iPhone app store, then you are asked if the
> product includes any encryption and if you have done the paperwork.
>
> Yes I know this is a irksome rule, but people should be aware of the
> implications.
>
> 2009/5/23 Mariano Martinez Peck <marianopeck(a)gmail.com>
>
>> Did someone commit any kind of magic to Pharo core orCryptography packge ?
>> I just prepared a latest image to start working on it but I see only 3 red
>> tests. Those are: testDES, testDES2 and testDSASigninAndVerifying.
>>
>> And all of them fail because of the same problem: a primitive has failed.
>> The primitive is
>>
>> primCookKey: aByteArray mode: flag to: cooked
>> <primitive: 'primitiveDESCookKey' module: 'DESPlugin'>
>> ^ self primitiveFailed
>>
>> I look here: http://code.google.com/p/pharo/wiki/VMPluginOverview but I
>> didn't found it. I don't have that plugin in my Exupery VM.
>>
>> Perhaps downloading VMMaker and try to generate the plugin is a good idea
>> but I never even download VMMaker haha
>>
>> Anyway, is this important?
>>
>> Cheers,
>>
>> Mariano
>>
>>
>>
>>
>>
>> On Fri, May 22, 2009 at 1:42 PM, Schwab,Wilhelm K <bschwab(a)anest.ufl.edu>wrote:
>>
>>> Stef,
>>>
>>> I proposed that a while ago, but there was a stunning lack of response.
>>> The offer is still good however; I'd welcome a group effort to tackle it.
>>>
>>> Bill
>>>
>>>
>>> -----Original Message-----
>>> From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:
>>> pharo-project-bounces(a)lists.gforge.inria.fr] On Behalf Of Stéphane
>>> Ducasse
>>> Sent: Friday, May 22, 2009 9:55 AM
>>> To: Pharo-project(a)lists.gforge.inria.fr
>>> Subject: Re: [Pharo-project] Port of Cryptography to Pharo
>>>
>>> Hi guys
>>>
>>> Why don;t you join forces and create a Cryptography package which work
>>> for pharo and for you.
>>> Mariano I still would love to know the method of integer that are missing
>>>
>>> Stef
>>>
>>> On May 22, 2009, at 4:47 PM, Jan van de Sandt wrote:
>>>
>>> > Hello,
>>> >
>>> > I faced the same problem with Cloudfork-AWS. This project required the
>>> > Cryptography package for generating the signatures using SHA and for
>>> > generating MD5 hash values.
>>> >
>>> > When I had problems loading the package in Pharo and I learned that
>>> > the package was no longer maintained I copied the classes I required
>>> > to a Cloudfork package. I needed the MD5, SHA1 and SHA256 classes. I
>>> > renamed them to CFMD5, CFSHA1 and CFSHA256, I also prefixed all the
>>> > methods in the required class extensions with cf. For example
>>> > ThirtyTwoBitRegister>>cfBitShift: anInteger. You can use a simular
>>> > approach for Glorp.
>>> >
>>> > Jan.
>>> >
>>> > PS: Another dependency of Cloudfork is a HTTP client. I'm now
>>> > playing around with the CurlPlugin, this plugin works very well.
>>> > Things like supporting https become real easy
>>> >
>>> > 2009/5/22 Mariano Martinez Peck <marianopeck(a)gmail.com>
>>> >
>>> >
>>> > On Fri, May 22, 2009 at 9:18 AM, Ramiro Diaz Trepat <
>>> ramiro.diaz.trepat(a)jpmorgan.com
>>> > > wrote:
>>> > I'm really sorry to hear it is no longer being maintained.
>>> > It was a necessary package to connect to properly set up Postgres
>>> > databases, that requiere sending password hashes with SHA-1. We
>>> > will probably face this kind of need when interacting with the
>>> > outside world in general.
>>> >
>>> > Yes. That's why I saw it. I am trying to make Glorp to work in
>>> > Pharo, but as you know Glorp in Squeak only works with Postgres. And
>>> > the native postgres driver requieres cryptography package when you
>>> > use md5 :(
>>> >
>>> > Just for now, I disable md5 from my postgres and use "password" auth-
>>> > method. With this, cryptography is not needed. However, this is not
>>> > an option in a production enviorment.
>>> >
>>> > Cheers,
>>> >
>>> > Mariano
>>> >
>>> >
>>> > It was a fantastic package, I wonder why the maintainers droped it.
>>> > I suppose maintaining crypto frameworks up to date, with no
>>> > vulnerabilities, is a lot of work.
>>> > Sorry for venting out my sadnes to the list.
>>> > Cheers
>>> >
>>> > r.
>>> >
>>> >
>>> >
>>> >
>>> > -----Original Message-----
>>> > From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:
>>> pharo-project-bounces(a)lists.gforge.inria.fr
>>> > ] On Behalf Of Stéphane Ducasse
>>> > Sent: 22 May 2009 11:08
>>> > To: Pharo-project(a)lists.gforge.inria.fr
>>> > Subject: Re: [Pharo-project] Port of Cryptography to Pharo
>>> >
>>> > Ok I thought the cryptology package was working well and maintained.
>>> >
>>> > Stef
>>> >
>>> > On May 22, 2009, at 11:58 AM, Schwab,Wilhelm K wrote:
>>> >
>>> > > Agreed: I mentioned both curl and OpenSSL - we should embrace both.
>>> > > AFACT, the cryptography package is a thing of the past, and we
>>> > > should look to active projects. Tell me where I'm wrong, please.
>>> > >
>>> > > Another reality, fair or not: if we were to take on the enormous
>>> > > burden of maintaining the cypto package, there would always be
>>> > > questions about security holes we left open. The same will be true
>>> > > of OpenSSL, but there is (not always fair) credibility in numbers
>>> > > widely known projects. There will be would-be users of Pharo who
>>> > > will want OpenSSL for its reputation, and who would question a home-
>>> > > grown solution.
>>> > >
>>> > > Bill
>>> > >
>>> > >
>>> > > From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:
>>> pharo-project-bounces(a)lists.gforge.inria.fr
>>> > > ] On Behalf Of Fernando olivero
>>> > > Sent: Friday, May 22, 2009 4:20 AM
>>> > > To: Pharo-project(a)lists.gforge.inria.fr
>>> > > Subject: Re: [Pharo-project] Port of Cryptography to Pharo
>>> > >
>>> > >
>>> > > Just a comment,
>>> > >
>>> > > you could use the new AlienFFI framework to comunicate with curl.
>>> > > Or reify any C library you want in Pharo.
>>> > >
>>> > > Fernando
>>> > >
>>> > >
>>> > > On May 22, 2009, at 5:04 AM, Schwab,Wilhelm K wrote:
>>> > >
>>> > >> The most recent post on the crytography mailing list starts out as
>>> > >> follows:
>>> > >>
>>> > >> Since the Cryptography Team doesn't exists anymore, the
>>> > >> Cryptography package is not maintained by anyone. The SSL
>>> > >> implementation doesn't allow easy debugging, you can't just turn on
>>> > >> logging to see what's happening. Following the state machine
>>> > >> transitions should give you the answer why the handshake isn't
>>> > >> succeding. It might be related to certificates or TLS->SSL3
>>> > >> fallback. If I were you, I would go with curl.
>>> > >> I think it is time to write a wrapper around open SSL in addition
>>> > >> to looking at the curl plugin. Trying to write cryptography code
>>> > >> from scratch and get and keep it right is a huge effort, and pretty
>>> > >> avoidable, and IMHO, better avoided by letting others do the job.
>>> > >> Ever read Sun Tzu?
>>> > >>
>>> > >> Bill
>>> > >>
>>> > >>
>>> > >>
>>> > >> From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:
>>> pharo-project-bounces(a)lists.gforge.inria.fr
>>> > >> ] On Behalf Of Mariano Martinez Peck
>>> > >> Sent: Thursday, May 21, 2009 8:51 PM
>>> > >> To: Pharo Development
>>> > >> Subject: [Pharo-project] Port of Cryptography to Pharo
>>> > >>
>>> > >> I don't know if there is anyone of the developers of the package
>>> > >> Cryptography but is someone is willing to do the port of it to
>>> > >> Pharo? Most tests are break and it seems not to work because lots
>>> > >> of Cryptography methods where in classes like SmallInteger and
>>> > >> these methods were removed in Pharo.
>>> > >>
>>> > >> Regards,
>>> > >>
>>> > >> Mariano
>>> > >> <ATT00001.txt>
>>> > >
>>> > > _______________________________________________
>>> > > Pharo-project mailing list
>>> > > Pharo-project(a)lists.gforge.inria.fr
>>> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>> >
>>> >
>>> > _______________________________________________
>>> > Pharo-project mailing list
>>> > Pharo-project(a)lists.gforge.inria.fr
>>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>> > This email is confidential and subject to important disclaimers and
>>> > conditions including on offers for the purchase or sale of
>>> > securities, accuracy and completeness of information, viruses,
>>> > confidentiality, legal privilege, and legal entity disclaimers,
>>> > available at http://www.jpmorgan.com/pages/disclosures/email.
>>> >
>>> > _______________________________________________
>>> > Pharo-project mailing list
>>> > Pharo-project(a)lists.gforge.inria.fr
>>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>> >
>>> >
>>> > _______________________________________________
>>> > Pharo-project mailing list
>>> > Pharo-project(a)lists.gforge.inria.fr
>>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>> >
>>> > _______________________________________________
>>> > Pharo-project mailing list
>>> > Pharo-project(a)lists.gforge.inria.fr
>>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project(a)lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project(a)lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
>
> --
> ===========================================================================
> John M. McIntosh <johnmci(a)smalltalkconsulting.com>
> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
> ===========================================================================
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
--
===========================================================================
John M. McIntosh <johnmci(a)smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================
May 24, 2009
Re: [Pharo-project] More relicensing
by Mariano Martinez Peck
2009/5/23 Gabriel Cotelli <g.cotelli(a)gmail.com>
> I noticed the following methods in the dirty list:
>
> BlockContext>>argumentCount
This is probably because now we have BlockClosure (Eliot closure changes).
Actually BlockContext>>argumentCount was copied and added recently to
BlockClosure. I don't know if BlockContext is still used.
Best,
Mariano
> Character class>>codePoint:
> Character>>codePoint
> Number>>asFloatD
> Number>>asFloatE
> Number>>asFloatQ
>
> In the last Pharo-Dev there's no senders of that methods.
> Can I remove them? Or there's something else I should check?
>
> Gabriel
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
May 24, 2009
[Pharo-project] More relicensing
by Gabriel Cotelli
I noticed the following methods in the dirty list:
BlockContext>>argumentCount
Character class>>codePoint:
Character>>codePoint
Number>>asFloatD
Number>>asFloatE
Number>>asFloatQ
In the last Pharo-Dev there's no senders of that methods.
Can I remove them? Or there's something else I should check?
Gabriel
May 24, 2009
[Pharo-project] [ANN] Reciprocal related methods relicensing
by Gabriel Cotelli
Hi,
I re-implemented
Number>>reciprocal
Float>>reciprocal
Fraction>>reciprocal
Fraction>>one
Integer>>one
Float>>one
so now are license clean.
I push the changes on Pharo-Inbox (I hope, if I do the right procedure) and
open the Issue 843 in the tracker. According with the instructions in the
"How to contribute" wiki page I need to change the state of issue to
"Fixed", however I can't find that option. Maybe I need to be a member of
the project in google code?...
Just in case find attached the.cs and Monticello packages generated. Please
somebody must review the changes..
Thanks,
Gabriel
May 24, 2009
Re: [Pharo-project] Port of Cryptography to Pharo
by Schwab,Wilhelm K
John,
"Yes I know this is a irksome rule, but people should be aware of the implications. "
- you can say that again. Conspicuously among those people are the members of the US House and Senate, and those who elected them.
Bill
________________________________
From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of John McIntosh
Sent: Saturday, May 23, 2009 4:41 PM
To: Pharo-project(a)lists.gforge.inria.fr
Subject: Re: [Pharo-project] Port of Cryptography to Pharo
Ok, in the past I've built the DES plugin for the macintosh.
However I should point out that Cryptography should NOT be made part of the base VM. Why? Well the USA government then wants you to fill out export paperwork if you are USA company or selling product thru the USA that someone that doesn't live in the USA could buy. An example of this is when you submit apps to the Apple iPhone app store, then you are asked if the product includes any encryption and if you have done the paperwork.
Yes I know this is a irksome rule, but people should be aware of the implications.
2009/5/23 Mariano Martinez Peck <marianopeck(a)gmail.com<mailto:marianopeck@gmail.com>>
Did someone commit any kind of magic to Pharo core orCryptography packge ? I just prepared a latest image to start working on it but I see only 3 red tests. Those are: testDES, testDES2 and testDSASigninAndVerifying.
And all of them fail because of the same problem: a primitive has failed. The primitive is
primCookKey: aByteArray mode: flag to: cooked
<primitive: 'primitiveDESCookKey' module: 'DESPlugin'>
^ self primitiveFailed
I look here: http://code.google.com/p/pharo/wiki/VMPluginOverview but I didn't found it. I don't have that plugin in my Exupery VM.
Perhaps downloading VMMaker and try to generate the plugin is a good idea but I never even download VMMaker haha
Anyway, is this important?
Cheers,
Mariano
On Fri, May 22, 2009 at 1:42 PM, Schwab,Wilhelm K <bschwab(a)anest.ufl.edu<mailto:bschwab@anest.ufl.edu>> wrote:
Stef,
I proposed that a while ago, but there was a stunning lack of response. The offer is still good however; I'd welcome a group effort to tackle it.
Bill
-----Original Message-----
From: pharo-project-bounces(a)lists.gforge.inria.fr<mailto:pharo-project-bounces@lists.gforge.inria.fr> [mailto:pharo-project-bounces@lists.gforge.inria.fr<mailto:pharo-project-bounces@lists.gforge.inria.fr>] On Behalf Of Stéphane Ducasse
Sent: Friday, May 22, 2009 9:55 AM
To: Pharo-project(a)lists.gforge.inria.fr<mailto:Pharo-project@lists.gforge.inria.fr>
Subject: Re: [Pharo-project] Port of Cryptography to Pharo
Hi guys
Why don;t you join forces and create a Cryptography package which work for pharo and for you.
Mariano I still would love to know the method of integer that are missing
Stef
On May 22, 2009, at 4:47 PM, Jan van de Sandt wrote:
> Hello,
>
> I faced the same problem with Cloudfork-AWS. This project required the
> Cryptography package for generating the signatures using SHA and for
> generating MD5 hash values.
>
> When I had problems loading the package in Pharo and I learned that
> the package was no longer maintained I copied the classes I required
> to a Cloudfork package. I needed the MD5, SHA1 and SHA256 classes. I
> renamed them to CFMD5, CFSHA1 and CFSHA256, I also prefixed all the
> methods in the required class extensions with cf. For example
> ThirtyTwoBitRegister>>cfBitShift: anInteger. You can use a simular
> approach for Glorp.
>
> Jan.
>
> PS: Another dependency of Cloudfork is a HTTP client. I'm now
> playing around with the CurlPlugin, this plugin works very well.
> Things like supporting https become real easy
>
> 2009/5/22 Mariano Martinez Peck <marianopeck(a)gmail.com<mailto:marianopeck@gmail.com>>
>
>
> On Fri, May 22, 2009 at 9:18 AM, Ramiro Diaz Trepat <ramiro.diaz.trepat(a)jpmorgan.com<mailto:ramiro.diaz.trepat@jpmorgan.com>
> > wrote:
> I'm really sorry to hear it is no longer being maintained.
> It was a necessary package to connect to properly set up Postgres
> databases, that requiere sending password hashes with SHA-1. We
> will probably face this kind of need when interacting with the
> outside world in general.
>
> Yes. That's why I saw it. I am trying to make Glorp to work in
> Pharo, but as you know Glorp in Squeak only works with Postgres. And
> the native postgres driver requieres cryptography package when you
> use md5 :(
>
> Just for now, I disable md5 from my postgres and use "password" auth-
> method. With this, cryptography is not needed. However, this is not
> an option in a production enviorment.
>
> Cheers,
>
> Mariano
>
>
> It was a fantastic package, I wonder why the maintainers droped it.
> I suppose maintaining crypto frameworks up to date, with no
> vulnerabilities, is a lot of work.
> Sorry for venting out my sadnes to the list.
> Cheers
>
> r.
>
>
>
>
> -----Original Message-----
> From: pharo-project-bounces(a)lists.gforge.inria.fr<mailto:pharo-project-bounces@lists.gforge.inria.fr> [mailto:pharo-project-bounces@lists.gforge.inria.fr<mailto:pharo-project-bounces@lists.gforge.inria.fr>
> ] On Behalf Of Stéphane Ducasse
> Sent: 22 May 2009 11:08
> To: Pharo-project(a)lists.gforge.inria.fr<mailto:Pharo-project@lists.gforge.inria.fr>
> Subject: Re: [Pharo-project] Port of Cryptography to Pharo
>
> Ok I thought the cryptology package was working well and maintained.
>
> Stef
>
> On May 22, 2009, at 11:58 AM, Schwab,Wilhelm K wrote:
>
> > Agreed: I mentioned both curl and OpenSSL - we should embrace both.
> > AFACT, the cryptography package is a thing of the past, and we
> > should look to active projects. Tell me where I'm wrong, please.
> >
> > Another reality, fair or not: if we were to take on the enormous
> > burden of maintaining the cypto package, there would always be
> > questions about security holes we left open. The same will be true
> > of OpenSSL, but there is (not always fair) credibility in numbers
> > widely known projects. There will be would-be users of Pharo who
> > will want OpenSSL for its reputation, and who would question a home-
> > grown solution.
> >
> > Bill
> >
> >
> > From: pharo-project-bounces(a)lists.gforge.inria.fr<mailto:pharo-project-bounces@lists.gforge.inria.fr> [mailto:pharo-project-bounces@lists.gforge.inria.fr<mailto:pharo-project-bounces@lists.gforge.inria.fr>
> > ] On Behalf Of Fernando olivero
> > Sent: Friday, May 22, 2009 4:20 AM
> > To: Pharo-project(a)lists.gforge.inria.fr<mailto:Pharo-project@lists.gforge.inria.fr>
> > Subject: Re: [Pharo-project] Port of Cryptography to Pharo
> >
> >
> > Just a comment,
> >
> > you could use the new AlienFFI framework to comunicate with curl.
> > Or reify any C library you want in Pharo.
> >
> > Fernando
> >
> >
> > On May 22, 2009, at 5:04 AM, Schwab,Wilhelm K wrote:
> >
> >> The most recent post on the crytography mailing list starts out as
> >> follows:
> >>
> >> Since the Cryptography Team doesn't exists anymore, the
> >> Cryptography package is not maintained by anyone. The SSL
> >> implementation doesn't allow easy debugging, you can't just turn on
> >> logging to see what's happening. Following the state machine
> >> transitions should give you the answer why the handshake isn't
> >> succeding. It might be related to certificates or TLS->SSL3
> >> fallback. If I were you, I would go with curl.
> >> I think it is time to write a wrapper around open SSL in addition
> >> to looking at the curl plugin. Trying to write cryptography code
> >> from scratch and get and keep it right is a huge effort, and pretty
> >> avoidable, and IMHO, better avoided by letting others do the job.
> >> Ever read Sun Tzu?
> >>
> >> Bill
> >>
> >>
> >>
> >> From: pharo-project-bounces(a)lists.gforge.inria.fr<mailto:pharo-project-bounces@lists.gforge.inria.fr> [mailto:pharo-project-bounces@lists.gforge.inria.fr<mailto:pharo-project-bounces@lists.gforge.inria.fr>
> >> ] On Behalf Of Mariano Martinez Peck
> >> Sent: Thursday, May 21, 2009 8:51 PM
> >> To: Pharo Development
> >> Subject: [Pharo-project] Port of Cryptography to Pharo
> >>
> >> I don't know if there is anyone of the developers of the package
> >> Cryptography but is someone is willing to do the port of it to
> >> Pharo? Most tests are break and it seems not to work because lots
> >> of Cryptography methods where in classes like SmallInteger and
> >> these methods were removed in Pharo.
> >>
> >> Regards,
> >>
> >> Mariano
> >> <ATT00001.txt>
> >
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr<mailto:Pharo-project@lists.gforge.inria.fr>
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr<mailto:Pharo-project@lists.gforge.inria.fr>
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> This email is confidential and subject to important disclaimers and
> conditions including on offers for the purchase or sale of
> securities, accuracy and completeness of information, viruses,
> confidentiality, legal privilege, and legal entity disclaimers,
> available at http://www.jpmorgan.com/pages/disclosures/email.
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr<mailto:Pharo-project@lists.gforge.inria.fr>
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr<mailto:Pharo-project@lists.gforge.inria.fr>
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr<mailto:Pharo-project@lists.gforge.inria.fr>
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr<mailto:Pharo-project@lists.gforge.inria.fr>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr<mailto:Pharo-project@lists.gforge.inria.fr>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr<mailto:Pharo-project@lists.gforge.inria.fr>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
===========================================================================
John M. McIntosh <johnmci(a)smalltalkconsulting.com<mailto:johnmci@smalltalkconsulting.com>>
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================
May 24, 2009
Re: [Pharo-project] windowsesque theme tweaks
by Steve Wirts
one last fix,
the tabs worked nice until i tried it on another platform,
I've changed the algorithm to accommodate.
sorry for the quick extra quick fix here.
On Sat, May 23, 2009 at 3:41 PM, Stéphane Ducasse <stephane.ducasse(a)inria.fr
> wrote:
> gary I would like to include that in pharo (may be later we can
> package it better and more modular but for now,
> this is important not to lose it).
> So let me know.
>
> Stef
>
> On May 23, 2009, at 8:44 PM, Steve Wirts wrote:
>
> > Gary here's some tweaks I talked about (progressbar and tabbar fixed).
> > After the attached is filedin, evaluate
> >
> > UIThemeXP setup
> >
> > then to see the tweaks try (progress bar)
> >
> > SystemProgressMorph example
> >
> > and (tab bar)
> >
> > UITheme exampleGroups
> >
> > also an odd thing that may hint at a bug, is
> > the progress bar moves faster while you move
> > the cursor.
> >
> > thanks.
> > sw
> >
> > <windowsesque.st>_______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
May 23, 2009
Re: [Pharo-project] Relicensing effort
by Gabriel Cotelli
Thanks Adrian,
I'm still waiting for the core image update to finish :(
On Sat, May 23, 2009 at 6:51 PM, Adrian Lienhard <adi(a)netstyle.ch> wrote:
> Another note, Etoys did the following: "Number>>raisedToInteger:,
> Number>>reciprocal, Float>>reciprocal, Float>>sqrt, Float>>reciprocal,
> Integer>>// are reverted as they are comment changes or error
> reporting scheme change."
>
> Cited from the changeset 2184removeScaledDecimal.st (this file and
> others can be found in the zip I linked form
> http://code.google.com/p/pharo/wiki/LicenseCleanEffort)
> .
>
> In this changeset you find the old versions of the methods. Copying
> these over should do the job.
>
> Cheers,
> Adrian
>
> On May 23, 2009, at 21:55 , Gabriel Cotelli wrote:
>
> > Ok. thanks
> >
> > On Sat, May 23, 2009 at 4:53 PM, Stéphane Ducasse <
> stephane.ducasse(a)inria.fr
> >> wrote:
> >
> >> no 15
> >>
> >> do an update
> >> Preference software update
> >>
> >> Stef
> >> On May 23, 2009, at 9:42 PM, Gabriel Cotelli wrote:
> >>
> >>> Ok, I will check that first... The last core image is 10304cl?
> >>>
> >>> On Sat, May 23, 2009 at 4:40 PM, Stéphane Ducasse <
> >> stephane.ducasse(a)inria.fr
> >>>> wrote:
> >>> Excellent!
> >>> Gabriel what I suggest you to do is to check if the previous
> >>> author is
> >>> not a person that signed the agreement (Squeak + pharo)
> >>> Often what we see is that some method got changes for a simple fix
> >>> in
> >>> comment or formatting.
> >>>
> >>> Stef
> >>>
> >>> On May 23, 2009, at 9:34 PM, Gabriel Cotelli wrote:
> >>>
> >>>>
> >>>> Hi,
> >>>> I will start on re-writting this methods:
> >>>>
> >>>> Number>>reciprocal
> >>>> Fraction class>>one
> >>>> Fraction>>reciprocal
> >>>> Float class>>one
> >>>> Float>>reciprocal
> >>>> Integer class>>one
> >>>>
> >>>> All of this are almost trivial to re-write so I think it's a good
> >>>> start point. My plan is to first write a test case covering this,
> >>>> delete the old method (if present) and re-implement it.
> >>>>
> >>>> I signed the License Agrement on Friday and sent an scanned copy to
> >>>> Stephane by e-mail (probably he still doesn't update the list).
> >>>>
> >>>> Thanks,
> >>>> Gabriel
> >>>>
> >>>> On Sat, May 23, 2009 at 3:58 PM, Adrian Lienhard <adi(a)netstyle.ch>
> >>>> wrote:
> >>>> Hi Gabriel,
> >>>>
> >>>> On May 23, 2009, at 19:55 , Gabriel Cotelli wrote:
> >>>>
> >>>>> Hi!
> >>>>>
> >>>>> There is somebody coordinating the re-write of non re-licensed
> >>>>> methods?
> >>>>
> >>>> As I started working on it last week, I can coordinate.
> >>>>
> >>>>> I probably could re-write some of this methods but don't want to
> >>>>> duplicate
> >>>>> the effort :)
> >>>>
> >>>> Great!
> >>>>
> >>>>> Should I take the Pharo-Core image or the Pharo-Dev for this?
> >>>>
> >>>> The core image.
> >>>>
> >>>> I already fixed more than half of the methods. What is left can be
> >>>> seen here:
> >>>>
> >>>> http://code.google.com/p/pharo/wiki/ResultofRelicensing.
> >>>>
> >>>> I suggest that whoever starts working on a set of methods
> >>> announces it
> >>>> on this mailing list. Like this we don't get a conflict. The
> >>>> easiest
> >>>> thing is to produce a change set and then attach it to the issue:
> >> http://code.google.com/p/pharo/issues/detail?id=842
> >>>>
> >>>> Thanks,
> >>>> Adrian
> >>>>
> >>>> BTW, I don't see you on the list of OK committers. Did you sign the
> >>>> agreement? Else your changes will reappear on the list of non-clean
> >>>> methods! ;)
> >>>>
> >>>> _______________________________________________
> >>>> Pharo-project mailing list
> >>>> Pharo-project(a)lists.gforge.inria.fr
> >>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>>>
> >>>> _______________________________________________
> >>>> Pharo-project mailing list
> >>>> Pharo-project(a)lists.gforge.inria.fr
> >>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>>
> >>>
> >>> _______________________________________________
> >>> Pharo-project mailing list
> >>> Pharo-project(a)lists.gforge.inria.fr
> >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>>
> >>> _______________________________________________
> >>> Pharo-project mailing list
> >>> Pharo-project(a)lists.gforge.inria.fr
> >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>
> >>
> >> _______________________________________________
> >> Pharo-project mailing list
> >> Pharo-project(a)lists.gforge.inria.fr
> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
May 23, 2009
Re: [Pharo-project] Relicensing effort
by Adrian Lienhard
Another note, Etoys did the following: "Number>>raisedToInteger:,
Number>>reciprocal, Float>>reciprocal, Float>>sqrt, Float>>reciprocal,
Integer>>// are reverted as they are comment changes or error
reporting scheme change."
Cited from the changeset 2184removeScaledDecimal.st (this file and
others can be found in the zip I linked form http://code.google.com/p/pharo/wiki/LicenseCleanEffort)
.
In this changeset you find the old versions of the methods. Copying
these over should do the job.
Cheers,
Adrian
On May 23, 2009, at 21:55 , Gabriel Cotelli wrote:
> Ok. thanks
>
> On Sat, May 23, 2009 at 4:53 PM, Stéphane Ducasse <stephane.ducasse(a)inria.fr
>> wrote:
>
>> no 15
>>
>> do an update
>> Preference software update
>>
>> Stef
>> On May 23, 2009, at 9:42 PM, Gabriel Cotelli wrote:
>>
>>> Ok, I will check that first... The last core image is 10304cl?
>>>
>>> On Sat, May 23, 2009 at 4:40 PM, Stéphane Ducasse <
>> stephane.ducasse(a)inria.fr
>>>> wrote:
>>> Excellent!
>>> Gabriel what I suggest you to do is to check if the previous
>>> author is
>>> not a person that signed the agreement (Squeak + pharo)
>>> Often what we see is that some method got changes for a simple fix
>>> in
>>> comment or formatting.
>>>
>>> Stef
>>>
>>> On May 23, 2009, at 9:34 PM, Gabriel Cotelli wrote:
>>>
>>>>
>>>> Hi,
>>>> I will start on re-writting this methods:
>>>>
>>>> Number>>reciprocal
>>>> Fraction class>>one
>>>> Fraction>>reciprocal
>>>> Float class>>one
>>>> Float>>reciprocal
>>>> Integer class>>one
>>>>
>>>> All of this are almost trivial to re-write so I think it's a good
>>>> start point. My plan is to first write a test case covering this,
>>>> delete the old method (if present) and re-implement it.
>>>>
>>>> I signed the License Agrement on Friday and sent an scanned copy to
>>>> Stephane by e-mail (probably he still doesn't update the list).
>>>>
>>>> Thanks,
>>>> Gabriel
>>>>
>>>> On Sat, May 23, 2009 at 3:58 PM, Adrian Lienhard <adi(a)netstyle.ch>
>>>> wrote:
>>>> Hi Gabriel,
>>>>
>>>> On May 23, 2009, at 19:55 , Gabriel Cotelli wrote:
>>>>
>>>>> Hi!
>>>>>
>>>>> There is somebody coordinating the re-write of non re-licensed
>>>>> methods?
>>>>
>>>> As I started working on it last week, I can coordinate.
>>>>
>>>>> I probably could re-write some of this methods but don't want to
>>>>> duplicate
>>>>> the effort :)
>>>>
>>>> Great!
>>>>
>>>>> Should I take the Pharo-Core image or the Pharo-Dev for this?
>>>>
>>>> The core image.
>>>>
>>>> I already fixed more than half of the methods. What is left can be
>>>> seen here:
>>>>
>>>> http://code.google.com/p/pharo/wiki/ResultofRelicensing.
>>>>
>>>> I suggest that whoever starts working on a set of methods
>>> announces it
>>>> on this mailing list. Like this we don't get a conflict. The
>>>> easiest
>>>> thing is to produce a change set and then attach it to the issue:
>> http://code.google.com/p/pharo/issues/detail?id=842
>>>>
>>>> Thanks,
>>>> Adrian
>>>>
>>>> BTW, I don't see you on the list of OK committers. Did you sign the
>>>> agreement? Else your changes will reappear on the list of non-clean
>>>> methods! ;)
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> Pharo-project(a)lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> Pharo-project(a)lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project(a)lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project(a)lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
May 23, 2009
Re: [Pharo-project] Port of Cryptography to Pharo
by John McIntosh
Ok, in the past I've built the DES plugin for the macintosh.
However I should point out that Cryptography should NOT be made part of the
base VM. Why? Well the USA government then wants you to fill out export
paperwork if you are USA company or selling product thru the USA that
someone that doesn't live in the USA could buy. An example of this is when
you submit apps to the Apple iPhone app store, then you are asked if the
product includes any encryption and if you have done the paperwork.
Yes I know this is a irksome rule, but people should be aware of the
implications.
2009/5/23 Mariano Martinez Peck <marianopeck(a)gmail.com>
> Did someone commit any kind of magic to Pharo core orCryptography packge ?
> I just prepared a latest image to start working on it but I see only 3 red
> tests. Those are: testDES, testDES2 and testDSASigninAndVerifying.
>
> And all of them fail because of the same problem: a primitive has failed.
> The primitive is
>
> primCookKey: aByteArray mode: flag to: cooked
> <primitive: 'primitiveDESCookKey' module: 'DESPlugin'>
> ^ self primitiveFailed
>
> I look here: http://code.google.com/p/pharo/wiki/VMPluginOverview but I
> didn't found it. I don't have that plugin in my Exupery VM.
>
> Perhaps downloading VMMaker and try to generate the plugin is a good idea
> but I never even download VMMaker haha
>
> Anyway, is this important?
>
> Cheers,
>
> Mariano
>
>
>
>
>
> On Fri, May 22, 2009 at 1:42 PM, Schwab,Wilhelm K <bschwab(a)anest.ufl.edu>wrote:
>
>> Stef,
>>
>> I proposed that a while ago, but there was a stunning lack of response.
>> The offer is still good however; I'd welcome a group effort to tackle it.
>>
>> Bill
>>
>>
>> -----Original Message-----
>> From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:
>> pharo-project-bounces(a)lists.gforge.inria.fr] On Behalf Of Stéphane
>> Ducasse
>> Sent: Friday, May 22, 2009 9:55 AM
>> To: Pharo-project(a)lists.gforge.inria.fr
>> Subject: Re: [Pharo-project] Port of Cryptography to Pharo
>>
>> Hi guys
>>
>> Why don;t you join forces and create a Cryptography package which work for
>> pharo and for you.
>> Mariano I still would love to know the method of integer that are missing
>>
>> Stef
>>
>> On May 22, 2009, at 4:47 PM, Jan van de Sandt wrote:
>>
>> > Hello,
>> >
>> > I faced the same problem with Cloudfork-AWS. This project required the
>> > Cryptography package for generating the signatures using SHA and for
>> > generating MD5 hash values.
>> >
>> > When I had problems loading the package in Pharo and I learned that
>> > the package was no longer maintained I copied the classes I required
>> > to a Cloudfork package. I needed the MD5, SHA1 and SHA256 classes. I
>> > renamed them to CFMD5, CFSHA1 and CFSHA256, I also prefixed all the
>> > methods in the required class extensions with cf. For example
>> > ThirtyTwoBitRegister>>cfBitShift: anInteger. You can use a simular
>> > approach for Glorp.
>> >
>> > Jan.
>> >
>> > PS: Another dependency of Cloudfork is a HTTP client. I'm now
>> > playing around with the CurlPlugin, this plugin works very well.
>> > Things like supporting https become real easy
>> >
>> > 2009/5/22 Mariano Martinez Peck <marianopeck(a)gmail.com>
>> >
>> >
>> > On Fri, May 22, 2009 at 9:18 AM, Ramiro Diaz Trepat <
>> ramiro.diaz.trepat(a)jpmorgan.com
>> > > wrote:
>> > I'm really sorry to hear it is no longer being maintained.
>> > It was a necessary package to connect to properly set up Postgres
>> > databases, that requiere sending password hashes with SHA-1. We
>> > will probably face this kind of need when interacting with the
>> > outside world in general.
>> >
>> > Yes. That's why I saw it. I am trying to make Glorp to work in
>> > Pharo, but as you know Glorp in Squeak only works with Postgres. And
>> > the native postgres driver requieres cryptography package when you
>> > use md5 :(
>> >
>> > Just for now, I disable md5 from my postgres and use "password" auth-
>> > method. With this, cryptography is not needed. However, this is not
>> > an option in a production enviorment.
>> >
>> > Cheers,
>> >
>> > Mariano
>> >
>> >
>> > It was a fantastic package, I wonder why the maintainers droped it.
>> > I suppose maintaining crypto frameworks up to date, with no
>> > vulnerabilities, is a lot of work.
>> > Sorry for venting out my sadnes to the list.
>> > Cheers
>> >
>> > r.
>> >
>> >
>> >
>> >
>> > -----Original Message-----
>> > From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:
>> pharo-project-bounces(a)lists.gforge.inria.fr
>> > ] On Behalf Of Stéphane Ducasse
>> > Sent: 22 May 2009 11:08
>> > To: Pharo-project(a)lists.gforge.inria.fr
>> > Subject: Re: [Pharo-project] Port of Cryptography to Pharo
>> >
>> > Ok I thought the cryptology package was working well and maintained.
>> >
>> > Stef
>> >
>> > On May 22, 2009, at 11:58 AM, Schwab,Wilhelm K wrote:
>> >
>> > > Agreed: I mentioned both curl and OpenSSL - we should embrace both.
>> > > AFACT, the cryptography package is a thing of the past, and we
>> > > should look to active projects. Tell me where I'm wrong, please.
>> > >
>> > > Another reality, fair or not: if we were to take on the enormous
>> > > burden of maintaining the cypto package, there would always be
>> > > questions about security holes we left open. The same will be true
>> > > of OpenSSL, but there is (not always fair) credibility in numbers
>> > > widely known projects. There will be would-be users of Pharo who
>> > > will want OpenSSL for its reputation, and who would question a home-
>> > > grown solution.
>> > >
>> > > Bill
>> > >
>> > >
>> > > From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:
>> pharo-project-bounces(a)lists.gforge.inria.fr
>> > > ] On Behalf Of Fernando olivero
>> > > Sent: Friday, May 22, 2009 4:20 AM
>> > > To: Pharo-project(a)lists.gforge.inria.fr
>> > > Subject: Re: [Pharo-project] Port of Cryptography to Pharo
>> > >
>> > >
>> > > Just a comment,
>> > >
>> > > you could use the new AlienFFI framework to comunicate with curl.
>> > > Or reify any C library you want in Pharo.
>> > >
>> > > Fernando
>> > >
>> > >
>> > > On May 22, 2009, at 5:04 AM, Schwab,Wilhelm K wrote:
>> > >
>> > >> The most recent post on the crytography mailing list starts out as
>> > >> follows:
>> > >>
>> > >> Since the Cryptography Team doesn't exists anymore, the
>> > >> Cryptography package is not maintained by anyone. The SSL
>> > >> implementation doesn't allow easy debugging, you can't just turn on
>> > >> logging to see what's happening. Following the state machine
>> > >> transitions should give you the answer why the handshake isn't
>> > >> succeding. It might be related to certificates or TLS->SSL3
>> > >> fallback. If I were you, I would go with curl.
>> > >> I think it is time to write a wrapper around open SSL in addition
>> > >> to looking at the curl plugin. Trying to write cryptography code
>> > >> from scratch and get and keep it right is a huge effort, and pretty
>> > >> avoidable, and IMHO, better avoided by letting others do the job.
>> > >> Ever read Sun Tzu?
>> > >>
>> > >> Bill
>> > >>
>> > >>
>> > >>
>> > >> From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:
>> pharo-project-bounces(a)lists.gforge.inria.fr
>> > >> ] On Behalf Of Mariano Martinez Peck
>> > >> Sent: Thursday, May 21, 2009 8:51 PM
>> > >> To: Pharo Development
>> > >> Subject: [Pharo-project] Port of Cryptography to Pharo
>> > >>
>> > >> I don't know if there is anyone of the developers of the package
>> > >> Cryptography but is someone is willing to do the port of it to
>> > >> Pharo? Most tests are break and it seems not to work because lots
>> > >> of Cryptography methods where in classes like SmallInteger and
>> > >> these methods were removed in Pharo.
>> > >>
>> > >> Regards,
>> > >>
>> > >> Mariano
>> > >> <ATT00001.txt>
>> > >
>> > > _______________________________________________
>> > > Pharo-project mailing list
>> > > Pharo-project(a)lists.gforge.inria.fr
>> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> >
>> >
>> > _______________________________________________
>> > Pharo-project mailing list
>> > Pharo-project(a)lists.gforge.inria.fr
>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> > This email is confidential and subject to important disclaimers and
>> > conditions including on offers for the purchase or sale of
>> > securities, accuracy and completeness of information, viruses,
>> > confidentiality, legal privilege, and legal entity disclaimers,
>> > available at http://www.jpmorgan.com/pages/disclosures/email.
>> >
>> > _______________________________________________
>> > Pharo-project mailing list
>> > Pharo-project(a)lists.gforge.inria.fr
>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> >
>> >
>> > _______________________________________________
>> > Pharo-project mailing list
>> > Pharo-project(a)lists.gforge.inria.fr
>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> >
>> > _______________________________________________
>> > Pharo-project mailing list
>> > Pharo-project(a)lists.gforge.inria.fr
>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
--
===========================================================================
John M. McIntosh <johnmci(a)smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================
May 23, 2009