PKCS1v15 is a function
This commit is contained in:
parent
55d5692856
commit
9d17710d6d
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ def signature(key: PrivateKey, headers: typing.List[typing.Tuple[str, str]]
|
||||||
|
|
||||||
signature = key.key.sign(
|
signature = key.key.sign(
|
||||||
sign_string.encode("utf8"),
|
sign_string.encode("utf8"),
|
||||||
padding.PKCS1v15,
|
padding.PKCS1v15(),
|
||||||
hashes.SHA256()
|
hashes.SHA256()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue