diff options
author | Ruben Pollan <meskio@sindominio.net> | 2014-09-15 14:13:49 -0500 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2014-09-16 11:41:14 -0500 |
commit | 539caa6c9a860d1be9ebc3295b258e9611efc3bf (patch) | |
tree | 3a1ac9005acee56c3475a9161b86f5fd67d8c777 /src/leap/keymanager/__init__.py | |
parent | 2e8468ef8a6a763cd100c547b7e658c94d87bdd0 (diff) |
Pass the cipher_algo to the encrypt wrapper
Diffstat (limited to 'src/leap/keymanager/__init__.py')
-rw-r--r-- | src/leap/keymanager/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/keymanager/__init__.py b/src/leap/keymanager/__init__.py index 4563d804..fe9f02cb 100644 --- a/src/leap/keymanager/__init__.py +++ b/src/leap/keymanager/__init__.py @@ -418,7 +418,7 @@ class KeyManager(object): leap_assert(pubkey.__class__ in self._wrapper_map, 'Unknown key type.') leap_assert(pubkey.private is False, 'Key is not public.') return self._wrapper_map[pubkey.__class__].encrypt( - data, pubkey, passphrase, sign) + data, pubkey, passphrase, sign, cipher_algo=cipher_algo) def decrypt(self, data, privkey, passphrase=None, verify=None): """ |