You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Signatures are malleable, for example an ECDSA signature can be represented in two ways, so a signature should not be considered unique. In this example though, that doesn't present an issue from what I can tell, if anything malleability would cause a comparison failure.
I might be missing a part here, but I think sigstore-python handles this by reconstructing the log entry from the bundle's state, and confirming that the reconstructed entry and the actual entry match exactly. For example, here's how we do it for hashedrekord:
Thanks @woodruffw! I agree that I think part of this issue is figuring out what needs to be compared. I'll take a pass over this code again and see if there's a straightforward refactor for recomputing Rekor canonicalized bodies.
Description
Tracking bug for https://github.com/sigstore/sigstore-go/blob/main/pkg/verify/tlog.go#L174
This is not absolutely necessary because we do already compare against the signature which should effectively bind the entry to the artifact.
The text was updated successfully, but these errors were encountered: