diff options
| author | 2019-09-16 10:52:57 +0100 | |
|---|---|---|
| committer | 2019-09-16 10:53:10 +0100 | |
| commit | 9d17710d6dba376e11a135ccf0e4f597562e7cce (patch) | |
| tree | 48a1b4306195b61e24b7310697132a80f29003b0 /modules/fediverse | |
| parent | refactor AP Note stringifying out to ap_utils.py (diff) | |
| signature | ||
PKCS1v15 is a function
Diffstat (limited to 'modules/fediverse')
| -rw-r--r-- | modules/fediverse/ap_security.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() ) |
