Login  Register

Re: Glorp on Pharo 4

Posted by Sven Van Caekenberghe-2 on Jan 22, 2015; 6:33am
URL: https://forum.world.st/Glorp-on-Pharo-4-tp4800330p4800878.html


> On 22 Jan 2015, at 06:52, Craig <[hidden email]> wrote:
>
> From:  Sven Van Caekenberghe
> Sent: 20 January 2015 01:40 PM
>
>> Using Glorp on top of the PostgresV2 driver (which uses just a network
> connection and no native code nor plugin)
>> should work on all platforms. Of course, you still have to install
> Postgres itself, but it can run on another machine too.
>>
>> HTH,
>>
>> Sven
> Sven,
>
> I just ran into an issue in the Postgres V2 driver, which I guess is a
> porting error.  See below and note the commas ",".
>
> PGConnection>>stSendingMD5Password: event
> "MD5 authentication as explain in
> http://archives.postgresql.org/pgsql-novice/2003-05/msg00305.php"
> | hashedCredentials hashedMessage |
>
> hashedCredentials := (MD5 hashMessage: (connectionArgs password,
> connectionArgs userName)) hex asLowercase.
> hashedMessage := 'md5', (MD5 hashMessage: (hashedCredentials, event
> salt asString)) hex asLowercase.
>
> self sendPacket: (PGPasswordPacket password: hashedMessage) on:
> socket.

What exactly do you mean ?

Reading the link above that seems to be correct, at first glance, maybe I don't see it.

Sven