summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-10-19 23:20:35 +0900
committerkali <kali@leap.se>2012-10-19 23:20:35 +0900
commita1acfd6417beeae312f056f76ac009b80c38654d (patch)
tree788f2b2b89513006521f721bfae927b420808a72 /src/leap
parentb0be517ed8b2fb9dd0a38dad5b5c06741b6b9b09 (diff)
added docs
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/base/auth.py13
1 files changed, 13 insertions, 0 deletions
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!