From 999bd454c4d3da81ea6913827a9f2470d5492889 Mon Sep 17 00:00:00 2001 From: Roland Hedberg Date: Thu, 28 Sep 2017 09:42:13 +0200 Subject: [PATCH] wrong order --- src/jwkest/jws.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jwkest/jws.py b/src/jwkest/jws.py index f17e6f6..87e3038 100644 --- a/src/jwkest/jws.py +++ b/src/jwkest/jws.py @@ -696,7 +696,7 @@ def is_jws(self, jws): def _is_json_serialized_jws(self, json_jws): json_ser_keys = set(["payload", "signatures"]) - flattened_json_ser_keys = set[("payload", "signature")] + flattened_json_ser_keys = set(["payload", "signature"]) if not json_ser_keys.issubset( json_jws.keys()) and not flattened_json_ser_keys.issubset( json_jws.keys()):