Re: PQencryptPassword() and encoding - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PQencryptPassword() and encoding
Date
Msg-id 16503.1166587710@sss.pgh.pa.us
Whole thread Raw
In response to PQencryptPassword() and encoding  ("Jeroen T. Vermeulen" <jtv@xs4all.nl>)
Responses Re: PQencryptPassword() and encoding  ("Jeroen T. Vermeulen" <jtv@xs4all.nl>)
List pgsql-hackers
"Jeroen T. Vermeulen" <jtv@xs4all.nl> writes:
> Probably a silly question, but better safe than sorry:
> AFAICS there's no way for PQencryptPassword() to see what encoding
> applies.  Are we quite sure that that is not a problem?

Right offhand it seems that the worst possible consequence is
authentication failure: you originally entered your password
as foobar in encoding X, and then when you enter foobar in
encoding Y, you get the raspberry.  Do you see something else?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Companies Contributing to Open Source
Next
From: Stephen Frost
Date:
Subject: Re: column ordering, was Re: [PATCHES] Enums patch v2