Skip to content

Commit 0724642

Browse files
fix unit test
Signed-off-by: Andrew Whitehead <[email protected]>
1 parent fde6cc5 commit 0724642

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aries_cloudagent/utils/jwe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __init__(self, *, encrypted_key: bytes, header: dict = None) -> "JweRecipien
7575
def deserialize(cls, entry: Mapping[str, Any]) -> "JweRecipient":
7676
"""Deserialize a JWE recipient from a mapping."""
7777
vals = JweRecipientSchema().load(entry)
78-
return cls(vals["encrypted_key"], vals.get("header"))
78+
return cls(**vals)
7979

8080
def serialize(self) -> dict:
8181
"""Serialize the JWE recipient to a mapping."""

0 commit comments

Comments
 (0)