From eb7cd9f51ae2661aea6d36a6660b324ed06193c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Touceda?= Date: Thu, 23 May 2013 11:10:57 -0300 Subject: The IV is now a base64 string --- src/leap/soledad/__init__.py | 1 - 1 file changed, 1 deletion(-) (limited to 'src/leap/soledad') 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) -- cgit v1.2.3