From a1acfd6417beeae312f056f76ac009b80c38654d Mon Sep 17 00:00:00 2001 From: kali Date: Fri, 19 Oct 2012 23:20:35 +0900 Subject: added docs --- src/leap/base/auth.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/leap') diff --git a/src/leap/base/auth.py b/src/leap/base/auth.py index 1f93c9c3..7d99a7fe 100644 --- a/src/leap/base/auth.py +++ b/src/leap/base/auth.py @@ -18,6 +18,18 @@ SIGNUP_TIMEOUT = getattr(baseconstants, 'SIGNUP_TIMEOUT', 5) SERVER = "http://springbok/1" +""" +Registration and authentication classes for the +SRP auth mechanism used in the leap platform. + +We're currently using the (pure python?) srp library since +it seemed the fastest way of getting something working. + +In the future we can switch to use python-gnutls, since +libgnutls implements srp protocol. +""" + + class LeapSRPRegister(object): def __init__(self, @@ -206,6 +218,7 @@ def magic_srpauth(fn): the decorated request """ # TODO --- finish this... + # currently broken. def wrapper(*args, **kwargs): uri = args[0] # XXX Ugh! -- cgit v1.2.3