We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 857ed2a commit 64822e6Copy full SHA for 64822e6
sigstore/_utils.py
@@ -175,7 +175,7 @@ def get_digest(
175
if isinstance(algorithm_, Prehashed):
176
# Check we have a 256-bit digest size for compatibility with secp256r1.
177
if algorithm_.digest_size != 32:
178
- return ValueError(f"invalid digest size ({algorithm_.digest_size()}), expected 32")
+ return ValueError(f"invalid digest size ({algorithm_.digest_size}), expected 32")
179
return input_.getvalue(), algorithm_
180
181
raise ValueError("invalid arguments")
0 commit comments