From 9d17710d6dba376e11a135ccf0e4f597562e7cce Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 16 Sep 2019 10:52:57 +0100 Subject: [PATCH] PKCS1v15 is a function --- modules/fediverse/ap_security.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/fediverse/ap_security.py b/modules/fediverse/ap_security.py index cc5047f9..1ffd3fdb 100644 --- a/modules/fediverse/ap_security.py +++ b/modules/fediverse/ap_security.py @@ -26,7 +26,7 @@ def signature(key: PrivateKey, headers: typing.List[typing.Tuple[str, str]] signature = key.key.sign( sign_string.encode("utf8"), - padding.PKCS1v15, + padding.PKCS1v15(), hashes.SHA256() )