We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ad1158 commit 56b8871Copy full SHA for 56b8871
1 file changed
encypher/core/signing.py
@@ -73,7 +73,7 @@ def _sign_with_key(key: SigningKey, data: bytes) -> bytes:
73
if isinstance(key, ec.EllipticCurvePrivateKey):
74
curve = key.curve
75
if isinstance(curve, ec.SECP256R1):
76
- hash_alg = hashes.SHA256()
+ hash_alg: hashes.HashAlgorithm = hashes.SHA256()
77
elif isinstance(curve, ec.SECP384R1):
78
hash_alg = hashes.SHA384()
79
elif isinstance(curve, ec.SECP521R1):
0 commit comments