summaryrefslogtreecommitdiff
path: root/users/test/integration/api/python/flow_with_srp.py
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-10-05 13:59:39 +0200
committerAzul <azul@leap.se>2012-10-05 13:59:39 +0200
commit118d9ab5c9f4d7a82b7cf24774ef12d3c221f8ef (patch)
tree0f698522a1beaaab6993cc5d2160c3d69ab2a19f /users/test/integration/api/python/flow_with_srp.py
parentf7e832b111b38c1b2bdef45ab74001590b17c0dc (diff)
moving to ruby_srp 0.1.0, works with python srp
Diffstat (limited to 'users/test/integration/api/python/flow_with_srp.py')
-rwxr-xr-xusers/test/integration/api/python/flow_with_srp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/test/integration/api/python/flow_with_srp.py b/users/test/integration/api/python/flow_with_srp.py
index 08ac94a..ea630f2 100755
--- a/users/test/integration/api/python/flow_with_srp.py
+++ b/users/test/integration/api/python/flow_with_srp.py
@@ -52,7 +52,7 @@ user = print_and_parse(signup(session))
# SRP signup would happen here and calculate M hex
auth = print_and_parse(authenticate(session, user['login']))
-usr.verify_session( auth )
+usr.verify_session( binascii.unhexlify(auth["M2"]) )
# At this point the authentication process is complete.
assert usr.authenticated()