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
I think the issue reported here is a regression from some of my cleanup work - as the API call always requires the sha256: prefix but in an effort to be backwards compatible I made it optional in the flag parsing.
Both are technically valid sha256 digests, but the reason the search fails is due to the lack of inserting the prefix ahead of the client making the API call to the server.
I'd have to think through abstracting and plumbing through validation from the index types.
@dlorenc explained me that
rekor search --sha
expectssha:
. It should trigger an error:Examples:
Works =>
Fails without error
The text was updated successfully, but these errors were encountered: