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 66fe2e4 commit adcb448Copy full SHA for adcb448
sigstore/_utils.py
@@ -157,7 +157,7 @@ def get_digest(
157
if isinstance(algorithm_, Prehashed):
158
# Check we have a 256-bit digest size for compatibility with secp256r1.
159
if algorithm_.digest_size != 32:
160
- return ValueError(f"invalid digest size ({algorithm_.digest_size()}), expected 32")
+ return ValueError(f"invalid digest size ({algorithm_.digest_size}), expected 32")
161
return input_.getvalue(), algorithm_
162
163
raise ValueError("invalid arguments")
0 commit comments