Posted by
Adventurer on
Jan 22, 2015; 5:49am
URL: https://forum.world.st/Glorp-on-Pharo-4-tp4800330p4800875.html
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.