The branch "master" has been updated. The following is a summary of the commits.
from: c97f5f193ffa6c51978f2be5e0016934480c97c9 1992368 Ensure we just store the nonce in the backend when protecting against reuse of a token. 33b70c3 Add testing for correct reuse detection and add an SQL test while we are at it. ----------------------------------------------------------------------- commit 1992368d8fe5ae8604d65ffa02ca2495fa8d950e Author: Gunnar Wrobel <[email protected]> Date: Fri Feb 25 08:53:32 2011 +0100 Ensure we just store the nonce in the backend when protecting against reuse of a token. There were a few places where I confused this before (one was fixed by Micheal). There is no need to store the full token in the backend. framework/Token/lib/Horde/Token/Base.php | 22 ++++++++++++++++++---- 1 files changed, 18 insertions(+), 4 deletions(-) http://git.horde.org/horde-git/-/commit/1992368d8fe5ae8604d65ffa02ca2495fa8d950e ----------------------------------------------------------------------- commit 33b70c33ae2232337ba9e20b161ac87ac56b0ff4 Author: Gunnar Wrobel <[email protected]> Date: Fri Feb 25 08:54:55 2011 +0100 Add testing for correct reuse detection and add an SQL test while we are at it. Hey, with in-memory-slite and migrations SQL *can* actually be fun :) framework/Token/test/Horde/Token/Autoload.php | 3 + framework/Token/test/Horde/Token/BackendTestCase.php | 165 ++++++++++++++++++ framework/Token/test/Horde/Token/Unit/FileTest.php | 151 +--------------- framework/Token/test/Horde/Token/Unit/SqlTest.php | 74 ++++++++ 4 files changed, 248 insertions(+), 145 deletions(-) create mode 100644 framework/Token/test/Horde/Token/BackendTestCase.php create mode 100644 framework/Token/test/Horde/Token/Unit/SqlTest.php http://git.horde.org/horde-git/-/commit/33b70c33ae2232337ba9e20b161ac87ac56b0ff4 __ commits mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]
