Skip to content

Commit adcb448

Browse files
committed
Fix
Signed-off-by: laurentsimon <laurentsimon@google.com>
1 parent 66fe2e4 commit adcb448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sigstore/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def get_digest(
157157
if isinstance(algorithm_, Prehashed):
158158
# Check we have a 256-bit digest size for compatibility with secp256r1.
159159
if algorithm_.digest_size != 32:
160-
return ValueError(f"invalid digest size ({algorithm_.digest_size()}), expected 32")
160+
return ValueError(f"invalid digest size ({algorithm_.digest_size}), expected 32")
161161
return input_.getvalue(), algorithm_
162162

163163
raise ValueError("invalid arguments")

0 commit comments

Comments
 (0)