Re: [BUGS] user authentication crash by Erik Luke (20-08-2001; 1.3kb)
Re: [BUGS] user authentication crash by Erik Luke (20-08-2001; 1.3kb)
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Oliver Elphick" writes: > Tom Lane wrote: >>>> Hmm. I can see how a linefeed in a password would create a problem (it >>>> breaks the line-oriented formatting of the pg_pwd file). > ... >>>> In any case it seems like it'd be a good idea to forbid nonprinting >>>> characters in passwords. Comments anyone? > That sounds too restrictive; allowing non-printing characters should > improve password security. Why not simply exclude linefeed and > carriage return? Actually it seems that linefeed and tab are the minimum set of characters that must be excluded to avoid breaking pg_pwd. Working on it now ... regards, tom lane