From 45d9a6a4a7547e431c1dbe8064b110c54186260d Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Sun, 20 Mar 2011 17:17:09 +0100 Subject: [PATCH] doc/ARCHITECTURE.txt added where explained internals of Brisk. --- doc/ARCHITECTURE.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/ARCHITECTURE.txt diff --git a/doc/ARCHITECTURE.txt b/doc/ARCHITECTURE.txt new file mode 100644 index 0000000..b350151 --- /dev/null +++ b/doc/ARCHITECTURE.txt @@ -0,0 +1,19 @@ +Sparse documentation about Brisk. + +Many things aren't documented at all, but I start with authentication workflow. + + + +AUTHENTICATION WORKFLOW + +--- CLI ------------ +index.php: + onsubmit="return j_login_manager(this);" -> + sync xhr(index_wr.php?mesg=getchallenge&cli_name=) + +--- SRV ------------ + GET index_wr.php send the string: "1|" + +--- CLI ------------ + POST index.php with passid_private field equal to calcMD5(tokens[1]+calcMD5(form.elements['passid'].value)) + -- 2.17.1