Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9C5584758E6 for ; Thu, 19 Dec 2002 21:25:16 -0500 (EST) Received: from localhost.localdomain (unknown [203.217.20.156]) by postgresql.org (Postfix) with ESMTP id D2AF04758C9 for ; Thu, 19 Dec 2002 21:25:14 -0500 (EST) Received: from BadgerSE.com (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id gBK2PHZ04245 for ; Fri, 20 Dec 2002 13:25:17 +1100 Message-ID: <3E027F8C.1010200@BadgerSE.com> Date: Fri, 20 Dec 2002 13:25:16 +1100 From: Bruce Badger User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: MD5 PasswordPacket Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/64 X-Sequence-Number: 3477 Where can I read up on the encoding of the String in the PasswordPacket required when I get an AuthenticationMD5Password message from the backend? I've looked at some code that implements the encoding, but reading the specification (the intent) would be most useful. One question in particular springs to mind: can usernames and passwords be made up of multi-byte characters, and how does this affect the MD5 encoding? Thanks. P.S. Many thanks for the help with my character string encoding questions. I have that all working nicely, now. :-)