From 512bf91297958d7687b4666a9f3cd3f8f514ed0f Mon Sep 17 00:00:00 2001 From: tuxxy Date: Thu, 1 Feb 2018 01:52:11 -0700 Subject: [PATCH] Remove manual specification of umbral params in PRE._open_capsule --- umbral/umbral.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umbral/umbral.py b/umbral/umbral.py index 9ac3513..0f58789 100644 --- a/umbral/umbral.py +++ b/umbral/umbral.py @@ -474,7 +474,7 @@ class PRE(object): This will often be a symmetric key. """ - recp_pub_key = opener_private_key.get_pub_key(pre.params) + recp_pub_key = opener_private_key.get_pub_key() capsule._reconstruct() key = pre.decapsulate_reencrypted(