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() )