From 16a9acf09f470f423f64fd8ded79f3a2d750b74c Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 22 Jul 2015 10:39:25 -0400 Subject: [PATCH] LP#1468422 comment repairs Signed-off-by: Bill Erickson --- Open-ILS/src/sql/Pg/upgrade/XXXX.schema.password-storage.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.password-storage.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.password-storage.sql index 24d2179e07..ab1b4025d8 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.password-storage.sql +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.password-storage.sql @@ -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; -- 2.11.0