summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-05-23 11:10:57 -0300
committerTomás Touceda <chiiph@leap.se>2013-05-23 11:10:57 -0300
commiteb7cd9f51ae2661aea6d36a6660b324ed06193c9 (patch)
treedc70472c6be3f782f5db69ce615a2abd42390a5e /src/leap
parent3214e542c7e5ebaadd704c17f2a34858b7b8e92e (diff)
The IV is now a base64 string
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/soledad/__init__.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/leap/soledad/__init__.py b/src/leap/soledad/__init__.py
index 6bb88094..94a21447 100644
--- a/src/leap/soledad/__init__.py
+++ b/src/leap/soledad/__init__.py
@@ -374,7 +374,6 @@ class Soledad(object):
# recover the initial value and ciphertext
iv, ciphertext = self._secrets[self._secret_id][self.SECRET_KEY].split(
self.IV_SEPARATOR, 1)
- iv = int(iv)
ciphertext = binascii.a2b_base64(ciphertext)
return self._crypto.decrypt_sym(ciphertext, key, iv=iv)