diff options
author | Azul <azul@leap.se> | 2012-10-05 13:59:39 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-10-05 13:59:39 +0200 |
commit | 118d9ab5c9f4d7a82b7cf24774ef12d3c221f8ef (patch) | |
tree | 0f698522a1beaaab6993cc5d2160c3d69ab2a19f /users/test/integration/api/python/flow_with_srp.py | |
parent | f7e832b111b38c1b2bdef45ab74001590b17c0dc (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-x | users/test/integration/api/python/flow_with_srp.py | 2 |
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() |