LP#1468422 comment repairs
authorBill Erickson <berickxx@gmail.com>
Wed, 22 Jul 2015 14:39:25 +0000 (10:39 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 23 Nov 2015 16:17:05 +0000 (11:17 -0500)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.password-storage.sql

index 24d2179..ab1b402 100644 (file)
@@ -150,7 +150,10 @@ DECLARE
     usr_row actor.usr%ROWTYPE;
 BEGIN
     /* Migrates legacy actor.usr.passwd value to actor.passwd with 
-     * a password type 'main' and returns the new salt.
+     * a password type 'main' and returns the new salt.  For backwards
+     * compatibility with existing CHAP-style API's, we perform a 
+     * layer of intermediate MD5(MD5()) hashing.  This is intermediate
+     * hashing is not required of other passwords.
      */
 
     SELECT INTO usr_row * FROM actor.usr WHERE id = pw_usr;