Re: Rejecting weak passwords
Aidan Van Dyk <aidan@highrise.ca>
From: Aidan Van Dyk <aidan@highrise.ca>
To: Albe Laurenz <laurenz.albe@wien.gv.at>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2009-10-01T14:08:57Z
Lists: pgsql-hackers
* Albe Laurenz <laurenz.albe@wien.gv.at> [091001 08:54]: > In the discussion following > http://archives.postgresql.org/pgsql-hackers/2009-09/msg01766.php > the consensus was that a hook that allows you to implement > a password checking routine as a module "would not hurt". > > So here's the patch. > I don't think there is documentation required; > correct me if I am wrong. Can we have the check password hook function called in both the plaintext/encrypted case, with a flag as to whether it's encrypted or not? a. -- Aidan Van Dyk Create like a god, aidan@highrise.ca command like a king, http://www.highrise.ca/ work like a slave.