diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2013-11-05 14:10:33 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2013-11-05 14:59:25 -0300 |
commit | 104c48b6eb3d6c2a092fae4d50ddd54d0130609b (patch) | |
tree | 5e2f74b2391019b9635e498b9bd45a82d176899b /src/leap/bitmask/crypto | |
parent | 146e362ade6dddae44e27a0a090c8aae3debe3be (diff) |
Move string encoding to srpregister.
Diffstat (limited to 'src/leap/bitmask/crypto')
-rw-r--r-- | src/leap/bitmask/crypto/srpregister.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/crypto/srpregister.py b/src/leap/bitmask/crypto/srpregister.py index 5c0a8efc..61f1899a 100644 --- a/src/leap/bitmask/crypto/srpregister.py +++ b/src/leap/bitmask/crypto/srpregister.py @@ -108,7 +108,8 @@ class SRPRegister(QtCore.QObject): :rparam: (ok, request) """ - username = username.lower() + username = username.lower().encode('utf-8') + password = password.encode('utf-8') salt, verifier = self._srp.create_salted_verification_key( username, |