David Johnston <pol...@yahoo.com> writes: > I presume that "password" in this context refers to the method by which > identity is checked; some alternatives being "trust" and "ident"?
Right. > Using the same logic of why you would not expose the fact that the user is > expired versus the user has provided invalid credentials exposing "password" > is a security leak as well. No; the client side already knows that password auth is in use, because it received a password challenge message. I suppose you could construct some argument about how the textual report might be exposed to higher code levels that didn't know that, but we haven't chosen to theorize about what happens on the client side to that extent. > And then, to top it off, provides a red herring > to the user trying to figure out why their username/password combination > isn't working. It's not really a red herring, because in fact the password was what failed. (Joshua's wording proposal has a conceptual flaw, because it supposes that rolvaliduntil represents an expiration date for the user, but really it's only an expiration date for the password.) regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers